Skip to main content

Apps

Counts traffic and connections per application, keyed by server port (p-0050 style) or by a fixed protocol name.

PropertyValue
GUID{C51B48D4-7876-479E-B0D9-BD9EFF03CE2E}
LayerL4 Transport
InputPackets, Flows
Key typePort key p-XXXX, or protocol name
ImplementationNative C++ — CPICGApp (group), CPITCPStats, CPIUDPStats, CPIIPStats, CPIIP6Stats (packet metering) (trisul_probe/src/sysplugs/counters); stengine/XSessionGroup.cpp (connection meters); CPINetflowMeter, CPISFlowMeter (sysplugs/flowhandlers)
Bucket / Topper60 s / 300 s
Enabled by defaultYes

What it measures​

  • TCP/UDP packets: each packet updates one port key: the lower of the two ports. The higher port is used instead when the flow is marked higher-port-server, or when it matches an AppPolicyItem (ServerPorts + Subnets) in AppCounterPolicy.xml. Subnets are IPv4 only. For IPv6 packets, only items whose subnet is 0.0.0.0/0 (any address) apply.
  • Other IP packets: ICMP goes to icmp, ICMPv6 to icmpv6, and IPsec (ESP and AH) to ipsec0.
  • Each update also adds the bytes to one of meters 2, 3, 5 or 6, based on Home Networks. IPv4 packets are checked against the IPv4 home networks and IPv6 packets against the IPv6 home networks.
  • Connections: the session tracker adds 1 to Connections and Active Conns for each new flow, and subtracts 1 from Active Conns when the flow expires. The key is the lower port of the flow.
  • NetFlow/IPFIX and sFlow (policy MeterApplications): the same port keys from record fields. GRE goes to gre, ESP to ipsec-esp. With MeterBothPorts on, two port keys can be updated when both ports are 1024 or higher. With MeterAppConnections on, each record with SYN and ACK set adds 1 to Connections.
  • Meters 8 and 9 are filled only in a filtered group made by an interface tracker from this group.

Keys​

A port key is p- plus the port number in 4 uppercase hex digits. Labels (service names) are preloaded from port-keys.txt.

KeyMeaning
p-0050Port 80, label http
p-01BBPort 443, label https
p-0035Port 53, label domain (DNS)
p-0D3DPort 3389, label ms-wbt-server (RDP)

Special keys​

KeyMeaning
SYS:GROUP_TOTALSSum of every update in the interval. One key per packet, so meter 0 is about all TCP+UDP+ICMP+IPsec bytes. In flow mode with MeterBothPorts on, some records count twice.
icmpIPv4 ICMP. Label ICMP.
icmpv6ICMPv6.
ipsec0IPsec ESP and AH (packet mode). Label IPSEC.
gre, ipsec-espGRE and ESP (NetFlow/sFlow mode only).
icmp00, gre000, esp000, ah0000, igmp00Connection meters (4, 7) for non-TCP/UDP flows. They have no byte meters.
SpanTreePacket mode: frames sent to destination MAC 01:80:C2:00:00:xx. This covers STP BPDUs and the other IEEE link-local protocols, such as LLDP, LACP and 802.1X.

Meter list​

IDNameTypeUnitsTopBottomDescription
0TotalVT_RATE_COUNTERBps500Bytes of packets or flow records for this app.
1Security AlertsVT_COUNTERAlerts100Not populated by the current code.
2Into HomenetVT_RATE_COUNTERBps500Bytes from outside to inside the home network.
3Outof HomenetVT_RATE_COUNTERBps500Bytes from inside to outside the home network.
4ConnectionsVT_COUNTERConns500+1 per new flow. NetFlow/sFlow: +1 per record with SYN+ACK.
5Internal HomenetVT_RATE_COUNTERBps500Bytes with both ends in the home network.
6Transit HomenetVT_RATE_COUNTERBps500Bytes with neither end in the home network.
7Active ConnsVT_RUNNING_COUNTERConns500+1 when a flow is created, −1 when it expires.
8Into InterfaceVT_RATE_COUNTERBps500Interface-tracker filtered groups only. Bytes into the tracked interface.
9Outof InterfaceVT_RATE_COUNTERBps500Interface-tracker filtered groups only. Bytes out of the tracked interface.
10Unused Cardinality counterVT_GAUGEUniques2020Reserved cardinality slot. Not populated.
11Unused Cardinality counterVT_GAUGEUniques2020Reserved cardinality slot. Not populated.