diff options
author | Luca Deri <deri@ntop.org> | 2023-01-12 10:06:31 +0100 |
---|---|---|
committer | Luca Deri <deri@ntop.org> | 2023-01-12 10:06:31 +0100 |
commit | 1f7c57deff9debbda3d26be906e067dcf73ce1f9 (patch) | |
tree | 091ed5cf727c9cb9388d7b2628a0b33df8a11167 /src/lib/ndpi_main.c | |
parent | a944514ddec73f79704f55aab1423e39f4ce7a03 (diff) |
Improved DGA detection
Diffstat (limited to 'src/lib/ndpi_main.c')
-rw-r--r-- | src/lib/ndpi_main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/ndpi_main.c b/src/lib/ndpi_main.c index 547550c45..642ddb780 100644 --- a/src/lib/ndpi_main.c +++ b/src/lib/ndpi_main.c @@ -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 */ |