Skip to content

Conversation

@reveller
Copy link
Contributor

This update adds a port descriptor option for enabling Proxy Protocol as well as a whitelist of trusted IP addresses as sources of incoming requests with Proxy Protocol headers. If the the Proxy Protocol is enabled and the PROXY header is prefaced on an incoming request, the remote address is changed internally to reflect the original client IP. This has the side effect of transforming the originating IP address into the Forwarded: header for: field, if proxy.config.http.insert_forwaded is configured with the for: field. This will also facilitate logging of the proper client IP versus the previous hop address, i.e. load balancer.

@reveller reveller added the Core label Jul 12, 2018
@reveller reveller added this to the 8.0.0 milestone Jul 12, 2018
@reveller reveller self-assigned this Jul 12, 2018
@reveller reveller force-pushed the 8.0.x-proxy-protocol branch from 76e0e84 to 123c846 Compare July 16, 2018 16:58
@reveller reveller added the WIP label Aug 30, 2018
@reveller reveller changed the title PROXY Protocol transformed to Forwarded HTTP header - backport to 8.0.x PROXY Protocol transformed to Forwarded HTTP header - backport to 8.0.x - WIP - DO NOT MERGE Aug 30, 2018
@bryancall bryancall merged commit a692053 into apache:8.0.x Aug 31, 2018
@bryancall bryancall changed the title PROXY Protocol transformed to Forwarded HTTP header - backport to 8.0.x - WIP - DO NOT MERGE PROXY Protocol transformed to Forwarded HTTP header Aug 31, 2018
@bryancall bryancall removed the WIP label Oct 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants