---
title: "Google-Agent: How to Spot It in Logs and Not Block It"
description: "Google explained how to recognize Google-Agent requests: user agent, IP ranges, reverse DNS and Web Bot Auth. What to check in your firewall, WAF and logs."
date: 2026-11-23
category: SEO
tags: ["Google-Agent", "Google crawlers", "Web Bot Auth", "WAF", "Server logs"]
url: https://uper.pl/en/blog/google-agent-verification-firewall-web-bot-auth/
---

# Google-Agent in Your Server Logs How to tell the real Google agent from a bot pretending to be one

**Google-Agent** is the name of the traffic you see on your server when an AI agent running on Google infrastructure browses pages and performs actions at a user's request. Google described it in its crawlers and fetchers documentation, together with ways to verify it. The practical takeaway for a site owner: if your firewall or anti-bot system treats this traffic as suspicious, the agent can get blocked, and the person who started it gets no result.

## What Google-Agent is

In Google's documentation, Google-Agent sits on the list of **user-triggered fetchers**: tools started by a user inside a Google product. The description is short. Google-Agent is used by agents hosted on Google infrastructure to navigate the web and perform actions at the user's request.

Googlebot works differently: it collects pages for the index and always respects robots.txt during automatic crawls. Google-Agent runs when someone asked an agent to do something. The description says nothing about indexing, so I don't treat it as another ranking crawler.

The documentation also notes that user-triggered fetchers generally **ignore robots.txt rules**, because the request comes from a person's action. That makes robots.txt the wrong tool here. If you want to limit this traffic, you do it at the server, CDN or firewall level, and that requires telling real requests from fake ones.

## How to recognize genuine Google-Agent requests

Google gives several layers of verification. None of them is new to anyone who has verified Googlebot, but agents have their own address ranges.

### User agent

The documentation lists two strings, for mobile and desktop. Both contain `compatible; Google-Agent; +https://developers.google.com/crawling/docs/crawlers-fetchers/google-agent`, and the Chrome version is written as `W.X.Y.Z`, which means it changes over time. In filtering rules it is better to match the name `Google-Agent` than the whole string.

Google warns explicitly that the **user agent can be spoofed**. The header alone proves nothing.

### IP ranges and reverse DNS

Google-Agent uses addresses published in the `user-triggered-agents.json` file, one of several range files (in CIDR format). If your firewall supports address lists, you can feed them into an allow rule and refresh it regularly, since the file carries a `creationTime` field.

The second method is manual DNS verification. For user-triggered fetchers, the reverse DNS mask is `google-proxy-***-***-***-***.google.com` or `***-***-***-***.gae.googleusercontent.com`, depending on whether the fetcher is owned by Google or by a user. The procedure is the same as for Googlebot: reverse lookup of the log address, a check of the domain (googlebot.com, google.com or googleusercontent.com), then a forward lookup and a comparison with the original address.

### Web Bot Auth

The new part is **Web Bot Auth**, an experimental protocol based on an IETF draft. Instead of relying on headers and IP addresses, the agent signs its requests cryptographically. Google is testing it with some AI agents and uses the identity `https://agent.bot.goog`.

If you verify signatures yourself, the procedure in the documentation goes like this:

1. Fetch the public key set from `https://agent.bot.goog/.well-known/http-message-signatures-directory` and cache it according to the Cache-Control header. Remove cached keys that are no longer in the file.
2. Look for a `Signature-Agent` header set to `g="https://agent.bot.goog"`.
3. Verify the `Signature` header against `Signature-Input`, following the HTTP Message Signatures standard (RFC 9421), using the entries labeled `g`.
4. Keep IP-based verification as a fallback.

Don't skip that fourth point, because Google states that it **does not sign every request** and that not all of its user agents use the protocol. Only part of the Google-Agent traffic is signed. A rule that says "allow only signed requests" would block some legitimate ones.

For slow or latency-sensitive endpoints, the documentation allows responding before validation finishes: you check the signature within its validity window and apply the outcome to the caller's later requests. A signature's expiry window is not the same as the Cache-Control time of the key set, so the two need to be checked separately.

## What this changes in practice

