Code: Select all
# Fail2Ban configuration file
# Bans scanning for non-existing phpMyAdmin installations and other BS on your webhost.
#
[Definition]
# Option: failregex
# Notes: Regexp to match often and not available phpmyadmin paths.
# Values: TEXT
#
failregex = [[]client <HOST>[]] (File does not exist|not found or unable to stat): .*(PMA|phpmyadmin|myadmin|mysql|mysqladmin|sqladmin|mypma|admin|xampp|mysqldb|mydb|db|pmadb|phpmyadmin1|myadmin2|wp-content|wp-login.php)
# Option: ignoreregex
# Notes .: regex to ignore. If this regex matches, the line is ignored.
# Values: TEXT
#
ignoreregex =
Code: Select all
[apache-ironfeather]
enabled = true
maxretry = 1
journalmatch =
backend = polling
logpath =%(apache_error_log)s
bantime = 172800
findtime = 172800