-
Notifications
You must be signed in to change notification settings - Fork 3.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RemoteAddrRoutePredicateFactory does not play nice with proxied/forwarded requests #155
Labels
Milestone
Comments
fitzoh
added a commit
to fitzoh/spring-cloud-gateway
that referenced
this issue
Jan 14, 2018
…-Forwarded-For` header. Addresses spring-cloud#155.
fitzoh
added a commit
to fitzoh/spring-cloud-gateway
that referenced
this issue
Jan 14, 2018
…-Forwarded-For` header. Fixes spring-cloudgh-155.
fitzoh
added a commit
to fitzoh/spring-cloud-gateway
that referenced
this issue
Jan 14, 2018
…-Forwarded-For` header. Fixes spring-cloudgh-155.
fitzoh
added a commit
to fitzoh/spring-cloud-gateway
that referenced
this issue
Feb 13, 2018
…-Forwarded-For` header. Fixes spring-cloudgh-155.
fitzoh
added a commit
to fitzoh/spring-cloud-gateway
that referenced
this issue
Feb 14, 2018
…-Forwarded-For` header. Fixes spring-cloudgh-155.
fitzoh
added a commit
to fitzoh/spring-cloud-gateway
that referenced
this issue
Feb 14, 2018
…-Forwarded-For` header. Fixes spring-cloudgh-155.
fitzoh
added a commit
to fitzoh/spring-cloud-gateway
that referenced
this issue
Mar 19, 2018
…-Forwarded-For` header. Fixes spring-cloudgh-155.
bijukunjummen
pushed a commit
to bijukunjummen/spring-cloud-gateway
that referenced
this issue
Jun 8, 2018
…-Forwarded-For` header. Addresses spring-cloud#155. (spring-cloud#156) * Update `RemoteAddrRoutePredicateFactory` to optionally respect the `X-Forwarded-For` header. Fixes spring-cloudgh-155. * Make function to extract client IP configurable. Add additional method for extracting client IP with is safer from spoofing of X-Forwarded-For header.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Enhancement:
RemoteAddrRoutePredicateFactory
is useful if you're hitting the gateway directly, but does not respect theX-Forwarded-For
header.I'm not sure if it should default to parsing/respecting Forwarded IP's, but it should at least be an option.
The text was updated successfully, but these errors were encountered: