Files
tailscale/k8s-operator/api-proxy
chaosinthecrd 85cbfeef38 k8s-operator/api-proxy: only use the remote address for WhoIs
whoIs fell back to the X-Forwarded-For header when WhoIs on the request's
remote address failed (only when serving over plain HTTP, as cmd/k8s-proxy
does). That header comes from the client, so the identity could come from
the request instead of the connection. This fixes this by removing the
fallback, so whoIs only uses the connection's remote address. It also asks
for TCP only, as the proxy only serves TCP, so a miss does not also try UDP.

Updates tailscale/corp#51000

Thank you Emilio Mendoza @a3l6 for reporting

Signed-off-by: chaosinthecrd <[email protected]>
2026-11-12 17:21:23 +00:00
..