public
Last active

Blockierung der Spammer auf der Server-Ebene: Lokale Konfigurationsdatei für Fail2Ban in Verbindung mit dem WordPress-Plugin Antispam Bee. Weitere Infos zu Fail2Ban unter http://cup.wpcoder.de/fail2ban-ip-firewall/

  • Download Gist
antispam-bee.conf
1 2 3
[Definition]
failregex = <HOST> marked as spam$
ignoreregex =
jail.local
1 2 3 4 5 6 7 8 9 10 11
[antispam-bee]
 
enabled = true
filter = antispam-bee
port = http,https
logpath = /var/log/antispam-bee/spam*.log
maxretry = 2
# Find in 1 day
findtime = 86400
# Ban forever
bantime = -1

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.