From 120a1d9fbc273ebabfc8d01c922951a746df700b Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Sat, 23 Jul 2005 19:15:22 +0000 Subject: [PATCH] * Merged with upstream * Changed debian/watch to run svn-upgrade --- CHANGELOG | 13 +++++++- PKG-INFO | 2 +- README | 25 ++++++++------- TODO | 10 +++--- config/debian-initd | 62 ++++++++++++++++++++++++++++++++++++ config/fail2ban.conf.default | 56 +++++++++++++++++++------------- debian/README.Debian | 14 +++++--- debian/changelog | 7 ++++ debian/watch | 6 ++-- fail2ban | 10 +++--- fail2ban.py | 57 +++++++++++++++++++++------------ firewall/firewall.py | 9 +++--- logreader/logreader.py | 12 +++++-- setup.py | 54 ++++++++++++++++++++++++------- utils/dns.py | 18 ++++++++--- utils/process.py | 9 ++---- version.py | 8 ++--- 17 files changed, 263 insertions(+), 109 deletions(-) create mode 100644 config/debian-initd diff --git a/CHANGELOG b/CHANGELOG index b4acc6d9..46d5771d 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -4,9 +4,20 @@ |_| \__,_|_|_/___|_.__/\__,_|_||_| ============================================================= -Fail2Ban (version 0.5.0) 2005/07/12 +Fail2Ban (version 0.5.1) 2005/07/23 ============================================================= +ver. 0.5.1 (2005/07/23) - beta +---------- +- Fixed bugs #1241756, #1239557 +- Added log targets in configuration file. Removed -l option +- Changed iptables rules in order to create a separated chain + for each section +- Fixed static banList in firewall.py +- Added an initd script for Debian. Thanks to Yaroslav + Halchenko +- Check for obsolete files after install + ver. 0.5.0 (2005/07/12) - beta ---------- - Added support for CIDR mask in ignoreip diff --git a/PKG-INFO b/PKG-INFO index 025b5dba..eb119f57 100644 --- a/PKG-INFO +++ b/PKG-INFO @@ -1,6 +1,6 @@ Metadata-Version: 1.0 Name: fail2ban -Version: 0.5.0 +Version: 0.5.1 Summary: Ban IPs that make too many password failure Home-page: http://fail2ban.sourceforge.net Author: Cyril Jaquier diff --git a/README b/README index bf9e1809..b82a42c0 100644 --- a/README +++ b/README @@ -4,7 +4,7 @@ |_| \__,_|_|_/___|_.__/\__,_|_||_| ============================================================= -Fail2Ban (version 0.5.0) 2005/07/12 +Fail2Ban (version 0.5.1) 2005/07/23 ============================================================= Fail2Ban scans log files like /var/log/pwdfail and bans IP @@ -55,34 +55,36 @@ Installation: ------------- Require: python-2.3 (http://www.python.org) - log4py-1.1 (http://sourceforge.net/projects/log4py) + log4py-1.3 (http://sourceforge.net/projects/log4py) To install, just do: -> tar xvfj fail2ban-0.5.0.tar.bz2 -> cd fail2ban-0.5.0 +> tar xvfj fail2ban-0.5.1.tar.bz2 +> cd fail2ban-0.5.1 > python setup.py install -This will install Fail2Ban into /usr/lib/fail2ban. The -fail2ban.py executable is placed into /usr/bin. +This will install Fail2Ban into /usr/lib/fail2ban. The fail2ban +executable is placed into /usr/bin. Gentoo: an ebuild is available on the website. Debian: a package is available on the website. Fail2Ban should now be correctly installed. Just type: -> fail2ban.py -h +> fail2ban -h to see if everything is alright. You can configure fail2ban with a config file. Copy config/fail2ban.conf.default to /etc/fail2ban.conf. -Gentoo users can use the initd script available in config/. -Copy gentoo-initd to /etc/init.d/fail2ban and gentoo-confd -to /etc/conf.d/fail2ban. You can start fail2ban and add it -to your default runlevel: +You can use the initd script available in config/. Copy +-initd to /etc/init.d/fail2ban. Gentoo users must copy +gentoo-confd to /etc/conf.d/fail2ban. You can start fail2ban: > /etc/init.d/fail2ban start + +Gentoo users can add it to the default runlevel: + > rc-update add fail2ban default Configuration: @@ -100,7 +102,6 @@ options: -h display this help message -i IP(s) to ignore -k kill a currently running Fail2Ban instance - -l log messages in FILE -r allow a max of VALUE password failure -t