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)

Submitted by:  Zach Smith <zsmith>
Submitted on:  Tue 09 Dec 2014 12:38:06 AM UTC  
 
Category: IPv6Severity: 3 - Normal
Item Group: Faulty BehaviourStatus: Fixed
Privacy: PublicAssigned to: Simon Goldschmidt <goldsimon>
Open/Closed: ClosedPlanned 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>
Project AdministratorIn charge of this item.
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>

 

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
  • -unavailable- added by goldsimon (Posted a comment)
  • -unavailable- added by zsmith (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 04 Mar 2015 08:22:19 PM UTCgoldsimonStatusNone=>Fixed
      Assigned toNone=>goldsimon
      Open/ClosedOpen=>Closed
    Tue 09 Dec 2014 12:38:06 AM UTCzsmithAttached File-=>Added nd6_send_at_least_one_RS.patch, #32625

    Back to the top


    Powered by Savane 3.1-cleanup1