less verbose
This commit is contained in:
parent
ede2ed56d6
commit
5a325d5f2b
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user