diff options
Diffstat (limited to 'core/scripts')
-rw-r--r-- | core/scripts/iptables.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/scripts/iptables.sh b/core/scripts/iptables.sh index 9fb2872..2931c8c 100644 --- a/core/scripts/iptables.sh +++ b/core/scripts/iptables.sh @@ -193,6 +193,7 @@ $IPT -A INPUT -p tcp --tcp-flags ALL ALL -j DROP $IPT -A INPUT -p tcp --tcp-flags ALL NONE -m limit --limit 5/m --limit-burst 7 -j LOG --log-level 4 --log-prefix "iptables: drop null: " $IPT -A INPUT -p tcp --tcp-flags ALL NONE -j DROP # NULL packets +$IPT -A INPUT -p tcp --tcp-flags SYN,RST SYN,RST -m limit --limit 5/m --limit-burst 7 -j LOG --log-level 4 --log-prefix "iptables: drop syn rst syn rst: " $IPT -A INPUT -p tcp --tcp-flags SYN,RST SYN,RST -j DROP $IPT -A INPUT -p tcp --tcp-flags SYN,FIN SYN,FIN -m limit --limit 5/m --limit-burst 7 -j LOG --log-level 4 --log-prefix "iptables: drop xmas: " |