Limiter v2.1.0
This release changes the default behaviour on how to retrieve real client IP.
There was a security issue by trusting X-Forwarded-For
and X-Real-Ip
, so if your server wasn't running behind a well-configured reverse-proxy, someone could do an IP spoofing on the limiter.
With this release, you have to explicitly define that you want to use these headers.