Skip to content
Myra Online Help Updated · 21 Aug 2026

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.

example_match_asn_EN

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:8220 as the value.

example_match_asn_2_EN

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.