From 5a325d5f2b4d269d46a767e7079428969a7067b2 Mon Sep 17 00:00:00 2001
From: Pawel Krawczyk
Date: Thu, 13 Nov 2014 11:33:00 +0000
Subject: [PATCH] less verbose
---
blacklist.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/blacklist.sh b/blacklist.sh
index 2d91a1a..aa4e9ce 100644
--- a/blacklist.sh
+++ b/blacklist.sh
@@ -50,7 +50,7 @@ for url in $urls; do
done <"$tmp2"
iptables -A ${blocklist_chain_name} -m set --match-set "${set_name}" src,dst -m limit --limit 10/minute -j LOG --log-prefix "BLOCK ${set_name} "
iptables -A ${blocklist_chain_name} -m set --match-set "${set_name}" src,dst -j DROP
- echo ${set_name} $(ipset list ${set_name} | wc -l)
+ # echo ${set_name} $(ipset list ${set_name} | wc -l)
rm "$tmp" "$tmp2"
done