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

Submitted by:  Martine Lenders <authmillenon>
Submitted on:  Sun 28 Feb 2016 04:06:35 AM UTC  
 
Category: IPv6Severity: 3 - Normal
Item Group: Faulty BehaviourStatus: Confirmed
Privacy: PublicAssigned to: None
Open/Closed: OpenPlanned Release: None
lwIP version: git head

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>
Project 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>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by idelamer (Posted a comment)
  • -unavailable- added by authmillenon (Submitted the item)
  • -unavailable- added by authmillenon
  •  

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

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 03 Mar 2016 11:53:20 PM UTCidelamerStatusNone=>Confirmed
    Sun 28 Feb 2016 04:06:35 AM UTCauthmillenonCarbon-Copy-=>Added -unavailable-

    Back to the top


    Powered by Savane 3.1-cleanup1