From 6ce2ba289548e1da5decda538452f00e29ab7309 Mon Sep 17 00:00:00 2001 From: Daniel Black Date: Sun, 5 Jan 2014 11:48:35 +1100 Subject: [PATCH] ENH: additional phpmyadmin tips from Tom on http://www.fail2ban.org/wiki/index.php?title=Fail2ban:Community_Portal. Block is now a prefix of a path --- config/filter.d/apache-botsearch.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/filter.d/apache-botsearch.conf b/config/filter.d/apache-botsearch.conf index f3bb6e70..95df97ca 100644 --- a/config/filter.d/apache-botsearch.conf +++ b/config/filter.d/apache-botsearch.conf @@ -21,13 +21,13 @@ ignoreregex = # Webroot represents the webroot on which all other files are based webroot = /var/www/ # Block is the actual non-found directories to block -block = (||) +block = (||)[^,]* # These are just convient definitions that assist the blocking of stuff that # isn't installed webmail = roundcube|mail|horde|webmail -phpmyadmin = (typo3/|xampp/|)(pma|(php)?myadmin) +phpmyadmin = (typo3/|xampp/|admin/|)(pma|(php)?[Mm]y[Aa]dmin) wordpress = wp-(login|signup)\.php