buglwIP - A Lightweight TCP/IP stack - Bugs: bug #56016, IPv6 auto configuration need some...

 
 

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

bug #56016: IPv6 auto configuration need some optimization

Submitted by:  Gao Qingshui <kevingao>
Submitted on:  Thu 28 Mar 2019 07:25:11 AM UTC  
 
Category:  IPv6 Severity:  3 - Normal
Item Group:  Change Request Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open Planned Release:  None
lwIP version:  git head

Tue 02 Apr 2019 03:28:52 AM UTC, comment #1: 

update the statement in the 1st comment:
1, for the 2nd item, when enable auto configuration, RFC4862 also suggest to send RS. pls refer RFC4862 section 5.5.1, "Router Advertisements are sent periodically to the all-nodes multicast address. To obtain an advertisement quickly, a host sends out Router Solicitations as described in [RFC4861]."
2, for the 3rd item, when disable auto configuration, I think maybe I am wrong, the auto configurated address could be still usable until invalid timer trigged. RFC4862 has no statement on this scenario.
3, in order to make lwip works well in Plug-and-Play scenario, I recommend to fix the issue bug #55602 to handle the case that host switch from one subnet to another.

Gao Qingshui <kevingao>
Thu 28 Mar 2019 07:25:11 AM UTC, original submission:  

1,currently we can use netif_set_ip6_autoconfig_enabled to enable auto configuration on one specific netif, but this was just a Macro, not an thread safe function. It is better to expose this API as one netifapi function to make the user enable/disable auto configuration dynamically.
2,when enable auto configuration, lwip should send out Router Solicitation in order to scan the Router, this could save much of the auto configuration time.
3,when disable auto configuration, the auto configured IPv6 address should set to invalid and not use anymore. Beside, netif->prefix->flag should be cleared.

Gao Qingshui <kevingao>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by kevingao (Submitted the item)
  •  

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

    Only logged-in users can vote.

     

     

     

    No changes have been made to this item

    Back to the top


    Powered by Savane 3.5