aboutsummaryrefslogtreecommitdiff
path: root/nDPId-test.c
diff options
context:
space:
mode:
authorToni <matzeton@googlemail.com>2025-02-25 15:17:16 +0100
committerGitHub <noreply@github.com>2025-02-25 15:17:16 +0100
commit42c54d3755a84dfaf741157fe83c94b0b15fb296 (patch)
treee346cb7edd0baafc5981674090ac471de148bc98 /nDPId-test.c
parentbb870cb98fd6885b2e1d1c6ae0af5b1c32663d8a (diff)
Initial tunnel decoding (GRE - Layer4 only atm) (#55)
Initial tunnel decoding (GRE - Layer4 only atm). Fixes #53 * make finally use of the thread distribution seed * Handle GRE/PPP subprotocol the right way * Add `-t` command line / config option * Removed duplicated and obsolete IP{4,6}_SIZE_SMALLER_THAN_HEADER which is the same as IP{4,6}_PACKET_TOO_SHORT * Updated error event schema Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'nDPId-test.c')
-rw-r--r--nDPId-test.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/nDPId-test.c b/nDPId-test.c
index e1d2bf9f5..c2f9c4cf4 100644
--- a/nDPId-test.c
+++ b/nDPId-test.c
@@ -1717,6 +1717,7 @@ int main(int argc, char ** argv)
set_cmdarg_ull(&nDPIsrvd_options.max_write_buffers, 32);
set_cmdarg_string(&nDPId_options.pcap_file_or_interface, argv[1]);
+ set_cmdarg_boolean(&nDPId_options.decode_tunnel, 1);
set_cmdarg_boolean(&nDPId_options.enable_data_analysis, 1);
set_cmdarg_ull(&nDPId_options.max_packets_per_flow_to_send, 5);
#ifdef ENABLE_ZLIB