Matching the ASN¶
A WAF rule with the Fingerprint condition allows you to match requests based on the source ASN (autonomous system). The source ASN is evaluated via the src: prefix. This allows you to specifically block or allow traffic from specific source ASNs.
Condition: Match a single ASN
For example, proceed as follows to match a single ASN:
- ► Select Request as the request method.
- ► Add the Fingerprint condition.
- ► Select the EXACT operator from the drop-down list.
- ► Enter
src:8220as the value.
Condition: Match multiple ASNs via REGEX
For example, proceed as follows to match multiple ASNs:
- ► Select Request as the request method.
- ► Add the Fingerprint condition.
- ► Select the REGEX operator from the drop-down list.
- ► Enter
src:(35244|8220)as the value.

