REMOTE_ADDR is not updated, logs ok
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libapache2-mod-rpaf (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Ubuntu 14.04.1 LTS
libapache2-mod-rpaf 0.6-12
apache2: 2.4.7-1ubuntu4.1
libapache2-
* Problem:
The variable REMOTE_ADDR retains the proxy's IP address. The apache logfile shows the actual client IP.
* Details:
Dumping php's $_SERVER variable yields the following (relevant) entries:
HTTP_X_
HTTP_X_
REMOTE_
REQUEST_
I have enabled RPAF in /etc/apache2/
RPAFproxy_ips 192.168.55.1
The access.log with the correct IP uses the LogFormat "%h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" combined.
I'm using a debian host with mod-praf 0.6-7+wheezy1, php 5.4.4-14+deb7u14, apache 2.2.22-13+deb7u3 and identical configuration behind the same proxy without issues.
Might be related to Bug #1191076 iff rpaf is intercepting the request "too late".
Status changed to 'Confirmed' because the bug affects multiple users.