Thread: phpMyAdmin 3
View Single Post
Old 15th November 2009, 14:02
Join Date: Dec 2008
Location: Bulgaria
Posts: 95
Thanks: 2
Thanked 4 Times in 4 Posts
Default fail2ban on what :)

fail to ban on what
u have phpmyadm on every one of sites after /phpmyadmin
i tryed ot put a rule like this ...

docroot = /var/www
badadmin = PMA|phpmyadmin|myadmin|mysql|mysqladmin|sqladmin|m ypma|admin|xampp|m$

# Option: failregex
# Notes.: Regexp to match often probed and not available phpmyadmin paths.
# Values: TEXT
failregex = [[]client <HOST>[]] File does not exist: %(docroot)s/(?:%(badadmin)$

# Option: ignoreregex
# Notes.: regex to ignore. If this regex matches, the line is ignored.
# Values: TEXT
ignoreregex =

but nothin worked ...
any idea ?
Reply With Quote