Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-3418

ClusterNodeInfo uses irrelevant network interface IDs on Windows

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0.21, 1.2.6, 1.3.6
    • 1.0.22, 1.2.7, 1.3.7, 1.4
    • core

    Description

      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)

      Attachments

        1. OAK-3418.diff
          3 kB
          Julian Reschke

        Issue Links

          Activity

            People

              reschke Julian Reschke
              reschke Julian Reschke
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: