Fix another error in section 'Protection against syn-flooding'.

This commit is contained in:
Christoph 2022-03-29 00:48:25 +02:00
parent ccb09d0095
commit d8e0c8ddd7

View File

@ -493,10 +493,10 @@ if $protect6_against_several_attacks ; then
if $drop6_syn_flood || $log_syn_flood || $log_all ; then
$ip6t -N syn_flood
$ip6t -A INPUT -p tcp --syn -j syn_flood
$ip6t -A syn-flood -m limit --limit 1/second --limit-burst 3 -j RETURN
$ip6t -A syn_flood -m limit --limit 1/second --limit-burst 3 -j RETURN
fi
if $log_syn_flood || $log_all ; then
$ip6t -A syn-flood -j $LOG_TARGET $tag_log_prefix "$log_prefix SYN flood: "
$ip6t -A syn_flood -j $LOG_TARGET $tag_log_prefix "$log_prefix SYN flood: "
fi
if $drop6_syn_flood ; then
$ip6t -A syn_flood -j DROP