Added extra processing for POP and SMTP

This commit is contained in:
Luca Deri
2019-10-22 00:57:35 +02:00
parent d023f9bf2d
commit 0ffe5cf1ff
6 changed files with 125 additions and 44 deletions
+2 -1
View File
@@ -1217,8 +1217,9 @@ static struct ndpi_proto packet_processing(struct ndpi_workflow * workflow,
if(enough_packets || (flow->detected_protocol.app_protocol != NDPI_PROTOCOL_UNKNOWN)) {
if((!enough_packets)
// TODO: remove the line below
&& (flow->detected_protocol.master_protocol == NDPI_PROTOCOL_TLS)
&& (!flow->ndpi_flow->l4.tcp.tls_srv_cert_fingerprint_processed))
&& ndpi_extra_dissection_possible(workflow->ndpi_struct, ndpi_flow))
; /* Wait for certificate fingerprint */
else {
/* New protocol detected or give up */