buglwIP - A Lightweight TCP/IP stack - Bugs: bug #47291, lowpan6: wrong datagram size for...

 
 

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

bug #47291: lowpan6: wrong datagram size for fragmentation

Submitter:  Martine Lenders <authmillenon>
Submitted:  Sun 28 Feb 2016 04:06:35 AM UTC
   
 
Category:  IPv6 Severity:  3 - Normal
Item Group:  Faulty Behaviour Status:  Fixed
Privacy:  Public Assigned to:  goldsimon
Open/Closed:  Closed Planned Release:  None
lwIP version:  git head

Fri 09 Mar 2018 10:31:07 AM UTC, comment #2: 

Should be fixed. Tested with zepif against a zepif using contiki's sicslowpan.c. Also tested with zepif using wireshark dissector.

Simon Goldschmidt <goldsimon>
Group administrator
Thu 03 Mar 2016 11:53:20 PM UTC, comment #1: 

Yes, you are right.
We need to:
- Change the length field
- Change input processing. Currently packets are de-fragmented and then uncompressed, we probably need to uncompress the first fragment when it arrives, and then append the following fragments.

Ivan Delamer <idelamer>
Group Member
Sun 28 Feb 2016 04:06:35 AM UTC, original submission:  

RFC 6282 states in <a href="https://tools.ietf.org/html/rfc6282#section-2">section 2</a>:

<pre>
   [RFC4944] defines the fragment header's datagram_size and
   datagram_offset values as the size and offset of the IPv6 datagram
   before compression.  As a result, all fragment payload outside the
   first fragment must carry their respective portions of the IPv6
   datagram before compression.  This document does not change that
   requirement.
</pre>

The newly introduced lowpan6.c however uses the datagram_size and datagram_offset <i>after</i> compression.

Martine Lenders <authmillenon>

 

(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 goldsimon (Posted a comment)
  • -email is unavailable- added by idelamer (Posted a comment)
  • -email is unavailable- added by authmillenon (Submitted the item)
  • -email is unavailable- added by authmillenon
  •  

    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
    2018-03-09 goldsimon StatusConfirmed Fixed
        Assigned toNone goldsimon
        Open/ClosedOpen Closed
    2016-03-03 idelamer StatusNone Confirmed
    2016-02-28 authmillenon Carbon-Copy- Added -email is unavailable-

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code