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

Submitter:  Gao Qingshui <kevingao>
Submitted:  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>

 

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

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)
  •  

    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.

     

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code