I'm afraid these people use cc to attack my website, so I will share how to prevent anti-cc deployment in this article.
At noon today I found someone trying to crawl my website information, but his attack was blocked. Still, I am very angry.
CC (ChallengeCollapsar, challenge black hole) attack is a type of DDoS attack, using a proxy server to send a large number of seemingly legitimate requests to the victim server. CC is named after its tools. Attackers use proxy mechanisms to launch DDoS attacks using a number of widely available free proxy servers. Many free proxy servers support anonymous mode, which makes tracking very difficult.
First we open the firewall settings of couldflare, and then add a firewall rule.
The above picture means: When the threat value of the IP reaches more than 2 points, and it is not a known crawler, it will use a verification code to intercept the access.
Of course, you can also enhance your firewall with a very simple method, as shown in the following figure.
After setting I'm under attack, other people will automatically verify for 5 seconds when they visit your website again. CC attacks usually use a program to initiate a request directly and instantaneously, and do not wait for 5 seconds, and use a normal browser, so it can help filter out a large number of abnormal access requests to prevent CC attacks.
However, you must believe me! Don't use the second method! I don't want to explain too much! You will crash!