Skip to content

HAProxy PROXY protocol v1/v2 support #132

@thepapanoob

Description

@thepapanoob

What is the problem your feature solves, or the need it fulfills?

its a quite common usecase to have pingora behind a loadbalancer when running inside of cloud infrastructure. They usually implement the PROXY protocol to give information about the TCP session like the connection initiator, connection target, client & server and the proxy. It would be immensly helpful to have those informations on pingora's side.

Describe the solution you'd like

Implement the PROXY protocol as decribed in the docs from HAProxy itself. Otherwise there are some rust based implementations floating around that could speedup the process.

example 1
example 2
example 3
example 4

Describe alternatives you've considered

The other solution would be to use mmproxy but that makes it quite inflexible and brings other challenges in itself.

Thank you for this awesome project. 👍

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions