mirror of https://github.com/fail2ban/fail2ban
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
parent
7c09a61ca5
commit
6ce2ba2895
|
@ -21,13 +21,13 @@ ignoreregex =
|
||||||
# Webroot represents the webroot on which all other files are based
|
# Webroot represents the webroot on which all other files are based
|
||||||
webroot = /var/www/
|
webroot = /var/www/
|
||||||
# Block is the actual non-found directories to block
|
# Block is the actual non-found directories to block
|
||||||
block = (<webmail>|<phpmyadmin>|<wordpress>)
|
block = (<webmail>|<phpmyadmin>|<wordpress>)[^,]*
|
||||||
|
|
||||||
# These are just convient definitions that assist the blocking of stuff that
|
# These are just convient definitions that assist the blocking of stuff that
|
||||||
# isn't installed
|
# isn't installed
|
||||||
webmail = roundcube|mail|horde|webmail
|
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
|
wordpress = wp-(login|signup)\.php
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue