1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2025-04-21 03:02:09 +00:00

added MaxMind, StopForumSpam, and Greensnow addresses to ipset lists.

This commit is contained in:
ChiefGyk 2016-07-02 18:29:07 -04:00
parent 18cd0c6902
commit 5abc9c3ec5
2 changed files with 8 additions and 1 deletions

View File

@ -27,6 +27,14 @@ BLACKLISTS=(
"https://www.malwaredomainlist.com/hostslist/ip.txt"
# ZeusTracker
"https://zeustracker.abuse.ch/blocklist.php?download=ipblocklist"
# malc0de IP blacklist
"http://malc0de.com/bl/IP_Blacklist.txt"
# MaxMind GeoIP Anonymous Proxies
"https://www.maxmind.com/en/proxy-detection-sample-list"
# StopForumSpam
"https://www.stopforumspam.com/downloads/toxic_ip_cidr.txt"
# GreenSnow
"http://blocklist.greensnow.co/greensnow.txt"
)
for i in "${BLACKLISTS[@]}"
do

View File

@ -18,6 +18,5 @@ cp conf/iptables-persistent /etc/init.d/iptables-persistent
ipset create blacklist hash:net
iptables -I INPUT -m set --match-set blacklist src -j DROP
time /etc/cron.daily/blacklist
source setup/dialog.sh
/etc/init.d/iptables-persistent save
echo "Blacklist has been installed. It will run daily automatically."