All spotlights

Product spotlight · March 2025

Block whole networks by ASN and see them in your WAF logs

The Quant WAF protects the routes behind your proxy rules, and since October 2024 it can block whole networks by ASN and show the ASN of each logged request.

Updated Web application firewall For government and enterprise

What changed in October 2024

The October 2024 changelog has the full details.

  • Block traffic by ASN October 2024

    You can now block whole networks by Autonomous System Number (ASN). In the WAF settings of a proxy rule, search for an ASN by number to see the network's description. Then add it to the new block list, alongside the IP address, user agent and referer blocks.

  • ASN details in the WAF log October 2024

    The WAF log now shows the ASN of each logged request. Hover over an ASN to see the network's handle and description. Requests from before this change show the ASN as Unknown.

  • IP lookup from the log October 2024

    Select an IP address in the WAF log to open it in the Quant IP address lookup tool.

Who it is for

  • Security teams

    Block a whole network with one ASN entry when the traffic you want to stop comes from many of its IP addresses.

  • Security analysts

    See the network behind each request in the WAF log, and open any logged IP address in the IP address lookup tool.

  • Public sector web teams

    Keep ASN blocks next to the IP address, user agent and referer blocks in the WAF settings of each proxy rule.

What it does

The Quant web application firewall (WAF) checks requests to your site at the edge. You turn it on in the WAF settings of a proxy rule. Each proxy rule has its own WAF settings.

The WAF settings of a proxy rule include:

  • Block lists for IP addresses, user agents and referers.
  • Block dictionaries. For example, “Block AI crawlers and bots” blocks the known crawlers that large AI platforms use to collect training data. Quant maintains that list centrally.

The WAF can also rate-limit clients that repeatedly trigger WAF rules (WAF hit rate limiting). You can replace the pages that the WAF serves for block and rate-limit responses with your own. Publish them at the _quant_waf_403 and _quant_waf_429 routes. The WAF logs have a type filter, so you can show only the AI crawler blocks or only the rate-limited requests.

The last spotlight for the WAF was the July 2024 post. Since then, the only WAF changes are in the October 2024 changelog. The changelogs for November 2024 to March 2025 have no WAF entries.

How it works

Blocking by ASN

An Autonomous System Number (ASN) identifies a whole network, not one address. One network can use many IP addresses. When unwanted traffic comes from many addresses in one network, one ASN entry blocks the network.

To add a block, open the WAF settings of a proxy rule and search for the ASN by number. The settings show the network’s description, so you can check that you have the correct network. Then add the ASN to the block list. The ASN block list is alongside the IP address, user agent and referer blocks.

Add the ASN to each proxy rule whose routes you want to protect from that network.

ASN details in the WAF log

Since October 2024, the WAF log shows the ASN of each logged request. Hover over an ASN to see the network’s handle and description. Requests that the WAF logged before this change show the ASN as Unknown.

To find out more about one address, select an IP address in the log. It opens in the Quant IP address lookup tool.

You can use the log and the block list together. Review the WAF log, find the network that sends the traffic you do not want, check its details, and then add its ASN to the block list.

Get started

  1. Open the WAF settings

    Open the WAF settings of a proxy rule in your project.

  2. Find the network

    Search for the ASN by number to see the network's description.

  3. Block the ASN

    Add the ASN to the block list, next to the IP, user agent and referer blocks.

  4. Review the WAF log

    Hover over the ASN of a logged request to see its handle and description.

  5. Look up an IP address

    Select an IP address in the WAF log to open it in the IP address lookup tool.

Related: Explore Web application firewall · March 2025 changelog

Ready to try it on Quant?

Use the web application firewall on your own project, or talk to our team first.