摘要: 如果有恶意IP不断访问服务器,那么将有可能导致服务器CPU等资源用尽,解决办法是开启防火墙IPTABLES并将该恶意IP屏蔽。方法如下:开启防火墙:#chkconfig iptables on开启常用端口#vi /etc/sysconfig/iptables-A VZ_INPUT -p tcp -m tcp –dport 21 -j ACCEPT-A VZ_INPUT -p udp -m udp –dport 21 -j ACCEPT-A VZ_INPUT -p tcp -m tcp –sport 80 –dport 80 -j ACCEPT-A VZ_INPUT -p udp -m udp 阅读全文
posted @ 2011-03-22 11:18 luoine 阅读(1799) 评论(0) 推荐(0) 编辑