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.

Note:

Use the default Client peering settings to optimize network resources when all endpoints on a subnet defined by the default /24 address 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 settings and configurations to further optimize peer communication based on the characteristics of your network. Separate settings and configurations apply to Clients that connect directly to the Tanium Server and to Clients that connect to a Tanium Zone Server.

  • Address Mask: The default address mask (IPv4) and address prefix (IPv6) settings are designed to prevent Tanium Client peering across WANs. For more information, see Address mask and prefix settings.

  • Separated subnets: Specify more granular exceptions to the boundaries that the address mask or prefix setting defines. For example, within a subnet that the address mask or prefix setting 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 address mask or prefix setting 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 the Tanium Server or Zone Server, the Server evaluates peering settings and configurations and applies the most restrictive rule to determine the subnet for that Client. For example, if the default address mask defines a /24 subnet, and a separated subnets configuration defines a /26 subnet, the Server applies the peering boundaries of the separated subnet to a Client that has an IP address within the bounds of both.

Tanium Servers write subnet configurations to the Tanium database and automatically synchronize them in an active-active deployment. The subnet configurations in the database are also synchronized among Tanium Zone Servers. In most environments, the separated and isolated subnets configurations are the same for all Zone Servers and Tanium Servers. In complex environments with overlapping subnets, you might have to segregate subnets differently for Zone Servers. In such cases, you can add SeparatedSubnets.txt and IsolatedSubnets.txt files to the Zone Servers to override the synchronized database configurations. Intentional subnets configurations are always synchronized across all Zone Servers and Tanium Servers.

Note: Contact Tanium Support if you need IPv6 support in Tanium Core Platform. Each Tanium Client can register with the Tanium Server as an IPv4 Client or IPv6 Client, but not both. Also, a Tanium deployment can include both IPv4 and IPv6 linear chains, but each chain contains Clients for only one IP version; IPv4 Clients can never peer with IPv6 Clients.

The figure Tanium Client peering illustrates an IPv4 deployment where internal Tanium Clients connect with Tanium Servers in an active-active deployment and external Clients connect with the Zone Server.

1

AddressMask and zs_address_mask

When each Tanium Client registers, the Tanium Server or Zone Server sends the Client a neighborhood list. This is a list of adjacent Clients that are optimal for peering and that are within the boundaries that the AddressMask or zs_address_mask setting defines. In this example, both settings apply the default /24 address mask as the linear chain boundaries.

Note: In the figure Tanium Client peering, the Zone Server uses the zs_address_mask that it receives from a Tanium Server. If necessary, you can override the setting by configuring the AddressMask locally on the Zone Server.

2

Separated subnets configuration

Upon evaluating the separated subnets configuration, the Tanium Servers and Zone Server apply exceptions that define smaller linear chains that are contained within the AddressMask or zs_address_mask chains.

3

Isolated subnets configuration

The Tanium Servers and Zone Server evaluate the isolated subnets configuration to define linear chains for subnets in which the Clients do not peer with each other.

4

Intentional subnets configuration

The Tanium Servers and Zone Server evaluate 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.

Note: The following figure shows the Tanium database on a dedicated host. However, in a Tanium Appliance deployment, the database is on the same host as the Tanium Servers.
Figure 1. Tanium Client peering
Tanium Client subnet configurations for an on-premises deployment

Address mask and prefix settings

Contact Tanium Support to help determine the appropriate values for the following Tanium Client peering settings.

AddressMask

In IPv4 subnets where Tanium Clients register directly with the Tanium Server, AddressMask governs the network proximity of Client peers to prevent suboptimal peer connections (such as connections across WANs). The Tanium Server installation automatically adds the setting (Administration > Configuration > Settings > Advanced Settings) with a default value that limits peering to neighbors that share the same 24-bit address mask. For example, a Tanium Client in subnet 192.168.0.0/24 can peer with other Tanium Clients in 192.168.0.0/24 but not those in 192.168.1.0/24. When each Tanium Client registers with the Tanium Server, the Server sends the Client a list of neighbors with which it can attempt to peer. This neighborhood list adheres to the AddressMask boundary.

The following table lists typical values for this setting:

Table 1. Tanium Client AddressMask peering setting values by CIDR

CIDR

Value for AddressMask Setting

/8

255

/16

65535

/24

16777215

/32

42949672951

1 This value disables Client peering. You can use this value for the zs_address_mask setting or the AddressMask setting on Zone Servers to isolate Clients that register with Zone Servers. For Tanium Clients that register directly with the Tanium Server, configure isolated subnets instead. For more information, see Configure isolated subnets.

