Issue Bug Closed

#18126Proxy servers replace REMOTE_ADDR with their own IP

Michael Stucki 02/05/08, 16:50 updated 10/17/11, 19:22

Description

When requesting the clients REMOTE_ADDR, it can happen that there is a proxy in between server and client, which replaces the value with his own IP, and puts the original IP in HTTP_X_FORWARDED_FOR instead.

It is important that this value should only be regarded if there is really a proxy, as the field could be faked easily otherwise, which is a problem when it comes to security checks…
(issue imported from #M7397)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.