Matching Method | Description |
Equal to (in the list) | The matching content list contains the full string of the matching field, which is case-insensitive. The matching content can be configured with multiple values. When the matching field matches any value, the matching condition is satisfied. |
Not equal to (not in the list) | The matching content list does not contain the full string of the matching field , which is case-insensitive. The matching content can be configured with multiple values. When the matching field matches none of the values, the matching condition is satisfied. |
Include (keyword) | The matching field string contains any full string included in the matching content list, which is case-insensitive. The matching content can be configured with multiple values. When any value does not appear in the matching field, the matching condition is satisfied. |
Exclude (keyword) | The matching field string does not contain any full string included in the matching content list, which is case-insensitive. The matching content can be configured with multiple values. When all values do not appear in the matching field, the matching condition is satisfied. |
Wildcard matching | The matching content list contains a string for wildcard matching of the matching field, which is case-insensitive. The supported wildcard characters include: Asterisk * : Matches zero or multiple characters.Question mark ? : Matches one character.The matching content can be configured with multiple wildcard expressions. When the matching field matches any wildcard expression, the matching condition is satisfied. When the matching content does not contain a wildcard, exact matching is used to judge the matching field. |
Wildcard mismatch | The matching content list does not contain a string for wildcard matching of the matching field, which is case-insensitive. The supported wildcard characters include: Asterisk * : Matches zero or multiple characters.Question mark ? : Matches one character.The matching content can be configured with multiple wildcard expressions. When the matching field matches none of the wildcard expressions, the matching condition is satisfied. When the matching content does not contain a wildcard, exact matching is used to judge the matching field. |
Length greater than | The matching field exists and the data length (calculated by the number of characters in the string) is greater than the specified length. |
Length less than | The matching field exists and the data length (calculated by the number of characters in the string) is less than the specified length. |
Content is empty | The matching field exists and is an empty string. |
Not exist | The matching field does not exist. |
Regular expression matching | The matching field data can match the regular expression in the matching content . |
Match Condition options | Match Condition descriptions |
Request Client IP | Match the source IP address of the request. Supports matching based on Region, ASN, IP, and CIDR Block. When using Match , not match logical symbol options, you can match Client IP, CIDR Block, and IP grouping.A single match condition can configure up to 8 IP groupings. When using Region inclusion , Region exclusion logical symbol options, you can match the Region of the Client IP.When using ASN affiliation , ASN affiliation not equal to logical symbol options, you can match the BGP autonomous system number (ASN) to which the Client IP belongs. |
Request Client IP (Prioritize matching XFF Header) | When the request carries a valid XFF (X-Forwarded-For) Header, match the first IP in the XFF Header; otherwise, match the source IP address of the request. When using Match , not match logical symbol options, you can match Client IP, CIDR Block, and IP grouping.A single match condition can configure up to 8 IP groupings. When using Region inclusion , Region exclusion logical symbol options, you can match the Region of the Client IP.When using ASN affiliation , ASN affiliation not equal to logical symbol options, you can match the BGP autonomous system number (ASN) to which the Client IP belongs. |
Custom request header | Match the specified header of the request, providing additional parameter options to match the header value of a specific name. Case insensitive. Supports equal to, not equal to, include, exclude, wildcard matching, wildcard mismatch, length greater than, length less than, content is empty, no existing, regular expression match. |
Request URL | Match the request URL. For example: /example.html?region=cn . Case insensitive. Exclude Hostname Include URL query parameters Supports equal to, not equal to, include, exclude, wildcard matching, wildcard mismatch, length greater than, length less than, content is empty, no existing, regular expression match. |
Request Source (Referer Header) | Match the request's Referer header. Case insensitive. Supports equal to, not equal to, include, exclude, wildcard matching, wildcard mismatch, length greater than, length less than, content is empty, no existing, regular expression match. |
Request content type (Accept Header) | Match the request's Accept header. Case insensitive. Supports equal to, not equal to, include, exclude, wildcard matching, wildcard mismatch, length greater than, length less than, content is empty, no existing, regular expression match. |
Request Path | Match the request URL's path section. For example: /example.html or /api/v2/login. Hostname is not included. Query parameters are not included. Case insensitive. |
Request Method | Method for matching requests. Case insensitive. Supports multiple selections: GET, POST, HEAD, PUT, DELETE, TRACE, OPTIONS, CONNECT. |
Request Cookie | Matches specified request Cookie header parameter values. Cookie parameter name must be specified. Case insensitive. Supports equal to, not equal to, include, exclude, wildcard matching, wildcard mismatch, length greater than, length less than, content is empty, no existing, regular expression match. |
XFF extended headers | Match the request's XFF (X-Forwarded-For) header. Case insensitive. Supports equal to, not equal to, include, exclude, wildcard matching, wildcard mismatch, length greater than, length less than, content is empty, no existing, regular expression match. |
Network layer protocol | Match the type of IP protocol used in the request. Support multiple selections: IPv4, IPv6. |
Application layer protocol | Match the application layer protocol used in the request. Support multiple selections: HTTP, HTTPS. |
Response status code | Match the HTTP status code of the response. Only support rate limiting; configuration is supported when selecting based on response statistics. Supports matching up to 20 status codes simultaneously. |
Request body | Match the body of the request. Only supports matching the first 8 KB data of the request body. |
Was this page helpful?