From 42c54d3755a84dfaf741157fe83c94b0b15fb296 Mon Sep 17 00:00:00 2001 From: Toni Date: Tue, 25 Feb 2025 15:17:16 +0100 Subject: 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 --- nDPId-test.c | 1 + 1 file changed, 1 insertion(+) (limited to 'nDPId-test.c') 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 -- cgit v1.2.3