[fail2ban/el5] Re-enable sshd-iptables by default

Orion Poplawski orion at fedoraproject.org
Wed Jul 30 03:49:38 UTC 2014


commit 4fcc4187e33b46b80385a5c0a60c2907dd876a12
Author: Orion Poplawski <orion at cora.nwra.com>
Date:   Tue Jul 29 21:33:48 2014 -0600

    Re-enable sshd-iptables by default

 fail2ban-sshd.patch |   11 ++++++++---
 fail2ban.spec       |    5 ++++-
 2 files changed, 12 insertions(+), 4 deletions(-)
---
diff --git a/fail2ban-sshd.patch b/fail2ban-sshd.patch
index 5800500..c4df871 100644
--- a/fail2ban-sshd.patch
+++ b/fail2ban-sshd.patch
@@ -1,7 +1,12 @@
 diff -up fail2ban-0.8.13/config/jail.conf.sshd fail2ban-0.8.13/config/jail.conf
---- fail2ban-0.8.13/config/jail.conf.sshd	2014-07-21 16:42:36.636675943 -0600
-+++ fail2ban-0.8.13/config/jail.conf	2014-07-21 16:43:56.119264049 -0600
-@@ -97,7 +97,7 @@ enabled  = false
+--- fail2ban-0.8.13/config/jail.conf.sshd	2014-03-15 02:14:36.000000000 -0600
++++ fail2ban-0.8.13/config/jail.conf	2014-07-29 21:32:12.208421654 -0600
+@@ -93,11 +93,11 @@ logpath = /var/log/daemon*log
+ 
+ [ssh-iptables]
+ 
+-enabled  = false
++enabled  = true
  filter   = sshd
  action   = iptables[name=SSH, port=ssh, protocol=tcp]
             sendmail-whois[name=SSH, dest=you at example.com, sender=fail2ban at example.com, sendername="Fail2Ban"]
diff --git a/fail2ban.spec b/fail2ban.spec
index 7b90cbb..9deb36f 100644
--- a/fail2ban.spec
+++ b/fail2ban.spec
@@ -1,7 +1,7 @@
 Summary: Ban IPs that make too many password failures
 Name: fail2ban
 Version: 0.8.13
-Release: 1%{?dist}
+Release: 2%{?dist}
 License: GPLv2+
 Group: System Environment/Daemons
 URL: http://fail2ban.sourceforge.net/
@@ -123,6 +123,9 @@ fi
 %dir %{_localstatedir}/lib/fail2ban/
 
 %changelog
+* Tue Jul 29 2014 Orion Poplawski <orion at cora.nwra.com> - 0.8.13-2
+- Re-enable sshd-iptables by default
+
 * Mon Jul 21 2014 Orion Poplawski <orion at cora.nwra.com> - 0.8.13-1
 - Update to 0.8.13 (should fix bug #1047363)
 - Use upstream's logrotate script (bug #891798)


More information about the scm-commits mailing list