FreeFeed / freefeed-server

FreeFeed server
https://freefeed.net
MIT License
41 stars 18 forks source link

Use X-Forwarded-For header in realtime connections #498

Closed davidmz closed 3 years ago

davidmz commented 3 years ago

We need the real client IP for logging and access control purposes. Unfortunately, it is hard to properly test it, because the websocket connection doesn't allow to specify additional HTTP headers.