Bug 60317 - IPv6 mod_remoteip
Summary: IPv6 mod_remoteip
Status: NEW
Alias: None
Product: Apache httpd-2
Classification: Unclassified
Component: mod_remoteip (show other bugs)
Version: 2.4-HEAD
Hardware: PC Linux
: P2 normal (vote)
Target Milestone: ---
Assignee: Apache HTTPD Bugs Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-28 19:00 UTC by Matthias K
Modified: 2016-10-28 19:10 UTC (History)
1 user (show)



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matthias K 2016-10-28 19:00:17 UTC
Hallo everybody,

mod_remoteip does not support the IPv6 address notation with the address within brackets:
[2a02:2e0:40c:ffff::3]:80

The above mentioned format is being used for example by KEMP loadbalancers within the Via / X-Forwarded-For header.

Using this format leads to ips like 127.0.0.6 in the logs.

I also described this issue in a bit more detail within:
http://stackoverflow.com/questions/39237887/x-forwarded-for-127-0-0-6-when-using-ipv6/40310893#40310893

Best regards,
Matthias