mirror of
https://github.com/fail2ban/fail2ban.git
synced 2026-03-11 08:55:31 +00:00
added zoneminder.conf filter
This commit is contained in:
parent
a90f6c4ae8
commit
08878d22dd
1 changed files with 23 additions and 0 deletions
23
config/filter.d/zoneminder.conf
Normal file
23
config/filter.d/zoneminder.conf
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
# Fail2Ban filter for Zoneminder login failures
|
||||
#
|
||||
|
||||
[Definition]
|
||||
|
||||
# patern : [client 10.1.1.1:38022] WAR [Login denied for user "test"], referer: https://zoneminderurl/
|
||||
#
|
||||
#
|
||||
# Option: failregex
|
||||
# Notes.: regex to match the password failure 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>[\w\-.^_]+)
|
||||
|
||||
|
||||
failregex = [[]client <HOST>:\d\d\d\d\d] WAR [[]Login denied for user
|
||||
|
||||
ignoreregex =
|
||||
|
||||
# Notes:
|
||||
# Tested on Zoneminder 1.29.0
|
||||
#
|
||||
# Author: John Marzella
|
||||
Loading…
Reference in a new issue