mirror of
https://github.com/ZeroDream-CN/SakuraFrp
synced 2024-11-22 23:52:19 +00:00
.. | ||
.gitignore | ||
.travis.yml | ||
addr_proto.go | ||
header.go | ||
LICENSE | ||
README.md | ||
v1.go | ||
v2.go | ||
version_cmd.go |
go-proxyproto
A Go library implementation of the PROXY protocol, versions 1 and 2, which provides, as per specification:
(...) a convenient way to safely transport connection information such as a client's address across multiple layers of NAT or TCP proxies. It is designed to require little changes to existing components and to limit the performance impact caused by the processing of the transported information.
This library is to be used in one of or both proxy clients and proxy servers that need to support said protocol. Both protocol versions, 1 (text-based) and 2 (binary-based) are supported.
Installation
$ go get -u github.com/pires/go-proxyproto