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

[FEATURE] Able to set client ip when using haproxy protocol #5125

Closed
nunofernandes opened this issue Mar 19, 2020 · 1 comment
Closed

[FEATURE] Able to set client ip when using haproxy protocol #5125

nunofernandes opened this issue Mar 19, 2020 · 1 comment

Comments

@nunofernandes
Copy link

@nunofernandes nunofernandes commented Mar 19, 2020

Requested feature

When using haproxy-protocol option, allow the possibility of setting the client ip "inside" the haproxy header.
This would allow testing servers with different client ip addresses (without using x-forward-for header).

Example of usage

curl --haproxy-protocol --haproxy-clientip=1.2.3.4 https://localhost/

@bagder
Copy link
Member

@bagder bagder commented Mar 19, 2020

Thanks, but this description sounds as if you're asking for a new feature/change. We use this tracker for bugs and issues only, we put ideas to work on in the future in the TODO document. We basically drown in good ideas so they don't do much use in our tracker.

If you really want to see this happen, start working on an implementation and submit a PR for it or join the mailing list and talk up more interest for it and see what help from others you can get!

@bagder bagder closed this as completed in 37b6cc2 Mar 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants