1
0
镜像自地址 https://github.com/mail-in-a-box/mailinabox.git 已同步 2026-03-25 19:17:22 +01:00

added script which automatically adds IP addresses which have been reported to be attacking other servers. It will update the IPTables automatically everyday, as well as perform the initial run the first day. As mentioned in #864 on the origin

这个提交包含在:
ChiefGyk
2016-06-26 11:06:40 -04:00
父节点 6f1315f93a
当前提交 994727d2cd

查看文件

@@ -304,3 +304,8 @@ cp conf/fail2ban/miab-postfix-submission.conf /etc/fail2ban/filter.d/miab-postfi
cp conf/fail2ban/miab-roundcube.conf /etc/fail2ban/filter.d/miab-roundcube.conf cp conf/fail2ban/miab-roundcube.conf /etc/fail2ban/filter.d/miab-roundcube.conf
restart_service fail2ban restart_service fail2ban
# Add Blocklist.de malicious IP Addresses to Daily Crontab
curl -s https://gist.githubusercontent.com/klepsydra/ecf975984b32b1c8291a/raw > /etc/cron.daily/sync-fail2ban
chmod a+x /etc/cron.daily/sync-fail2ban
time /etc/cron.daily/sync-fail2ban