jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Mueller (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OAK-3418) ClusterNodeInfo uses irrelevant network interface IDs on Windows
Date Fri, 18 Sep 2015 13:37:04 GMT

    [ https://issues.apache.org/jira/browse/OAK-3418?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14875624#comment-14875624
] 

Thomas Mueller commented on OAK-3418:
-------------------------------------

See also http://stackoverflow.com/questions/16448995/get-mac-address-of-system-in-java



> ClusterNodeInfo uses irrelevant network interface IDs on Windows
> ----------------------------------------------------------------
>
>                 Key: OAK-3418
>                 URL: https://issues.apache.org/jira/browse/OAK-3418
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: core
>            Reporter: Julian Reschke
>            Assignee: Thomas Mueller
>              Labels: resilience
>             Fix For: 1.3.7
>
>
> On Windows, all kinds of adapters (tunnel, VPN) return a hardware address of 00-00-00-00-00-00-00-E0
(note 8 bytes, not 6). These addresses are useless for the identification of the machine,
however they get used because they are the lowest value.
> A potential fix is to change the validity check to:
> if (mac != null && mac.length == 6)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message