fixed failregex line for roundcube 0.9+

# Only works only if  log driver: is set to  'syslog'. this is becoz fail2ban fails to 'read' the line due to the
 brackets around the date timestamp on logline when log driver is set to file
pull/235/head
Terence Namusonge 2013-05-25 19:26:13 +02:00
parent 8a57ffd2fb
commit 244a96f9b3
1 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
# Fail2Ban configuration file for roundcube web server
#
# Author: Teodor Micu & Yaroslav Halchenko
# Author: Teodor Micu & Yaroslav Halchenko & terence namusonge
#
#
@ -13,7 +13,7 @@
# (?:::f{4,6}:)?(?P<host>[\w\-.^_]+)
# Values: TEXT
#
failregex = FAILED login for .*. from <HOST>\s*$
failregex = (FAILED login|Login failed) for .* from <HOST>\s*$
# Option: ignoreregex
# Notes.: regex to ignore. If this regex matches, the line is ignored.