rpms/fail2ban/F-7 fail2ban-0.8-sshd-filter.diff, NONE, 1.1 fail2ban.spec, 1.5, 1.6
Axel Thimm (athimm)
fedora-extras-commits at redhat.com
Sun Jun 3 11:22:20 UTC 2007
- Previous message (by thread): rpms/wine-docs/devel .cvsignore, 1.25, 1.26 sources, 1.25, 1.26 wine-docs.spec, 1.25, 1.26
- Next message (by thread): rpms/fail2ban/FC-5 fail2ban-0.8-sshd-filter.diff, NONE, 1.1 fail2ban.spec, 1.5, 1.6
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: athimm
Update of /cvs/extras/rpms/fail2ban/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv31385/F-7
Modified Files:
fail2ban.spec
Added Files:
fail2ban-0.8-sshd-filter.diff
Log Message:
Fix sshd filter to spot attempts to log in as a user not in AllowUsers (#241695)
fail2ban-0.8-sshd-filter.diff:
--- NEW FILE fail2ban-0.8-sshd-filter.diff ---
--- fail2ban-0.8.0/config/filter.d/sshd.conf.original 2007-05-27 22:44:14.000000000 +0100
+++ fail2ban-0.8.0/config/filter.d/sshd.conf 2007-05-27 22:44:48.000000000 +0100
@@ -18,6 +18,7 @@
Failed [-/\w]+ for .* from <HOST>
ROOT LOGIN REFUSED .* FROM <HOST>
[iI](?:llegal|nvalid) user .* from <HOST>
+ User .* from <HOST> not allowed because not listed in AllowUsers
# Option: ignoreregex
# Notes.: regex to ignore. If this regex matches, the line is ignored.
Index: fail2ban.spec
===================================================================
RCS file: /cvs/extras/rpms/fail2ban/F-7/fail2ban.spec,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- fail2ban.spec 23 May 2007 20:17:50 -0000 1.5
+++ fail2ban.spec 3 Jun 2007 11:21:44 -0000 1.6
@@ -1,9 +1,10 @@
+# Not defined in Fedora's buildsystem
%global _initdir %{_sysconfdir}/rc.d/init.d
Summary: Ban IPs that make too many password failures
Name: fail2ban
Version: 0.8.0
-Release: 7%{?dist}
+Release: 8%{?dist}
License: GPL
Group: System Environment/Daemons
URL: http://fail2ban.sourceforge.net/
@@ -11,6 +12,7 @@
Source1: fail2ban-logrotate
Patch0: fail2ban-0.8.0-init.patch
Patch1: fail2ban-0.8.0-sshd.patch
+Patch2: fail2ban-0.8-sshd-filter.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildRequires: python-devel >= 2.4
BuildArch: noarch
@@ -28,6 +30,7 @@
%setup -q
%patch0 -p1 -b .init
%patch1 -p1 -b .sshd
+%patch2 -p1 -b .sshdallowusersm
%build
python setup.py build
@@ -73,6 +76,10 @@
%config(noreplace) %{_sysconfdir}/logrotate.d/fail2ban
%changelog
+* Sun Jun 3 2007 Axel Thimm <Axel.Thimm at ATrpms.net> - 0.8.0-8
+- Also trigger on non-AllowUsers failures (Jonathan Underwood
+ <jonathan.underwood at gmail.com>).
+
* Wed May 23 2007 Axel Thimm <Axel.Thimm at ATrpms.net> - 0.8.0-7
- logrotate should restart fail2ban (Zing <zing at fastmail.fm>).
- send mail to root; logrotate (Jonathan Underwood
- Previous message (by thread): rpms/wine-docs/devel .cvsignore, 1.25, 1.26 sources, 1.25, 1.26 wine-docs.spec, 1.25, 1.26
- Next message (by thread): rpms/fail2ban/FC-5 fail2ban-0.8-sshd-filter.diff, NONE, 1.1 fail2ban.spec, 1.5, 1.6
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list