TLS dissection improvements

This commit is contained in:
Luca Deri
2020-07-28 01:06:38 +02:00
parent da87cc3157
commit 32bd3d7a59
5 changed files with 63 additions and 33 deletions
+3 -1
View File
@@ -6368,8 +6368,10 @@ u_int8_t ndpi_extra_dissection_possible(struct ndpi_detection_module_struct *ndp
switch(proto) {
case NDPI_PROTOCOL_TLS:
if(!flow->l4.tcp.tls.certificate_processed)
if((!flow->l4.tcp.tls.certificate_processed)
|| (flow->l4.tcp.tls.num_tls_blocks <= ndpi_str->num_tls_blocks_to_follow)) {
return(1); /* TODO: add check for TLS 1.3 */
}
break;
case NDPI_PROTOCOL_HTTP: