From 2abb2bfdd36a0c5ea2c498bf154c7626150e7de4 Mon Sep 17 00:00:00 2001 From: bbruns Date: Sun, 16 Feb 2014 20:10:06 +0000 Subject: [PATCH] New NTP DDoS target hack --- include/functions | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/functions b/include/functions index 2ae4c55..70c991a 100755 --- a/include/functions +++ b/include/functions @@ -91,6 +91,11 @@ function iptables_rules_flush { for i in `cat $TABLE_NAMES`; do $VER_IPTABLES -F -t $i &>/dev/null done + $VER_IPTABLES -X + $VER_IPTABLES -t nat -F + $VER_IPTABLES -t nat -X + $VER_IPTABLES -t mangle -F + $VER_IPTABLES -t mangle -X #if [ $NAT ] && [ $IP_VERSION == "ipv4" ]; then # $VER_IPTABLES -F -t nat &>/dev/null #fi