mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-30 11:33:28 +01:00
Real fix for intra-zone synflood chain
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6159 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
98ac7583a0
commit
ce07101893
@ -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" "" ""
|
||||
|
Loading…
Reference in New Issue
Block a user