Skip to main content

Unleash Apps

A sample rule based counter group: a copy of Apps in which traffic that matches a rule is counted under a name you choose.

PropertyValue
GUID{FF889910-9293-AAA5-0028-883991889884}
LayerDerived
InputPackets, Flows
Key typeRule target name, or Apps key
ImplementationDerived — ruleset of Apps. Engine: trisul_probe/pcappipe/RulesetProc.cpp
Bucket / Topper60 s / 300 s
Enabled by defaultNo (Inactive)

What it measures​

  • This is a rule based counter group shipped as a demo. The rules are stored in TRISUL_COUNTER_GROUP_RULESETS (parent Apps) and TRISUL_COUNTER_GROUP_RULESET_RULES (TargetKey, TargetRule).
  • The shipped rule is: TargetKey Web Work, TargetRule {4CD742B1-C1CA-4708-BE78-0FCA2EB01A86}=80.79.32.7A&{C51B48D4-7876-479e-B0D9-BD9EFF03CE2E}=p-0050. It matches when the same packet or flow record has the Hosts key 128.121.50.122 and the Apps key port 80.
  • For each packet, flow record or flow-tracker update, the probe tests the rules in order. On the first match, the Apps update is copied here under the rule's TargetKey. If no rule matches, every Apps update is copied here under its original Apps key.
  • So the group looks like Apps, except that matching traffic is moved to the named keys.
  • A rule is one or more {group-guid}=key1,key2 terms joined by & (all must match) or | (any must match). Use ! instead of = to exclude keys, and k1~k2 for a key range.
  • The meter list is inherited from Apps.
  • The group is Inactive in a new context. Edit the rules to suit your network, then enable it under Context: default → profile0 → Counter Groups and restart Trisul.

Keys​

Either a rule's TargetKey or an unchanged Apps key.

KeyMeaning
Web WorkTraffic that matched the shipped rule
p-01BBPort 443 traffic that matched no rule
p-0035Port 53 traffic that matched no rule
icmpICMP traffic that matched no rule

Special keys​

KeyMeaning
SYS:GROUP_TOTALSSum of every update made to this group in the interval. Each packet updates one Apps key, so Total here is close to the link traffic that has an Apps key.

Meter list​

Inherited from Apps.

IDNameTypeUnitsTopBottomDescription
0TotalVT_RATE_COUNTERBps500Bytes of the traffic counted under this key.
1Security AlertsVT_COUNTERAlerts100Not populated by the current code. Alert counts are written to Apps by the alert pipeline, which does not apply rulesets.
2Into HomenetVT_RATE_COUNTERBps500Bytes from an external source to a home destination.
3Outof HomenetVT_RATE_COUNTERBps500Bytes from a home source to an external destination.
4ConnectionsVT_COUNTERConns500+1 for each new flow, copied from the flow tracker's update.
5Internal HomenetVT_RATE_COUNTERBps500Bytes where both ends are in the home network.
6Transit HomenetVT_RATE_COUNTERBps500Bytes where neither end is in the home network.
7Active ConnsVT_RUNNING_COUNTERConns500+1 on flow create, −1 on expiry, copied from the flow tracker's updates.
8Into InterfaceVT_RATE_COUNTERBps500Not populated by the current code. Filled only in Interface Tracker groups of Apps.
9Outof InterfaceVT_RATE_COUNTERBps500Not populated by the current code. Filled only in Interface Tracker groups of Apps.
10Unused Cardinality counterVT_GAUGEUniques2020Reserved cardinality slot. Not populated.
11Unused Cardinality counterVT_GAUGEUniques2020Reserved cardinality slot. Not populated.