We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Current regex does not parse TLSv1.3 connections.
Log line example: Nov 08 10:07:48 mx-3 postfix/smtpd[323791]: Trusted TLS connection established from mx-1..[192.168.1.1]:38929: TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256
Regex for smtpd does not expect this format because log line has text after "with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)".
Regex smtpdTLSLine (0.3, 0.2 versions): smtpdTLSLine = regexp.MustCompile(^(\S+) TLS connection established from \S+: (\S+) with cipher (\S+) \((\d+)/(\d+) bits\)$)
^(\S+) TLS connection established from \S+: (\S+) with cipher (\S+) \((\d+)/(\d+) bits\)$
Same things for smtp. BTW, thanks for exporter!
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Current regex does not parse TLSv1.3 connections.
Log line example:
Nov 08 10:07:48 mx-3 postfix/smtpd[323791]: Trusted TLS connection established from mx-1..[192.168.1.1]:38929: TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256
Regex for smtpd does not expect this format because log line has text after "with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)".
Regex smtpdTLSLine (0.3, 0.2 versions):
smtpdTLSLine = regexp.MustCompile(
^(\S+) TLS connection established from \S+: (\S+) with cipher (\S+) \((\d+)/(\d+) bits\)$
)Same things for smtp.
BTW, thanks for exporter!
The text was updated successfully, but these errors were encountered: