From 4c7cfd1615db059a2a9a8dab03a9cc8a65b2b35a Mon Sep 17 00:00:00 2001 From: Valentin Samir Date: Sat, 1 Dec 2012 02:34:22 +0100 Subject: [PATCH] [firewall_new] fucking 3 connections / min Ignore-this: 2797ee4c2dcaf129d7de5f8530744651 darcs-hash:20121201013422-3a55a-e4753dc41d3d9fead889d706807776b2d8d8ead7.gz --- gestion/gen_confs/firewall_new.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gestion/gen_confs/firewall_new.py b/gestion/gen_confs/firewall_new.py index 9a95e5ab..aede470f 100755 --- a/gestion/gen_confs/firewall_new.py +++ b/gestion/gen_confs/firewall_new.py @@ -990,7 +990,7 @@ class firewall_komaz(firewall_crans) : print OK # Attention les règles sont à l'envers. Hint '-I' iptables("-I EXT_VERS_SERVEURS -p tcp --dport ssh -m state --state NEW\ - -m recent --name SSH --update --seconds 60 --hitcount 4 --rttl -j DROP") + -m recent --name SSH --update --seconds 60 --hitcount 40 --rttl -j DROP") iptables("-I EXT_VERS_SERVEURS -p tcp --dport ssh -m state --state NEW\ -m recent --name SSH --set")