aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Deri <deri@ntop.org>2022-04-01 17:39:29 +0200
committerLuca Deri <deri@ntop.org>2022-04-01 17:39:29 +0200
commit6eb5bd88a7a2aaa31eb52ad13512ea742ca1dce4 (patch)
tree5eebfe0e796a246ad5d3c110289efd33fbe474ac
parenta75d77b536cf2048934082bc9800ef2dc28a360f (diff)
DGA improvements
-rw-r--r--example/ndpiReader.c1
-rw-r--r--src/lib/ndpi_dga_match.c.inc (renamed from src/lib/inc_generated/ndpi_dga_match.c.inc)2
-rw-r--r--src/lib/ndpi_main.c2
3 files changed, 3 insertions, 2 deletions
diff --git a/example/ndpiReader.c b/example/ndpiReader.c
index 47f6a63c0..b62f1212c 100644
--- a/example/ndpiReader.c
+++ b/example/ndpiReader.c
@@ -4157,6 +4157,7 @@ static void dgaUnitTest() {
};
const char *non_dga[] = {
+ "cdcvps.cloudapps.cisco.com",
"100x100design.com",
"vcsa.vmware.com",
"mz.gov.pl",
diff --git a/src/lib/inc_generated/ndpi_dga_match.c.inc b/src/lib/ndpi_dga_match.c.inc
index 0f434672a..6d8dc6aee 100644
--- a/src/lib/inc_generated/ndpi_dga_match.c.inc
+++ b/src/lib/ndpi_dga_match.c.inc
@@ -102,7 +102,7 @@ NULL
/* ******************************************************************** */
static const char *ndpi_en_impossible_bigrams[] = {
- "bk", "bq", "bx", "cb", "cf", "cg", "cj", "cp", "cv", "cw", "cx", "dx", "fk", "fq", "fv", "fx", /* "ee", removed it can be found in 'meeting' */
+ "bk", "bq", "bx", "cb", "cf", "cg", "cj", "cp", /* "cv", */ "cw", "cx", "dx", "fk", "fq", "fv", "fx", /* "ee", removed it can be found in 'meeting' */
"fz", "gq", "gv", "gx", "hh", "hk", "hv", "hx", "hz", "iy", "jb", /* "jc", jcrew.com */ "jd", "jf", "jg", "jh", "jk",
"jl", "jm", "jn", "jp", "jq", /* "jr",*/ /* "js", */ "jt", "jv", "jw", "jx", "jy", "jz", /* "kg", */ "kq", "kv", "kx",
"kz", "lq", "lx", /* "mg" tamgrt.com , */ "mj", /* "mq", mqtt */ "mx", "mz", "pq", "pv", "px", "qb", "qc", "qd", "qe", "qf", "ii",
diff --git a/src/lib/ndpi_main.c b/src/lib/ndpi_main.c
index 82b6c60c2..6e42b3fb9 100644
--- a/src/lib/ndpi_main.c
+++ b/src/lib/ndpi_main.c
@@ -48,7 +48,7 @@
#endif
#include "ndpi_content_match.c.inc"
-#include "inc_generated/ndpi_dga_match.c.inc"
+#include "ndpi_dga_match.c.inc"
#include "inc_generated/ndpi_azure_match.c.inc"
#include "inc_generated/ndpi_tor_match.c.inc"
#include "inc_generated/ndpi_whatsapp_match.c.inc"