简单来介绍一下fail2ban的功能和特性 1、支持大量服务。如sshd,apache,qmail,proftpd,sasl等等 2、支持多种动作。如iptables,tcp-wrapper,shorewall(iptables第三方工具),mail notifications(邮件通知)等等。 3、...
分类:
其他好文 时间:
2014-07-21 10:32:13
阅读次数:
197
服务器被攻击,攻击情况如下,不断尝试破解密码:之前的环境:只通过hosts.allow和hosts.deny来限制IP登录,但是仍然出现以上问题。环境:服务器服务:devicotpostfixnginxtomcat处理方法:外网只能访问80端口,不能访问其他端口。执行方法:http://www.cnblogs.com/JemBai/arc..
分类:
Web程序 时间:
2014-06-27 06:21:37
阅读次数:
239
#!/usr/bin/envpython#coding:utf8#随机生成自定义长度密码fromrandomimportchoiceimportstring,pickledefGenPassword(length=8,chars=string.ascii_letters+string.digits):return‘‘.join([choice(chars)foriinrange(length)])defpasslist(r_user,c_user,ip_list,web_list):di..
分类:
编程语言 时间:
2014-05-13 01:25:56
阅读次数:
505