RIOT-OS / RIOT

RIOT - The friendly OS for IoT
https://riot-os.org
GNU Lesser General Public License v2.1
4.94k stars 1.99k forks source link

NDP: implement missing functionality #3052

Open miri64 opened 9 years ago

miri64 commented 9 years ago

This is an overview issue to organize ongoing development of IPv6 neighbor discovery:

Unsure, because important for understanding of RFC 6775, but unknown if implementation effort is needed:

Optional:

miri64 commented 8 years ago

Should look into this when working on #5293.

PeterKietzmann commented 6 years ago

@miri65 now that the new NDP is nearly there, could you update the "missing functionalities" list please

miri64 commented 6 years ago

@miri65

I'm getting older :sob:

This is still up-to-date. The NIB did not add any significant new functionality. It's in the project as a reminder to the testers, that some functionality isn't implemented yet (and won't be in #7925).

(side-note: even if there would be new functionalities, I only would update them after #7925 got merged ;-))

stale[bot] commented 5 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you want me to ignore this issue, please mark it with the "State: don't stale" label. Thank you for your contributions.

tinstructor commented 3 years ago

@miri64 @benpicco I was wondering what happens when the ABRO valid lifetime expires since RFC 6775 is rather ambiguous (at least to me it is) on this subject. For example, it states on page 29:

When the ABRO Valid Lifetime associated with a 6LBR times out, all information related to that 6LBR MUST be removed.

But then on page 36 it says:

The router keeps state for each 6LBR that it sees with an ABRO. This includes the version number, the Valid Lifetime, and the complete set of PIOs and 6COs. The prefixes are timed out based on the Valid Lifetime in the PIO. The Context Prefix is timed out based on the Valid Lifetime in the 6CO.

I've tried digging through the code and I think I understood that RIOT just times out all information stored for a given 6LBR (i.e., including contexts and prefixes) when the ABRO valid lifetime expires, regardless of the fact that prefix and context lifetimes may not have expired yet. Conversely I understood from the code that when prefixes and / or contexts expire before the ABRO does, they are timed-out independently. Is my assumption correct?