aboutsummaryrefslogtreecommitdiff
path: root/src/lib/ndpi_main.c
diff options
context:
space:
mode:
authorIvan Nardi <12729895+IvanNardi@users.noreply.github.com>2021-03-02 21:15:40 +0100
committerGitHub <noreply@github.com>2021-03-02 21:15:40 +0100
commit4c00ff89dfa64f1026c2f1d267dc081a86b45243 (patch)
tree42a219182bf7d40a7ab17fb9c856d4ab22432657 /src/lib/ndpi_main.c
parent2b71a329c18026cb56d938db6f14014aaf682abd (diff)
DTLS: improve support (#1146)
* DTLS: add some pcap tests * DTLS: fix parsing of Client/Server Helllo message * DTLS: add parsing of server certificates
Diffstat (limited to 'src/lib/ndpi_main.c')
-rw-r--r--src/lib/ndpi_main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/ndpi_main.c b/src/lib/ndpi_main.c
index 5afdc4695..5d23ec514 100644
--- a/src/lib/ndpi_main.c
+++ b/src/lib/ndpi_main.c
@@ -6972,6 +6972,7 @@ uint8_t ndpi_connection_tracking(struct ndpi_detection_module_struct *ndpi_str,
switch(proto) {
case NDPI_PROTOCOL_TLS:
+ case NDPI_PROTOCOL_DTLS:
if(flow->l4.tcp.tls.certificate_processed) return(0);
if(flow->l4.tcp.tls.num_tls_blocks <= ndpi_str->num_tls_blocks_to_follow) {