Cloudflare vs zero useragent


#1

How to block zero useragent on cloudflare ?
On nginx: if (http_user_agent ~ '^’) { return 444;}


#2

AFAIK you cant to that (yet) on Cloudflare.


#3

It wouldn’t surprise me if you could do this with Cloudflare Workers.


#4

That you can probably do. I was referring to out of the box.


#5

Enable rule 100004 in the Cloudflare WAF Rule set.


#6

This topic was automatically closed after 14 days. New replies are no longer allowed.