directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Lecharny (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DIRSERVER-1741) Create dual stack support for IPV4 and IPV6
Date Sun, 29 Jul 2012 06:46:35 GMT

    [ https://issues.apache.org/jira/browse/DIRSERVER-1741?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13424495#comment-13424495
] 

Emmanuel Lecharny commented on DIRSERVER-1741:
----------------------------------------------

Java does relies on the underlying network layr, provided by the OS. If the OS supports dual-stack,
then you are fine. IPV4 and IPV6 addresses will be handled correctly.

http://docs.oracle.com/javase/1.5.0/docs/guide/net/ipv6_guide/index.html :

"How IPv6 Works on a Java Platform

The Java networking stack will first check whether IPv6 is supported on the underlying OS.
If IPv6 is supported, it will try to use the IPv6 stack. More specifically, on dual-stack
systems it will create an IPv6 socket. On separate-stack systems things are much more complicated.
Java will create two sockets, one for IPv4 and one for IPv6 communication. For client-side
TCP applications, once the socket is connected, the internet-protocol family type will be
fixed, and the extra socket can be closed. For server-side TCP applications, since there is
no way to tell from which IP family type the next client request will come, two sockets need
to be
maintained. For UDP applications, both sockets will be needed for the lifetime of the communication.

Java gets the IP address from a name service."
                
> Create dual stack support for IPV4 and IPV6
> -------------------------------------------
>
>                 Key: DIRSERVER-1741
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1741
>             Project: Directory ApacheDS
>          Issue Type: Improvement
>            Reporter: Markku Saarela
>
> ApacheDS should have dual stack listening sockets for both IPV4 and IPV6. 
> Java 7 uses IPV6 by default if possible so if server is running on Java 7 it does not
support IPV4 by default.
> Here is only one implication what it cause DIRSTUDIO-805.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message