Commit Graph
1 Commits
Author SHA1 Message Date
sneak 51d9d774fd Honour forwarded headers only from trusted proxies (closes #259)
check / check (push) Failing after 6s
A new ClientIP middleware sets request.RemoteAddr to the client's
address before the request is logged. X-Forwarded-For and X-Real-IP
count only when the peer is in TRUSTED_PROXIES, which defaults to the
RFC 1918 ranges. The login rate limit, the session's IP address and
hostname, and the request log all use that address.

Model: opus-5-5
2026-11-10 19:57:27 +00:00