privoxy-log-parser: Highlight 'Client successfully connected over TLSv1.3 (TLS_AES_12...
authorFabian Keil <fk@fabiankeil.de>
Sun, 10 Jul 2022 07:12:30 +0000 (09:12 +0200)
committerFabian Keil <fk@fabiankeil.de>
Sun, 10 Jul 2022 08:08:29 +0000 (10:08 +0200)
tools/privoxy-log-parser.pl

index ae4ef3e..905767d 100755 (executable)
@@ -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'}@;