- Some small update about current work

git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/trunk@26 a942ae1a-1317-0410-a47c-b1dcaea8d605
0.6
Cyril Jaquier 2004-10-14 10:28:04 +00:00
parent 1786004c3d
commit 3fa88d60a6
2 changed files with 18 additions and 4 deletions

View File

@ -7,6 +7,17 @@
Fail2Ban (version 0.1.0) 10/12/2004 Fail2Ban (version 0.1.0) 10/12/2004
============================================================= =============================================================
ver. 0.1.1 (??/??/????) - alpha
----------
- Add -r option which allows to set the maximum number of
login failures
- Remove the Metalog class as the log file are not so syslog
daemon specific
- Rewrite log reader to be service centered. Sshd support
added. Match "Failed password" and "Illegal user"
- Code documentation
ver. 0.1.0 (10/12/2004) - alpha ver. 0.1.0 (10/12/2004) - alpha
---------- ----------
- Initial release - Initial release

11
README
View File

@ -9,9 +9,8 @@ Fail2Ban (version 0.1.0) 10/12/2004
Fail2Ban scans log files like /var/log/pwdfail and bans IP Fail2Ban scans log files like /var/log/pwdfail and bans IP
that makes too much password failures. It updates firewall that makes too much password failures. It updates firewall
rules to reject the IP address. Currently metalog and rules to reject the IP address. Currently sshd and iptables
iptables are supported but it should work with other syslog are supported. It needs log4py.
daemons. It needs log4py.
This is my first Python program. I began learning Python for This is my first Python program. I began learning Python for
less than one week so please be understanding ;-) English is less than one week so please be understanding ;-) English is
@ -47,7 +46,7 @@ also support others firewalls than iptables.
Installation: Installation:
------------- -------------
Require: python-2.? (http://www.python.org) Require: python-2.2 (http://www.python.org)
log4py-1.1 (http://sourceforge.net/projects/log4py) log4py-1.1 (http://sourceforge.net/projects/log4py)
To install, just do: To install, just do:
@ -56,6 +55,9 @@ To install, just do:
> cd fail2ban-0.1.0 > cd fail2ban-0.1.0
> python setup.py install > python setup.py install
This will install Fail2Ban into /usr/lib/fail2ban. The
fail2ban.py executable is placed into /usr/bin.
Fail2Ban should now be correctly installed. Just type: Fail2Ban should now be correctly installed. Just type:
> fail2ban.py -h > fail2ban.py -h
@ -74,6 +76,7 @@ commande line options instead. Here are the options:
-f <FILE> read password failure from FILE -f <FILE> read password failure from FILE
-h display this help message -h display this help message
-l <FILE> log message in FILE -l <FILE> log message in FILE
-r <VALUE> allow a max of VALUE password failure
-t <TIME> ban IP for TIME seconds -t <TIME> ban IP for TIME seconds
-v verbose -v verbose