fofapro / fapro

Fake Protocol Server
1.52k stars 178 forks source link

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

Open tuian opened 1 year ago

tuian commented 1 year ago

在很多云环境或者网络隔离的环境里,经常用 带上原始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 commented 1 year ago

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