New — Iris AI drafts your firewall, routing & rate-limit rules. Explore AI features →
Changelog
Security

See the network behind each visitor, and write rules on it

Security Analytics names the networks your visitors come from, any traffic rule can match a network with req.asn, and load-test tools now count as automation.

See the network behind each visitor, and write rules on it

Security Analytics ranked the networks your traffic came from, but it showed each one as a bare number, such as AS64501, so you had to look up who it was. And a traffic rule could check a visitor's path, headers and bot score, but not the network they came from.

Now each network shows its name, and every traffic rule can match it. Above is the Top ASNs panel of Acme Labs' Security Analytics on November 8: its visitors come from broadband and mobile networks, and the two hosting networks at the bottom send little, nearly all of it blocked.

The Edit Rule dialog of the rate limit Example Cloud on checkout: condition req.asn == "AS64501" && req.path.startsWith("/v1/checkout"), 10 requests per 60-second window, per IP address
Maya gives the one network that keeps hitting her checkout API 10 requests a minute per IP there. Everyone else keeps the endpoint's 100 a minute.

What changed

  • Network names. The Top ASNs panel in Security Analytics shows each network's number and name, AS64501 Example Cloud, where it showed the number alone.
  • The visitor's network in your rules. Firewall policies could already block a whole network. Now any traffic rule can use it in its condition: req.asn == "AS64501". It's written the way the firewall writes networks, it's empty when the network isn't known, and it combines with everything else a condition reads: the path, headers and bot score.
  • Load-test tools count as automation. k6, ApacheBench, Siege, Artillery and fasthttp, with their default user agents, now score like curl. With Challenge only suspicious visitors on, they get a 403 without a check, and rules on req.bot_class == "automation" match them. To load-test your own endpoint behind a challenge, let your test machine through with the challenge rule's Allowed IPs.

Get started

  1. Open Security Analytics and look at Top ASNs: the networks your traffic comes from, and how much of each was blocked.
  2. Open an endpoint's Endpoint Settings → Traffic Policy and click Add Rule next to on_http_request.
  3. Choose a rule, for example Rate Limit, and set its Condition: req.asn == "AS64501" && req.path.startsWith("/v1/checkout").
  4. Load-testing an endpoint that challenges visitors? On the same tab, edit the Challenge rule and add your test machine's IP under Allowed IPs.

Read the docs

Ask an AI to summarise this page
Deploy
App hosting Edge functions Domains & certificates
Connect
Secure tunnels API gateway Multi-region edge
Protect
Bot protection & challenge WAF & firewall Edge login
Observe & AI
Monitoring Inspector & replay Iris AI MCP server AI Gateway
Developers
Developer tools Docs ngrok policy converter Blog Changelog
Compare
Ngris vs ngrok Ngris vs Cloudflare Tunnel Ngris vs Vercel Ngris vs Netlify Expose localhost guide
More
Solutions Pricing Enterprise Sign in Get Started Free