buglwIP - A Lightweight TCP/IP stack - Bugs: bug #42885, nd6_reachability_hint() accepts an...

 
 

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

bug #42885: nd6_reachability_hint() accepts an address of an unknown neighbour

Submitter:  Philipp Tölke <philipptoelke>
Submitted:  Thu 31 Jul 2014 10:13:35 AM UTC
   
 
Category:  IPv6 Severity:  3 - Normal
Item Group:  Faulty Behaviour Status:  Fixed
Privacy:  Public Assigned to:  idelamer
Open/Closed:  Closed Planned Release:  None
lwIP version:  git head

Wed 18 Mar 2015 06:21:14 PM UTC, comment #1: 

Yes, I agree that was a misuse of that function, but I'll add the patch as a safety.

thanks

Ivan Delamer <idelamer>
Group Member
Thu 31 Jul 2014 10:13:35 AM UTC, original submission:  

In our application devices use multicast to discover each other.

We erroneously called nd6_reachability_hint() after successful communication even when using multicast which can lead to an neighbour-cache entry being made "REACHABLE" that has no valid LL-address.

While this clearly was our mistake, I propose the attached patch. It changes nd6_reachability_hint() to only mark valid entries as "REACHABLE".

Philipp Tölke <philipptoelke>

 

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

Attached Files

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by idelamer (Posted a comment)
  • -email is unavailable- added by philipptoelke (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-18 idelamer StatusNone Fixed
        Assigned toNone idelamer
        Open/ClosedOpen Closed
    2014-07-31 philipptoelke Attached File- Added 0001-do-not-accept-reachability-from-unknown-neighbours.patch, #31806

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code