in the logs, I noticed that on my site there are hosts in which there is no user-agent header, it is equal to none.
How do I add this rule so that it also works for a user who does not have this header?
such a record blocks all ip
in the logs, I noticed that on my site there are hosts in which there is no user-agent header, it is equal to none.
How do I add this rule so that it also works for a user who does not have this header?
You used Contains instead of Equals. That might be it.
And if you have a Pro (or above account), it’s already available in the WAF:
thank you worked
Well…I expect it’s stopped blocking all IPs, but is it now blocking missing User Agent Strings?
yes that’s right, now if the user-agent == header is None, it blocks such a request, and if it misses the beginning of the line (Mozilla/5.0 (Windows NT 6.1…), it passes as successful
This topic was automatically closed after 31 days. New replies are no longer allowed.