You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// can't decide the policy, we can't accept the connection
conn.Close()
returnnil, err
}
// Handle a connection as a regular one
ifproxyHeaderPolicy==SKIP {
returnconn, nil
}
}
. There could be scenarios where there are multiple interfaces the server is listening on and we may want to enable the proxy protocol on only 1 interface. It would help to have policy support verifying the local address.
I can create a PR if the feature is okay to be implemented.
The text was updated successfully, but these errors were encountered:
Currently we can apply policy to verify the upstream address
go-proxyproto/protocol.go
Lines 70 to 81 in e5b291b
I can create a PR if the feature is okay to be implemented.
The text was updated successfully, but these errors were encountered: