diff --git a/doc/motionplus_examples.html b/doc/motionplus_examples.html index 626e4d0e..347b13e0 100644 --- a/doc/motionplus_examples.html +++ b/doc/motionplus_examples.html @@ -56,6 +56,7 @@
+
# Fail2Ban configuration file: /etc/fail2ban/filter.d/motionplus.conf
+
# Author: Mr Dave
+
#
+
[INCLUDES]
+
# Read common prefixes. If any customizations available -- read them from common.local
+
before = common.conf
+
+
[Definition]
+
daemon = nsd
+
+
# Option: failregex
+
# Notes.:
+
# regex to match the log in failures messages in the logfile. The
+
# host must be matched by a group named "host". The tag "" can
+
# be used for standard IP/hostname matching and is only an alias for
+
# (?:::f{4,6}:)?(?P[\w\-.^_]+)
+
# Sample: Jul 01 02:50:32 [EMG][STR][00:wc00] webu_failauth_check: Ignoring connection from: 192.168.1.10
+
# Values: TEXT
+
+
failregex = ^.*Ignoring connection from: $
+
+
ignoreregex =
+
+
datepattern = {^LN-BEG}Epoch
+
{^LN-BEG}
+
+
+
+
#Fail2Ban Jail Configuration File: /etc/fail2ban/jail.d/motionplus-jail.conf
+
[motionplus]
+
enabled = true
+
filter = motionplus
+
logpath = /var/log/motionplus/motionplus.log
+
bantime = 23h
+
banaction = iptables-allports[blocktype="DROP"]
+
maxretry = 0
+
port = 0:65535
+
+