CentOS 防SSHD VSFTPD暴力破解

官网:

http://denyhosts.sourceforge.net/



CentOS 6.x

rpm -Uvh http://mirror.metrocast.net/fedora/epel/6/i386/epel-release-6-8.noarch.rpm
yum -y install denyhosts

CentOS 5.x

rpm -Uvh http://mirror.metrocast.net/fedora/epel/5/i386/epel-release-5-4.noarch.rpm
yum -y install denyhosts


安装之后的配置

1. 随机器自动启动

chkconfig --add denyhosts
chkconfig denyhosts on

2. 配置denyhosts

vi /etc/denyhosts.conf
修改有入侵请求时发送邮件的对象



扩展阅读

http://www.ppkj.net/2011/08/24/%E4%BD%BF%E7%94%A8denyhosts%E7%A6%81%E6%AD%A2%E9%92%88%E5%AF%B9linux-sshd%E7%9A%84%E6%9A%B4%E5%8A%9B%E7%A0%B4%E8%A7%A3/

http://stevejenkins.com/blog/2010/11/how-to-install-denyhosts-to-block-ssh-attacks-on-rhel-6-centos-5-5-fedora-14/

http://www.opsers.org/linux-home/security/scripts-to-prevent-brute-force-ssh-and-vsftpd.html

你可能感兴趣的:(CentOS 防SSHD VSFTPD暴力破解)