From 06f4a1d55cbcda28e3405729129cc76316077489 Mon Sep 17 00:00:00 2001 From: ChiefGyk Date: Wed, 29 Jun 2016 17:54:21 -0400 Subject: [PATCH] changing IPtable settings --- dshield | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dshield b/dshield index d0fc8f7c..43b07ba1 100644 --- a/dshield +++ b/dshield @@ -29,7 +29,7 @@ echo "Adding new blocks:" |sort -u \ |tee $blacklistf \ |grep -v '^#\|:' \ - |while read IP; do iptables -I dshield 1 -s $IP -j DROP; done + |while read IP; do iptables -A dshield -p tcp -s $IP -j DROP; done