Date: Mon, 06 Jul 2026 14:38:43 +0000 From: bugzilla-noreply@freebsd.org To: java@FreeBSD.org Subject: [Bug 282251] java/openjdk22: IPv6 / INET6 is broken Message-ID: <bug-282251-8522-3GM1xYSsqX@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-282251-8522@https.bugs.freebsd.org/bugzilla/>
index | next in thread | previous in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=282251 Harald Eilertsen <haraldei@FreeBSD.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |haraldei@FreeBSD.org --- Comment #10 from Harald Eilertsen <haraldei@FreeBSD.org> --- (In reply to Bjoern A. Zeeb from comment #9) > I am not sure what the expected status quo in java should be today: v4mapped v6 sockets still? OpenJDK opens an IPv4 (only) socket if you bind to an IPv4 address, and a IPv6 (only) socket if you bind to an IPv6 address. If you bind to the wildcard address (either '0.0.0.0' or '::') it will open an socket accepting both IPv4 and IPv6 traffic. >From what I understand, the FreeBSD sysctl net.inet6.ip6.v6only determines if IPv4 mapped addresses are accepted or not. By default they are not, and enforced by the OS. Not sure if that answers your questions, or if there's something I missed. (And also, this bug should probably be closed, as the original problem is fixed, and JDK 22 is EOL and removed in any case.) -- You are receiving this mail because: You are the assignee for the bug.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-282251-8522-3GM1xYSsqX>
