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

Implement PROXY protocol V2 #4753

Open
wants to merge 1 commit into
base: v2.7
Choose a base branch
from
Open

Conversation

lufelix3875
Copy link

Hello,

We are running ProxySQL behind an AWS Network Load Balancer which only supports proxy protocol version 2: https://docs.aws.amazon.com/elasticloadbalancing/latest/network/load-balancer-target-groups.html#target-group-attributes.

This PR implements PPv2 support for IPv4 and IPv6 addresses, without TLV handling.

The code is largely based on the PPv1 implementation introduced in #4600. I've also added a TAP test similar to one for PPv1.

Thanks

@mirostauder
Copy link
Collaborator

Can one of the admins verify this patch?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants