From 41aa2f96b65754660699071f95028c8caa0bcd6b Mon Sep 17 00:00:00 2001 From: Luca Date: Thu, 21 Dec 2023 12:24:30 +0100 Subject: Various MDNS flow risks fixes --- src/lib/protocols/dns.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib/protocols') diff --git a/src/lib/protocols/dns.c b/src/lib/protocols/dns.c index 2c7adac87..547da36c5 100644 --- a/src/lib/protocols/dns.c +++ b/src/lib/protocols/dns.c @@ -773,7 +773,7 @@ static void ndpi_search_dns(struct ndpi_detection_module_struct *ndpi_struct, st if(dot) { uintptr_t first_element_len = dot - _hostname; - if(first_element_len > 32) { + if((first_element_len > 32) && (!is_mdns)) { /* The lenght of the first element in the query is very long and this might be an issue or indicate an exfiltration -- cgit v1.2.3