zs_address_mask

In IPv4 subnets where Tanium Clients register with a Zone Server, zs_address_mask governs the network proximity of Client peers to prevent suboptimal peer connections. The Zone Server receives the setting from the Tanium Server (Administration > Configuration > Settings > Advanced Settings) with a default value that limits peering to neighbors that share the same 24-bit address mask. If necessary, you can override the platform setting by configuring AddressMask locally on each Zone Server. When each Tanium Client registers with the Zone Server, the Server sends the Client a neighborhood list that adheres to the zs_address_mask (or local AddressMask) boundary.

This setting uses the same values as the AddressMask setting.

AddressPrefixIPv6

In IPv6 subnets where Tanium Clients register directly with the Tanium Server, AddressPrefixIPv6 governs the network proximity of Client peers to prevent suboptimal peer connections. By default, this setting is not visible until you manually configure it (Administration > Configuration > Settings > Advanced Settings). The default value is 0, which specifies no peering. When each Tanium Client registers with the Tanium Server, the Server sends the Client a neighborhood list that adheres to the AddressPrefixIPv6 boundary. Contact Tanium Support to determine the optimum value for peering in IPv6 networks.

zs_address_prefix_ipv6

In IPv6 subnets where Tanium Clients register with a Zone Server, zs_address_prefix_ipv6 governs the network proximity of Client peers to prevent suboptimal peer connections. The Zone Server receives the setting from the Tanium Server (Administration > Configuration > Settings > Advanced Settings). The default value is 0, which specifies no peering. If necessary, you can override the platform setting by configuring AddressPrefixIPv6 locally on each Zone Server. When each Tanium Client registers with the Zone Server, the Server sends the Client a neighborhood list that adheres to the zs_address_prefix_ipv6 (or local AddressPrefixIPv6) boundary. Contact Tanium Support to determine the optimum value for peering in IPv6 networks.

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 subnet boundaries that the address mask or prefix settings define (see Address mask and prefix settings). Clients use the separated subnets configuration for peering based on whether they connect to the Tanium Server or Zone Server. Each Server uses the configuration to manage the peer lists for Clients that register through it.

After you configure separated subnets, you do not have to restart the Tanium Servers or Zone Servers. 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.

Note: In most environments, the separated subnets configuration is the same for all Zone Servers and Tanium Servers, and the best practice is to keep the configuration synchronized across Servers to avoid confusion. In complex environments with overlapping subnets, you might have to segregate subnets differently for Zone Servers. In such cases, you can modify SeparatedSubnets.txt on each Zone Server that requires a unique configuration.
Note: A user role with the Read Separated Subnets permission is required to view the separated subnets configuration. The Write Separated Subnets permission is required to create, modify, or delete the separated subnets configuration. The Administrator reserved role has these permissions.

Tanium Core Platform 7.3 or later supports IPv6 subnets, such as: 2001:db8::/32. Contact Tanium Support for details.

Configure separated subnets that are the same for Tanium Servers and Zone Servers

Add subnets

  1. From the Main menu, go to Administration > Configuration > Subnets.
  2. In the Separated Subnets section, click New Subnets.
  3. Enter each subnet in CIDR format using separate lines or commas as delimiters. Use the semicolon ; or hash # character before any optional comments, as shown in the following example. You cannot use a comma , within the comment text because that character is reserved as a subnet delimiter.
    CODE
    192.168.0.0/26 #This is a data center subnet.
    192.168.2.0/26 ;This is a branch office subnet.
    2001:db8::/32
    Tip: If your deployment includes Zone Servers that require different separated subnets than the Tanium Servers, copy entries from the text field to the clipboard to use when you Optimizing Tanium Client peering through subnets.
  4. Click Save.

Edit subnets

  1. From the Main menu, go to Administration > Configuration > Subnets.
  2. Select one of the Separated Subnets and click Edit.
  3. Edit the subnet (CIDR) and Comment, and click Save.

Configure separated subnets that are specific to Zone Servers

If a deployment includes Zone Servers that require different separated subnets than the Tanium Servers, perform the following steps based on your Tanium infrastructure to add a custom separated subnets configuration to each Zone Server. Because Zone Servers do not synchronize custom subnet configurations, each Zone Server can have a unique configuration.

