PHP实现恶意DDOS攻击避免带宽占用问题方法_php技巧

WBOY
Release: 2016-05-16 20:14:54
Original
1434 people have browsed it

使用PHP代码实现的DDOS攻击会导致带宽被占用,变成卡B。

处理办法是:

修改php.ini文件

1) "disable_functions"改成gzinflate,默认是放空
2) ”allow_url_fopen“设为Off
3) php_sockets.dll 把这个模块打开

重启下服务,一般可以抵御掉DDOS攻击。

实在还不行的话,通过IP策略、防火墙等手段阻止恶意攻击。

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template