From: Fabian Keil Date: Sun, 10 Jul 2022 07:12:30 +0000 (+0200) Subject: privoxy-log-parser: Highlight 'Client successfully connected over TLSv1.3 (TLS_AES_12... X-Git-Tag: v_3_0_34~89 X-Git-Url: http://www.privoxy.org/gitweb/templates.html?a=commitdiff_plain;h=3f5d0cd47049b49da36a707c0c6328b613b6fbd1;p=privoxy.git privoxy-log-parser: Highlight 'Client successfully connected over TLSv1.3 (TLS_AES_128_GCM_SHA256).' --- 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'}@;