Home > php教程 > php手册 > PHP实现恶意DDOS攻击避免带宽占用问题方法,恶意ddos

PHP实现恶意DDOS攻击避免带宽占用问题方法,恶意ddos

WBOY
Release: 2016-06-13 09:02:57
Original
1339 people have browsed it

PHP实现恶意DDOS攻击避免带宽占用问题方法,恶意ddos

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

处理办法是:

修改php.ini文件

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

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

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

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 Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template