sasl-script-php
This commit is contained in:
30
notes/serveur/_files/fail2ban/etc/fail2ban/jail.local
Normal file
30
notes/serveur/_files/fail2ban/etc/fail2ban/jail.local
Normal file
@@ -0,0 +1,30 @@
|
||||
[pureftpd]
|
||||
enabled = true
|
||||
port = ftp
|
||||
filter = pure-ftpd
|
||||
logpath = /var/log/syslog
|
||||
maxretry = 3
|
||||
|
||||
[postfix-sasl]
|
||||
enabled = true
|
||||
mode = auth
|
||||
logpath = /var/log/mail.log
|
||||
maxretry = 2
|
||||
bantime = 432000 # 5 jours en secondes
|
||||
findtime = 86400 # 24 heures en secondes
|
||||
banaction = iptables-allports
|
||||
|
||||
[apache-fakegooglebot]
|
||||
enabled = true
|
||||
logpath = /var/www/clients/client1/www.abonnel.fr/log/access.log
|
||||
maxretry = 3
|
||||
bantime = 86400
|
||||
|
||||
|
||||
[sshd]
|
||||
enabled = true
|
||||
port = ssh
|
||||
logpath = %(sshd_log)s
|
||||
backend = %(sshd_backend)s
|
||||
bantime = 432000 # 5 jours en secondes
|
||||
maxretry = 3
|
||||
Reference in New Issue
Block a user