diff options
author | Luca Deri <deri@ntop.org> | 2021-03-03 00:57:56 +0100 |
---|---|---|
committer | Luca Deri <deri@ntop.org> | 2021-03-03 00:57:56 +0100 |
commit | 1a37595de02761497845503a390e24fc1cf11a4f (patch) | |
tree | 7723f999f33a567c199f3cec6d7cb61387c3342f /src/lib/ndpi_main.c | |
parent | 56bfb439f85b3e4054bd7c6b849a6e06e5c2ac27 (diff) |
Removed check for knowns protocols (major and app protocols)
Diffstat (limited to 'src/lib/ndpi_main.c')
-rw-r--r-- | src/lib/ndpi_main.c | 3 |
1 files changed, 3 insertions, 0 deletions
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 |