patchlwIP - A Lightweight TCP/IP stack - Patches: patch #9455, IPv6 ready test on RFC2460

 
 

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

patch #9455: IPv6 ready test on RFC2460

Submitter:  Jisu Kim <bossrlawltn>
Submitted:  Fri 15 Sep 2017 11:12:32 AM UTC
   
 
Category:  IPv6 Priority:  5 - Normal
Status:  Done Privacy:  Public
Assigned to:  goldsimon Open/Closed:  Closed
Planned Release:  2.1.0

Wed 20 Sep 2017 12:40:43 PM UTC, comment #4: 

In this case, I guess we can close this patch as done and you'll open a new one for the other RFCs.

Simon Goldschmidt <goldsimon>
Group administrator
Wed 20 Sep 2017 01:07:12 AM UTC, comment #3: 

No, this patch is only for RFC2460(IPV6 spec) in ipv6 ready test.

As I know, there are RFC4861(ND6), RFC4862(IPV6 Auto config), RFC1981(MTU discovery), RFC4443(ICMPV6) left to pass for IPv6 ready test.

I will try to pass RFC4861, 4862 and 4443 at least.

Jisu Kim <bossrlawltn>
Tue 19 Sep 2017 12:46:26 PM UTC, comment #2: 

I've pushed the patch as multiple commits. Slightly adapted.

Jisu, are these all fixes required to the complete IPv6 ready test suite? I would have thought there are also bugs in nd6 (e.g. our bug #49307) that need fixing?

Simon Goldschmidt <goldsimon>
Group administrator
Sat 16 Sep 2017 08:47:32 PM UTC, comment #1: 

I've pushed some fixes. However, the changes in ip6.c are so big I want to understand them first before pushing...

Simon Goldschmidt <goldsimon>
Group administrator
Fri 15 Sep 2017 11:12:32 AM UTC, original submission:  

patch for the IPV6 Ready test (RFC2460) 

changed features according to RFC2460: 
IPV6 reassemble time recommended above 60 seconds. 

icmp6_param_problem() sends an exact offset to point the error. 

icmp6_param_problem() sends the pointer in network byte order. 

Hop-by-Hop option header must be the first option.

Hop-by-Hop, Destination option header structures consist of 2 unsigned char; next option type and header length field.
And TLV(Type-Length-Value) option headers come by the number in header length field. 

If the option type in TLV option header is not recognized and 2 MSB is not 0, it is handled as an exception. 

Added definitions of TLV option header type. ex) IP6_PAD1_OPTION

Send ICMP parameter field problem if unrecognized routing type is received. 

Added exception handling to parse a routing header. 

When there are more fragments(Mbit is not zero), payload_length field in IPV6 header must be the multiple of 8

Jisu Kim <bossrlawltn>

 

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

Attached Files
file #41810:  lwip_rfc2460.patch added by bossrlawltn (23KiB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by goldsimon (Posted a comment)
  • -email is unavailable- added by bossrlawltn (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 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2017-09-20 goldsimon StatusNone Done
        Assigned toNone goldsimon
        Open/ClosedOpen Closed
        Planned ReleaseNone 2.1.0
    2017-09-15 bossrlawltn Attached File- Added lwip_rfc2460.patch, #41810

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code