Windows infrastructure

  1. Create a plain text file named SeparatedSubnets.txt.
  2. Enter the subnets and optional comments that you entered for the Tanium Server into SeparatedSubnets.txt. Use the formatting described in Optimizing Tanium Client peering through subnets.
  3. Move SeparatedSubnets.txt to the installation directory of each Zone Server (the default installation directory is \Program Files (x86)\Tanium\Tanium Zone Server). If necessary, you can modify the file contents for each Zone Server that requires a unique configuration.
Note: If you remove SeparatedSubnets.txt from the Zone Server, it reverts to using the separated subnets that are configured on the Tanium Servers.

Tanium Appliance infrastructure

  1. On the Zone Server Appliance, sign in to the TanOS console as a user with the tanadmin role.
  2. From the tanadmin menu, enter 2-2 (Tanium Operations > Configuration Settings).
  3. Enter 12 to edit the SeparatedSubnets.txt file.
    CODE
    >>> Tanium TanOS -> Tools -> Edit Files -> SeparatedSubnets.txt <<< 
    
              #: Line Content
    
              1: 192.168.1.0/24
    
              A: Add a line
    
              R: Return to previous menu
    
    ------------------------------------------------------
  4. Use the menu to specify subnets in CIDR format.

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, the Tanium Server or Zone Server sends that Client an empty peer list to prevent the Client from participating in peering. Each Server uses the configuration to manage the peer list for Tanium Clients that register through it.

After you configure isolated subnets, you do not have to restart the Tanium Servers or Zone Servers. 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.

Important: Configure isolated subnets for Tanium Clients that are in VPNs. VPN Clients have local IP addresses in a special VPN address block, but their host endpoints are actually not close to each other. VPN Clients would use WAN links for peering and latency would be significantly greater than for Client-to-server connections.
Note:
  • 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.

  • In most environments, the isolated subnets configuration is the same for all Zone Servers and Tanium Servers, and the best practice is to keep the configuration synchronized across Servers to avoid confusion. In complex environments with overlapping subnets, you might have to segregate subnets differently for Zone Servers. In such cases, you can modify the subnets configuration on each Zone Server that requires a unique configuration.

Note: A user role with the Read Isolated Subnets permission is required to view the isolated subnets configuration. The Write Isolated Subnets permission is required to create, modify, or delete the isolated subnets configuration. The Administrator reserved role has these permissions.

Tanium Core Platform 7.3 or later supports IPv6 subnets, such as: 2001:db8::/32. Contact Tanium Support for details.

Configure isolated subnets that are the same for Tanium Servers and Zone Servers

Add subnets

  1. From the Main menu, go to Administration > Configuration > Subnets.
  2. In the Isolated Subnets section, click New Subnets.
  3. Enter each subnet in CIDR format using separate lines or commas as delimiters. Use the semicolon ; or hash # character before any optional comments, as shown in the following example. You cannot use a comma , within the comment text because that character is reserved as a subnet delimiter.
    CODE
    192.168.0.0/26 #This is a data center subnet.
    192.168.2.0/26 ;This is a branch office subnet.
    2001:db8::/32
    Tip: If your deployment includes Zone Servers that require different isolated subnets than the Tanium Servers, copy entries from the text field to the clipboard to use when you Optimizing Tanium Client peering through subnets.
  4. Click Save.

Edit subnets

  1. From the Main menu, go to Administration > Configuration > Subnets.
  2. Select one of the Isolated Subnets and click Edit.
  3. Edit the subnet (CIDR) and Comment, and click Save.

Configure isolated subnets that are specific to Zone Servers

If a deployment includes Zone Servers that require different isolated subnets than the Tanium Servers, perform one of the following procedures based on your Tanium infrastructure and whether you want to isolate all Clients or Clients on specific subnets. Because Zone Servers do not synchronize custom subnet configurations, each Server can have a unique configuration.

Note: The Zone Server applies the most restrictive rule to determine the subnet for a Client. If you configure the zs_address_mask or AddressMask setting to isolate Clients, that setting overrides any subnet-based isolation that is configured in an IsolatedSubnets.txt file.

Isolate all Clients connected to any Zone Server

Set the zs_address_mask platform setting on the Tanium Server (Administration > Configuration > Settings > Advanced Settings) to 4294967295, which specifies /32 subnet boundaries (single hosts) for all Zone Servers.

For more information, see Address mask and prefix settings.

