Why Cloudflare rule order matters?

(brzozowski.io)

49 points | by redfr0g 3 days ago

4 comments

  • yellow_lead 1 hour ago
    It's a failing on the part of Cloudflare to have used rules so many times and not realize this important detail.

    It's not expressed anywhere in the UI, so at some point someone really just said "well the user will figure it out."

    • John23832 1 hour ago
      I like Cloudflare's products, the their vibe for all of their documentation is "well the user will figure it out."
  • flarite 2 days ago
    Interesting, I never really knew setting Action to "Managed challenge" would be equivalent to skipping all the remaining rules and this is coming from someone who is managing multiple Enterprise Cloudflare accounts for the past couple of years. Thanks.
    • da02 1 hour ago
      What is the most stressful part of your job? Crazy customers or CEOs?
      • PedroBatista 16 minutes ago
        I would say customers, but have you met the guy or read his shenanigans on the new or grapevine? Jesus f’ing Christ what a “peach”..
  • weird-eye-issue 3 hours ago
    > In other way this seems to be intended behavior even though Cloudflare dashboard is straight lying to you by saying that Block rule will execute after Challenge action:

    > Above statement is not true, as the rule will never be evaluated after “Force bot detection” rule.

    Actually what you are saying is not true because the rule is evaluated after your previous rule just like it says, only as long as it was not a terminating action which is documented. Just because you created two conflicting rules in the incorrect order does not mean that their UI text is incorrect or lying to you.

    • redfr0g 3 hours ago
      I think "as long as it was not a terminating action" is crucial here. The way how Cloudflare dashboard is designed right now may put you in false sense of security by implying that all rules will be evaluated one after another. In my opinion, they could do a better job UI-wise on highlighting, that a terminating action will result in skipping all subsequent rules.
    • philipallstar 52 minutes ago
      The dashboard is lying, though. Just because somewhere else there are some words saying that this won't work doesn't mean the dashboard is telling the truth.