From 9410f296863b0f709289024309bcb57e7edad2e8 Mon Sep 17 00:00:00 2001 From: pauget Date: Wed, 25 May 2005 20:44:03 +0200 Subject: [PATCH] =?UTF-8?q?Changement=20de=20mode=20de=20d=C3=A9tection=20?= =?UTF-8?q?des=20floods?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit darcs-hash:20050525184403-41617-491998353b810a7661cfdcf89a03619aeacac8a6.gz --- gestion/gen_confs/firewall_crans.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gestion/gen_confs/firewall_crans.py b/gestion/gen_confs/firewall_crans.py index e98299fe..f09f315d 100755 --- a/gestion/gen_confs/firewall_crans.py +++ b/gestion/gen_confs/firewall_crans.py @@ -81,7 +81,7 @@ class firewall_crans : limit = " -m limit --limit 10/s --limit-burst 10 " log_template = '-m limit --limit 1/s --limit-burst 1 -j LOG --log-level notice --log-prefix ' - filtre_flood = '-m hashlimit --hashlimit 20 --hashlimit-mode srcip,dstip --hashlimit-name flood' + filtre_flood = '-m hashlimit --hashlimit 20 --hashlimit-mode srcip --hashlimit-name flood' liste_reseaux_non_routables = [ '10.0.0.0/8', '172.16.0.0/12', '169.254.0.0/16', '192.168.0.0/16' , '224.0.0.0/4' ]