Re: TCP Checksum Interoperability

Fred Baker <fred@cisco.com> Sat, 06 April 2002 01:17 UTC

Message-Id: <5.1.0.14.2.20020405171614.01d96718@mira-sjcm-4.cisco.com>
X-Sender: fred@mira-sjcm-4.cisco.com
X-Mailer: QUALCOMM Windows Eudora Version 5.1
Date: Fri, 05 Apr 2002 17:17:48 -0800
To: Matt Crawford <crawdad@fnal.gov>
From: Fred Baker <fred@cisco.com>
Subject: Re: TCP Checksum Interoperability
Cc: Lloyd Wood <L.Wood@eim.surrey.ac.uk>, ietf@ietf.org, tcp-impl@grc.nasa.gov
In-Reply-To: <200204052313.g35NDvZ10445@gungnir.fnal.gov>
References: <"05 Apr 2002 23:13:47 +0100." <Pine.SOL.4.43.0204052248210.5049-100000@phaestos.ee.surrey.ac.uk>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format=flowed
Sender: owner-tcp-impl@grc.nasa.gov
Precedence: bulk
Status: RO
Content-Length: 1298
Lines: 26

At 03:13 PM 4/5/2002, Matt Crawford wrote:
>I think that (A) most or all extant IPv4 routers violate 791
>if they happen hold a packet more than a second, and (B) IPv6
>invalidated TCP's correctness by defining the Hop Limit field to be a
>hop limit and have no connection to time.  A TCP riding on IPv6 may
>receive old segments an unbounded time later without any other
>network element breaking a spec.

for the record, while IPv4 TTL remains theoretically a time in seconds, it 
effectively became a hop count a long time ago. Thus sayeth RFC 1812:

5.3.1 Time to Live (TTL)

    The Time-to-Live (TTL) field of the IP header is defined to be a
    timer limiting the lifetime of a datagram.  It is an 8-bit field and
    the units are seconds.  Each router (or other module) that handles a
    packet MUST decrement the TTL by at least one, even if the elapsed
    time was much less than a second.  Since this is very often the case,
    the TTL is effectively a hop count limit on how far a datagram can
    propagate through the Internet.

    When a router forwards a packet, it MUST reduce the TTL by at least
    one.  If it holds a packet for more than one second, it MAY decrement
    the TTL by one for each second.

In that it "MAY" decrement the value, it also may choose not to...