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
Add support proxyprotocol v2 #4755
Conversation
e7f1a54
to
ff39eb3
Compare
I updated the package after reviewing and typos. Added more documentation on how to enable proxyprotocol. And made a rebase on the fresh code in the 2.0 branches. |
1ab0555
to
7c01cf2
Compare
Any chance this PR will be merged? |
7c01cf2
to
4060660
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
8e9b166
to
ebbc7a0
Compare
What does this PR do?
This PR adds support for proxyprotocol v2 headers.
The package provides support for proxy protocol v1 (https://github.com/armon/go-proxyproto) is replaced by the package (https://github.com/c0va23/go-proxyprotocol) supporting the analysis of both proxy protocol versions at the same time.
Motivation
Support for proxy protocol v2 need that traefik can be run using AWS NLB.
More
Additional Notes
Package github.com/c0va23/go-proxyprotocol tested manually with HA Proxy (v1 and v2) and on production with AWS NLB.
It PR #4561 migrated on branch v2.0