From 87fc83e17a87dbd5f4fd744134562d7f107343d2 Mon Sep 17 00:00:00 2001 From: Orion Poplawski Date: Sep 21 2017 02:22:16 +0000 Subject: Update to 0.10.0 --- diff --git a/.gitignore b/.gitignore index f255fa8..6e19aff 100644 --- a/.gitignore +++ b/.gitignore @@ -13,3 +13,4 @@ fail2ban-0.8.4.tar.bz2 /fail2ban-0.9.5.tar.gz /fail2ban-0.9.6.tar.gz /fail2ban-0.9.7.tar.gz +/fail2ban-0.10.0.tar.gz diff --git a/fail2ban-partof.patch b/fail2ban-partof.patch index d634668..0d0c2d9 100644 --- a/fail2ban-partof.patch +++ b/fail2ban-partof.patch @@ -1,6 +1,6 @@ -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 +diff -up fail2ban-0.10.0/files/fail2ban.service.partof fail2ban-0.10.0/files/fail2ban.service +--- fail2ban-0.10.0/files/fail2ban.service.partof 2017-09-20 20:00:36.697955743 -0600 ++++ fail2ban-0.10.0/files/fail2ban.service 2017-09-20 20:00:48.358115261 -0600 @@ -2,7 +2,7 @@ Description=Fail2Ban Service Documentation=man:fail2ban(1) @@ -9,4 +9,4 @@ diff -up fail2ban-0.9.5/files/fail2ban.service.partof fail2ban-0.9.5/files/fail2 +PartOf=firewalld.service [Service] - Type=forking + Type=simple diff --git a/fail2ban-sendmail.patch b/fail2ban-sendmail.patch index bc2f228..ccd6328 100644 --- a/fail2ban-sendmail.patch +++ b/fail2ban-sendmail.patch @@ -1,7 +1,7 @@ -diff -up fail2ban-0.9.6/config/filter.d/sendmail-auth.conf.sendmail fail2ban-0.9.6/config/filter.d/sendmail-auth.conf ---- fail2ban-0.9.6/config/filter.d/sendmail-auth.conf.sendmail 2017-01-06 19:00:12.228687290 -0700 -+++ fail2ban-0.9.6/config/filter.d/sendmail-auth.conf 2017-01-06 19:01:33.991702030 -0700 -@@ -7,12 +7,16 @@ before = common.conf +diff -up fail2ban-0.10.0/config/filter.d/sendmail-auth.conf.sendmail fail2ban-0.10.0/config/filter.d/sendmail-auth.conf +--- fail2ban-0.10.0/config/filter.d/sendmail-auth.conf.sendmail 2017-09-20 20:01:34.624748219 -0600 ++++ fail2ban-0.10.0/config/filter.d/sendmail-auth.conf 2017-09-20 20:02:56.902880330 -0600 +@@ -7,7 +7,7 @@ before = common.conf [Definition] @@ -10,24 +10,3 @@ diff -up fail2ban-0.9.6/config/filter.d/sendmail-auth.conf.sendmail fail2ban-0.9 failregex = ^%(__prefix_line)s\w{14}: (\S+ )?\[\]( \(may be forged\))?: possible SMTP attack: command=AUTH, count=\d+$ - ignoreregex = - -+[Init] -+ -+journalmatch = _SYSTEMD_UNIT=sendmail.service -+ - # DEV Notes: - # - # Author: Daniel Black -diff -up fail2ban-0.9.6/config/filter.d/sendmail-reject.conf.sendmail fail2ban-0.9.6/config/filter.d/sendmail-reject.conf ---- fail2ban-0.9.6/config/filter.d/sendmail-reject.conf.sendmail 2017-01-06 19:00:12.229687303 -0700 -+++ fail2ban-0.9.6/config/filter.d/sendmail-reject.conf 2017-01-06 19:00:12.229687303 -0700 -@@ -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 - diff --git a/fail2ban.spec b/fail2ban.spec index 474364a..a18752d 100644 --- a/fail2ban.spec +++ b/fail2ban.spec @@ -1,7 +1,7 @@ Summary: Daemon to ban hosts that cause multiple authentication errors Name: fail2ban -Version: 0.9.7 -Release: 4%{?dist} +Version: 0.10.0 +Release: 1%{?dist} License: GPLv2+ URL: http://fail2ban.sourceforge.net/ Source0: https://github.com/%{name}/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz @@ -298,6 +298,9 @@ fi %changelog +* Wed Sep 20 2017 Orion Poplawski - 0.10.0-1 +- Update to 0.10.0 + * Wed Aug 16 2017 Orion Poplawski - 0.9.7-4 - Use BR /usr/bin/2to3 diff --git a/sources b/sources index 4c7af9a..d291510 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (fail2ban-0.9.7.tar.gz) = 2c28f892e882f1c7d9bc33d16e1f469f65aa198a1dd9fe409367cd857006d7b7e6e4c88f1075f726f8b3e268da5a422d9fae0ebe12457016d814e2b8eea2465a +SHA512 (fail2ban-0.10.0.tar.gz) = 4906d54a761a6f053928613f091b3228c28f9d1dc2f24a3f1f6904f8141ef811a394692b8808e810524e73ecbf2f40b5da827c7fb05e8aefdf1d783abf88781f