matrix-org/dendrite

Get IP from "standard" HTTP headers

Aperta

#3287 aperta il 15 dic 2023

 (4 commenti) (0 reazioni) (0 assegnatari)Go (658 fork)auto 404
T-Enhancementgood first issuehelp wanted

Metriche repository

Star
 (5632 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

...

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

Guida contributor