less verbose

This commit is contained in:
Pawel Krawczyk 2014-11-13 11:33:00 +00:00
parent ede2ed56d6
commit 5a325d5f2b

View File

@ -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