From d8e0c8ddd7b276d05a3a564678c39ce0549ed9c9 Mon Sep 17 00:00:00 2001 From: Christoph Date: Tue, 29 Mar 2022 00:48:25 +0200 Subject: [PATCH] Fix another error in section 'Protection against syn-flooding'. --- ip6t-firewall-gateway | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ip6t-firewall-gateway b/ip6t-firewall-gateway index a116801..448f7a6 100755 --- a/ip6t-firewall-gateway +++ b/ip6t-firewall-gateway @@ -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