buglwIP - A Lightweight TCP/IP stack - Bugs: bug #56013, The ICMPv6 err message must take...


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

bug #56013: The ICMPv6 err message must take as much of the offending packet as possible

Submitted by:  Gao Qingshui <kevingao>
Submitted on:  Thu 28 Mar 2019 03:03:25 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

Wed 05 Feb 2020 07:44:26 PM UTC, comment #1: 

Fixed, but slightly different to your patch.

Simon Goldschmidt <goldsimon>
Project AdministratorIn charge of this item.
Thu 28 Mar 2019 03:03:25 AM UTC, original submission:  

As per RFC4443 section 2.4, Every ICMPv6 error message (type < 128) MUST include as much of the IPv6 offending (invoking) packet (the packet that caused the error) as possible without making the error message packet exceed the minimum IPv6 MTU, but currently lwip only take the first 48 bytes. In many cases, this way cannot bring enough err info to make the packet originator make sense of what specific error happened. so lwip must obey this rule as it was defined as "MUST".
The attached patch file was my modification, pls review.

Gao Qingshui <kevingao>


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 kevingao (Submitted the item)

    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 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-02-05 goldsimon StatusNone => Fixed
        Assigned toNone => goldsimon
        Open/ClosedOpen => Closed
    2019-03-28 kevingao Attached File- => Added icmpv6-err-message-take-as-much-of-the-offending-packet-as-possible.patch, #46651

    Back to the top

    Powered by Savane 3.5