Why Cloudflare rule order matters?

(brzozowski.io)

60 points | by redfr0g 3 days ago

4 comments

  • 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.
    • goalieca 22 minutes ago
      The cloudflare UX / dashboard / terraform docs are lacking in precision. I've tried to clarify on a few occasions with customer support and gotten different (very incorrect) answers from different staff. Added bonus is that the chat for support is broken (at least on firefox).
    • da02 2 hours ago
      What is the most stressful part of your job? Crazy customers or CEOs?
      • PedroBatista 1 hour 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”..
        • r_lee 38 minutes ago
          please explain for the non-Flarers or whatever?
  • yellow_lead 2 hours 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 2 hours ago
      I like Cloudflare's products, the their vibe for all of their documentation is "well the user will figure it out."
  • weird-eye-issue 4 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 4 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 2 hours 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.