lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [bug #43784] Host should send at least one Router Solicitat


From: Zach Smith
Subject: [lwip-devel] [bug #43784] Host should send at least one Router Solicitation (IPv6)
Date: Tue, 09 Dec 2014 00:38:08 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.71 Safari/537.36

URL:
  <http://savannah.nongnu.org/bugs/?43784>

                 Summary: Host should send at least one Router Solicitation
(IPv6)
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: zsmith
            Submitted on: Tue 09 Dec 2014 12:38:06 AM GMT
                Category: IPv6
                Severity: 3 - Normal
              Item Group: Faulty Behaviour
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: 
            lwIP version: git head

    _______________________________________________________

Details:

When a router advertisement is received, the netif->rs_count value is cleared
to zero so no more router solicitations are sent. I checked RFC 4861 and it
says that the host should send at least one solicitation in the case where an
advertisement is received prior to sending a solicitation. 

>From Section 6.3.7
"Once the host sends a Router Solicitation, and receives a valid Router
Advertisement with a non-zero Router Lifetime, the host MUST desist from
sending additional solicitations on that interface, until the next time one of
the above events occurs.  Moreover, a host SHOULD send at least one
solicitation in the case where an advertisement is received prior to having
sent a solicitation. Responses to solicited advertisements may contain more
information than unsolicited advertisements."

I think the attached patch is an easy way to implement this (that is, to make
sure at least one RS is always sent). My device was actually receiving a RA
prior to sending an RS and it was causing us problems.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Tue 09 Dec 2014 12:38:06 AM GMT  Name: nd6_send_at_least_one_RS.patch 
Size: 469B   By: zsmith

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

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?43784>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/




reply via email to

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