diff --git a/CHANGELOG b/CHANGELOG index 76de70c3..fb26c30f 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -15,6 +15,7 @@ ver. 0.1.1 (??/??/????) - alpha daemon specific - Rewrite log reader to be service centered. Sshd support added. Match "Failed password" and "Illegal user" +- Add /etc/fail2ban.conf configuration support - Code documentation diff --git a/fail2ban.py b/fail2ban.py index 5e498085..9e640895 100755 --- a/fail2ban.py +++ b/fail2ban.py @@ -27,6 +27,7 @@ __copyright__ = "Copyright (c) 2004 Cyril Jaquier" __license__ = "GPL" import posix, time, sys, getopt, os, signal +from ConfigParser import * # Checks if log4py is present. try: @@ -52,6 +53,7 @@ def usage(): print " -d start fail2ban in debug mode" print " -f read password failure from FILE" print " -h display this help message" + print " -i IP(s) to ignore" print " -l log message in FILE" print " -r allow a max of VALUE password failure" print " -t