Added roundcube authentication filter, new jail and log-examples

pull/1783/head
Johannes Weberhofer 8 years ago committed by sebres
parent 3294840c2a
commit 691c080dc7

@ -0,0 +1,21 @@
# Fail2Ban configuration file for roundcube web server authentication failures
#
# This filter needs "$config['log_driver']" set to "syslog" in the roundcube configuration
#
[INCLUDES]
before = common.conf
[Definition]
failregex = ^%(__prefix_line)sroundcube\[(\d*)\]: <\S* IMAP Error: Login failed for (\S*) from <HOST>\..*$
ignoreregex =
[Init]
backend = systemd
journalmatch = SYSLOG_IDENTIFIER=roundcube

@ -379,6 +379,10 @@ logpath = %(lighttpd_error_log)s
# Webmail and groupware servers
#
[roundcube]
port = http,https
backend = %(syslog_backend)s
[roundcube-auth]
port = http,https

@ -0,0 +1,4 @@
May 19 06:07:48 server roundcube[21296]: <crk9n97i> IMAP Error: Login failed for test from 178.191.91.44. AUTHENTICATE PLAIN: Authentication failed. in /usr/share/php5/Roundcube/rcube_imap.php on line 193 (POST /mail/?_task=login&_action=login)
May 19 06:11:37 server roundcube[22926]: <crk9n97i> IMAP Error: Login failed for test from 178.191.91.44. AUTHENTICATE PLAIN: Authentication failed. in /usr/share/php5/Roundcube/rcube_imap.php on line 193 (POST /mail/?_task=login&_action=login)
May 19 06:13:18 server roundcube[21528]: <crk9n97i> IMAP Error: Login failed for test from 178.191.91.44. AUTHENTICATE PLAIN: Authentication failed. in /usr/share/php5/Roundcube/rcube_imap.php on line 193 (POST /mail/?_task=login&_action=login)
May 19 06:36:53 server roundcube[27572]: <crk9n97i> IMAP Error: Login failed for test from 178.191.91.44. AUTHENTICATE PLAIN: Authentication failed. in /usr/share/php5/Roundcube/rcube_imap.php on line 193 (POST /mail/?_task=login&_action=login)
Loading…
Cancel
Save