Expand description
Trusted reverse-proxy CIDR matching and RFC 7239 Forwarded / X-Forwarded-*
client resolution (governed by serve-operations.sot.md SO-PRX-1).
Forwarding headers are honored only when the TCP peer address belongs to a configured trusted proxy CIDR. Untrusted peers cannot spoof client IP, scheme, or host.
Structs§
- Resolved
Client - Client identity resolved from TCP peer and (when trusted) proxy headers.
- Trusted
Proxy Config - Configured set of trusted reverse proxies.
Enums§
- IpCidr
- A single IPv4 or IPv6 CIDR network range.
Functions§
- resolve_
client - Resolve effective client IP, scheme, and host from TCP
peer_ipand requestheaders(ASCII-lowercase keys).