buglwIP - A Lightweight TCP/IP stack - Bugs: bug #43784, Host should send at least one...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #43784: Host should send at least one Router Solicitation (IPv6)

Submitter:  Zach Smith <zsmith>
Submitted:  Tue 09 Dec 2014 12:38:06 AM UTC
   
 
Category:  IPv6 Severity:  3 - Normal
Item Group:  Faulty Behaviour Status:  Fixed
Privacy:  Public Assigned to:  goldsimon
Open/Closed:  Closed Planned Release:  None
lwIP version:  git head

Wed 04 Mar 2015 08:22:19 PM UTC, comment #1: 

Fixed (although slightly different than reported). Thanks for reporting.

Simon Goldschmidt <goldsimon>
Group administrator
Tue 09 Dec 2014 12:38:06 AM UTC, original submission:  

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.

Zach Smith <zsmith>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #32625:  nd6_send_at_least_one_RS.patch added by zsmith (469B - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by goldsimon (Posted a comment)
  • -email is unavailable- added by zsmith (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-03-04 goldsimon StatusNone Fixed
        Assigned toNone goldsimon
        Open/ClosedOpen Closed
    2014-12-09 zsmith Attached File- Added nd6_send_at_least_one_RS.patch, #32625

    Back to the top

    Powered by Savane 3.12.
    Corresponding source code