From ac81e2edf507388cd9927b4d036330e87649a68d Mon Sep 17 00:00:00 2001 From: athimm Date: Wed, 23 May 2007 11:12:14 +0000 Subject: [PATCH] Fix fail2ban-0.8.0-sshd.patch. --- fail2ban-0.8.0-sshd.patch | 1 - fail2ban.spec | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/fail2ban-0.8.0-sshd.patch b/fail2ban-0.8.0-sshd.patch index ddac9e5..ad59e71 100644 --- a/fail2ban-0.8.0-sshd.patch +++ b/fail2ban-0.8.0-sshd.patch @@ -8,7 +8,6 @@ +enabled = true filter = sshd action = iptables[name=SSH, port=ssh, protocol=tcp] - mail-whois[name=SSH, dest=yourmail@mail.com] - mail-whois[name=SSH, dest=yourmail@mail.com] -logpath = /var/log/sshd.log + mail-whois[name=SSH, dest=root] diff --git a/fail2ban.spec b/fail2ban.spec index 207e36a..43d07cc 100644 --- a/fail2ban.spec +++ b/fail2ban.spec @@ -3,7 +3,7 @@ Summary: Ban IPs that make too many password failures Name: fail2ban Version: 0.8.0 -Release: 5%{?dist} +Release: 6%{?dist} License: GPL Group: System Environment/Daemons URL: http://fail2ban.sourceforge.net/ @@ -73,7 +73,7 @@ fi %config(noreplace) %{_sysconfdir}/logrotate.d/fail2ban %changelog -* Wed May 23 2007 Axel Thimm - 0.8.0-5 +* Wed May 23 2007 Axel Thimm - 0.8.0-6 - send mail to root; logrotate (Jonathan Underwood )