Integrated: 8241800: Disable IPV6_MULTICAST_ALL to prevent interference from all multicast groups

Michael McMahon michaelm at openjdk.org
Mon Jun 19 21:40:18 UTC 2023


On Thu, 15 Jun 2023 10:47:58 GMT, Michael McMahon <michaelm at openjdk.org> wrote:

> Hi,
> 
> Can I get the following change reviewed please? It disables the IPV6_MULTICAST_ALL socket option on UDP sockets on Linux systems which support the option (kernel version 4.20+). This has the effect of disabling the surprising default behavior of multicast sockets on Linux where sockets can receive packets sent to groups the receiver has not joined, if some other socket has joined that group on the same system.
> 
> The equivalent behavior has already been implemented for IPv4 sockets.
> 
> Thanks,
> Michael.

This pull request has now been integrated.

Changeset: 7b45c8fc
Author:    Michael McMahon <michaelm at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/7b45c8fc3a0d8b7f7de196fe095d2fa47c6bd60a
Stats:     78 lines in 3 files changed: 43 ins; 18 del; 17 mod

8241800: Disable IPV6_MULTICAST_ALL to prevent interference from all multicast groups

Reviewed-by: alanb

-------------

PR: https://git.openjdk.org/jdk/pull/14491


More information about the nio-dev mailing list