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

能否支持【proxy protocol v2】转发协议 #35

Open
tuian opened this issue Feb 10, 2023 · 1 comment
Open

能否支持【proxy protocol v2】转发协议 #35

tuian opened this issue Feb 10, 2023 · 1 comment

Comments

@tuian
Copy link

tuian commented Feb 10, 2023

在很多云环境或者网络隔离的环境里,经常用 带上原始ip和端口等信息.

阿里云: 通过Proxy Protocol获取客户端真实IP(四层监听)
当然,haproxy / aws /azure /cloudflare 也都是支持的比较广泛的.

快速入门实践: https://seriousben.com/posts/2020-02-exploring-the-proxy-protocol/
Golang 相关库: https://github.com/mailgun/proxyproto
RFC: https://www.haproxy.org/download/1.8/doc/proxy-protocol.txt

@LubyRuffy
Copy link
Collaborator

收到,我们研究一下先,感谢反馈 ;)

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

2 participants