Added DGA risk for names that look like a DGA

This commit is contained in:
Luca Deri
2020-06-11 18:51:53 +02:00
parent 60aaa80570
commit 55364ef0b4
15 changed files with 239 additions and 115 deletions
+3 -1
View File
@@ -292,8 +292,10 @@ static void ndpi_search_dns(struct ndpi_detection_module_struct *ndpi_struct, st
cl--;
}
}
flow->host_server_name[j] = '\0';
flow->host_server_name[j] = '\0';
ndpi_check_dga_name(ndpi_struct, flow, (char*)flow->host_server_name);
if(j > 0) {
ndpi_protocol_match_result ret_match;