diff --git a/.project b/.project new file mode 100644 index 00000000..6d59cd24 --- /dev/null +++ b/.project @@ -0,0 +1,17 @@ + + + fail2ban-unstable + + + + + + org.python.pydev.PyDevBuilder + + + + + + org.python.pydev.pythonNature + + diff --git a/.pydevproject b/.pydevproject new file mode 100644 index 00000000..3c3130d9 --- /dev/null +++ b/.pydevproject @@ -0,0 +1,12 @@ + + + + +python 2.3 + +/fail2ban-0.8/client +/fail2ban-0.8/server +/fail2ban-0.8/testcases +/fail2ban-0.8 + + diff --git a/PKG-INFO b/PKG-INFO deleted file mode 100644 index 94774a40..00000000 --- a/PKG-INFO +++ /dev/null @@ -1,15 +0,0 @@ -Metadata-Version: 1.0 -Name: fail2ban -Version: 0.8.4 -Summary: Ban IPs that make too many password failure -Home-page: http://www.fail2ban.org -Author: Cyril Jaquier -Author-email: cyril.jaquier@fail2ban.org -License: GPL -Description: - Fail2Ban scans log files like /var/log/pwdfail or - /var/log/apache/error_log and bans IP that makes - too many password failures. It updates firewall rules - to reject the IP address or executes user defined - commands. -Platform: Posix diff --git a/config/action.d/dummy.conf b/config/action.d/dummy.conf new file mode 100644 index 00000000..12ceefed --- /dev/null +++ b/config/action.d/dummy.conf @@ -0,0 +1,52 @@ +# Fail2Ban configuration file +# +# Author: Cyril Jaquier +# +# $Revision$ +# + +[Definition] + +# Option: actionstart +# Notes.: command executed once at the start of Fail2Ban. +# Values: CMD +# +actionstart = touch /tmp/fail2ban.dummy + printf %%b "\n" >> /tmp/fail2ban.dummy + +# Option: actionstop +# Notes.: command executed once at the end of Fail2Ban +# Values: CMD +# +actionstop = rm -f /tmp/fail2ban.dummy + +# Option: actioncheck +# Notes.: command executed once before each actionban command +# Values: CMD +# +actioncheck = + +# Option: actionban +# Notes.: command executed when banning an IP. Take care that the +# command is executed with Fail2Ban user rights. +# Tags: IP address +# number of failures +#