diff options
author | Toni Uhlig <matzeton@googlemail.com> | 2020-08-13 09:49:14 +0200 |
---|---|---|
committer | Toni Uhlig <matzeton@googlemail.com> | 2020-08-13 09:49:14 +0200 |
commit | 3f783f9f0155d3fac096caba42365081a7ae8ec4 (patch) | |
tree | 206668e262427fa945b0fd13889af39f77141fc5 /config.h | |
parent | dcd206abfd296f8cfacaa63987972e9e6a01ec44 (diff) |
improved TCP-FIN/TCP-RST and TCP-keepalive/-idle timeout handling
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'config.h')
-rw-r--r-- | config.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -14,8 +14,9 @@ #define nDPId_MAX_IDLE_FLOWS_PER_THREAD 64 #define nDPId_TICK_RESOLUTION 1000 #define nDPId_MAX_READER_THREADS 4 -#define nDPId_IDLE_SCAN_PERIOD 10000 /* msec */ -#define nDPId_MAX_IDLE_TIME 300000 /* msec */ +#define nDPId_IDLE_SCAN_PERIOD 10000 /* 10 sec */ +#define nDPId_MAX_IDLE_TIME 7200000 /* 7200 sec */ +#define nDPId_MAX_POST_END_FLOW_TIME 60000 /* 60 sec */ #define nDPId_INITIAL_THREAD_HASH 0x03dd018b #define nDPId_MAX_PACKETS_PER_FLOW_TO_SEND 15 |