Date: Wed, 03 Sep 2008 04:35:53 +0200 From: Marcin Cieslak <saper@system.pl> To: freebsd-java@freebsd.org Subject: Re: FreeBSD Java, IPv6, and DNS SRV query type Message-ID: <48BDF809.8050802@system.pl> In-Reply-To: <48BBC14A.5000107@NLnetLabs.nl> References: <48B29CB7.9010907@cs.vu.nl> <48B6AC4C.1050006@system.pl> <48BBC14A.5000107@NLnetLabs.nl>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] 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 [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- iQCVAwUBSL34DD2W2v2wY27ZAQPsaQP+I7jOaoI8jYggP3yk7cfxpzxzf0vJu3V4 Uze5sPzuKfandpbgE0SO+LuFzykI/u71ewYIcEx0zxyHcsmrd+qOydmAg+ZLZetS 9WKQssPgiJk+wVD8/Ppp9AadJD9fEP43AO2dAZ1y0U1isbQSPXx9rpceO1xcjleL DTX+VnckpGQ= =bAUF -----END PGP SIGNATURE-----help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?48BDF809.8050802>
