diff options
author | Ivan Nardi <12729895+IvanNardi@users.noreply.github.com> | 2023-07-21 03:41:43 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-21 03:41:43 +0200 |
commit | c85f2fb0f44f734a34ac905d4e35fcf479f19901 (patch) | |
tree | 560473f07584e41faaad4a03f473c6e22eb93a6c /example/ndpiReader.c | |
parent | fa0bd515b5c4861ba05cb14732da85c98d537386 (diff) |
TLS: add basic, basic, detection of Encrypted ClientHello (#2053)
Diffstat (limited to 'example/ndpiReader.c')
-rw-r--r-- | example/ndpiReader.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/example/ndpiReader.c b/example/ndpiReader.c index dfde22d61..c37c046f8 100644 --- a/example/ndpiReader.c +++ b/example/ndpiReader.c @@ -1819,6 +1819,10 @@ static void printFlow(u_int32_t id, struct ndpi_flow_info *flow, u_int16_t threa ndpi_cipher2str(flow->ssh_tls.encrypted_sni.cipher_suite, unknown_cipher)); } + if(flow->ssh_tls.encrypted_ch.version != 0) { + fprintf(out, "[ECH: version 0x%x]", flow->ssh_tls.encrypted_ch.version); + } + if(flow->ssh_tls.sha1_cert_fingerprint_set) { fprintf(out, "[Certificate SHA-1: "); for(i=0; i<20; i++) |