Subversion Repositories configs

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
192 - 1
# Fail2Ban filter for monit.conf, looks for failed access attempts
2
#
3
#
4
 
5
[INCLUDES]
6
 
7
# Read common prefixes. If any customizations available -- read them from
8
# common.local
9
before = common.conf
10
 
11
[Definition]
12
 
13
_daemon = monit
14
 
15
# Regexp for previous (accessing monit httpd) and new (access denied) versions
16
failregex = ^\[\s*\]\s*error\s*:\s*Warning:\s+Client '<HOST>' supplied (?:unknown user '[^']+'|wrong password for user '[^']*') accessing monit httpd$
17
            ^%(__prefix_line)s\w+: access denied -- client <HOST>: (?:unknown user '[^']+'|wrong password for user '[^']*'|empty password)$
18
 
19
# Ignore login with empty user (first connect, no user specified)
20
# ignoreregex = %(__prefix_line)s\w+: access denied -- client <HOST>: (?:unknown user '')
21
ignoreregex =