Thread: phpMyAdmin 3
View Single Post
  #6  
Old 15th November 2009, 13:02
DUCKFACE DUCKFACE is offline
Member
 
Join Date: Dec 2008
Location: Bulgaria
Posts: 92
Thanks: 2
Thanked 2 Times in 2 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 ...
[Definition]

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