mirror of
https://github.com/fail2ban/fail2ban.git
synced 2026-03-11 08:55:31 +00:00
adjusted the bantime to be 10min not 10sec
This commit is contained in:
parent
dae225330c
commit
4ba8572d7f
1 changed files with 4 additions and 3 deletions
7
debian/patches/X00_default_jails.dpatch
vendored
7
debian/patches/X00_default_jails.dpatch
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue