aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--example/reader_util.c8
-rw-r--r--src/include/ndpi_typedefs.h2
2 files changed, 6 insertions, 4 deletions
diff --git a/example/reader_util.c b/example/reader_util.c
index c3c18764d..800305b45 100644
--- a/example/reader_util.c
+++ b/example/reader_util.c
@@ -1157,10 +1157,12 @@ void process_ndpi_collected_info(struct ndpi_workflow * workflow, struct ndpi_fl
flow->ndpi_flow->protos.ssh.hassh_server);
}
/* TLS */
- else if((is_ndpi_proto(flow, NDPI_PROTOCOL_TLS))
+ else if(is_ndpi_proto(flow, NDPI_PROTOCOL_TLS)
+ || is_ndpi_proto(flow, NDPI_PROTOCOL_DTLS)
+ || is_ndpi_proto(flow, NDPI_PROTOCOL_MAIL_SMTPS)
+ || is_ndpi_proto(flow, NDPI_PROTOCOL_MAIL_IMAPS)
+ || is_ndpi_proto(flow, NDPI_PROTOCOL_MAIL_POPS)
|| ((is_quic = is_ndpi_proto(flow, NDPI_PROTOCOL_QUIC)))
- || (flow->detected_protocol.master_protocol == NDPI_PROTOCOL_TLS)
- || (flow->ndpi_flow->protos.tls_quic.ja3_client[0] != '\0')
) {
flow->ssh_tls.ssl_version = flow->ndpi_flow->protos.tls_quic.ssl_version;
diff --git a/src/include/ndpi_typedefs.h b/src/include/ndpi_typedefs.h
index 8cc88c17d..2f47a28b5 100644
--- a/src/include/ndpi_typedefs.h
+++ b/src/include/ndpi_typedefs.h
@@ -1276,7 +1276,7 @@ struct ndpi_flow_struct {
char *esni;
} encrypted_sni;
ndpi_cipher_weakness server_unsafe_cipher;
- } tls_quic;
+ } tls_quic; /* Used also by DTLS and POPS/IMAPS/SMTPS */
struct {
char client_signature[48], server_signature[48];