Fail2Ban + Mod_Security = Spammer Bouncer
Under debian, fail2ban’s configuration is in /etc/fail2ban/. In the filter.d directory add the following file and name it apache-modsec.conf. [Definition]# Option: failregex# Notes.: regex to match the password failure messages in the logfile. The# host must be matched by a group named “host”. The tag “<HOST>” can# be used for standard IP/hostname matching.# Values: TEX#failregex […]