nginx - Tens of millions of requests to a php from different IPs, is this a CC attack? How to prevent it?
世界只因有你
世界只因有你 2017-05-16 17:16:21
0
2
436

As the title says, static files can be accessed normally, but PHP is unresponsive
Looking at the nginx log, the same PHP URL is being requested in large numbers. Currently, there are 5 load balancers handling it, each of which receives millions of requests every day. , and the IP addresses are all different.
For the time being, we can only manually block the requested URL in the nginx configuration, but if the attacker changes the address, he will have to manually reconfigure it. Is there any good way to automatically prevent and block this attack?

世界只因有你
世界只因有你

reply all (2)
我想大声告诉你

Visual inspection requires purchasing safety protection. The questioner can take a look at Alibaba Cloud's Cloud Shield and Tencent Cloud's Dayu.
Hardware protection, never touched...

    洪涛

    If just accessing it is not a real CC attack, a real CC attack also requires these hosts to request this page repeatedly and at very short intervals, which constitutes a DDOS. As for protection, it is best not to do protection in the web server or script program (even if you do, you can only do simple protection), because this is not much less than the resources consumed by processing the page. This kind of attack is best protected by a specialized firewall program, so that it can be effective and efficient.

      Latest Downloads
      More>
      Web Effects
      Website Source Code
      Website Materials
      Front End Template
      About us Disclaimer Sitemap
      php.cn:Public welfare online PHP training,Help PHP learners grow quickly!