-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Closed
Labels
enhancementFeature requests. Not bugs or questions.Feature requests. Not bugs or questions.
Description
Feature Proposal:
Add a feature that allows Envoy to use the N th external IP address from the end of X-Forwarded-For as the trusted client IP address, where N defaults to 1 (for backward compatibility) but can be set in the Virtual Host configuration.
Motivation:
I have a use case where there may be two trusted proxies with non-RFC1918 addresses in front of Envoy. In that case, the trusted client IP address will be the second external IP address from the end of X-Forwarded-For.
I also anticipate an edge-proxy deployment scenario where nothing in the XFF is trusted.
Notes:
I'm willing to contribute an implementation of this feature.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementFeature requests. Not bugs or questions.Feature requests. Not bugs or questions.