You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2013/04/15 22:57:59 UTC

[Bug 54848] New: Client field too short for IPv6 addresses

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: bugs@httpd.apache.org
          Reporter: berni@birkenwald.de
    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: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 54848] Client field too short for IPv6 addresses

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54848

Christophe JAILLET <ch...@wanadoo.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |FixedInTrunk

--- Comment #1 from Christophe JAILLET <ch...@wanadoo.fr> ---
Thanks for the report.

I've fixed it on trunk (see r1519556)
I don't think it will be backported to 2.4 because it modifies the size of a 
structure (worker_score) which can be used by modules.
So backward compatibility is broken.

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

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org