]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
flow-bypass: increase bypass timeout
authorEric Leblond <eric@regit.org>
Tue, 5 Mar 2019 23:16:33 +0000 (00:16 +0100)
committerVictor Julien <victor@inliniac.net>
Tue, 18 Jun 2019 05:07:02 +0000 (07:07 +0200)
This is needed as we did switch from counter maintained in kernel
to internal polling so we need a bigger value.

src/flow-private.h

index 9cfcf228637bc75d4cb27c863a5cfbcaf0cbb89e..2e712367ec92387f2d2950ef57962ce239325f20 100644 (file)
@@ -62,7 +62,7 @@
 #define FLOW_IPPROTO_ICMP_EMERG_NEW_TIMEOUT 10
 #define FLOW_IPPROTO_ICMP_EMERG_EST_TIMEOUT 100
 
-#define FLOW_BYPASSED_TIMEOUT   6
+#define FLOW_BYPASSED_TIMEOUT   100
 
 enum {
     FLOW_PROTO_TCP = 0,