2014-01-13 05:04:59 +00:00
|
|
|
# Fail2Ban filter for Tine 2.0 authentication
|
|
|
|
#
|
|
|
|
# Enable logging with:
|
|
|
|
# $config['info_log']='/var/log/tine20/tine20.log';
|
|
|
|
#
|
|
|
|
|
|
|
|
[Definition]
|
|
|
|
|
2014-01-22 11:16:03 +00:00
|
|
|
failregex = ^[\da-f]{5,} [\da-f]{5,} (-- none --|.*?)( \d+(\.\d+)?(h|m|s|ms)){0,2} - WARN \(\d+\): Tinebase_Controller::login::\d+ Login with username .*? from <HOST> failed \(-[13]\)!$
|
2014-01-13 05:04:59 +00:00
|
|
|
|
|
|
|
ignoreregex =
|
|
|
|
|
2016-10-07 12:57:45 +00:00
|
|
|
datepattern = ^[^-]+ -- [^-]+ -- - ({DATE})
|
|
|
|
{^LN-BEG}
|
|
|
|
|
2014-01-22 11:16:03 +00:00
|
|
|
# Author: Mika (mkl) from Tine20.org forum: https://www.tine20.org/forum/viewtopic.php?f=2&t=15688&p=54766
|
|
|
|
# Editor: Daniel Black
|
|
|
|
# Advisor: Lars Kneschke
|
|
|
|
#
|
|
|
|
# Usernames can contain spaces.
|
|
|
|
#
|
|
|
|
# Authentication: http://git.tine20.org/git?p=tine20;a=blob;f=tine20/Tinebase/Controller.php#l105
|
|
|
|
# Logger: http://git.tine20.org/git?p=tine20;a=blob;f=tine20/Tinebase/Log/Formatter.php
|
|
|
|
# formatMicrotimeDiff: http://git.tine20.org/git?p=tine20;a=blob;f=tine20/Tinebase/Helper.php#l276
|