[Feature request] Add Proxy protocol support
Hello,
add native proxy protocol support (spec) to e.g receive real client ips from e.g a load balancer on layer4 basis.
@jamefane I think that the HA proxy protocol only supports TCP? Is there also a solution for UDP?
Hi there,
I would also like to see support for the PROXY protocol added. I am using SslServer/SslSession, and when I enable this protocol from my LBs it causes all SSL handshakes to fail in my application.
Current workaround is to terminate SSL at my LB and forward plain traffic, handling the PROXY hello message manually, but I would like to be able to use SSL in my application.
I would be happy to attempt to add this in a PR as the protocol itself doesn't seem too complex, but I would appreciate some advisement from the library maintainer(s) as to:
- Whether they will accept a PR for this.
- What practices/requests they would like me to follow if so.
Cheers,
Jordan