Skip to content

Instantly share code, notes, and snippets.

@pstoute
Created April 17, 2025 19:14
Show Gist options
  • Save pstoute/ee1c03ab2f387bdabef56986bd7f0939 to your computer and use it in GitHub Desktop.
Save pstoute/ee1c03ab2f387bdabef56986bd7f0939 to your computer and use it in GitHub Desktop.
Cloudflare WAF - Challenge Large Providers / Country
(ip.geoip.asnum in {7224 16509 14618 15169 8075 396982} and not cf.client.bot and not cf.verified_bot_category in {"Search Engine Crawler" "Search Engine Optimization" "Monitoring & Analytics" "Advertising & Marketing" "Page Preview" "Academic Research" "Security" "Accessibility" "Webhooks" "Feed Fetcher" "Aggregator"}) or (not ip.geoip.country in {"CA" "US"} and not cf.client.bot and not cf.verified_bot_category in {"Search Engine Crawler" "Search Engine Optimization" "Monitoring & Analytics" "Advertising & Marketing" "Page Preview" "Academic Research" "Security" "Accessibility" "Webhooks" "Feed Fetcher" "Aggregator"} and not http.request.uri.path contains "acme-challenge")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment