matrix-org/dendrite

Get IP from "standard" HTTP headers

Open

#3,287 opened on Dec 15, 2023

 (4 comments) (0 reactions) (0 assignees)Go (658 forks)auto 404
T-Enhancementgood first issuehelp wanted

Repository metrics

Stars
 (5,632 stars)
PR merge metrics
 (PR metrics pending)

Description

...

But, if I may, do you think Dendrite should perhaps auto-try any of the standard "this is the client's real IP" headers automatically? Do you see any downsides in doing that? For what it's worth, from my limited self-hosting experience, many applications do it automatically, given the current trends in hosting stuff (everything behind reverse proxy or ingress or whatever)

Best regards Zbig

Originally posted by @zbig-t in https://github.com/matrix-org/dendrite/issues/3286#issuecomment-1853767516

Contributor guide