Isolate all Clients connected to a particular Zone Server

  1. Sign in to the Zone Server host as an administrator user.
  2. Access the CLI.
  3. Navigate to the Zone Server installation folder:
    CODE
    &gt;cd<Tanium Zone Server>
  4. Configure the AddressMask local setting to specify /32 subnet boundaries (single hosts):
    CODE
    &gt;TaniumZoneServer config set AddressMask 4294967295

    For more information, see Address mask and prefix settings.

Isolate Clients on specific subnets with Windows infrastructure

  1. Create a plain text file named IsolatedSubnets.txt.
  2. Enter the subnets and optional comments that you entered for the Tanium Server into IsolatedSubnets.txt. Use the formatting described in Optimizing Tanium Client peering through subnets.
  3. Move IsolatedSubnets.txt to the installation directory of each Zone Server (the default installation directory is \Program Files (x86)\Tanium\Tanium Zone Server). If necessary, you can modify the file contents for each Zone Server that requires a unique configuration.
Note: If you remove IsolatedSubnets.txt from the Zone Server, it reverts to using the isolated subnets that are configured on the Tanium Servers.

Isolate Clients on specific subnets with Tanium Appliance infrastructure

  1. On the Zone Server Appliance, sign in to the TanOS console as a user with the tanadmin role.
  2. From the tanadmin menu, enter 2-2 (Tanium Operations > Configuration Settings).
  3. Enter 11 to edit the IsolatedSubnets.txt file.
    CODE
    >>> Tanium TanOS -> Tools -> Edit Files -> IsolatedSubnets.txt <<< 
    
              #: Line Content
    
              1: 192.168.1.0/24
    
              A: Add a line
    
              R: Return to previous menu
    
    ------------------------------------------------------
  4. Use the menu to specify subnets in CIDR format.

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 the Tanium Server or Tanium Zone Server. 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 the Server. 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 the Server over the Internet.

The figure Tanium Client peering shows an example deployment with intentional subnets.

Note: A user role with the Read Intentional Subnets permission is required to view the intentional subnets configuration. The Write Intentional Subnets permission is required to create, modify, or delete the intentional subnets configuration. The Administrator reserved role has these permissions.

You can configure IPv6 subnets, such as 2001:db8::/32. Contact Tanium Support for details.

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 Administration > Configuration > Client Status 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. In this example, the AddressMask platform setting specifies a /24 address mask, which is the default peering range (see Overview of Tanium Client peering settings).

Table 2. Example of Tanium Client peering requirements

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 (AddressMask = /24).

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 AddressMask setting does not apply because their NAT IP addresses differ. Without an intentional subnet, the Tanium Server 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:

  1. From the Main menu, go to Administration > Configuration > Client Status and identify endpoints that are in the same subnet [based on their Network Location (from Client)] but are not peering because their NAT IP addresses [Network Location (from Server)] differ.
    Note: The Tanium Server considers pre-NAT IP addresses to be in the same subnet based on the AddressMask (IPv4) or AddressPrefixIPv6 setting.
  2. Choose appropriate Site or PeerNeighborhood names for the endpoints that you identified. For example, you might have a HeadQuarters site for endpoints in the headquarters subnet and a NAM site for endpoints in a North America branch office subnet.
  3. Inventory the NAT IP addresses of each site to determine the appropriate method to define the intentional subnets and, if applicable, the CIDR values to enter.
    • If the subnets are reasonable to define and do not overlap among sites that need to remain isolated, use the NAT IP addresses to determine the appropriate subnets in intentional subnet sites.

      The best practice is to enter the smallest subnet ranges possible that include the identified endpoints while allowing for potential changes to their NAT IP addresses. As an example, for the Clients TC-HQ-1 (98.0.0.1) and TC-HQ-2 (98.0.0.2) in the table Optimizing Tanium Client peering through subnets, you might configure a Site named HeadQuarters with one of the following subnets, which are listed in descending order in terms of the size of their IP address range:

      • 98.0.0.0/24: Peering is allowed for all Tanium Clients with NAT IP addresses in the range 98.0.0.0 to 98.0.0.255. If TC-HQ-1 and TC-HQ-2 are assigned to new NAT IP addresses within that range, they can still peer.

      • 98.0.0.0/30: Peering is allowed for all Tanium Clients with NAT IP addresses in the range 98.0.0.0 to 98.0.0.3. If the NAT IP address of TC-HQ-1 changes to 98.0.0.3 and TC-HQ-2 stays at 98.0.0.2, they can still peer. However, if TC-HQ-1 changes to 98.0.0.4, it cannot peer with TC-HQ-2.

      • 98.0.0.1/32 and 98.0.0.2/32: Peering is allowed only for Tanium Clients with NAT IP addresses 98.0.0.1 and 98.0.0.2. TC-HQ-1 and TC-HQ-2 cannot peer if their NAT IP addresses change.

      After you determine the appropriate subnet ranges, follow the steps in Optimizing Tanium Client peering through subnets.

    • If the IP addresses are too varied to define reasonable subnets, or if subnets overlap among sites that need to remain isolated, see Optimizing Tanium Client peering through subnets.

  4. Consider whether newly deployed Clients in certain networks might have different NAT IP addresses but are allowed to peer. If so, see Optimizing Tanium Client peering through subnets.
    Note: After you configure intentional 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.

    Intentional subnet configurations are always synchronized across all Zone Servers and Tanium Servers.

