mirror of https://github.com/fail2ban/fail2ban
adjusted the bantime to be 10min not 10sec
parent
dae225330c
commit
4ba8572d7f
|
@ -8,7 +8,7 @@
|
||||||
|
|
||||||
diff -Naur -x '*~' fail2ban-0.7.1/config/jail.conf fail2ban-0.7.1.modified/config/jail.conf
|
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/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 @@
|
@@ -5,11 +5,20 @@
|
||||||
# $Revision: 281 $
|
# $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]
|
-action = hostsdeny[file=/tmp/hosts.deny]
|
||||||
- mail[name=SSH, dest=cyril.jaquier@bluewin.ch]
|
- mail[name=SSH, dest=cyril.jaquier@bluewin.ch]
|
||||||
-maxretry = 2
|
-maxretry = 2
|
||||||
|
-bantime = 10
|
||||||
+action = iptables
|
+action = iptables
|
||||||
+ mail[name=SSH, dest=root@localhost]
|
+ mail[name=SSH, dest=root@localhost]
|
||||||
+maxretry = 5
|
+maxretry = 5
|
||||||
+bantime = 10
|
+bantime = 600
|
||||||
+
|
+
|
||||||
+[Apache]
|
+[Apache]
|
||||||
+
|
+
|
||||||
|
@ -34,4 +35,4 @@ diff -Naur -x '*~' fail2ban-0.7.1/config/jail.conf fail2ban-0.7.1.modified/confi
|
||||||
+action = iptables
|
+action = iptables
|
||||||
+ mail[name=Apache, dest=root@localhost]
|
+ mail[name=Apache, dest=root@localhost]
|
||||||
+maxretry = 5
|
+maxretry = 5
|
||||||
bantime = 10
|
+bantime = 600
|
||||||
|
|
Loading…
Reference in New Issue