https://bz.apache.org/bugzilla/show_bug.cgi?id=69672

            Bug ID: 69672
           Summary: mod_remoteip rejecting valid IPv4-mapped IPv6
                    addresses
           Product: Apache httpd-2
           Version: 2.4.63
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_remoteip
          Assignee: bugs@httpd.apache.org
          Reporter: bjo...@j3e.de
  Target Milestone: ---

I'm having a haproxy, which uses the proxy protocol to report the client IP
addresses to the backend server, which is Apache with mod_remoteip and
"RemoteIPProxyProtocol on". IPv4 connections are by default and intentionally
IPv4-mapped IPv6 addresses. mod_remoteip however refuses those IPs and all
those connections fail:

[Tue May 06 00:22:55.500263 2025] [remoteip:error] [pid 93692:tid 93709]
[client 192.168.4.1:36328] AH03500: RemoteIPProxyProtocol: invalid
client-address '::ffff:123.168.1.123' found in header 'PROXY TCP6
::ffff:123.168.110.148 ::ffff:99.243.150.199 31875 443'

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscr...@httpd.apache.org
For additional commands, e-mail: bugs-h...@httpd.apache.org

Reply via email to