diff options
Diffstat (limited to 'example')
-rw-r--r-- | example/ndpiReader.c | 7 | ||||
-rw-r--r-- | example/reader_util.c | 10 | ||||
-rw-r--r-- | example/reader_util.h | 5 |
3 files changed, 0 insertions, 22 deletions
diff --git a/example/ndpiReader.c b/example/ndpiReader.c index 08e0023f2..a1eae008a 100644 --- a/example/ndpiReader.c +++ b/example/ndpiReader.c @@ -2176,13 +2176,6 @@ static void printFlow(u_int32_t id, struct ndpi_flow_info *flow, u_int16_t threa if(flow->ssh_tls.tls_issuerDN) fprintf(out, "[Issuer: %s]", flow->ssh_tls.tls_issuerDN); if(flow->ssh_tls.tls_subjectDN) fprintf(out, "[Subject: %s]", flow->ssh_tls.tls_subjectDN); - if(flow->ssh_tls.encrypted_sni.esni) { - char unknown_cipher[8]; - fprintf(out, "[ESNI: %s]", flow->ssh_tls.encrypted_sni.esni); - fprintf(out, "[ESNI Cipher: %s]", - 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); } diff --git a/example/reader_util.c b/example/reader_util.c index 6400d2260..2a726b6e1 100644 --- a/example/reader_util.c +++ b/example/reader_util.c @@ -546,11 +546,6 @@ static void ndpi_free_flow_tls_data(struct ndpi_flow_info *flow) { flow->ssh_tls.tls_subjectDN = NULL; } - if(flow->ssh_tls.encrypted_sni.esni) { - ndpi_free(flow->ssh_tls.encrypted_sni.esni); - flow->ssh_tls.encrypted_sni.esni = NULL; - } - if(flow->ssh_tls.ja4_client_raw) { ndpi_free(flow->ssh_tls.ja4_client_raw); flow->ssh_tls.ja4_client_raw = NULL; @@ -1563,11 +1558,6 @@ void process_ndpi_collected_info(struct ndpi_workflow * workflow, struct ndpi_fl if(flow->ndpi_flow->protos.tls_quic.subjectDN) flow->ssh_tls.tls_subjectDN = strdup(flow->ndpi_flow->protos.tls_quic.subjectDN); - if(flow->ndpi_flow->protos.tls_quic.encrypted_sni.esni) { - flow->ssh_tls.encrypted_sni.esni = strdup(flow->ndpi_flow->protos.tls_quic.encrypted_sni.esni); - 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) { diff --git a/example/reader_util.h b/example/reader_util.h index 6a44ae022..1ee11e071 100644 --- a/example/reader_util.h +++ b/example/reader_util.h @@ -295,11 +295,6 @@ typedef struct ndpi_flow_info { sha1_cert_fingerprint[20]; u_int8_t sha1_cert_fingerprint_set; struct tls_heuristics browser_heuristics; - - struct { - u_int16_t cipher_suite; - char *esni; - } encrypted_sni; struct { u_int16_t version; |