[Privoxy-commits] [privoxy] 05/05: privoxy-log-parser: Higlight 'Server successfully connected over TLSv1.3 (TLS_AES_256_GCM_SHA384).'
User Git
git at git.privoxy.org
Sun Jul 10 05:55:32 UTC 2022
This is an automated email from the git hooks/post-receive script.
git pushed a commit to branch master
in repository privoxy.
commit 2f70740f2b352c5d75853ef5d7e90ec75c9c6c82
Author: Fabian Keil <fk at fabiankeil.de>
AuthorDate: Sat Jul 9 08:12:05 2022 +0200
privoxy-log-parser: Higlight 'Server successfully connected over TLSv1.3 (TLS_AES_256_GCM_SHA384).'
---
tools/privoxy-log-parser.pl | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/tools/privoxy-log-parser.pl b/tools/privoxy-log-parser.pl
index 297b9dc4..ae4ef3ee 100755
--- a/tools/privoxy-log-parser.pl
+++ b/tools/privoxy-log-parser.pl
@@ -186,6 +186,8 @@ sub prepare_our_stuff() {
'configuration-line' => 'red',
'content-type' => 'yellow',
'HOST' => HEADER_DEFAULT_COLOUR,
+ 'tls-version' => 'pink',
+ 'cipher-suite' => 'light_cyan',
);
%h_colours = %h;
@@ -1944,6 +1946,12 @@ 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/) {
+
+ # Server successfully connected over TLSv1.3 (TLS_AES_256_GCM_SHA384).
+ $c =~ s@(?<=connected over )(TLSv\d\.\d)@$h{'tls-version'}$1$h{'Standard'}@;
+ $c =~ s@(?<=\()([^)]+)@$h{'cipher-suite'}$1$h{'Standard'}@;
+
} elsif ($c =~ m/^Looks like we / or
$c =~ m/^Unsetting keep-alive flag/ or
$c =~ m/^No connections to wait/ or
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Privoxy-commits
mailing list