lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [bug #21107] LwIP doesn't reset the TTL in ICMP Echo Replie


From: Simon Goldschmidt
Subject: [lwip-devel] [bug #21107] LwIP doesn't reset the TTL in ICMP Echo Replies
Date: Tue, 18 Sep 2007 09:33:33 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.6) Gecko/20070725 Firefox/2.0.0.6

Follow-up Comment #6, bug #21107 (project lwip):

>> But the checksum can still be adjusted (which is much faster),
>> instead of being completely recalculated! 

> Yes, but in this case, the adjustment is more complex (icmp echo
> change, icmp checksum, and ip ttl)?

The icmp echo change is already done, so in addition to your suggested patch,
we simply have to substract the old ttl and add the new ttl to the checksum
and that should be it.

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?21107>

_______________________________________________
  Nachricht geschickt von/durch Savannah
  http://savannah.nongnu.org/





reply via email to

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