From 0ffe5cf1ff7ab2ec90b5674936aa0f2555e3d414 Mon Sep 17 00:00:00 2001 From: Luca Deri Date: Tue, 22 Oct 2019 00:57:35 +0200 Subject: Added extra processing for POP and SMTP --- example/reader_util.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'example') diff --git a/example/reader_util.c b/example/reader_util.c index a8b91cd8e..8f879b0b6 100644 --- a/example/reader_util.c +++ b/example/reader_util.c @@ -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 */ -- cgit v1.2.3