Ajouter 'fail2ban/jail.d/defaults-debian.conf'
This commit is contained in:
parent
71ac38e1b9
commit
7528557b5a
|
@ -0,0 +1,21 @@
|
|||
[DEFAULT]
|
||||
ignoreip = 127.0.0.1/8 138.201.173.72 159.69.34.42 195.201.35.125 5.9.101.98
|
||||
bantime = 3600
|
||||
findtime = 900
|
||||
destemail = admin@dryusdan.fr
|
||||
sender = fail2ban@dryusdan.fr
|
||||
action = %(action_mwl)s
|
||||
|
||||
[sshd]
|
||||
enabled = true
|
||||
bantime = 86400
|
||||
maxretry = 2
|
||||
|
||||
[nginx-http-auth]
|
||||
enabled = true
|
||||
|
||||
[nginx-botsearch]
|
||||
enabled = true
|
||||
bantime = 43200
|
||||
maxtry = 10
|
||||
logpath = %(nginx_access_log)s
|
Loading…
Reference in New Issue