mirror of https://github.com/fail2ban/fail2ban
Jordi Sanfeliu
5 years ago
2 changed files with 32 additions and 0 deletions
@ -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 = |
Loading…
Reference in new issue