Connection States

The Connection States instrument displays the current packet filter (PF) state table entries, showing all active network connections passing through the rXg.

The table is a snapshot rather than a live view: the backend rewrites it every 11 scheduler cycles, so a connection that has just opened or closed can take several seconds or more to appear or disappear.

Note: In cluster deployments, a Cluster Node field is displayed in applicable scaffolds to indicate which node the entry belongs to. Viewed on a cluster node that is not a controller, the table lists only that node's states.

When to Use It

  • See what a device is doing right now. Search by MAC or Source IP to list the device's open connections, where each one goes, the application it was identified as, and how much data it has moved.
  • Check NAT. The Translated IP and Translated Port fields show the WAN address and port the rXg translated the connection to: the one it left on, or, for a port forward, the one it arrived on. That confirms whether a BiNAT, a dedicated IP or a port forward is being used.
  • Find the heaviest connections. Sort by Bytes Down or Bytes Up; to see one device's total, search by its MAC and read the totals. The totals under the table sum the bytes and packets, and average the duration, across every state matching the current search.
  • Spot unusual connection counts. A device holding hundreds or thousands of states is worth a closer look; the Licenses manual entry gives typical counts. The same backend task raises a health notice as the total number of states approaches the licensed limit.

Flushing States

The Flush link on a row removes every state to or from that row's Source IP, not only that connection. On a client's row, all of the client's connections on that address drop and must be reopened. Look at the Source IP before you flush: on a port-forward row it is the remote host, and on a row that the rXg opened it is the rXg's own address, so a flush there can cut the connections of many devices. Flush works on IPv4 rows only; on an IPv6 row it removes the row, which returns at the next refresh.

Flush All removes every connection state on every node of a cluster, even from a node whose table lists only its own states. It cuts every end-user connection. Both require write access to Instruments.

Connection States

The Connection States table provides the operator with a list of all current connection states tracked by the rXg firewall.

The Initiated At field shows when the connection was established. The Source IP and Source Port fields display the originating endpoint of the connection. The MAC field shows the source device's MAC address. The Login Session field links to the associated login session if the connection belongs to an authenticated user.

The Destination IP and Destination Port fields show the remote endpoint of the connection. The Translated IP and Translated Port fields display the NAT-translated address and port if network address translation is applied to the connection.

The Protocol field indicates the transport protocol (TCP, UDP, ICMP, etc.). The Net App field shows the identified application or service if application identification is enabled.

The Bytes Down and Bytes Up fields display the amount of data transferred in each direction. The Pkts Down and Pkts Up fields show the packet counts in each direction.

The Source State and Destination State fields indicate the TCP connection state for each endpoint (e.g., ESTABLISHED, TIME_WAIT, FIN_WAIT). The Duration field shows how long the connection has been active. The Expires At field indicates when the state entry will be removed if no further traffic is seen. The IP6 field indicates whether this is an IPv6 connection.