From 1a37595de02761497845503a390e24fc1cf11a4f Mon Sep 17 00:00:00 2001 From: Luca Deri Date: Wed, 3 Mar 2021 00:57:56 +0100 Subject: Removed check for knowns protocols (major and app protocols) --- src/lib/ndpi_main.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/lib') diff --git a/src/lib/ndpi_main.c b/src/lib/ndpi_main.c index 901c9c579..4b5f38101 100644 --- a/src/lib/ndpi_main.c +++ b/src/lib/ndpi_main.c @@ -7286,6 +7286,9 @@ uint8_t ndpi_connection_tracking(struct ndpi_detection_module_struct *ndpi_str, if(!name) return(0); + if(flow && (flow->packet.detected_protocol_stack[1] != NDPI_PROTOCOL_UNKNOWN)) + return(0); /* Ignore DGA check for protocols already fully detected */ + #ifdef DGA_DEBUG printf("[DGA] %s\n", name); #endif -- cgit v1.2.3