Status: New
Owner: ----
New issue 1369 by thecybershadow: IPv6 addresses are copied incorrectly
from X-Real-IP to REMOTE_ADDR
http://code.google.com/p/cherokee/issues/detail?id=1369
What steps will reproduce the problem?
1. Set up Cherokee behind an IPv6-enabled reverse proxy configured to send
the X-Real-IP header
2. Set up PHP in Cherokee using the PHP wizard, and set up "Read X-Real-IP"
setting
3. Visit a phpinfo() page via IPv6 through the reverse proxy
What is the expected output?
$_SERVER["REMOTE_ADDR"] should be the full IPv6 address of the connecting
client, as sent in the X-Real-IP header.
What do you see instead?
$_SERVER["REMOTE_ADDR"] only contains the part of the address until the
first : character (e.g. 2001 instead of 2001:xxx:xxxx:xxx::1).
What version of the product are you using? On what operating system?
Cherokee/1.2.2 (Debian GNU/Linux)
Ubuntu Server 12.04 x86_64
Please provide any additional information below.
The full IP address is still present in $_SERVER["HTTP_X_REAL_IP"] and
$_SERVER["HTTP_X_FORWARDED_FOR"].
_______________________________________________
Cherokee-dev mailing list
Cherokee-dev@lists.octality.com
http://lists.octality.com/listinfo/cherokee-dev
Owner: ----
New issue 1369 by thecybershadow: IPv6 addresses are copied incorrectly
from X-Real-IP to REMOTE_ADDR
http://code.google.com/p/cherokee/issues/detail?id=1369
What steps will reproduce the problem?
1. Set up Cherokee behind an IPv6-enabled reverse proxy configured to send
the X-Real-IP header
2. Set up PHP in Cherokee using the PHP wizard, and set up "Read X-Real-IP"
setting
3. Visit a phpinfo() page via IPv6 through the reverse proxy
What is the expected output?
$_SERVER["REMOTE_ADDR"] should be the full IPv6 address of the connecting
client, as sent in the X-Real-IP header.
What do you see instead?
$_SERVER["REMOTE_ADDR"] only contains the part of the address until the
first : character (e.g. 2001 instead of 2001:xxx:xxxx:xxx::1).
What version of the product are you using? On what operating system?
Cherokee/1.2.2 (Debian GNU/Linux)
Ubuntu Server 12.04 x86_64
Please provide any additional information below.
The full IP address is still present in $_SERVER["HTTP_X_REAL_IP"] and
$_SERVER["HTTP_X_FORWARDED_FOR"].
_______________________________________________
Cherokee-dev mailing list
Cherokee-dev@lists.octality.com
http://lists.octality.com/listinfo/cherokee-dev