lwip-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-devel] [bug #59319] ICMPv6 neighbor solicitation fails if LWIP_IPV


From: H. Gregor Molter
Subject: [lwip-devel] [bug #59319] ICMPv6 neighbor solicitation fails if LWIP_IPV6_MLD is set
Date: Thu, 22 Oct 2020 10:29:35 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.111 Safari/537.36

URL:
  <https://savannah.nongnu.org/bugs/?59319>

                 Summary: ICMPv6 neighbor solicitation fails if LWIP_IPV6_MLD
is set
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: cyberdeck
            Submitted on: Thu 22 Oct 2020 02:29:34 PM UTC
                Category: IPv6
                Severity: 3 - Normal
              Item Group: Faulty Behaviour
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None
            lwIP version: git head

    _______________________________________________________

Details:

In the IPv6 stack neighbor solicitation packages are dropped if LWIP_IPV6_MLD
is set. For me it seems that this is a logical bug included in the ip6.c
source. Please see the included patch.

Description of the bug:
If lwIP is compiled with LWIP_IPV6_MLD set, ICMPv6 neighbor solicitation
messages are dropped if they are targeted for the solicited-node multicast
address (e.g. "ff02::1:ff28:9c5a", cf. [1]).

That drop is by purpose because the logic for checking the received packets
against the solicited-node multicast address is excluded. In my opinion that
behavior is wrong. The attached patch will fix this behavior.

Effect of the bug:
Bring up an interface and try to ping it's global IPv6 address. As the
interface is not replying to neighbor solicitation it cannot be reached.

Effect after the patch:
Bring up an interface and try to ping it's global IPv6 address. Now the
interface is replying to neighbor solicitation and this, it can be reached
afterwards.

[1]: https://en.wikipedia.org/wiki/Solicited-node_multicast_address



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Thu 22 Oct 2020 02:29:34 PM UTC  Name: ipv6.patch  Size: 658B   By:
cyberdeck

<http://savannah.nongnu.org/bugs/download.php?file_id=50049>

    _______________________________________________________

Reply to this item at:

  <https://savannah.nongnu.org/bugs/?59319>

_______________________________________________
  Message sent via Savannah
  https://savannah.nongnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]