aboutsummaryrefslogtreecommitdiff
path: root/test/configs
diff options
context:
space:
mode:
authorToni Uhlig <matzeton@googlemail.com>2024-10-19 17:23:23 +0200
committerToni Uhlig <matzeton@googlemail.com>2024-10-21 16:10:09 +0200
commit8c5ee1f7bb7f2dff8959a021283dd200c64a3d2c (patch)
tree89d82d51c0eb9ca56c1ccde2ada069fd332a2c74 /test/configs
parent9969f955dc0062582256570960277ad86f40523b (diff)
Added config testing script.
* nDPId-test may now make use of an optional config file as cmd arg Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'test/configs')
-rw-r--r--test/configs/default.conf21
-rw-r--r--test/configs/ndpi.conf31
2 files changed, 52 insertions, 0 deletions
diff --git a/test/configs/default.conf b/test/configs/default.conf
new file mode 100644
index 000000000..172166666
--- /dev/null
+++ b/test/configs/default.conf
@@ -0,0 +1,21 @@
+[general]
+compression = true
+analysis = true
+
+[tuning]
+max-flows-per-thread = 128
+max-idle-flows-per-thread = 128
+daemon-status-interval = 5000000
+compression-scan-interval = 1000000
+compression-flow-inactivity = 3000000
+flow-scan-interval = 5000001
+generic-max-idle-time = 5000002
+icmp-max-idle-time = 5000002
+tcp-max-idle-time = 5000002
+udp-max-idle-time = 5000002
+tcp-max-post-end-flow-time = 1000000
+max-packets-per-flow-to-send = 5
+max-packets-per-flow-to-process = 8
+max-packets-per-flow-to-analyse = 16
+error-event-threshold-n = 8
+error-event-threshold-time = 1000000
diff --git a/test/configs/ndpi.conf b/test/configs/ndpi.conf
new file mode 100644
index 000000000..a0c00ca66
--- /dev/null
+++ b/test/configs/ndpi.conf
@@ -0,0 +1,31 @@
+[general]
+compression = true
+analysis = true
+
+[tuning]
+max-flows-per-thread = 128
+max-idle-flows-per-thread = 128
+max-packets-per-flow-to-send = 5
+max-packets-per-flow-to-process = 8
+max-packets-per-flow-to-analyse = 16
+error-event-threshold-n = 8
+error-event-threshold-time = 100000
+
+[ndpi]
+packets_limit_per_flow = 8
+flow.direction_detection = enable
+flow.track_payload = enable
+tcp_ack_payload_heuristic = enable
+fully_encrypted_heuristic = enable
+libgcrypt.init = 1
+dpi.compute_entropy = 1
+fpc = enable
+dpi.guess_on_giveup = 0x01
+flow_risk_lists.load = 1
+flow_risk.crawler_bot.list.load = 1
+log.level = 0
+
+[protos]
+tls.certificate_expiration_threshold = 1
+tls.application_blocks_tracking = enable
+stun.max_packets_extra_dissection = 2