Firewall Rule not Working as Expected

Maybe someone sees my Error here.
I have a Firewall Rule like this:

“( eq “” and http.user_agent ne " Dart/2.18 (dart:io)”) or (http.user_agent ne “VLC/ LibVLC/”)"

The Action is Block.
How i Understand the Rule, Cloudflare should look if the Hostname is exactly “”. When it is it should check if the User-Agent does not equal “Dart/2.18 (dart:io)” or “VLC/ LibVLC/” and when this is the Case it should block. When the User Agent is one of the Both Mentioned it should allow the Request.

The Rule doesnt work. But the Bigger Problem here is that Cloudflare also Blocks the Traffic for all other Subdomains.

Someone has an Idee what my Error is?

You’ve misplaced the OR logical operator.

Try instead AND ne ua1 AND NE ua2. Firewall will only block if the 3 conditions are met, so if you use any of these two UAs, you will not be blocked.

Use OR when you have specific UAs to block.


That works, thanks!


A post was split to a new topic: Firewall Rule to block bots from radio station

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.