From 3f5d0cd47049b49da36a707c0c6328b613b6fbd1 Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Sun, 10 Jul 2022 09:12:30 +0200 Subject: [PATCH] privoxy-log-parser: Highlight 'Client successfully connected over TLSv1.3 (TLS_AES_128_GCM_SHA256).' --- tools/privoxy-log-parser.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/privoxy-log-parser.pl b/tools/privoxy-log-parser.pl index ae4ef3ee..905767d2 100755 --- a/tools/privoxy-log-parser.pl +++ b/tools/privoxy-log-parser.pl @@ -1946,9 +1946,10 @@ sub handle_loglevel_connect($) { # Client socket 21 is no longer usable. The server socket has been closed. $c =~ s@(?<=Client socket )(\d+)@$h{'Number'}$1$h{'Standard'}@; - } elsif ($c =~ m/^Server successfully connected over/) { + } elsif ($c =~ m/^(Client|Server) successfully connected over/) { # Server successfully connected over TLSv1.3 (TLS_AES_256_GCM_SHA384). + # Client successfully connected over TLSv1.3 (TLS_AES_128_GCM_SHA256). $c =~ s@(?<=connected over )(TLSv\d\.\d)@$h{'tls-version'}$1$h{'Standard'}@; $c =~ s@(?<=\()([^)]+)@$h{'cipher-suite'}$1$h{'Standard'}@; -- 2.39.2