Uploaded image for project: 'ONOS'
  1. ONOS
  2. ONOS-1021

Forwarding IPv6 NDP requests on external ports uses incorrect IPv6 source address

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 1.1.0
    • Component/s: None
    • Labels:
    • Epic Link:
    • Sprint:
      Blackbird Sprint 4(Feb 2-13)

      Description

      [NOTE: The credit for discovery the bug goes to Dusan Pajin]

      The ProxyArpManager.replyNdp() method is used to forward
      IPv6 Neighbor Discovery Requests as appropriate.
      It is implemented after the corresponding replyArp() method for IPv4.

      In some cases, we need to test whether the source address matches one
      of our external addresses. In case of ARP, the source address is taken
      from the ARP packet itself: the Sender Protocol Address.

      In case of IPv6, the corresponding Neighbor Discovery Request packet
      does not contain the Sender Address within the payload.
      The current code is incorrect by using the target address instead:
      Ip6Address source =
      Ip6Address.valueOf(nsol.getTargetAddress());

      The solution is to take the source address from the IPv6 header itself.

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            pavlin Pavlin Radoslavov
            Reporter:
            pavlin Pavlin Radoslavov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: