Closed amwolff closed 7 months ago
It would be nice to listen on a new additional port for proxy protocol to help with the migration
Change pkg/httpserver: support PROXY protocol mentions this issue.
I've decided to use the pires/go-proxyproto library to add support for PROXY protocol requests.
Dependency review results:
storj/uplink
shouldn't have a dependency on Apache v2, because it should be GPL compatible. Try to stick to BSD/MIT.
os
? e.g. WASM may not have a filesystem.
cgo
or unsafe
packages. It only uses reflect
in tests.storj/uplink
size.
Here's my review on https://github.com/pires/go-proxyproto. It looks usable to me.
make binaries
in the storj/edge repo)Change cmd/{gateway-mt,linksharing}: add config for PROXY protocol address mentions this issue.
Change pkg/auth: support PROXY protocol in authservice mentions this issue.
Background
What is the problem/pain point?
Gateway, Link Sharing, and Auth Service don't have the ability to see IP addresses associated with the incoming traffic when they terminate TLS and are behind a load balancer.
Who is impacted?
-
What is the impact?
-
Why now?
-
Requirements
User Story
-
Acceptance Criteria
-
Success Metrics
-