Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CONFIGURACION FAIL2BAN: archivo jail.conf
- [ssh-iptables]
- enabled = true
- filter = sshd
- action = iptables[name=SSH, port=1221, protocol=tcp]
- sendmail-whois[name=SSH, dest=xxxx@xxxx, sender=xxxxx@xxxxx]
- logpath = /var/log/sshd.log
- maxretry = 2
- [proftpd-iptables]
- enabled = true
- filter = proftpd
- action = iptables[name=ProFTPD, port=ftp, protocol=tcp]
- sendmail-whois[name=ProFTPD, dest=you@example.com]
- logpath = /var/log/proftpd/proftpd.log
- maxretry = 2
- [postfix-tcpwrapper]
- enabled = true
- filter = postfix
- action = hostsdeny[file=/not/a/standard/path/hosts.deny]
- sendmail[name=Postfix, dest=xxxx@xxxx]
- logpath = /var/log/postfix.log
- bantime = 15000
- [vsftpd-notification]
- enabled = true
- filter = vsftpd
- action = sendmail-whois[name=VSFTPD, dest=xxxx@xxxx]
- logpath = /var/log/vsftpd.log
- maxretry = 5
- bantime = 1800
- y esto es del dovecot
- [dovecot-pop3imap]
- enabled = true
- filter = dovecot-pop3imap
- action = iptables-multiport[name=dovecot-pop3imap, port="pop3,pop3s,imap,imaps", protocol=tcp]
- sendmail-whois[name=dovecot-pop3imap, dest=root, sender=xxxx@xxxx]
- logpath = /var/log/maillog
- maxretry = 2
- #findtime = 600
- bantime = 5200
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement