NetCoreServer icon indicating copy to clipboard operation
NetCoreServer copied to clipboard

[Feature request] Add Proxy protocol support

Open jamefane opened this issue 3 years ago • 2 comments

Hello,

add native proxy protocol support (spec) to e.g receive real client ips from e.g a load balancer on layer4 basis.

jamefane avatar Feb 10 '22 20:02 jamefane

@jamefane I think that the HA proxy protocol only supports TCP? Is there also a solution for UDP?

Sporesirius avatar Sep 03 '22 11:09 Sporesirius

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:

  1. Whether they will accept a PR for this.
  2. What practices/requests they would like me to follow if so.

Cheers,

Jordan

jhmckimm avatar Sep 20 '22 17:09 jhmckimm