From f07fe301bacb6ff14fe43707f4c92ce56887b715 Mon Sep 17 00:00:00 2001 From: Gregory Colpart Date: Tue, 2 Mar 2010 20:16:02 +0100 Subject: [PATCH] Bug !!! Conf file is source twice... --- minifirewall | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/minifirewall b/minifirewall index 9673d8c..8741bfd 100644 --- a/minifirewall +++ b/minifirewall @@ -26,9 +26,6 @@ # chemin iptables IPT=/sbin/iptables -# Configuration -test -f /etc/firewall.rc && . /etc/firewall.rc - # variables TCP/IP LOOPBACK='127.0.0.0/8' CLASSA='10.0.0.0/8' @@ -93,6 +90,7 @@ $IPT -N LOG_ACCEPT $IPT -A LOG_ACCEPT -j LOG --log-prefix '[IPTABLES ACCEPT] : ' $IPT -A LOG_ACCEPT -j ACCEPT +# Configuration test -f /etc/firewall.rc && . /etc/firewall.rc # trusted ip addresses