Захист SSH
Версія від 12:15, 23 квітня 2009, створена 91.124.24.89 (обговорення) (Created page with 'Для CentOS ставимо з RPMforge пакет fail2ban yum install fail2ban В конфігу /etc/fail2ban/jail.conf: [ssh-iptables] enabled = true filter ...')
Для CentOS ставимо з RPMforge пакет fail2ban
yum install fail2ban
В конфігу /etc/fail2ban/jail.conf:
[ssh-iptables] enabled = true filter = sshd action = iptables[name=SSH, port=ssh, protocol=tcp] # sendmail-whois[name=SSH, [email protected], [email protected]] logpath = /var/log/secure maxretry = 3