Skip to content
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

Merged
merged 3 commits into from Aug 26, 2019
Merged

Conversation

c0va23
Copy link
Contributor

@c0va23 c0va23 commented Apr 12, 2019

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

  • Added/updated tests
  • Updated documentation

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

@c0va23
Copy link
Contributor Author

c0va23 commented May 3, 2019

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.

@c0va23
Copy link
Contributor Author

c0va23 commented Jun 9, 2019

Any chance this PR will be merged?

@ldez ldez requested review from juliens and ldez June 12, 2019 09:45
Copy link
Member

@ldez ldez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Member

@juliens juliens left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Collaborator

@SantoDE SantoDE left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

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.

None yet

5 participants