diff options
author | Toni Uhlig <matzeton@googlemail.com> | 2022-11-24 12:09:24 +0100 |
---|---|---|
committer | Toni Uhlig <matzeton@googlemail.com> | 2022-12-06 12:52:52 +0100 |
commit | d21a38cf029db3fc8f61f00c89452e36b5189bf9 (patch) | |
tree | 5c6c500997b218df8bcf02f2cbf3044b086c03b3 /config.h | |
parent | ced5f5d4b4f9617966e519fb234e2aaaf677e22b (diff) |
Limit the size of base64 serialized raw packet data (8192 bytes per packet).
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'config.h')
-rw-r--r-- | config.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -36,6 +36,7 @@ #define nDPId_UDP_IDLE_TIME TIME_S_TO_US(180u) /* 180 sec */ #define nDPId_TCP_POST_END_FLOW_TIME TIME_S_TO_US(120u) /* 120 sec */ #define nDPId_THREAD_DISTRIBUTION_SEED 0x03dd018b +#define nDPId_PACKETS_PLEN_MAX (1024u * 8u) /* 8kB */ #define nDPId_PACKETS_PER_FLOW_TO_SEND 15u #define nDPId_PACKETS_PER_FLOW_TO_PROCESS NDPI_DEFAULT_MAX_NUM_PKTS_PER_FLOW_TO_DISSECT #define nDPId_PACKETS_PER_FLOW_TO_ANALYZE 32u |