lwip-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-devel] [patch #6760] Ping calculates incorrect checksum


From: Robert Sprowson
Subject: [lwip-devel] [patch #6760] Ping calculates incorrect checksum
Date: Sun, 01 Mar 2009 10:46:14 +0000
User-agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1)

URL:
  <http://savannah.nongnu.org/patch/?6760>

                 Summary: Ping calculates incorrect checksum
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: sprow
            Submitted on: Sun 01 Mar 2009 10:46:10 GMT
                Category: None
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None

    _______________________________________________________

Details:

Ping 1.16 calculates the checksum before the padding bytes have been added to
the buffer, consequently the checksum is wrong.

Windows appears to check for this and rejects the packet.

Patch just reorders the ping_prepare_echo function.




    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Sun 01 Mar 2009 10:46:11 GMT  Name: patch.txt  Size: 468B   By: sprow
Unified diff
<http://savannah.nongnu.org/patch/download.php?file_id=17553>

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/patch/?6760>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]