diff options
author | Toni Uhlig <matzeton@googlemail.com> | 2021-05-13 15:37:33 +0200 |
---|---|---|
committer | Toni Uhlig <matzeton@googlemail.com> | 2021-05-13 15:41:24 +0200 |
commit | da4942b41cf7c1346d55040f75df808a3fc528b8 (patch) | |
tree | 861eb31d7a83fdfbabfc34e58d480a8667dceea5 /config.h | |
parent | 182867a07106b180e2b57f6aec6382a24bcdd531 (diff) |
Use layer4 specific flow timeouts.
* default values "stolen" from nf_conntrack
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'config.h')
-rw-r--r-- | config.h | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -22,8 +22,11 @@ #define nDPId_TICK_RESOLUTION 1000u #define nDPId_MAX_READER_THREADS 32u #define nDPId_IDLE_SCAN_PERIOD 10000u /* 10 sec */ -#define nDPId_IDLE_TIME 600000u /* 600 sec */ -#define nDPId_TCP_POST_END_FLOW_TIME 60000u /* 60 sec */ +#define nDPId_GENERIC_IDLE_TIME 600000u /* 600 */ +#define nDPId_ICMP_IDLE_TIME 30000u /* 30 sec */ +#define nDPId_TCP_IDLE_TIME 7440000u /* 7440 sec */ +#define nDPId_UDP_IDLE_TIME 180000u /* 180 sec */ +#define nDPId_TCP_POST_END_FLOW_TIME 120000u /* 120 sec */ #define nDPId_THREAD_DISTRIBUTION_SEED 0x03dd018b #define nDPId_PACKETS_PER_FLOW_TO_SEND 15u #define nDPId_PACKETS_PER_FLOW_TO_PROCESS 255u |