DuckDuckBot not completely in

My firewall rule sometimes blocks DuckDuckBot, but I’m unable to understand why.
The rule expression is:
http.request.uri.path contains ".jpg" and not (http.referer contains "" or
With Block as action.

(My website name is replaced with
The goal of this rule is to disable hotlinking of images except for, by checking if the HTTP referer field contains my domain. Also, the rule should allow CF verified bots to access the images without the need to provide the referer field.

The CF log shows the following entry is blocked:

  "action": "block",
  "clientASNDescription": "MICROSOFT-CORP-MSN-AS-BLOCK",
  "clientAsn": "8075",
  "clientCountryName": "US",
  "clientIP": "",
  "clientRequestHTTPHost": "",
  "clientRequestHTTPMethodName": "GET",
  "clientRequestHTTPProtocol": "HTTP/1.1",
  "clientRequestPath": "product.jpg",
  "clientRequestQuery": "",
  "datetime": "2022-05-07T16:30:36Z",
  "rayName": *************,
  "ruleId": *************,
  "rulesetId": "",
  "source": "firewallrules",
  "userAgent": "DuckDuckBot/1.1; (+",
  "matchIndex": 0,
  "metadata": [
      "key": "filter",
      "value": **********
      "key": "type",
      "value": "customer"
  "sampleInterval": 1

But in my understanding, it shouldn’t be blocked, because DuckDuckBot should be a verified bot, according to So not ( should result in false, so the rule expression should be false, and thus should not match, but according to the log, it does match, which means that the DuckDuckBot is not seen as a verified bot.

Also, my web server log does show that some HTTP requests by DuckDuckBot do reach the server, but under a different IP-address, such as,,,, These are all Microsoft IP-addresses.

DuckDuckGo officially lists the following IP-address for DuckDuckBot:

These are again Microsoft addresses. DuckDuckGo probably uses Bingbot, but it seems that DuckDuckGo failed to specify all their IP-addresses on that DuckDuckGo bot page.

What could be the reason that my CF rule blocked the DuckDuckGo request?
Maybe the verified bot mechanism of CF doesn’t take all IP-addresses of DuckDuckBot into account?

Does anybody know why the request is blocked?
Or how the value is calculated for DuckDuckBot?

Well, if it isn’t in the IP addresses listed by the owners of the bot then I’d fully expect it to be blocked.

As per, one of the options is:

Send us a list of IP addresses used by your bot. This doesn’t have to be a static list — you can give us a dynamic page that changes — just provide us with the URL, and we’ll fetch updates every day. These IPs must be publicly documented and exclusive to your bot. If you provide a shared IP address (like one used by a proxy service), our systems will detect risk and refuse to cooperate. We want to avoid accidentally allowing other traffic.

Allowing unspecified IPs opens up your website to anyone who just spoofs a User-Agent which is trivial.

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