adjusted the bantime to be 10min not 10sec

debian-releases/etch
Yaroslav Halchenko 2006-09-05 15:26:37 +00:00
parent dae225330c
commit 4ba8572d7f
1 changed files with 4 additions and 3 deletions

View File

@ -8,7 +8,7 @@
diff -Naur -x '*~' fail2ban-0.7.1/config/jail.conf fail2ban-0.7.1.modified/config/jail.conf
--- fail2ban-0.7.1/config/jail.conf 2006-08-20 17:33:11.000000000 -0400
+++ fail2ban-0.7.1.modified/config/jail.conf 2006-09-05 10:56:44.000000000 -0400
+++ fail2ban-0.7.1.modified/config/jail.conf 2006-09-05 11:27:50.000000000 -0400
@@ -5,11 +5,20 @@
# $Revision: 281 $
#
@ -22,10 +22,11 @@ diff -Naur -x '*~' fail2ban-0.7.1/config/jail.conf fail2ban-0.7.1.modified/confi
-action = hostsdeny[file=/tmp/hosts.deny]
- mail[name=SSH, dest=cyril.jaquier@bluewin.ch]
-maxretry = 2
-bantime = 10
+action = iptables
+ mail[name=SSH, dest=root@localhost]
+maxretry = 5
+bantime = 10
+bantime = 600
+
+[Apache]
+
@ -34,4 +35,4 @@ diff -Naur -x '*~' fail2ban-0.7.1/config/jail.conf fail2ban-0.7.1.modified/confi
+action = iptables
+ mail[name=Apache, dest=root@localhost]
+maxretry = 5
bantime = 10
+bantime = 600