From: Alexander Marx Date: Tue, 30 Apr 2013 06:13:54 +0000 (+0200) Subject: Forward Firewall: reordered some rules to get rid of INPUT_DROP messages in log when... X-Git-Tag: v2.15-beta1~286^2~11^2~75 X-Git-Url: http://git.ipfire.org/?p=people%2Fpmueller%2Fipfire-2.x.git;a=commitdiff_plain;h=3e79f33fc28e1f33a1b7599205ab86ae455d44c8 Forward Firewall: reordered some rules to get rid of INPUT_DROP messages in log when connected to webinterface --- diff --git a/src/initscripts/init.d/firewall b/src/initscripts/init.d/firewall index df8405b520..ca18340514 100644 --- a/src/initscripts/init.d/firewall +++ b/src/initscripts/init.d/firewall @@ -303,11 +303,10 @@ case "$1" in if [ -x /etc/sysconfig/firewall.local ]; then /etc/sysconfig/firewall.local stop fi - + /sbin/iptables -A INPUT -j DROP -m comment --comment "DROP_INPUT" if [ "$DROPINPUT" == "on" ]; then /sbin/iptables -A INPUT -m limit --limit 10/minute -j LOG --log-prefix "DROP_INPUT " fi - /sbin/iptables -A INPUT -j DROP -m comment --comment "DROP_INPUT" if [ "$DROPFORWARD" == "on" ]; then /sbin/iptables -A FORWARD -m limit --limit 10/minute -j LOG --log-prefix "DROP_FORWARD " fi