snipe-it icon indicating copy to clipboard operation
snipe-it copied to clipboard

[Feature Request]: Header X-Forwarded-For

Open aHVzY2g opened this issue 6 months ago • 1 comments

Is your feature request related to a problem? Please describe.

The "Attempted Logins" view shows the ip of the reverse proxy, not the client's ip.

Describe the solution you'd like

An exposed env. that allows for a X-Forwarded-For header to be set. If the header is set, it will be evaluated and the IP address displayed in the header will be displayed in the "Attempted Logins" view.

Describe alternatives you've considered

No response

Additional context

I think the API Rate limiting is also affected by this, but I am not sure if that is user or IP based.

aHVzY2g avatar Aug 19 '24 11:08 aHVzY2g