Networking & DNS
Bug Report
Our login rate limit trusted X-Forwarded-For, so attackers just sent a new IP each time
A credential stuffing run sent 180,000 login attempts from a handful of servers, and our per-IP limit never triggered. The app read the client IP from the leftmost X-Forwarded-For value, which the client controls. How proxies append to the header, the rightmost-untrusted rule, and the config that fixed it.