mirror of https://github.com/fail2ban/fail2ban
added new jail (and filter) Monitorix
parent
6e570b8644
commit
ede2009708
|
@ -0,0 +1,27 @@
|
||||||
|
# Fail2Ban filter for Monitorix (HTTP built-in server)
|
||||||
|
#
|
||||||
|
|
||||||
|
[INCLUDES]
|
||||||
|
|
||||||
|
before = common.conf
|
||||||
|
|
||||||
|
[Definition]
|
||||||
|
|
||||||
|
_daemon = monitorix-httpd
|
||||||
|
|
||||||
|
# Option: failregex
|
||||||
|
# Notes.: regex to match the password failures messages in the logfile. The
|
||||||
|
# host must be matched by a group named "host". The tag "<HOST>" can
|
||||||
|
# be used for standard IP/hostname matching and is only an alias for
|
||||||
|
# (?:::f{4,6}:)?(?P<host>\S+)
|
||||||
|
# Values: TEXT
|
||||||
|
#
|
||||||
|
failregex = NOTEXIST - \[<HOST>\] .*
|
||||||
|
AUTHERR - \[<HOST>\] .*
|
||||||
|
NOTALLOWED - \[<HOST>\] .*
|
||||||
|
|
||||||
|
# Option: ignoreregex
|
||||||
|
# Notes.: regex to ignore. If this regex matches, the line is ignored.
|
||||||
|
# Values: TEXT
|
||||||
|
#
|
||||||
|
ignoreregex =
|
|
@ -951,3 +951,8 @@ logpath = %(apache_error_log)s
|
||||||
# see `filter.d/traefik-auth.conf` for details and service example.
|
# see `filter.d/traefik-auth.conf` for details and service example.
|
||||||
port = http,https
|
port = http,https
|
||||||
logpath = /var/log/traefik/access.log
|
logpath = /var/log/traefik/access.log
|
||||||
|
|
||||||
|
|
||||||
|
[monitorix]
|
||||||
|
port = 8080
|
||||||
|
logpath = /var/log/monitorix-httpd
|
||||||
|
|
Loading…
Reference in New Issue