84669 人が学習中
152542 人が学習中
20005 人が学習中
5487 人が学習中
7821 人が学習中
359900 人が学習中
3350 人が学習中
180660 人が学習中
48569 人が学習中
18603 人が学習中
40936 人が学習中
1549 人が学習中
1183 人が学習中
32909 人が学習中
如题目,最近总有人攻击网站,除了扫描 就是频率很高的访问某个网站,把网站带宽都吃满了。之前考虑是从nginx入手,限制ip的访问频率,后来发现这样不是很好。经打听,运维同学告诉我要用iptables,但是我这里遇到2个难题。
跪求 大神指点
人生最曼妙的风景,竟是内心的淡定与从容!
1.有免费的cdn,可以避免直接搞到你服务器,比如百度免费加速器2.服务器上用fail2ban,对于扫描的直接进iptables
http://www.oschina.net/code/snippet_17_9265http://www.lvtao.net/tool/iptables-ddos-cc-shell.htmlhttp://www.baidu.com/s?ie=utf-8&f=8&rsv_bp=1&tn=baidu&...
http://outofmemory.cn/code-snippet/3381/nginx-block-ip
这个东西很多的哈。可以从iptables层面搞也可以从nginx层面搞。。
1.有免费的cdn,可以避免直接搞到你服务器,比如百度免费加速器
2.服务器上用fail2ban,对于扫描的直接进iptables
http://www.oschina.net/code/snippet_17_9265
http://www.lvtao.net/tool/iptables-ddos-cc-shell.html
http://www.baidu.com/s?ie=utf-8&f=8&rsv_bp=1&tn=baidu&...
http://outofmemory.cn/code-snippet/3381/nginx-block-ip
这个东西很多的哈。
可以从iptables层面搞
也可以从nginx层面搞。。