Skip to main content

TLS Versions

Counts TLS flows and their traffic by negotiated TLS version, keyed by the decimal version number from the ServerHello.

PropertyValue
GUID{44DBB4E0-B79F-4FB5-A437-3CFEDFB7B65E}
LayerL7 Application
InputPackets
Key typeTLS version as decimal number
ImplementationLua — tlsversions.lua (apps/analyzers/tls-metrics-pack)
Trisul Apptls-metrics-pack (install from Trisul Apps)
Bucket / Topper30 s / 300 s
Enabled by defaultYes, after the app is installed

What it measures​

  • The script handles only flows with port 443 on either side. It reads TLS:RECORD attributes from TCP reassembly, so SSL record extraction must be on (//Reassembly/TCPReassembly/Applications/EnableSSLRecordExtraction).
  • It parses the ServerHello (handshake type 2). The version is the value of the supported_versions extension (43) when present, else the ServerHello version field.
  • On a match it adds 1 to Flows. It attaches a flow counter, so every later packet of the flow, in both directions, adds its wire length to meter 0. It also adds a flow → version edge. Then it turns off reassembly for the flow.
  • Each flow updates one key, so there is no double counting.

Keys​

One key is the 16-bit TLS version written as a decimal string. The group's keyinfo table gives these labels:

KeyMeaning
768SSL 3.0
769TLS 1.0
770TLS 1.1
771TLS 1.2
772TLS 1.3

Special keys​

KeyMeaning
SYS:GROUP_TOTALSSum of every update made to this group in the interval: all port-443 TLS flows that sent a ServerHello.

Meter list​

IDNameTypeUnitsTopBottomDescription
0bytesVT_RATE_COUNTERBps100Short name Packets. Wire bytes of the flow's packets, both directions, from the ServerHello onward.
1flowsVT_COUNTERFlws100Short name Flows. 1 per flow whose ServerHello was parsed.
2uniqsVT_GAUGEUniques2020Reserved cardinality slot. Not populated.
3uniqsVT_GAUGEUniques2020Reserved cardinality slot. Not populated.