FreeBSD Java, IPv6, and DNS SRV query type
Marcin Cieslak
saper at system.pl
Wed Sep 3 02:36:17 UTC 2008
Benno Overeinder wrote:
> Just for clarification, you also compiled and installed jdk16 (ports
> package java/jdk16)? And the test program also fails to resolve the DNS
> SRV request _xmpp-server._tcp.google.com? The test program is more or
> less the isolated code from the Openfire XMPP server.
I am sorry - you're right. My jython was hard-coded to use diablo 1.5
and I could get the same result as you using 1.6 compiled from source.
There is something wrong how UDP packets are sent to the IPv4-mapped
address.
I don't understand this fully yet, but I have posted a PR with a sample
test case in C:
http://www.freebsd.org/cgi/query-pr.cgi?pr=127057
Either:
1) structures in the attached C program are incorrect - so then we have
a Java bug (or rather in our Java patches)
or:
2) something is really strange in the kernel (I doubt that, but...)
I've had a quick look at sys/netinet6/udp6_usrreq.c but it looks fine.
--Marcin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 273 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-java/attachments/20080903/cd54aade/signature.pgp
More information about the freebsd-java
mailing list