commit
c3558a75e9
@ -0,0 +1,12 @@
|
||||
diff -up fail2ban-0.9.5/files/fail2ban.service.partof fail2ban-0.9.5/files/fail2ban.service
|
||||
--- fail2ban-0.9.5/files/fail2ban.service.partof 2016-07-14 20:25:07.000000000 -0600
|
||||
+++ fail2ban-0.9.5/files/fail2ban.service 2016-10-03 15:59:24.761782253 -0600
|
||||
@@ -2,7 +2,7 @@
|
||||
Description=Fail2Ban Service
|
||||
Documentation=man:fail2ban(1)
|
||||
After=network.target iptables.service firewalld.service
|
||||
-PartOf=iptables.service firewalld.service
|
||||
+PartOf=firewalld.service
|
||||
|
||||
[Service]
|
||||
Type=forking
|
@ -0,0 +1,34 @@
|
||||
commit 6a5f8ddf63658f3645a88988641c06d5a9625c00
|
||||
Author: Orion Poplawski <orion@cora.nwra.com>
|
||||
Date: Mon Oct 3 16:26:11 2016 -0600
|
||||
|
||||
Add sendmail journalmatch options
|
||||
|
||||
diff --git a/config/filter.d/sendmail-auth.conf b/config/filter.d/sendmail-auth.conf
|
||||
index 138fbb8..7886e60 100644
|
||||
--- a/config/filter.d/sendmail-auth.conf
|
||||
+++ b/config/filter.d/sendmail-auth.conf
|
||||
@@ -13,6 +13,10 @@ failregex = ^%(__prefix_line)s\w{14}: (\S+ )?\[<HOST>\]( \(may be forged\))?: po
|
||||
|
||||
ignoreregex =
|
||||
|
||||
+[Init]
|
||||
+
|
||||
+journalmatch = _SYSTEMD_UNIT=sendmail.service
|
||||
+
|
||||
# DEV Notes:
|
||||
#
|
||||
# Author: Daniel Black
|
||||
diff --git a/config/filter.d/sendmail-reject.conf b/config/filter.d/sendmail-reject.conf
|
||||
index 93b8343..219d910 100644
|
||||
--- a/config/filter.d/sendmail-reject.conf
|
||||
+++ b/config/filter.d/sendmail-reject.conf
|
||||
@@ -33,6 +33,8 @@ ignoreregex =
|
||||
|
||||
[Init]
|
||||
|
||||
+journalmatch = _SYSTEMD_UNIT=sendmail.service
|
||||
+
|
||||
# "maxlines" is number of log lines to buffer for multi-line regex searches
|
||||
maxlines = 10
|
||||
|
Loading…
Reference in new issue