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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Wilfred
URL:
  <https://savannah.nongnu.org/bugs/?56013>

                 Summary: The ICMPv6 err message must take as much of the
offending packet as possible
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: kevingao
            Submitted on: Thu 28 Mar 2019 03:03:25 AM UTC
                Category: IPv6
                Severity: 3 - Normal
              Item Group: Faulty Behaviour
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None
            lwIP version: git head

    _______________________________________________________

Details:

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.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Thu 28 Mar 2019 03:03:25 AM UTC  Name:
icmpv6-err-message-take-as-much-of-the-offending-packet-as-possible.patch
Size: 2KiB   By: kevingao

<http://savannah.nongnu.org/bugs/download.php?file_id=46651>

    _______________________________________________________

Reply to this item at:

  <https://savannah.nongnu.org/bugs/?56013>

_______________________________________________
  Message sent via Savannah
  https://savannah.nongnu.org/


_______________________________________________
lwip-devel mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/lwip-devel