Skip to content

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

Open
@tuian

Description

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions