diff options
| author | Sergey G. Brester <serg.brester@sebres.de> | 2021-05-27 12:17:16 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-05-27 12:17:16 +0200 |
| commit | 3d52fe3e4e88f2fd28316d43aedf2ef8fc7f9171 (patch) | |
| tree | 00fa0ca16750ac800069ccf4689b4c839817345a /config/filter.d | |
| parent | 0a05dbdbfc1ec36d47515fea93ce69f258a96332 (diff) | |
| parent | ab0847e2d59611dd81e2f6a1dd30c1f136dce958 (diff) | |
| download | fail2ban-3d52fe3e4e88f2fd28316d43aedf2ef8fc7f9171.tar.gz | |
Merge pull request #2679 from mikaku/updated-to-latest-jail.conf
Add new jail (and filter) Monitorix
Diffstat (limited to 'config/filter.d')
| -rw-r--r-- | config/filter.d/monitorix.conf | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/config/filter.d/monitorix.conf b/config/filter.d/monitorix.conf new file mode 100644 index 00000000..ff69f1bc --- /dev/null +++ b/config/filter.d/monitorix.conf @@ -0,0 +1,25 @@ +# 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 = ^(?:\s+-)?\s*(?:NOTEXIST|AUTHERR|NOTALLOWED) - <ADDR>\b + +# Option: ignoreregex +# Notes.: regex to ignore. If this regex matches, the line is ignored. +# Values: TEXT +# +ignoreregex = |
