Added checks for giving up faster on IRC and SMTP
This commit is contained in:
@@ -261,7 +261,7 @@ void ndpi_search_mail_smtp_tcp(struct ndpi_detection_module_struct *ndpi_struct,
|
||||
return;
|
||||
}
|
||||
|
||||
if(!flow->check_extra_packets)
|
||||
if((!flow->check_extra_packets) || (flow->packet_counter > 12))
|
||||
NDPI_EXCLUDE_PROTO(ndpi_struct, flow);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user