Match Types (Rate Limiting)

Rate Limiting supports the following match types:

Match Type

Scope

Match Condition

Exact match (multiple entries) - (EM)

Wildcard match (GLOB)

 

Regex match (REGEX)

 

This article assumes that the Negative match option has been disabled.

Exact Match (Multiple Entries) - (EM)

This match type is satisfied when a request's attribute (e.g., hostname, URL path, IP address, etc.), as determined by a scope or match condition, is an exact match to at least one of the specified values. This comparison is case-sensitive.

Sample Configuration:

cat

bat

Matches:

cat

bat

Does Not Match:

Cat

Bat

orca time

magic attack

Category

Moscato

Batch

Wildcard Match (GLOB)

This match type is satisfied when a request's hostname or URL path, as determined by a scope condition, matches the specified case-sensitive pattern. The supported set of wildcards are listed below.

Wildcard Description

Example

Matches

Does Not Match

*

Matches zero or more characters.

cat*

cat

category

muscat

cAt

Category

orca time

?

Matches a single character.

cat?

cats

muscats

Cats

cat

[abc]

Matches a single character defined within the brackets.

[cm]art

cart

mart

tart

start

[a-z]

Matches a single character from the specified range.

[a-z]art

cart

mart

tart

Cart

marT

start

[!abc]

Matches a single character that is not defined within the brackets.

[!cm]art

Cart

Mart

tart

cart

mart

tArt

[!a-z]

Matches a single character that is excluded from the specified range.

[!a-m]art

Cart

Mart

tart

cart

mart

tArt

Regex Match (REGEX)

This match type is satisfied when a request's hostname or URL path, as determined by a scope condition, matches the pattern defined in the regular expression.

Regular expressions are case-sensitive.

Sample Configuration:

^[a-zA-Z0-9]*$

Matches:

cat

CAT7

Category

Does Not Match:

CAT 7

Category 7

Cat#7