aboutsummaryrefslogtreecommitdiff
path: root/src/lib/protocols/dns.c
diff options
context:
space:
mode:
authorLuca <deri@ntop.org>2023-12-21 12:24:30 +0100
committerLuca <deri@ntop.org>2023-12-21 12:24:30 +0100
commit41aa2f96b65754660699071f95028c8caa0bcd6b (patch)
tree295392ec9493bacbefa09238aa6fdb1fcc87f279 /src/lib/protocols/dns.c
parent28b1ce41cb754d0fb7437b89372bde66a9231fd5 (diff)
Various MDNS flow risks fixes
Diffstat (limited to 'src/lib/protocols/dns.c')
-rw-r--r--src/lib/protocols/dns.c2
1 files changed, 1 insertions, 1 deletions
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