Improved DGA detection

This commit is contained in:
Luca Deri
2023-01-12 10:06:31 +01:00
parent a944514dde
commit 1f7c57deff
8 changed files with 9 additions and 8 deletions
+1
View File
@@ -8859,6 +8859,7 @@ int ndpi_check_dga_name(struct ndpi_detection_module_struct *ndpi_str,
if((!name)
|| (strchr(name, '_') != NULL)
|| (strchr(name, '-') != NULL)
|| (ndpi_ends_with(name, "in-addr.arpa"))
|| (ndpi_ends_with(name, "ip6.arpa"))
/* Ignore TLD .local .lan and .home */