[jboss-jira] [JBoss JIRA] (JGRP-2305) Get rid of need for java.net.preferIPv4Stack

Bela Ban (Jira) issues at jboss.org
Wed Feb 6 10:34:11 EST 2019


    [ https://issues.jboss.org/browse/JGRP-2305?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13691919#comment-13691919 ] 

Bela Ban commented on JGRP-2305:
--------------------------------

No; this is a routing table issue. I just committed a change to master which injects a local mcast_addr in LeaveTest, to match to local bind_addr.

> Get rid of need for java.net.preferIPv4Stack
> --------------------------------------------
>
>                 Key: JGRP-2305
>                 URL: https://issues.jboss.org/browse/JGRP-2305
>             Project: JGroups
>          Issue Type: Enhancement
>            Reporter: Bela Ban
>            Assignee: Bela Ban
>            Priority: Major
>             Fix For: 4.0.16
>
>
> New address picking scheme:
> * First we detect which addresses are available: IPv4 and/or IPv6 (dual-stack if both)
> * When we encounter an IPv4 address:
> ** If dual-stack or IPv4 stack: use it
> ** If IPv6-only stack: use it unless it is a class D (multicast) address: then convert it to an IPv6-mapped address
> * When we encounter an IPv6 address:
> ** If dual-stack or IPv6-only stack: use it
> ** Else: throw an exception (IPv6 address in an IPv4-only stack)



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the jboss-jira mailing list