Added check for avoiding long dissections

This commit is contained in:
Luca Deri
2021-02-10 17:36:09 +01:00
parent 421609475e
commit 79102ef4f2
3 changed files with 12 additions and 1 deletions
+2
View File
@@ -173,6 +173,8 @@ void ndpi_search_memcached(
if (*matches >= MEMCACHED_MIN_MATCH)
ndpi_int_memcached_add_connection(ndpi_struct, flow);
else if(flow->packet_counter > 5)
NDPI_EXCLUDE_PROTO(ndpi_struct, flow);
}
void init_memcached_dissector(