https://issues.apache.org/bugzilla/show_bug.cgi?id=54848

            Bug ID: 54848
           Summary: Client field too short for IPv6 addresses
           Product: Apache httpd-2
           Version: 2.4.4
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_status
          Assignee: [email protected]
          Reporter: [email protected]
    Classification: Unclassified

mod_status only displays the first 31 characters of a client address, which is
too short for IPv6. IPv6 addresses can be at max 39 characters long (32 hex
digits plus 7 colons), or even longer if you need to display the scope for
link-local addresses.

I'm personally only running 2.2.16, but I can verify it on
http://www.apache.org/server-status which is a 2.4.4.

berni@pest:~$ ip -6 addr show dev br0 scope global
3: br0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 
    inet6 2001:a60:a000:1:219:66ff:fe8b:a6e/64 scope global dynamic 
       valid_lft 86326sec preferred_lft 14326sec
berni@pest:~$ curl -s http://www.apache.org/server-status | grep 2001:a60
</td><td>2001:a60:a000:1:219:66ff:fe8b:a</td><td
nowrap>www.apache.org:80</td><td nowrap>GET /server-status HTTP/1.1</td></tr>

It is already missing two bytes of the address, and that's not even the maximum
size.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to