DTLS: improve support (#1146)

* DTLS: add some pcap tests

* DTLS: fix parsing of Client/Server Helllo message

* DTLS: add parsing of server certificates
This commit is contained in:
Ivan Nardi
2021-03-02 21:15:40 +01:00
committed by GitHub
parent 2b71a329c1
commit 4c00ff89df
9 changed files with 129 additions and 40 deletions
+1
View File
@@ -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) {