Automatic L7 CC Protection
Last updated
Last updated
CC Attack (Challenge Collapsar) is a type of Distributed Denial-of-Service (DDoS) attack that aims to overwhelm a website or online service with a flood of legitimate-looking requests in an attempt to exceed the website's capacity to handle multiple requests and prevent legitimate users from accessing the service.
To counter this threat, Asians Cloud Content Delivery Network (CDN) features a security mechanism: Automatic CC Protection.
This feature enables the automatic detection and blockade of CC attacks, protecting the Customer's domains.
The Automatic CC Protection feature has the capability to automatically identify the presence of a CC attack. The detailed working is described in section 4.
Upon detecting a CC attack, the system blocks the IP addresses responsible for the attack.
The IP addresses identified as sources of the CC attack will be blocked for a predetermined duration, which can be set by the customer in the Asians Cloud CDN’s Security settings.
Access the Asians Cloud CDN Console.
Select the domain on which to apply the automatic protection. Choose the "Edit" option.
In the pop-up window that appears, switch to the "Advanced Configuration" tab. (see point 1)
Select "L7 Ban" from the left-hand side (see point 2)
Toggle the switch to "On" state, and enter the desired duration for which to block the attackers (see point 3, 4).
Click on the "Save" button to apply the setting (see point 5).
The CDN's system continuously monitors the access statistics every 5 minutes
It counts all the page views on the domain from various IPs
If the web page requests are more than 220,000 in the previous 5 minutes, then it is classified as an attack, and top two attackers' IP addresses (sending the maximum number of requests) are banned.
Note: It only blocks the top 2 IPs to prevent false bans.
Once the attack has been detected, the CDN system blocks the attacking IPs in the protection layer. When an IP has been blocked by the CC protection, they will get a HTTP 406 response, and they will see a message "Your IP address is not allowed"
If by chance a legitimate IP gets blocked, the following steps can be taken to whitelist it:
Access the Asians Cloud CDN Console.
Select the domain on which to whitelist the IP. Choose the "Edit" option.
Select "IP Restriction" from the left-hand side (see point 2)
Toggle the switch to "On" state if not already enabled (see point 3)
Add the legitimate IP address in the text box under the "Allow" section (see point 4)
Click on "Add" button (see point 5)
Click on the "Save" button to apply the setting (see point 6)
Note: For whitelisting one or more legitimate IP in multiple domains, please reach out to Asians Cloud customer support to include the IPs in the account-wide (CNAME level) whitelist.