|
|
|
@ -3,8 +3,8 @@
|
|
|
|
|
|
|
|
|
|
Summary: Ban IPs that make too many password failures
|
|
|
|
|
Name: fail2ban
|
|
|
|
|
Version: 0.8.1
|
|
|
|
|
Release: 11%{?dist}
|
|
|
|
|
Version: 0.8.2
|
|
|
|
|
Release: 12%{?dist}
|
|
|
|
|
License: GPL
|
|
|
|
|
Group: System Environment/Daemons
|
|
|
|
|
URL: http://fail2ban.sourceforge.net/
|
|
|
|
@ -12,11 +12,11 @@ Source0: http://prdownloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2
|
|
|
|
|
Source1: fail2ban-logrotate
|
|
|
|
|
Patch0: fail2ban-0.8.1-init.patch
|
|
|
|
|
Patch1: fail2ban-0.8.1-sshd.patch
|
|
|
|
|
Patch2: fail2ban-0.8.1-sock.patch
|
|
|
|
|
#Patch2: fail2ban-0.8.1-sock.patch
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
|
|
|
|
BuildRequires: python-devel >= 2.4
|
|
|
|
|
BuildRequires: python-devel >= 2.3
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
Requires: iptables, gamin-python
|
|
|
|
|
Requires: iptables, tcp_wrappers, shorewall, gamin-python
|
|
|
|
|
Requires(post): /sbin/chkconfig
|
|
|
|
|
Requires(preun): /sbin/chkconfig
|
|
|
|
|
Requires(preun): /sbin/service
|
|
|
|
@ -30,7 +30,7 @@ failures. It updates firewall rules to reject the IP address.
|
|
|
|
|
%setup -q
|
|
|
|
|
%patch0 -p1 -b .init
|
|
|
|
|
%patch1 -p1 -b .sshd
|
|
|
|
|
%patch2 -p1 -b .sock
|
|
|
|
|
#patch2 -p1 -b .sock
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
python setup.py build
|
|
|
|
@ -58,7 +58,7 @@ fi
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
|
%doc README TODO CHANGELOG COPYING
|
|
|
|
|
%doc README TODO ChangeLog COPYING
|
|
|
|
|
#doc config/fail2ban.conf*
|
|
|
|
|
%{_bindir}/fail2ban-server
|
|
|
|
|
%{_bindir}/fail2ban-client
|
|
|
|
@ -76,12 +76,14 @@ fi
|
|
|
|
|
%config(noreplace) %{_sysconfdir}/logrotate.d/fail2ban
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Fri Mar 14 2008 Axel Thimm <Axel.Thimm@ATrpms.net> - 0.8.2-12
|
|
|
|
|
- Update to 0.8.2.
|
|
|
|
|
|
|
|
|
|
* Thu Jan 31 2008 Jonathan G. Underwood <jonathan.underwood@gmail.com> - 0.8.1-11
|
|
|
|
|
- Move socket file from /tmp to /var/run to prevent SElinux from stopping
|
|
|
|
|
fail2ban from starting (BZ #429281)
|
|
|
|
|
- Change logic in init file to start with -x to remove the socket file in case
|
|
|
|
|
of unclean shutdown
|
|
|
|
|
- Remove unecessary requires of tcpwrappers and shorewall (BZ #244275)
|
|
|
|
|
|
|
|
|
|
* Wed Aug 15 2007 Axel Thimm <Axel.Thimm@ATrpms.net> - 0.8.1-10
|
|
|
|
|
- Update to 0.8.1.
|
|
|
|
|