Skip to content

Commit 6195fcc

Browse files
author
Huták Lukáš
committed
Merge remote-tracking branch 'origin/unirec_tlsfields' into devel
2 parents a609872 + 3170265 commit 6195fcc

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

extra_plugins/output/unirec/config/unirec-elements.txt

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,3 +116,33 @@ HB_SIZE_PAYLOAD uint16 e8057id703 # Heartbeat payload
116116
VENOM uint8 e8057id1001 # Venom rootkit detection
117117
IPV6_TUN_TYPE uint8 e16982id405 # IPv6 tunnel type
118118

119+
# --- Flowmon TLS fields
120+
TLS_CONTENT_TYPE uint8 flowmon:tlsContentType # tlsContentType
121+
TLS_HANDSHAKE_TYPE uint32 flowmon:tlsHandshakeType # https://tools.ietf.org/html/rfc5246#appendix-A.4
122+
TLS_SETUP_TIME uint64 flowmon:tlsSetupTime # tlsSetupTime
123+
TLS_SERVER_VERSION uint16 flowmon:tlsServerVersion # 8b major and 8b minor, 0x0303 ~ TLS1.2
124+
TLS_SERVER_RANDOM bytes flowmon:tlsServerRandom # tlsServerRandom
125+
TLS_SERVER_SESSIONID bytes flowmon:tlsServerSessionId # tlsServerSessionId
126+
TLS_CIPHER_SUITE uint16 flowmon:tlsCipherSuite # https://www.iana.org/assignments/tls-parameters/tls-parameters.xhtml#tls-parameters-4
127+
TLS_ALPN string flowmon:tlsAlpn # TLS Application-Layer Protocol Negotiation https://www.iana.org/assignments/tls-extensiontype-values/tls-extensiontype-values.xhtml#alpn-protocol-ids
128+
TLS_SNI string flowmon:tlsSni # Server Name Indication https://en.wikipedia.org/wiki/Server_Name_Indication
129+
TLS_SNI_LENGTH uint16 flowmon:tlsSniLength # Length of TLS_SNI field
130+
TLS_CLIENT_VERSION uint16 flowmon:tlsClientVersion # tlsClientVersion
131+
TLS_CIPHER_SUITES bytes flowmon:tlsCipherSuites # List of 2B ciphers, beware of network byte order. See https://www.iana.org/assignments/tls-parameters/tls-parameters.xhtml#tls-parameters-4
132+
TLS_CLIENT_RANDOM bytes flowmon:tlsClientRandom # tlsClientRandom
133+
TLS_CLIENT_SESSIONID bytes flowmon:tlsClientSessionId # tlsClientSessionId
134+
TLS_EXTENSION_TYPES bytes flowmon:tlsExtensionTypes # tlsExtensionTypes
135+
TLS_EXTENSION_LENGTHS bytes flowmon:tlsExtensionLengths # tlsExtensionLengths
136+
TLS_ELLIPTIC_CURVES bytes flowmon:tlsEllipticCurves # tlsEllipticCurves
137+
TLS_EC_POINTFORMATS bytes flowmon:tlsEcPointFormats # tlsEcPointFormats
138+
TLS_CLIENT_KEYLENGTH int32 flowmon:tlsClientKeyLength # Length of client's key
139+
TLS_ISSUER_CN string flowmon:tlsIssuerCn # Common name of certificate issuer
140+
TLS_SUBJECT_CN string flowmon:tlsSubjectCn # Certificate Common Name
141+
TLS_SUBJECT_ON string flowmon:tlsSubjectOn # Certificate Organization Name
142+
TLS_VALIDITY_NOTBEFORE int64 flowmon:tlsValidityNotBefore # UNIX timestamp of certificate creation
143+
TLS_VALIDITY_NOTAFTER int64 flowmon:tlsValidityNotAfter # UNIX timestamp of certificate expiration
144+
TLS_SIGNATURE_ALG uint16 flowmon:tlsSignatureAlg # tlsSignatureAlg
145+
TLS_PUBLIC_KEYALG uint16 flowmon:tlsPublicKeyAlg # tlsPublicKeyAlg
146+
TLS_PUBLIC_KEYLENGTH int32 flowmon:tlsPublicKeyLength # tlsPublicKeyLength
147+
TLS_JA_3FINGERPRINT bytes flowmon:tlsJa3Fingerprint # tlsJa3Fingerprint
148+

0 commit comments

Comments
 (0)