Details |
Last modification |
View Log
| RSS feed
Rev |
Author |
Line No. |
Line |
192 |
- |
1 |
# Fail2Ban filter for Zoneminder login failures
|
|
|
2 |
|
|
|
3 |
[INCLUDES]
|
|
|
4 |
before = apache-common.conf
|
|
|
5 |
|
|
|
6 |
[Definition]
|
|
|
7 |
|
|
|
8 |
# pattern: [Wed Apr 27 23:12:07.736196 2016] [:error] [pid 2460] [client 10.1.1.1:47296] WAR [Login denied for user "test"], referer: https://zoneminderurl/index.php
|
|
|
9 |
#
|
|
|
10 |
#
|
|
|
11 |
# Option: failregex
|
|
|
12 |
# Notes.: regex to match the password failure messages in the logfile.
|
|
|
13 |
|
|
|
14 |
failregex = ^%(_apache_error_client)s WAR \[Login denied for user "[^"]*"\]
|
|
|
15 |
|
|
|
16 |
ignoreregex =
|
|
|
17 |
|
|
|
18 |
# Notes:
|
|
|
19 |
# Tested on Zoneminder 1.29.0
|
|
|
20 |
#
|
|
|
21 |
# Author: John Marzella
|