Define intentional subnets using Sites

The Tanium Server 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

  1. From the Main menu, go to Administration > Configuration > Subnets.
  2. In the Intentional Subnets section, click New Subnets.
  3. Enter a name to identify the Site that comprises the intentional subnets.
  4. (Optional) Enter a comment to help other users understand the function of the subnet in your organization.
  5. In the New subnet CIDRs field, enter each subnet in CIDR format (a.b.c.d/x) using separate lines or commas as delimiters.
  6. Click Save.

Edit subnets

  1. From the Main menu, go to Administration > Configuration > Subnets.
  2. Select one of the Intentional Subnets and click Edit.
  3. 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. The Tanium Server 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 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 Administration > Configuration > Client Status 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.

Note:

Client Status read permission is required to see the Client Status page. The Administrator 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

  1. From the Main menu, go to Administration > Configuration > Client Status.
  2. (Optional) Edit the default filter settings to view details only for specific Clients. You can also enter text in the Filter items field to filter the grid by host name, computer ID, network location, send/receive state, status, or version.
  3. (Optional) Select Hide Duplicate Host Names (it is selected by default) to show only one row for each Host Name, containing only the information from the last time the Client registered. If you clear the checkbox, the grid shows a separate row for each registration in which the Tanium Server assigned a different Computer ID to the host.
    Note: In the <#> of <#> Items count, the first number shows the number of grid rows, which changes based on the filters that you specify. The second number shows the unfiltered number of registered Clients, which changes based on whether you select Hide Duplicate Host Names.
    Tip: To check if the count of managed endpoints is within the limit of your Tanium license, select Hide Duplicate Host Names and set the filter Show systems that have reported in the last to 30 Days. To see the most accurate count for purposes other than license usage, go to the Tanium Home page, Environment Status section, and check the Total Endpoints. For more information, see View environment status.

Client Status columns and connection states

Figure 2. Client Status page in Tanium Console
Client Status page in Tanium Console

The following table lists the information that the Client Status page displays for each Tanium Client.

Tip: Certain columns are hidden by default. To show or hide columns, click Customize Columns Customize Columns and select (show) or clear (hide) column names.
Table 3. Client Status columns

Column

Description

Host Name

Endpoint host name.

Computer ID

The computer ID uniquely identifies each managed endpoint that connects to the Tanium Server at any given moment. The Server assigns the ID when the Tanium Client registers. The computer ID might change when a Client re-registers after certain events, such as:

  • The endpoint is re-imaged or cloned.

  • A new OS is installed on the endpoint.

  • The endpoint is a virtual machine (VM) that is reverted to a previous state.

The Client records every computer ID that the Server 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 the Tanium Server has assigned to the host. For more information about how the Server 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 the Tanium Server or Zone Server 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.

Perform one of the following tasks to resolve the issue:

Using TLS

This column indicates whether Clients are (Yes) or are not (No) using Transport Layer Security (TLS) for communication with the Tanium Server or Zone Server.

Send State

  • Normal: The Client is sending data to its backward and forward peers.

  • None: The Client is not sending data to its forward or backward peers.

  • Forward Only: The Client is sending data to its forward peer but not to its backward peer.

  • Backward Only: The Client is sending data to its backward peer but not to its forward peer.

Receive State

  • Normal: The Client is receiving data from its backward and forward peers.

  • None: The Client is not receiving data from its forward or backward peers.

  • Next Only: The Client is receiving data from its forward peer but not from its backward peer.

  • Previous Only: The Client is receiving data from its backward peer but not from its forward peer.

