Skip to main content

ASNumber

Traffic to and from external networks, keyed by the Autonomous System Number (ASN) that owns the external IP address.

PropertyValue
GUID{03E016FC-46AA-4340-90FC-0E278B93C677}
LayerL3 Network
InputPackets, Flows
Key typeAS number (decimal string)
ImplementationNative C++ — CPICGASNumber (trisul_geo/src/geometer/PICGASNumber.cpp)
Bucket / Topper60 s / 300 s
Enabled by defaultYes (requires the Geo plugin; MeterASN = TRUE in Geo.xml)

What it measures​

The Geo plugin looks up IPv4 addresses in the MaxMind GeoLite2-ASN-Blocks-IPv4.csv database.

  • Packets. Home → external: the destination's ASN gets Upload. External → home: the source's ASN gets Download. External → external (transit): the destination's ASN gets Upload and the source's ASN gets Download, the same as Country. Home → home packets are not counted.
  • Packets are sampled. The plugin counts 1 packet in every SampleRate (Geo.xml ships 32; code default 16) and multiplies its bytes by SampleRate.
  • NetFlow/IPFIX records, no HomeASNumbers set. Every endpoint that is outside the Home Network is counted. Upload = bytes sent toward that endpoint, Download = bytes received from it. A transit flow updates two ASNs. A home → home flow updates none. IPv6 flow records are skipped.
  • NetFlow/IPFIX records, HomeASNumbers set in Geo.xml. The plugin ignores Home Networks and looks up both endpoints. It skips an endpoint whose ASN is one of your home ASNs. Set DirectionalMode to FALSE to count both endpoints always.
  • Each update adds edges between the ASN and the external host, or the flow.

Keys​

One key is the AS number as a decimal string, with no AS prefix. The key label comes from ASKEYS.SQT, a key database shipped with the Geo plugin (label = AS handle, description = organization).

KeyMeaning
15169GOOGLE (Google LLC)
13335CLOUDFLARENET (Cloudflare, Inc.)
3MIT-GATEWAYS (Massachusetts Institute of Technology)

Special keys​

KeyMeaning
SYS:GROUP_TOTALSSum of every update made to this group in the interval. Transit packets and flows update two ASN keys, so Total can exceed the traffic on the link.
XXIP address not found in the ASN database (for example private or unannounced space).

Meter list​

IDNameTypeUnitsTopBottomDescription
0Upload BytesVT_RATE_COUNTERBps2020Bytes sent toward this ASN.
1Download BytesVT_RATE_COUNTERBps2020Bytes received from this ASN.
2Unused Cardinality counterVT_GAUGEUniques2020Reserved cardinality slot. Not populated.
3Unused Cardinality counterVT_GAUGEUniques2020Reserved cardinality slot. Not populated.