aboutsummaryrefslogtreecommitdiff
path: root/test/configs
diff options
context:
space:
mode:
authorToni Uhlig <matzeton@googlemail.com>2024-10-21 15:06:19 +0200
committerToni Uhlig <matzeton@googlemail.com>2024-10-21 16:17:01 +0200
commitae36f8df6c418469ca8e39f72791bdb026fbdc38 (patch)
tree817b6ea82174e2f2b356f83f202fdd6225b7849a /test/configs
parent8c5ee1f7bb7f2dff8959a021283dd200c64a3d2c (diff)
Added libnDPI global context init/deinit used for cache mgmt.
* support for adding *.ndpiconf for nDPI config tests * all other configs should have the suffix *.conf * fixed nDPI malloc/free wrapper set (was already too late set) Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'test/configs')
-rw-r--r--test/configs/caches_cfg.ndpiconf3
-rw-r--r--test/configs/caches_global.ndpiconf8
-rw-r--r--test/configs/unusual-ndpi.conf (renamed from test/configs/ndpi.conf)0
-rw-r--r--test/configs/unusual-timings.conf (renamed from test/configs/default.conf)0
4 files changed, 11 insertions, 0 deletions
diff --git a/test/configs/caches_cfg.ndpiconf b/test/configs/caches_cfg.ndpiconf
new file mode 100644
index 000000000..8b86b2c84
--- /dev/null
+++ b/test/configs/caches_cfg.ndpiconf
@@ -0,0 +1,3 @@
+[ndpi]
+lru.ookla.size=0
+lru.msteams.ttl=1
diff --git a/test/configs/caches_global.ndpiconf b/test/configs/caches_global.ndpiconf
new file mode 100644
index 000000000..1023b6ec6
--- /dev/null
+++ b/test/configs/caches_global.ndpiconf
@@ -0,0 +1,8 @@
+[ndpi]
+lru.ookla.scope=1
+lru.bittorrent.scope=1
+lru.stun.scope=1
+lru.tls_cert.scope=1
+lru.mining.scope=1
+lru.msteams.scope=1
+lru.fpc_dns.scope=1
diff --git a/test/configs/ndpi.conf b/test/configs/unusual-ndpi.conf
index a0c00ca66..a0c00ca66 100644
--- a/test/configs/ndpi.conf
+++ b/test/configs/unusual-ndpi.conf
diff --git a/test/configs/default.conf b/test/configs/unusual-timings.conf
index 172166666..172166666 100644
--- a/test/configs/default.conf
+++ b/test/configs/unusual-timings.conf