Fix error in section 'Protection against syn-flooding'.
This commit is contained in:
@ -993,7 +993,7 @@ if $protect_against_several_attacks ; then
|
||||
# ---
|
||||
|
||||
echononl "\t Protection against syn-flooding.."
|
||||
if $drop_syn_flood || $log_syn_flood ; then
|
||||
if $drop_syn_flood || $log_syn_flood || $log_all ; then
|
||||
$ipt -N syn_flood
|
||||
$ipt -A INPUT -p tcp --syn -j syn_flood
|
||||
$ipt -A syn_flood -m limit --limit 1/s --limit-burst 3 -j RETURN
|
||||
|
Reference in New Issue
Block a user