On Tue, 30 Sep 2003, Guido van Rooij wrote:
> > The comment talks about why negative slew is allowed, but not about why it
> > is cumulative or about why it adjusts td_end instead of merely
> > compensating for the uncertainty elsewhere (by a allowing a fuzz of order
> > 1*MSS in the window).
>
> It is cumulative becausewhen you see one fragment, you will probably
> see more fragmented packets. You have to constantly correct for that.
>
Actually no, every packet that is an initial fragment of a TCP frame
carries a sequence number that has no uncertainty. So the uncertainty in
max(seq+len) does not grow as packets go by, subsequent sequence numbers
from the sender correct for any "missing" length in previous packets, so
only one packet counts.
Instead of "cumulative" adjustments, it is perhaps, better to say,
"multiple" chained adjustments. Each negatively slewed ack can move ahead
of the peer by a fixed offset, and adjusts the base for the offset
computation. So, a series of increasing acks can be sent, each
allowing the next to be valid, without any matching data from the peer.
The ~1 MSS uncertainty means that one needs to permit ACKs that are
slightly ahead of the sender (by at most 1 MSS), but adjusting the
peer td_end seems unwise, until the peer sends another packet, the
range of valid acks should not change.
--
Victor Duchovni
IT Security,
Morgan Stanley