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: Fixed
Privacy: PublicAssigned to: Simon Goldschmidt <goldsimon>
Open/Closed: ClosedPlanned 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>
Project AdministratorIn charge of this item.
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>:

[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

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 goldsimon (Posted a comment)
  • -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 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 09 Mar 2018 10:31:07 AM UTCgoldsimonStatusConfirmed=>Fixed
      Assigned toNone=>goldsimon
    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