Project

General

Profile

Actions

Bug #18126

closed

Proxy servers replace REMOTE_ADDR with their own IP

Added by Michael Stucki over 16 years ago. Updated over 12 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2008-02-05
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.2
PHP Version:
4.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

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)


Files

bug_7397.diff (2.59 KB) bug_7397.diff Administrator Admin, 2008-02-05 16:51
bug_7397_v2.diff (10.7 KB) bug_7397_v2.diff Administrator Admin, 2008-02-20 10:29
bug_7397_v3.diff (14.8 KB) bug_7397_v3.diff Administrator Admin, 2008-02-21 20:57
bug_7397_v4.diff (16.9 KB) bug_7397_v4.diff Administrator Admin, 2009-07-23 12:45

Related issues 2 (0 open2 closed)

Has duplicate TYPO3 Core - Bug #14210: SSL - SSL Lock HTTPS Proxy ...ClosedChristian Jul Jensen2004-06-17

Actions
Has duplicate TYPO3 Core - Bug #15135: Typo3 backend does not work with reverse proxyClosedChristian Jul Jensen2005-10-20

Actions
Actions

Also available in: Atom PDF