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:  IPv6 Severity:  3 - Normal
Item Group:  Faulty Behaviour Status:  Fixed
Privacy:  Public Assigned to:  Simon Goldschmidt <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>
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
  • -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

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

    Only logged-in users can vote.




    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.3