Files
inbuxa-server/crates/http
jcoffey-dev 1954198fe8 HTTP: believe forwarding headers only from trusted proxies
The client address came from the left-most X-Forwarded-For or Forwarded
entry, which the client writes itself, so a banned or rate-limited client
behind a proxy could pick any address. Headers are now read only when the
connection comes from a trusted proxy, and the client is the right-most
hop no trusted proxy accounts for.

Trusted by default: loopback and the private ranges. INBUXA_HTTP_TRUSTED_PROXIES
replaces that list. A direct client's headers are ignored, and scanner bans
apply to it even with forwarding on.
2026-10-27 23:59:12 -07:00
..
2026-10-18 13:53:24 -07:00