Status

  • Normal: The Client is communicating normally.

  • Slow Link: The Client has connections with abnormally slow throughput.

  • Leader: The Client is communicating with the Tanium Server or Zone Server because it is a backward leader, a forward leader, a neighborhood leader, or a Client with no peer connections (such as a Client in an isolated subnet).

  • Blocked: The Client is not communicating reliably.

Last Registration

Date and time when the Tanium Client last registered with the Tanium Server or Zone Server.

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 the Tanium Server or Zone Server.

  • 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:

Table 4. Tanium Client peer connection states

Attribute

Value

Description

Leader

Backward

Backward leader

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

Forwared leader

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

Leader

The Client is designated as a neighborhood leader because its linear chain has reached the maximum number of Clients.

Isolated

No peering

The Client is an isolated leader that connects only to the Tanium Server or Zone Server, 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

No peering

This is the same as an isolated leader.

Single side arrow

inbound only or outbound only

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

inbound and outbound connections

The Client has a neighborhood list of peers and has connected with peers.

Client state

Normal

inbound and outbound connections

A Client represented by an empty circle is communicating normally. Any of the above neighbor or leader arrows might apply.

Blocked

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 the Tanium Server or Zone Server (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 Administrator reserved role, as a JSON file.

  1. From the Main menu, go to Administration > Configuration > Client Status.
  2. Edit the default filter settings to show only the Clients for which you want to export information. You can also enter text in the Filter items field to filter the grid by host name, computer ID, network location, send/receive state, status, or version. Skip this step if you want to export information for all Clients.
  3. Select rows in the grid to export information for specific Tanium Clients. Skip this step if you want to export information for all Clients.
  4. Click Export Export.
  5. (Optional) Edit the default export File Name.
    Note: The file suffix (.csv or .json) changes automatically based on the Format selection.
  6. Select an Export Data option:
    • All: Export information for all Clients that have registered, regardless of whether the grid is filtered to exclude them
    • Selected: Export information only for the Clients that you selected in the grid
    • Filtered: Export information only for the Clients that the grid filters include
  7. Select the file Format:
    • List of Clients: Export the information as a CSV file.
    • Client Definitions (Administrator reserved role only): Export the information as a JSON file.
  8. Click Export.

    The Tanium Server exports the file to the downloads folder on the system that you used to access Tanium Client Management.

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.

  1. From the Main menu, go to Administration > Configuration > Client Status.
  2. Perform one of the following steps:
    • Copy row information: Select one or more rows and click Copy Copy.
    • Copy cell information: Hover over the cell, click Options Options, and click Copy 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. For example, if you want certain Clients to register with a Tanium Zone Server instead of the Tanium Server, you can deploy the Set Tanium Server Name List package to change the ServerNameList setting on those Clients.

  1. From the Main menu, go to Administration > Configuration > Client Status.
  2. Select the Tanium Clients (up to 100) to which you want to deploy actions and click Deploy Action.
  3. Deploying actions and playbooks in Console and Interact.
  4. 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:

Figure 3. Sensors for Tanium Client peering information
Sensors for Tanium Client peering information

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 Reference: Registry key paths for the Tanium Client 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.

Figure 4. Peering information in Windows Registry
Peering information in Windows Registry

The following example shows CLI output for the neighborhood and peering information in the Tanium Client database:

CODE
$ 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.

Important: Work with your network administrator to configure firewalls on endpoints in linear chains to allow incoming connections on any port that the Tanium Client uses to process requests. The process is TaniumClient.exe on Windows endpoints and TaniumClient or taniumclient on other endpoints.
Note: Endpoints in isolated subnets or that otherwise do not have valid peers do not open the listening port and do not require firewall rules to allow incoming traffic on this port. For more information, see Configure isolated subnets.
Note:

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.

Note:
  • 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.

Best practice: Randomize listening ports only if it is required by rules in your organization. Using randomized listening ports requires more complex firewall rules to allow Client communication, and it makes troubleshooting issues with Client communication more difficult.
Note:

By default, the port number for the Tanium Client API is one number greater than the Client listening port. However, if you enable randomization for the listening port, the API port remains fixed at 17473, except under the following conditions:

  • The Client is installed on the same host as the Tanium Server or Zone Server. (This installation is not a best practice. For more information, see Compatibility among components in a Tanium release.)

  • A port other than the default 17472 is configured for Tanium traffic on the Server.

When you have enabled randomization for the listening port and these conditions apply, the Client API port on the Server host is one number greater than the Server port. For example, if you change the Tanium Server ServerPort setting from the default 17472 to 17473, the Client API port on the Server host changes to 17474.

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.