United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6877357 IPv6 address does not work
JDK-6877357 : IPv6 address does not work

Details
Type:
Bug
Submit Date:
2009-08-31
Status:
Closed
Updated Date:
2011-02-25
Project Name:
JDK
Resolved Date:
2009-11-17
Component:
security-libs
OS:
windows_xp
Sub-Component:
org.ietf.jgss:krb5
CPU:
x86
Priority:
P3
Resolution:
Fixed
Affected Versions:
5.0u19
Fixed Versions:
5.0u22-rev (b06)

Related Reports
Backport:
Backport:
Backport:
Relates:

Sub Tasks

Description
One licensee encountered a problem when they are using IPv6 and this issue could not be seen when using IPv4.
When setting a host at kdc that has an assigned IPv6.
- It worked when specifying host name(e.g. "<host name>:88")
- It failed when specifying IPv6 address(e.g. "<IPv6 address>:88")
This issue is about KDC setting in krb5.conf.

                                    

Comments
EVALUATION

As per the PDE :
The fix checks if the host starts with "[" , if so all characters till "]" is host , and the rest if available is port.
":" is searched for in the whole string, if there is none , the value is simply "host" which is either a DNS host name or an IPv4 address.
Also we check if there are multiple ":" in the whole string. Since a IPv6 address contains more than 1 ":" , if the string contains multiple ":" it is treated as an IPv6 address else if there is only 1 ":" then it is treated as "host:port" where host is a DNS host name or an IPv4 address.
                                     
2009-10-23



Hardware and Software, Engineered to Work Together