Various MDNS flow risks fixes

This commit is contained in:
Luca
2023-12-21 12:24:30 +01:00
parent 28b1ce41cb
commit 41aa2f96b6
2 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -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