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

Support HAProxy's PROXY Protocol #74

Open
elyscape opened this issue Jul 2, 2018 · 0 comments
Open

Support HAProxy's PROXY Protocol #74

elyscape opened this issue Jul 2, 2018 · 0 comments

Comments

@elyscape
Copy link

elyscape commented Jul 2, 2018

The HAProxy team devised a TCP-level analogue to HTTP's X-Forwarded-For header called PROXY Protocol. It works by including a header to TCP connections with information about the true source of the connection. As the name implies, this is useful when running a TCP service behind a load balancer or reverse proxy. It would be nice if Csocket supported this, providing a method that would cause a listening socket to expect the PROXY Protocol header and use the information provided there for things like Csock::GetRemoteIP().

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

No branches or pull requests

1 participant