[jboss-jira] [JBoss JIRA] (JGRP-1925) support ipv6 in FixedMembershipToken

Robert Bissett (JIRA) issues at jboss.org
Mon Jun 1 14:15:04 EDT 2015


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

Robert Bissett commented on JGRP-1925:
--------------------------------------

Suggestion for the fix: because addresses can contain either "::" or ":0:" which are equivalent, and may or may not have zone indices (<address>%<index>), what we've done is create an InetAddress address for the incoming join source and use InetAddress#equals to compare to the list of allowed addresses. The string comparison that's currently used may fail for two addresses that are actually equivalent.



> support ipv6 in FixedMembershipToken
> ------------------------------------
>
>                 Key: JGRP-1925
>                 URL: https://issues.jboss.org/browse/JGRP-1925
>             Project: JGroups
>          Issue Type: Feature Request
>    Affects Versions: 3.6.3
>            Reporter: Robert Bissett
>            Assignee: Bela Ban
>             Fix For: 3.6.4
>
>




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


More information about the jboss-jira mailing list