GRI-1817: read the client IP behind the trusted proxy #73

Merged
vivy merged 1 commit from feature/GRI-1817-client-ip into dev 2026-11-08 05:02:00 +00:00
Member

GRI-1817: read the client IP behind the trusted proxy

Add a pure TrustedProxies module that resolves the real client from the TCP peer plus the forwarded list, reading right-to-left and stopping at the first untrusted hop. Reuses admission::IpRange for the trusted ranges and accepts spaces, IPv6 brackets, ports and IPv4-mapped entries.

GRI-1817: read the client IP behind the trusted proxy Add a pure `TrustedProxies` module that resolves the real client from the TCP peer plus the forwarded list, reading right-to-left and stopping at the first untrusted hop. Reuses `admission::IpRange` for the trusted ranges and accepts spaces, IPv6 brackets, ports and IPv4-mapped entries.
GRI-1817: read the client IP behind the trusted proxy
Some checks failed
CI / the pre-push hook (pull_request) Successful in 7s
CI / cargo fmt (pull_request) Successful in 9s
CI / cargo deny (pull_request) Successful in 1m26s
CI / cargo deny advisories (pull_request) Failing after 1m24s
CI / repository boundary (pull_request) Successful in 5s
CI / cargo clippy (pull_request) Successful in 9m36s
CI / cargo test (pull_request) Successful in 9m44s
CI / frontend-web (pull_request) Successful in 9m34s
CI / Notify gate failed (pull_request) Has been skipped
CI / CI (pull_request) Successful in 2s
87997fa762
vivy merged commit 852e12ac13 into dev 2026-11-08 05:02:00 +00:00
vivy deleted branch feature/GRI-1817-client-ip 2026-11-08 05:02:01 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
Grimoirix/grimoire-of-digital-signage!73
No description provided.