This section describes how to configure CC attack protection rules.
With these rules, rate limiting policies are set based on the IP addresses, cookies, or Referer field to accurately identify and mitigate CC attacks.
In the upper part of the domain name list, click Quota details to view the domain name quota.
If you do not click Save after changing Status in Step 5, a Warning dialog box is displayed when you click Customize Rule.
In the upper part of the protection rule list, click Quota details to view the quota of protection rules.
Parameter |
Description |
Example Value |
---|---|---|
Path |
Part of the URL without the domain name.
NOTE:
|
/admin* |
Rate Limit Mode |
|
Per user |
User Identifier |
A cookie field that you need to set if Rate Limit Mode is Per user. This value supports exact match only and does not support regular expressions. If a website uses the name field in the cookie to uniquely identify a web visitor, enter name. If you do not set this value, WAF will automatically assign one. |
name |
Rate Limit |
Number of requests allowed from a web visitor in the rate limiting period. The visitor's access request is denied if the limit is reached. |
10 requests 60 seconds |
Protective Action |
Action to perform if the maximum number of requests is reached. Options are Verification code and Block.
|
Block |
Block Duration |
Time required for the page to be restored to normal state after being blocked |
600 seconds |
Block Page |
Error page displayed when the maximum number of requests has been reached. This parameter is set only when Protective Action is Block.
|
Customize |
Block Page Type |
If you select Customize for Block Page, select a type of the block page among options application/json, text/html, and text/xml. |
text/html |
Page Content |
If you select Customize for Block Page, set the content to be returned. |
<html><body>Forbidden</body></html> |