aboutsummaryrefslogtreecommitdiff
path: root/example/reader_util.c
diff options
context:
space:
mode:
authorIvan Nardi <12729895+IvanNardi@users.noreply.github.com>2023-07-21 03:41:43 +0200
committerGitHub <noreply@github.com>2023-07-21 03:41:43 +0200
commitc85f2fb0f44f734a34ac905d4e35fcf479f19901 (patch)
tree560473f07584e41faaad4a03f473c6e22eb93a6c /example/reader_util.c
parentfa0bd515b5c4861ba05cb14732da85c98d537386 (diff)
TLS: add basic, basic, detection of Encrypted ClientHello (#2053)
Diffstat (limited to 'example/reader_util.c')
-rw-r--r--example/reader_util.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/example/reader_util.c b/example/reader_util.c
index b9112b92e..d8c4b23f3 100644
--- a/example/reader_util.c
+++ b/example/reader_util.c
@@ -1339,6 +1339,8 @@ void process_ndpi_collected_info(struct ndpi_workflow * workflow, struct ndpi_fl
flow->ssh_tls.encrypted_sni.cipher_suite = flow->ndpi_flow->protos.tls_quic.encrypted_sni.cipher_suite;
}
+ flow->ssh_tls.encrypted_ch.version = flow->ndpi_flow->protos.tls_quic.encrypted_ch.version;
+
if(flow->ndpi_flow->protos.tls_quic.tls_supported_versions) {
if((flow->ssh_tls.tls_supported_versions = ndpi_strdup(flow->ndpi_flow->protos.tls_quic.tls_supported_versions)) != NULL)
correct_csv_data_field(flow->ssh_tls.tls_supported_versions);