go-proxyproto icon indicating copy to clipboard operation
go-proxyproto copied to clipboard

A Go library implementation of the PROXY protocol, versions 1 and 2.

Results 20 go-proxyproto issues
Sort by recently updated
recently updated
newest added

Addresses like 0:0:0:0:0:ffff:7f00:1 should be allowed when parsing IPv6 protocols. * * * Not sure how to make this work, so submitting as a draft so that we're at least...

``` $ golint ./... addr_proto.go:7:2: exported const UNSPEC should have comment (or a comment on this block) or be unexported header.go:15:2: comment on exported var SIGV1 should be of the...

enhancement
help wanted
documentation
good first issue

I have a scenario which I need to pass the original IP address to a legacy service that doesn't support PROXY protocol at all. Another issue with the infrastructure(cloud vendor)...

help wanted
question

- There can be requirements that server can listen and serve whenever proxy protocol is set or not for identifying real client's ip. - I will make PR if many...

I want to proxy to port 172.16.200.10 21 through the domain name ftp11.com port 21, and proxy to port 172.16.200.20 21 through the domain name ftp122com port 21. Since TCP...

If header.Version != otherHeader.Version then otherHeader.rawTLVs is not present. This resulted in a crash at my side. Switching position of the 2 ifs solves it.

Hello, I add go-proxyproto as a dependency in the server side of a VPN project. When the number of connections is high, it tends to crash. Here is the error...

fixes #107 Had to change the PolicyFunc mentod signature as i couldn't find a better way to handle policy if we have separate functions for upstream and downstream and if...

Currently we can apply policy to verify the upstream address https://github.com/pires/go-proxyproto/blob/e5b291b295b4a6e0425a134c8b3bfa6b2e692866/protocol.go#L70-L81. There could be scenarios where there are multiple interfaces the server is listening on and we may want to...

enhancement

This PR is designed to prevent listeners being stopped when an error is returned, if the upstream connection address is not trusted (`ErrInvalidUpstream`). Instead, we continue to close the connection...