Configuring Tanium Client peering
Overview of Tanium Client peering settings
Peering settings define the subnet boundaries of the linear chains in which Tanium Clients form peer relationships. Peering settings are designed to optimize network resources that are required to manage endpoints by ensuring that most data transmission is distributed among the low-latency, high-bandwidth links of local area networks (LANs). Using mostly LAN links dramatically reduces resource use over the wide area network (WAN).
For more information about how Tanium Client peering works and related concepts, see Client peering.
You can configure a custom listening port for communication between Tanium Clients, or you can configure the Tanium Client to periodically select a new listening port at random, instead of using a fixed port for communications from peers. For more information, see Customize listening ports.
The default /24 address mask optimizes network resources when all endpoints on a subnet defined by the mask share a high-speed local connection, or when you do not have much information about the enterprise network. Work with network administrators and Tanium Support to use the following configurations to further optimize peer communication based on the characteristics of your network.
-
Separated subnets: Specify more granular exceptions to the boundaries that the /24 address mask defines. For example, within a subnet that the /24 address mask defines, you might have a smaller subnet that crosses WAN links. In this case, you can define separated subnets within that smaller subnet so that its Clients do not peer across the WAN links. For more information, see Configure separated subnets.
-
Isolated subnets: Specify the addresses of subnets and endpoints for which you want to disable Tanium Client peering. You can configure isolated subnets that are standalone subnets or that comprise smaller linear chains within the chain that the /24 address mask defines (see the figure Tanium Client peering). For more information, see Configure isolated subnets.
-
Intentional subnets: Specify multiple public IP addresses that belong to a single site to allow peering among Clients that are behind network address translation (NAT) and that have different public IP addresses within that site.
When a Tanium Client registers through Tanium™ Cloud, Tanium Cloud evaluates peering configurations and applies the most restrictive rule to determine the subnet for that Client. For example, if a separated subnets configuration defines a /26 subnet, but an isolated subnets configuration also targets a Client in that subnet, Tanium Cloud isolates that Client.
The figure Tanium Client peering illustrates a deployment with separated, isolated and intentional subnets.
|
|
/24 address mask When each Tanium Client registers, Tanium Cloud sends the Client a neighborhood list. This is a list of adjacent Clients that are optimal for peering and that are within the /24 subnet boundaries that Tanium Cloud enforces. |
|
|
Separated subnets configuration Upon evaluating the separated subnets configuration, Tanium Cloud applies exceptions that define smaller linear chains that are contained within the /24 address mask chains. |
|
|
Isolated subnets configuration Tanium Cloud evaluates the isolated subnets configuration to define linear chains for subnets in which the Clients do not peer with each other. |
|
Intentional subnets configuration TaaS evaluates the intentional subnets configuration to determine Clients that can peer with each other even when they are behind network address translation (NAT) and have different public IP addresses. |
Configure separated subnets
Tanium Clients in a separated subnet can peer only with other Clients that are within that subnet. Configure separated subnets to specify more granular exceptions for Client peering than the default /24 subnet.
After you configure separated subnets, Tanium Clients might take up to two to six hours (the randomized Client-reset interval) to finish applying all the changes associated with the new configuration. To verify that the separated subnets work as expected after the Clients register, see Verify or remediate Tanium Client peering and leader connections.
The figure Tanium Client peering shows an example deployment with separated subnets.
Add subnets
Edit subnets
- From the Main menu, go to .
- Select one of the Separated Subnets and click Edit.
- Edit the subnet (CIDR) and Comment, and click Save.
Configure isolated subnets
Configure isolated subnets to disable Client peering for a specified list of subnet and endpoint IP addresses. If the IP address of a Tanium Client is in an isolated subnet,Tanium Cloud sends that Client an empty peer list to prevent the Client from participating in peering.
After you configure isolated subnets, Tanium Clients might take up to two to six hours (the randomized Client-reset interval) to finish applying all the changes associated with the new configuration. To verify that the isolated subnets work as expected after the Clients register, see Verify or remediate Tanium Client peering and leader connections.
The figure Tanium Client peering shows an example deployment with isolated subnets.
-
Configure isolated subnets for virtual desktop infrastructure (VDI) instances in a high-density environment with shared storage or for any other virtual endpoints where concurrent disk I/O operations must be limited. Endpoints cache file chunks to share distributed files with peers, which requires multiple endpoints in the linear chain to concurrently read and write file chunks. Isolating an endpoint reduces the concurrent disk I/O that normally occurs when this cache is used to share files with peers. For more information, see File distribution.
-
You might find it convenient to use isolated subnets to disable peering in other cases, such as for testing or debugging peering when you have to troubleshoot network issues. Note that disabling peering causes Tanium Clients to consume more network resources in terms of bandwidth and Client-server connections over the WAN. For troubleshooting cases, after you resolve the network issues, the best practice is to remove the Clients from the isolated subnets configuration so that they resume peering.
Add subnets
Edit subnets
- From the Main menu, go to .
- Select one of the Isolated Subnets and click Edit.
- Edit the subnet (CIDR) and Comment, and click Save.
Configure intentional subnets
Overview of intentional subnets
In a network configuration that uses network address translation (NAT), the local IP addresses of Tanium Clients in the same local area network (subnet) might be mapped to different NAT IP addresses for communication with Tanium Cloud. The default Tanium peering settings allow Clients in that subnet to peer with each other only if they share the same NAT IP address. If Clients in the same subnet are assigned to different NAT IP addresses, they can peer with each other only if you assign them to an intentional subnet that specifies the full range of NAT IP addresses for that subnet. Without an intentional subnet, each Client with a different NAT IP address establishes a leader connection to Tanium Cloud. Network traffic is higher in a deployment with more leader connections, especially when Clients download package files for running actions. Therefore, configuring intentional subnets can increase peering and reduce traffic, particularly in deployments where many Clients use NAT when connecting to Tanium Cloud over the Internet.
The figure Tanium Client peering shows an example deployment with intentional subnets.
The following table shows examples of Tanium Clients that do or do not require intentional subnets to enable peering. The example IP addresses are listed as they would appear on the page, where the Network Location (from Client) column shows the pre-NAT IP addresses and the Network Location (from Server) column shows the NAT IP addresses.
|
Tanium Client |
Network Location (from Client) |
Network Location (from Server) |
Intentional subnet required for peering? |
|---|---|---|---|
|
TC‑UK‑1 |
31.0.0.11 |
31.0.0.11 |
No: The Clients do not use NAT. Therefore, even though their IP addresses differ, they can peer because they are in the same subnet within the default peering range (/24 address mask). |
|
TC‑UK‑2 |
31.0.0.12 |
31.0.0.12 |
|
|
TC‑US‑1 |
172.16.0.11 |
14.0.0.11 |
No: The Clients can peer because they use the same NAT address. |
|
TC‑US‑2 |
172.16.0.12 |
14.0.0.11 |
|
|
TC‑HQ‑1 |
10.0.0.11 |
98.0.0.1 |
Yes: The Clients are in the same subnet within the default peering range, but the /24 address mask does not apply because their NAT IP addresses differ. Without an intentional subnet, Tanium Cloud interprets the different NAT IP addresses as an indication that the Clients are in different subnets and therefore prevents peering. |
|
TC‑HQ‑2 |
10.0.0.12 |
98.0.0.2 |
Before you begin
You can define intentional subnets using either of the following methods:
-
Intentional subnet sites: In Tanium Console, you can specify a Site name for an intentional subnet site and the subnets that belong to that Site. Clients in the subnets that belong to a single site can peer with one another.
-
PeerNeighborhood Client setting: You can configure the same neighborhood name for the PeerNeighborhood setting on each Client that can peer. You can use this setting to define intentional subnets in the following scenarios:
-
You want to allow Clients that have a wide variety of NAT IP addresses to peer, and the variety of IP addresses makes subnets difficult to define, or subnets overlap among sites that need to remain isolated.
-
You want to deploy Clients that are always allowed to peer, regardless of NAT IP addresses, such as virtual machines in a cloud environment.
-
You want to manually allow specific Clients to peer.
-
To determine the appropriate method to define intentional subnets, and the appropriate Site names and subnet CIDR values or PeerNeighborhood names:
Define intentional subnets using Sites
Tanium Cloud can identify an intentional subnet by a Site name that you specify and allow peering among all Tanium Clients that are in the subnets you add to that Site.
Add subnets
- From the Main menu, go to .
- In the Intentional Subnets section, click New Subnets.
- Enter a name to identify the Site that comprises the intentional subnets.
- (Optional) Enter a comment to help other users understand the function of the subnet in your organization.
- In the New subnet CIDRs field, enter each subnet in CIDR format (a.b.c.d/x) using separate lines or commas as delimiters.
- Click Save.
Edit subnets
- From the Main menu, go to .
- Select one of the Intentional Subnets and click Edit.
- Edit the subnet (CIDR) and Comment, and click Save.
Define intentional subnets using the PeerNeighborhood Client setting
Use the PeerNeighborhood Client setting to designate certain Clients that are allowed to peer with one another. You can apply the setting during or after Client deployment. Tanium Cloud allows these Clients to peer, regardless of the NAT IP of each Client.
Set the same PeerNeighborhood name for all Clients in each site that are allowed to peer. For example, if you have lab sites "Lab East" and "Lab West," you can set the PeerNeighborhood Client setting for all Clients in each site to Lab-East and Lab-West respectively.
For methods to modify the PeerNeighborhood Client setting, see Tanium Client Management User Guide: Modify Client settings.
Verify intentional subnets
After you configure intentional subnets, wait for the next Client-reset interval before verifying that the subnets work as expected. For more information, see Verify or remediate Tanium Client peering and leader connections. In the page, the Network Location (from Client) column shows the pre-NAT IP addresses and the Network Location (from Server) column shows the NAT IP addresses.
Verify or remediate Tanium Client peering and leader connections
The Client Status page shows information about the state of Tanium Client registration and connectivity, and enables you to deploy actions to remediate issues.
Client Status read permission is required to see the Client Status page. The Admin reserved role has this permission.
The Client Status page shows information for all Clients that meet the specified filter criteria, regardless of whether those Clients are in computer groups that are assigned to your user account or persona. However, computer group assignments still determine to which Clients you can deploy actions.
The Client Status page does not show information for endpoints managed using entity providers. For more information, see Entity providers.
View the status of Tanium Client registration and communication
Client Status columns and connection states
The following table lists the information that the Client Status page displays for each Tanium Client.
|
Column |
Description |
|---|---|
|
Host Name |
Endpoint host name. |
|
Computer ID |
The computer ID uniquely identifies each managed endpoint that connects to Tanium Cloud at any given moment. Tanium Cloud assigns the ID when the Tanium Client registers. The computer ID might change when a Client re-registers after certain events, such as:
The Client records every computer ID that Tanium Cloud has assigned over the history of registrations for that Client. However, only the last assigned ID counts towards the maximum managed endpoints that your Tanium license specifies.
Note: The Computer ID column shows the same value as the Computer ID sensor. If you issue a question with the sensor, the Client returns all the computer IDs that Tanium Cloud has assigned to the host. For more information about how Tanium Cloud assigns the ID, see Information about registration and ComputerID.
|
|
Network Location (from Client) |
Client IP address returned from a sensor on the Client. |
|
Network Location (from Server) |
Client IP address recorded on Tanium Cloud during the last registration. |
|
Direction |
A circle represents the Client and arrows represent its connections. For a list of possible connection states, see the table Tanium Client peer connection states. |
|
Valid Key |
No indicates an issue with the public key that the Tanium Client uses to secure communication with other Tanium Core Platform components. To resolve the issue, reinstall the Tanium Client. For more information, see Tanium Client Management User Guide. |
|
Using TLS |
This column indicates whether Clients are (Yes) or are not (No) using Transport Layer Security (TLS) for communication with Tanium Cloud. |
|
Send State |
|
|
Receive State |
|
|
Status |
|
|
Registration Error |
(Salesforce deployments only) The Client can be in one of the following registration states:
To resolve issues that relate to the Tanium root key or registration secret, re-install the Tanium Client on the affected endpoints. Contact Tanium Support for a new Tanium license if you want to change the maximum number of active Clients. |
|
Endpoint Type (hidden by default) |
Classification of the endpoint as Ephemeral or Standard. This column is blank if Tanium Cloud does not return the classification. |
|
First Seen (hidden by default) |
Date and time when the Tanium Client first registered with Tanium Cloud. This column is blank if Tanium Cloud does not return a first registration date. |
|
Last Registration |
Date and time when the Tanium Client last registered with Tanium Cloud. |
|
Protocol Version (hidden by default) |
Tanium Protocol version. For more information about the protocol, see TLS communication. |
|
Version |
Tanium Client version. |
The Direction column displays icons that use the following conventions to depict Tanium Client connection states:
-
An up arrow indicates a connection with Tanium Cloud.
-
Side arrows pointing away from the Client indicate outbound connections to peers.
-
Side arrows pointing at the Client indicate inbound connections from peers.
-
Side arrows on the right side of Clients indicate the state of connections to forward peers.
-
Side arrows on the left side of Clients indicate the state of connections to backward peers.
-
Side arrows with dashed lines indicate slow connections.
You can use the Direction column to understand why a Tanium Client is a leader and to identify connection issues. The following table lists the possible connection states:
|
Attribute |
Value |
Description |
|---|---|---|
|
Leader |
Backward |
The Client is a backward leader that terminates one end of a linear chain. It typically has the lowest IP address in its linear chain. |
|
Forward |
The Client is a forward leader that terminates one end of a linear chain. It typically has the highest IP address in its linear chain. |
|
|
Neighborhood |
The Client is designated as a neighborhood leader because its linear chain has reached the maximum number of Clients. |
|
|
Isolated |
The Client is an isolated leader that connects only toTanium Cloud, and has no connections to other Clients. The Client might be isolated because its IP address falls within the range of an isolated subnet or because it has no peers in its local subnet with which to connect. |
|
|
Neighbor |
No side arrows |
This is the same as an isolated leader. |
|
Single side arrow
|
The Client has a neighborhood list of peers but has not established a peer connection. This state generally results from a misconfiguration, such as when a host-based firewall on the endpoint does not allow inbound connections to the Client. |
|
|
Double side arrows |
The Client has a neighborhood list of peers and has connected with peers. |
|
|
Client state |
Normal |
A Client represented by an empty circle is communicating normally. Any of the above neighbor or leader arrows might apply. |
|
Blocked |
A Client represented by a circle with an X is not communicating reliably with connected peers (when the Client displays neighbor arrows) or with Tanium Cloud (when the Client displays a leader arrow). Unreliable communication might result from a network issue or host resource issue, such as an anti-virus program that slows the Client. |
Export Tanium Client status details
Export information in the Client Status page as a CSV file or, if you have the Admin reserved role, as a JSON file.
Copy Tanium Client status details
Copy information from the Client Status page to your clipboard to paste the information into a message, text file, or spreadsheet. Each row in the grid is a comma-separated value string.
- From the Main menu, go to .
- Perform one of the following steps:
- Copy row information: Select one or more rows and click Copy
.
- Copy cell information: Hover over the cell, click Options
, and click Copy
.
- Copy row information: Select one or more rows and click Copy
Deploy actions to remediate Client registration or connectivity issues
You can deploy actions to Tanium Clients to remediate issues that you observe in the Client Status page.
- From the Main menu, go to .
- Select the Tanium Clients (up to 100) to which you want to deploy actions and click Deploy Action.
- Deploying actions and playbooks in Console and Interact.
- Review the Client Status grid to verify that the action produced the expected result.
Use questions to review peering settings
The content-only solution Tanium™ Default Content includes sensors that you can use in questions to examine settings for Tanium Client peer communication:
-
Tanium Client IP Address
-
Tanium Peer Address
-
Tanium Back Peer Address
-
Tanium Client Neighborhood
The following example is a dynamic question that uses these sensors. Note that the results for the Tanium Client Neighborhood sensor display in the Backwards and Forwards columns:
Examine the Tanium Client configuration
You can check the peer address lists in the Tanium Client settings on an individual Client.
The following is an example of a Windows registry for a Tanium Client that has peering disabled through the isolated subnets configuration. The NeighorhoodList setting still lists peers, but their ports are set to 0 to prevent the Client from connecting with those peers.
The following example shows CLI output for the neighborhood and peering information in the Tanium Client database:
$ sudo ./TaniumClient config list
Keys:
- ComputerID: 3235161864
- DatabaseEpoch: 2017-11-01 17:54:19.073914
- HostDomainName: cloud.tanium.comtam.local
- LastGoodServerName: taas-example1-zs.cloud.tanium.comzs1.tam.local
- LogVerbosityLevel: 1
- RegistrationCount: 3333
- Resolver: nslookup
- ServerName: taas-example1-zs.cloud.tanium.comzs1.tam.local
- ServerNameList: taas-example1-zs.cloud.tanium.com,taas-example2-zs.cloud.tanium.comts1.tam.local,zs1.tam.local
- ServerPort: 17472
- Status:
- Status.BackPeerAddress: 512:17472:10.10.10.40_512:0:10.10.10.40
- Status.BackPreviousPeerAddress: NoAddress_NoAddress
- Status.BufferCount: 2
- Status.ClientAddress: 512:17472:10.10.10.51_512:0:10.10.10.51
- Status.NeighborhoodList: 512:17472:10.10.10.13_512:0:10.10.10.13,
512:17472:10.10.10.40_512:0:10.10.10.40, 512:17472:10.10.10.51_512:0:10.10.10.51
- Status.PeerAddress: NoAddress_NoAddress
- Status.PreviousPeerAddress: 512:17473:10.10.10.11_512:0:10.10.10.11
- Status.StaleCount: 34
- Status.StaleList: Operating System,NAT IP Address,Online,OS Platform,Available Patches,
Running Processes Memory Usage,Tanium Client Version,Disk Used Percentage,Reboot Required,
Tanium Client Core Health,Is Virtual,Disk Free Space,tempsensor_33,Installed Applications,
Comply - Compliance Aggregates,Has Tanium Standard Utilities,Has Patch Tools,Installed Patches,
Manufacturer,Has Hardware Tools,Is Windows,Chassis Type,Is Mac,IOC Detect Tools Version,
Comply - Vulnerability Aggregates,Patch Cab Out of Date,IP Address,Uptime,Network Adapters,
Is Linux,Open Ports,Running Processes
- ValueSystem:
- ValueSystem.0 0: 1
- ValueSystem.CorrelationDecisionHaste: 1
- ValueSystem.CorrelationRequiredConfidence: 0.69999999999999996
- ValueSystem.CorrelationThresholdMultiplier: 1
- ValueSystem.CorrelationVolumeMultiplier: 0.01
- ValueSystem.PrevalenceDecisionHaste: 1
- ValueSystem.PrevalenceRequiredConfidence: 0.69999999999999996
- ValueSystem.PrevalenceVolumeMultiplier: 1
- ValueSystem.ValueThreshold: 0.10000000000000001
- Version:
Customize listening ports
The Client uses the listening port to receive communications from peer Clients that are in the same linear chain. By default, the Client listens for communication from peer Clients on the port specified for the ServerPort setting. You can configure a specific custom listening port, or you can randomize the listening port at intervals.
-
If you configure listening port settings, use the same values for all Clients in the same subnet.
-
Configure listening port settings when you deploy the Tanium Client. You can use the Tanium Server REST API to create a custom tanium-init.dat file that includes the necessary settings. For more information about creating the PKI initialization bundle, see the Tanium Server REST API Reference. If necessary, contact Tanium Support for access to that document. For other methods to create the tanium-init.dat file, see Deploying the Tanium Client using an installer or package file.
If you need to configure new custom listening port settings for existing Clients, use a package. Make sure to deploy the package to all Clients. For more information, see Packages.
Configure a custom listening port
To configure a specific custom listening port for Client communication, configure the ListenPort setting on all Clients. When you configure a value for the ListenPort setting, it overrides the ServerPort setting for communication between Clients.
-
If you enable EnableRandomListeningPort, do not configure ListenPort because the Client overwrites the value whenever it selects a new port.
-
Changes to ListenPort automatically affect the Tanium Client API port, which is one port number higher. For example, if you set ListenPort to 17473, the Client API port becomes 17474.
Randomize listening ports
You can configure the Tanium Client to randomly select a new listening port at intervals.
The following Client settings on the control randomization of the listening port:
- EnableRandomListeningPort
-
Enables (1) or disables (0) the randomized selection of a new listening port at intervals. The Client uses the port for communication from peer Clients. If another application is already using the selected port, the Client selects another port immediately instead of at the next interval.
Note: If you change EnableRandomListeningPort from enabled to disabled, you must also remove the ListenPort setting or set it to the desired port. Otherwise, the port that the Client last randomly selected before you disabled EnableRandomListeningPort becomes the permanent listening port. - RandomListeningPortMin
-
Specifies the low end of the range of ports from which the Client randomly selects a listening port if you enabled EnableRandomListeningPort. The default is port 32000.
- RandomListeningPortMax
-
Specifies the high end of the range of ports from which the Client randomly selects a listening port if you enabled EnableRandomListeningPort. The default is port 64000
- RandomListeningPortTTLInHours
-
Specifies the interval in hours at which the Client selects a new listening port if you enabled EnableRandomListeningPort. The default is 24 hours. Do not set the value lower than the Client reset interval, which by default is a random interval in the range of 2 to 6 hours.
- RandomListeningPortExclusions
-
Specifies ports that the Client never selects as a listening port if you enable EnableRandomListeningPort. For example, to prevent port competition conflicts, you might specify ports that other applications use. If you specify multiple exclusions, use a comma to separate each port. By default, the Client does not exclude any ports that are within the range that the RandomListeningPortMin and RandomListeningPortMax settings define.