websocket: record X-Real-IP header #1437
Labels
exp/expert
Having worked on the specific codebase is important
good first issue
Good issue for new contributors
help wanted
Seeking public contribution on this issue
kind/enhancement
A net-new feature or improvement to an existing feature
We currently don't support TLS here, so a reverse proxy needs to be set up, which has the side effect of loosing real ip addresses in
ipfs swarm peers
.We could check if the
X-Real-IP
header is set when accepting connections and change the ip address we report as the remote (and probably only do that when we proxy from localhost)The text was updated successfully, but these errors were encountered: