FeatureFuel
1

Should `X-Real-IP` header trust be restricted to an IP range?

Source: dani-garcia/vaultwarden#6122 · opened by @merlinz01
With some other Dockerized services I've worked with that are behind a reverse proxy (uvicorn behind caddy for example) there is an option to restrict what connections are trusted to take the X-Real-IP header from.

E.g.

While in a reverse-proxy + Docker setup there isn't really a risk due to the container network isolation, other setups might be vulnerable to spoofed X-Real-IP headers bypassing rate limiting/fail2ban blocking.

I think this could be a worthwhile security improvement.

No pledges yet. Be the first to back this.

Make a pledge

Pledge your monetary support if this feature is added.

$

Comments

No comments yet.

Replying to

Add a comment

What do you think about this feature request?


Similar requests