Follow Discord
Sweep 22 Sep 2026 · 17:19Z Build v2.1.280 501 read Stable v2.1.267 Latest v2.1.280 Next v2.1.280 Feeds RSS JSON llms.txt Unofficial
Claude Code v2.1.261 ·

Gateway proxy hardens X-Forwarded-For handling

The gateway server now denies requests with unparseable or unknown client IPs when access control is on.

TierYou'll noticehow much it should matter to you
Useful2my rating, 1 to 5
Signal2worth watching, 1 to 5
AreaElsewherewhat it touches
KindBug Fixesin v2.1.261,
You'll notice

The gateway server now denies requests with unparseable or unknown client IPs when access control is on.

The standalone claude gateway server now validates the X-Forwarded-For header from trusted proxies. If a trusted proxy sends a value that can't be parsed as an IP and access_control (allow/deny CIDRs) is configured, the request is denied with a 403 instead of silently falling back to the proxy's own address for rate limiting and audit purposes. Requests where the client IP can't be determined at all are now also explicitly denied (client_ip_unknown) when access control is active.

How sure we are
One source agreesOne thing we can check says the same as this entry.
Anthropic's release notes agreeFixed Claude apps gateway client IP when a trusted proxy appends a port to X-Forwarded-For; with an access list set, an unreadable entry now…

See this entry in the whole of v2.1.261 →

Feedback