From 6ae86bd7d6bfc4f3cfeed7f922f3877ec834fe92 Mon Sep 17 00:00:00 2001 From: Cyril Jaquier Date: Sat, 9 Jul 2005 13:18:59 +0000 Subject: [PATCH] - Removed unused options - Cleanup git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_5@126 a942ae1a-1317-0410-a47c-b1dcaea8d605 --- config/fail2ban.conf.default | 55 ++++++++++++++++-------------------- 1 file changed, 24 insertions(+), 31 deletions(-) diff --git a/config/fail2ban.conf.default b/config/fail2ban.conf.default index c7a014d4..51d5394c 100644 --- a/config/fail2ban.conf.default +++ b/config/fail2ban.conf.default @@ -5,18 +5,6 @@ # 2005.06.21 modified for readability Iain Lea iain@bricbrac.de [DEFAULT] -# Option: firewall -# Notes.: select the firewall system to use. -# Values: [iptables | ipfwadm | ipfw] Default: iptables -# -firewall = iptables - -# Option: ipfw-start-rule -# Notes.: set first firewall rule number used (only used if firewall = ipfw). -# Values: NUM Default: 100 -# -ipfw-start-rule = 100 - # Option: background # Notes.: start fail2ban as a daemon. Output is redirect to logfile. # Values: [true | false] Default: false @@ -62,14 +50,14 @@ ignoreip = # Option: cmdstart # Notes.: command executed once at the start of Fail2Ban -# Values: CMD -# Default +# Values: CMD Default: +# cmdstart = # Option: cmdend # Notes.: command executed once at the end of Fail2Ban -# Values: CMD -# Default +# Values: CMD Default: +# cmdend = # Option: polltime @@ -80,7 +68,8 @@ polltime = 1 # You can define a new section for each log file to check for # password failure. Each section has to define the following -# options: logfile, timeregex, timepattern, failregex. +# options: logfile, fwban, fwunban, timeregex, timepattern, +# failregex. [Apache] # Option: enabled @@ -97,14 +86,14 @@ logfile = /home/cyril/workspace/fail2ban-unstable/log-test/apache # Option: fwstart # Notes.: command executed once at the start of Fail2Ban -# Values: CMD -# Default +# Values: CMD Default: +# fwstart = # Option: fwend # Notes.: command executed once at the end of Fail2Ban -# Values: CMD -# Default +# Values: CMD Default: +# fwend = # Option: fwban @@ -112,7 +101,8 @@ fwend = # command is executed with Fail2Ban user rights. # IP address # Values: CMD -# Default iptables -I INPUT 1 -i eth0 -s -j DROP +# Default: iptables -I INPUT 1 -i eth0 -s -j DROP +# fwban = iptables -I INPUT 1 -i eth0 -s -j DROP # Option: fwunban @@ -120,13 +110,14 @@ fwban = iptables -I INPUT 1 -i eth0 -s -j DROP # command is executed with Fail2Ban user rights. # IP address # Values: CMD -# Default iptables -D INPUT -i eth0 -s -j DROP +# Default: iptables -D INPUT -i eth0 -s -j DROP +# fwunban = iptables -D INPUT -i eth0 -s -j DROP # Option: timeregex # Notes.: regex to match timestamp in Apache logfile. # Values: [Wed Jan 05 15:08:01 2005] -# Default \S{3} \S{3} \d{2} \d{2}:\d{2}:\d{2} \d{4} +# Default: \S{3} \S{3} \d{2} \d{2}:\d{2}:\d{2} \d{4} # timeregex = \S{3} \S{3} \d{2} \d{2}:\d{2}:\d{2} \d{4} @@ -158,14 +149,14 @@ logfile = /home/cyril/workspace/fail2ban-unstable/log-test/test # Option: fwstart # Notes.: command executed once at the start of Fail2Ban -# Values: CMD -# Default +# Values: CMD Default: +# fwstart = # Option: fwend # Notes.: command executed once at the end of Fail2Ban -# Values: CMD -# Default +# Values: CMD Default: +# fwend = # Option: fwbanrule @@ -173,7 +164,8 @@ fwend = # command is executed with Fail2Ban user rights. # IP address # Values: CMD -# Default iptables -I INPUT 1 -i eth0 -s -j DROP +# Default: iptables -I INPUT 1 -i eth0 -s -j DROP +# fwban = iptables -I INPUT 1 -i eth0 -s -j DROP # Option: fwunbanrule @@ -181,13 +173,14 @@ fwban = iptables -I INPUT 1 -i eth0 -s -j DROP # command is executed with Fail2Ban user rights. # IP address # Values: CMD -# Default iptables -D INPUT -i eth0 -s -j DROP +# Default: iptables -D INPUT -i eth0 -s -j DROP +# fwunban = iptables -D INPUT -i eth0 -s -j DROP # Option: timeregex # Notes.: regex to match timestamp in SSH logfile. # Values: [Mar 7 17:53:28] -# Default \S{3}\s{1,2}\d{1,2} \d{2}:\d{2}:\d{2} +# Default: \S{3}\s{1,2}\d{1,2} \d{2}:\d{2}:\d{2} # timeregex = \S{3}\s{1,2}\d{1,2} \d{2}:\d{2}:\d{2}