From ce07101893e89cf578fb6acdbeacfdea983a024c Mon Sep 17 00:00:00 2001 From: teastep Date: Mon, 30 Apr 2007 18:37:06 +0000 Subject: [PATCH] Real fix for intra-zone synflood chain git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6159 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb --- Shorewall-shell/compiler | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Shorewall-shell/compiler b/Shorewall-shell/compiler index 3ab737f92..de60e164d 100755 --- a/Shorewall-shell/compiler +++ b/Shorewall-shell/compiler @@ -766,7 +766,7 @@ setup_syn_flood_chain () esac if ! havechain $chain ; then - run_iptables -N $chain + createchain $chain no run_iptables -A $chain -m limit --limit $limit $limit_burst -j RETURN [ -n "$3" ] && \ log_rule_limit $3 $chain $chain DROP "-m limit --limit 5/min --limit-burst 5" "" ""