Re: IPv6 in Java on FreeBSD

From: Harald Eilertsen <haraldei_at_anduin.net>
Date: Wed, 19 Feb 2025 17:44:31 UTC
On Wed, Feb 19, 2025 at 01:37:09PM +0000, rb@gid.co.uk wrote:
> Hi,
>
> There are also security implications to this,

What do you mean? We should not follow the net.inet6.ip6.v6only setting?

> see inet6(4).

I did. It's rather vague on the topic. Do you have any information about
any known attacks against dual-protocol sockets?

It's a bit besides the point in any case. Java provides certain
functionality to applications regarding IPv6, as defined here:
https://docs.oracle.com/javase/8/docs/technotes/guides/net/ipv6_guide/#how_ipv6_works

Changing this is not within the scope of these patches, and if at all
desireable, it will have to be a separate effort outside of any port to
a specific OS.

Take care!
Harald