2013-10-30 13:02:59 +00:00
|
|
|
# Fail2ban filter for SOGo authentcation
|
2013-02-11 16:19:48 +00:00
|
|
|
#
|
2013-10-30 13:02:59 +00:00
|
|
|
# Log file usually in /var/log/sogo/sogo.log
|
2013-02-11 16:19:48 +00:00
|
|
|
|
|
|
|
[Definition]
|
|
|
|
|
2019-03-12 15:47:33 +00:00
|
|
|
failregex = ^ sogod \[\d+\]: SOGoRootPage Login from '<HOST>(?:,[^']*)?' for user '[^']*' might not have worked( - password policy: \d* grace: -?\d* expire: -?\d* bound: -?\d*)?\s*$
|
2013-02-11 16:19:48 +00:00
|
|
|
|
2016-10-05 17:34:21 +00:00
|
|
|
ignoreregex = "^<ADDR>"
|
|
|
|
|
2016-10-07 12:57:45 +00:00
|
|
|
datepattern = {^LN-BEG}%%ExY(?P<_sep>[-/.])%%m(?P=_sep)%%d[T ]%%H:%%M:%%S(?:[.,]%%f)?(?:\s*%%z)?
|
|
|
|
{^LN-BEG}(?:%%a )?%%b %%d %%H:%%M:%%S(?:\.%%f)?(?: %%ExY)?
|
|
|
|
^[^\[]*\[({DATE})
|
|
|
|
{^LN-BEG}
|
2013-10-30 13:02:59 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# DEV Notes:
|
|
|
|
#
|
|
|
|
# The error log may contain multiple hosts, whereas the first one
|
|
|
|
# is the client and all others are poxys. We match the first one, only
|
|
|
|
#
|
|
|
|
# Author: Arnd Brandes
|