I don't have data on how much Google-Agent traffic reaches a typical site, and Google gives no such numbers in the documentation. For now a short review is enough.

- **Logs.** Search your server or CDN logs for `Google-Agent` and check which response codes this traffic gets. A run of 403 or 429 responses means something is blocking it. Behind a CDN the server log alone is not enough, as I explain below.
- **WAF and anti-bot system.** Check whether your provider has a ready-made rule or category for Google-Agent. The documentation says major bot-detection services, CDNs and WAFs support Web Bot Auth, and some let you look up the user agent and add it to an allow list. The details depend on the provider.
- **User-agent-only rules.** Since the header can be spoofed, allowing traffic on that basis alone opens a door for impersonating bots. Combine it with the IP address or the signature.
- **Rate limiting.** An agent doing a user's task can send several requests in a short time. Limits that are too aggressive can cut it off mid-task.
- **Gated content and forms.** Since the agent is meant to "perform actions", it may reach forms and carts. Make sure important operations have normal protection in the application itself, regardless of who triggers them.

If you are sorting out bots more broadly, see my article on the [difference between AI crawlers and search crawlers](/en/blog/ai-crawlers-vs-search-crawlers/) and the one on [how a CDN change affects Googlebot](/en/blog/moving-to-cdn-googlebot/).

## Logs in practice: Knock, knock, AI! and traffic behind Cloudflare

To review logs for bots I use **[Knock, knock, AI!](https://knockknock-ai.app/)**, a free app by Maciej Chmurkowski. It is one PHP folder (PHP 8.2 or newer, no database) that you upload to your own server. It reads Apache and nginx logs, and the data stays with you. It works well for me on WordPress, Laravel and other PHP sites, and I run it on uper.pl too.

The app shows which bots fetched which URLs, and while doing so it does what I described above: it compares the IP address from the log with the list the bot's operator publishes. It also has a separate errors view. After loading my own logs I saw 404s on old JS files from previous builds straight away. In the bot breakdown, GPTBot was almost level with Bingbot on my sites.

### Behind Cloudflare the server log shows only part of the traffic

One caveat applies to every tool that reads `access.log`, not just this app. If the domain sits behind Cloudflare, the hosting log holds only the requests passed on to the server. I compared two of my domains over the same period:

| Domain | Requests in Cloudflare | Lines in the server log | Share that reached the server |
|--------|------------------------|-------------------------|-------------------------------|
| A | approx. 100k | approx. 21.5k | approx. 21% |
| B | approx. 4k | approx. 1.5k | approx. 38% |

Taken together, Cloudflare handled roughly three quarters of the requests itself, mostly from cache. A bot that got the page from cache leaves no line in `access.log`, so a tool built on that file will not see it. The app's author says so plainly in the documentation: Cloudflare blocks and answers served from cache never reach the server.

For Google-Agent this means three things:

- **No entries in the server log prove nothing.** The agent may have got the page from cache and visited many times.
- **Blocks at the edge are invisible too.** If the 403 comes from the Cloudflare WAF, `access.log` will hold no trace of it. Look for it in the firewall events in the CDN dashboard.
- **The IP address in the log must belong to the visitor.** When the server logs the proxy address instead of the client's, verification by IP ranges will not work and real bots look unconfirmed.

I still plan to test a setup with a Worker that records requests on the Cloudflare side, before the cache answers.

## Limitations and unknowns

- Web Bot Auth is still an IETF draft specification and may change. Google calls its implementation experimental.
- The documentation does not say which Google products use Google-Agent, beyond the general description "agents hosted on Google infrastructure".
- The fetcher list is not exhaustive. Google says it only shows the ones that most often appear in logs.
- IP ranges can change, so a hardcoded list will go stale quickly.

## Summary

Google-Agent is traffic from AI agents acting on a user's behalf, not an indexing crawler. You recognize it by its user agent, addresses from `user-triggered-agents.json`, reverse DNS and, in some cases, a Web Bot Auth signature. No single method is enough: the header can be spoofed, and the signature is not added to every request. The sensible approach is to combine IP and signature, then check the logs to see whether your firewall is sending agents away with a 403. Behind Cloudflare, look at the CDN data as well, because the server log shows only part of the requests.

## Sources
