mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2026-03-15 17:37:22 +01:00
polished
This commit is contained in:
@@ -9,7 +9,6 @@ BLACKLISTS=(
|
||||
"http://check.torproject.org/cgi-bin/TorBulkExitList.py?ip=1.1.1.1" # TOR Exit Nodes
|
||||
"http://www.maxmind.com/en/anonymous_proxies" # MaxMind GeoIP Anonymous Proxies
|
||||
"http://danger.rulez.sk/projects/bruteforceblocker/blist.php" # BruteForceBlocker IP List
|
||||
#"http://rules.emergingthreats.net/blockrules/rbn-ips.txt" # Emerging Threats - Russian Business Networks List
|
||||
"http://www.spamhaus.org/drop/drop.lasso" # Spamhaus Don't Route Or Peer List (DROP)
|
||||
"http://cinsscore.com/list/ci-badguys.txt" # C.I. Army Malicious IP List
|
||||
"http://www.openbl.org/lists/base.txt" # OpenBL.org 30 day List
|
||||
@@ -21,6 +20,8 @@ do
|
||||
curl "$i" > $IP_TMP
|
||||
grep -Po '(?:\d{1,3}\.){3}\d{1,3}(?:/\d{1,2})?' $IP_TMP >> $IP_BLACKLIST_TMP
|
||||
done
|
||||
|
||||
# This part may not work for everyone, it seems wizcraft doesn't allow all VPS wget access, but I am looking into it
|
||||
for i in `echo $list`; do
|
||||
# Download
|
||||
wget --quiet http://www.wizcrafts.net/$i-iptables-blocklist.html
|
||||
|
||||
Reference in New Issue
Block a user