From 52bac9690d051596dfd8d9d672e093d18bef2ff5 Mon Sep 17 00:00:00 2001 From: Ermal Date: Thu, 17 Mar 2011 19:57:53 +0000 Subject: Up the number of packets that gets sent to divert consumers since this count includes for tcp even the 2way handshake count which might hurt the matching. This should possibly fix layer 7 Ticket #636. --- etc/inc/filter.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc index 36e7624..8fd042f 100644 --- a/etc/inc/filter.inc +++ b/etc/inc/filter.inc @@ -1914,7 +1914,7 @@ function filter_generate_user_rule($rule) { $aline['flags'] .= "/" . $rule['max-src-conn-rates'] . ", overload flush global "; } if(!empty($aline['divert'])) - $aline['flags'] .= "max-packets 5 "; + $aline['flags'] .= "max-packets 10 "; $aline['flags'] .= " ) "; } -- cgit v1.1