From 349e424d1dbef26724b17f16137d2ac390ec2a00 Mon Sep 17 00:00:00 2001 From: Valentin Samir Date: Mon, 25 Feb 2013 02:12:35 +0100 Subject: [PATCH] =?UTF-8?q?[firewall6.py]=20Lors=20d'un=20restart,=20?= =?UTF-8?q?=C3=A7a=20ne=20sert=20=C3=A0=20rien=20de=20vider=20d'abord=20le?= =?UTF-8?q?s=20r=C3=A8gles,=20ip6tables-restore=20sans=20option=20effectue?= =?UTF-8?q?=20tr=C3=A8s=20bien=20la=20substitution=20des=20nouvelles=20r?= =?UTF-8?q?=C3=A8gles=20aux=20anciennes?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- gestion/gen_confs/firewall6.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/gestion/gen_confs/firewall6.py b/gestion/gen_confs/firewall6.py index 9accffe7..ba55c77a 100755 --- a/gestion/gen_confs/firewall6.py +++ b/gestion/gen_confs/firewall6.py @@ -304,16 +304,14 @@ def stop(): # On les applique apply_rules(6) - #disable_forwarding(6) + disable_forwarding(6) return 0 def restart(): ''' Redémarre le firewall ''' - # On ôte toutes les règles - stop() - # On met les règles en place + # On remplace les règles en place start() return 0