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

             Bug #: 52717
           Summary: APR endpoint doesn't handle IPv6 link-local addresses
                    well
           Product: Tomcat Native
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: P2
         Component: Library
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: rachmatow...@jboss.com
    Classification: Unclassified


APREndppoint has two issues with the handling of IPv6 link local addresses:

(i) if an IPv6 link local address without a zone id is specified, no default
value is provided, so that initialization fails with the following error
(example if from startup of JBoss AS7.1.0.Final):

11:01:29,185 ERROR [org.apache.coyote.http11.Http11AprProtocol] (MSC service
thread 1-6) Error initializing endpoint: java.lang.Exception: Socket bind
failed: [22] Invalid argument
    at org.apache.tomcat.util.net.AprEndpoint.init(AprEndpoint.java:578)
[jbossweb-7.0.10.Final.jar:]

This is due to trying to create a socket using a link-local address while at
the same time not specifying a zoneid.

(ii) APR does not rsolve a passed interface id (e.g. lo, eth0, ...) to the
corresponding zone id (0, 1, 2, ...)

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to