Re: [tcpm] poll for adoption of draft-gont-tcpm-tcp-timestamps-03
Fernando Gont <fernando@gont.com.ar> Sat, 27 March 2010 04:14 UTC
Return-Path: <fernando@gont.com.ar>
X-Original-To: tcpm@core3.amsl.com
Delivered-To: tcpm@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 9ACB53A67AD for <tcpm@core3.amsl.com>; Fri, 26 Mar 2010 21:14:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.708
X-Spam-Level:
X-Spam-Status: No, score=0.708 tagged_above=-999 required=5 tests=[AWL=-0.423, BAYES_50=0.001, DNS_FROM_OPENWHOIS=1.13]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 88PHnPyVYuPP for <tcpm@core3.amsl.com>; Fri, 26 Mar 2010 21:14:02 -0700 (PDT)
Received: from smtp1.xmundo.net (poseidon.xmundo.net [201.216.232.79]) by core3.amsl.com (Postfix) with ESMTP id ED2453A67B4 for <tcpm@ietf.org>; Fri, 26 Mar 2010 21:14:00 -0700 (PDT)
Received: from venus.xmundo.net (venus.xmundo.net [201.216.232.56]) by smtp1.xmundo.net (Postfix) with ESMTP id 049146B6E42; Sat, 27 Mar 2010 01:14:29 -0300 (ART)
Received: from [192.168.0.102] (129-130-17-190.fibertel.com.ar [190.17.130.129]) (authenticated bits=0) by venus.xmundo.net (8.13.8/8.13.8) with ESMTP id o2R4EKud005623; Sat, 27 Mar 2010 01:14:20 -0300
Message-ID: <4BAD861C.1030401@gont.com.ar>
Date: Sat, 27 Mar 2010 01:14:20 -0300
From: Fernando Gont <fernando@gont.com.ar>
User-Agent: Thunderbird 2.0.0.24 (Windows/20100228)
MIME-Version: 1.0
To: Joe Touch <touch@ISI.EDU>
References: <20100324192236.2D025BCAEF0@lawyers.icir.org> <4BAD02BD.6070907@gont.com.ar> <4BAD4827.7030202@isi.edu>
In-Reply-To: <4BAD4827.7030202@isi.edu>
X-Enigmail-Version: 0.96.0
OpenPGP: id=D076FFF1
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 7bit
X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-3.0 (venus.xmundo.net [201.216.232.56]); Sat, 27 Mar 2010 01:14:28 -0300 (ART)
Cc: "tcpm@ietf.org" <tcpm@ietf.org>, mallman@icir.org
Subject: Re: [tcpm] poll for adoption of draft-gont-tcpm-tcp-timestamps-03
X-BeenThere: tcpm@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: TCP Maintenance and Minor Extensions Working Group <tcpm.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/tcpm>, <mailto:tcpm-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/tcpm>
List-Post: <mailto:tcpm@ietf.org>
List-Help: <mailto:tcpm-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tcpm>, <mailto:tcpm-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 27 Mar 2010 04:14:03 -0000
Hi, Joe, These are interesting points to be addressed/clarified. Thanks! I will try to address these in the next rev of the document. -- Meanwhile, comments inline.... Joe Touch wrote: > Presuming this is the path forward, one issue that needs to be > addressed: > > - what happens when one side assumes the timestamps are monotonically > increasing, but they're not Worst case scenario: the TIME_WAIT state cannot be recycled, and hence the situation is no worse and no better than the current state of affairs, namely: a) The TIME_WAIT state is assasinated [RFC793], with the connection request being rejected b) The SYN segment is ignored, and thus the connection request times out, or is accepted after future retransmissions of the SYN [RFC1337] > As recent exchanges suggest, there are possible reasons why either > side might want to implement timestamps differently. In that case, > it's might not be realistic to assume monotonicity. It's not really about assuming that timestamps are intentionally monotonically-increasing. *If* they are, no matter whether that was by choice or by chance, you can recycle the TCB. *If* timestamps are monotonically-increasing, then you're sort of assured that the aforementioned "heuristics" will work. This parallels the processing of ISNs in the BSD hack (allowed by the very RFC793). There are stacks that completely randomize the ISNs (e.g., OpenBSD). If the ISN of an incoming SYN is larger than the last SEQ seen for a connection in the TIME_WAIT state, you recycle the TCB. If ISNs are randomized, these heuristics may or may not kick in. > It's not appropriate to consider client/server roles here; the issue > is who shuts down the connection and thus holds the TIME_WAIT - that > is often the server, but need not be. What I meant is that the side more concerned with recycling TCBs in the TIME_WAIT state is the server-side. And that the side that should generate monotonically-increasing timestamps is the client-side. You're right that which side remains in the TIME_WAIT state depends on which side performs the "active close" (rather than on client vs. server). But if it's the client TCB that remains in the TIME_WAIT state, the collision would not even occur, as it would be detected and avoided by the client itself. > Overall, if this suggestion requires the TIME_WAIT side assume > properties of the other end, it may *require* a flag to ensure. I believe this is unnecessary. The beauty of this "TIME_WAIT tossing" things is that this is a local policy, that can be applied even without agreement with the other side. Clearly, for the sake of this policy, it's better if clients generate timestamps such that they are monotonically-increasing across connections. If the chances of TIME_WAIT tossing are reduced. > Given we're not talking about such a flag, the entire mechanism may > be moot as a result. THe "TIME_WAIT tossing" thing is a local policy, rather than a mechanism. If clients generate timestamps such that they are monotonically-increasing they clearly contribute to the success of this policy. That's it. Again, the heuristics performed by BSD-derived kernels with the ISN of incoming SYNs when there's a previous incarnation of the same connection in the TIME_WAIT state. Thanks! Kind regards, -- Fernando Gont e-mail: fernando@gont.com.ar || fgont@acm.org PGP Fingerprint: 7809 84F5 322E 45C7 F1C9 3945 96EE A9EF D076 FFF1
- Re: [tcpm] poll for adoption of draft-gont-tcpm-t… Alfred Hönes
- [tcpm] poll for adoption of draft-gont-tcpm-tcp-t… Eddy, Wesley M. (GRC-MS00)[ASRC AEROSPACE CORP]
- Re: [tcpm] poll for adoption of draft-gont-tcpm-t… Mark Allman
- Re: [tcpm] poll for adoption of draft-gont-tcpm-t… Anantha Ramaiah (ananth)
- Re: [tcpm] poll for adoption of draft-gont-tcpm-t… Alfred Hönes
- Re: [tcpm] poll for adoption of draft-gont-tcpm-t… L.Wood
- Re: [tcpm] poll for adoption of draft-gont-tcpm-t… Mark Allman
- Re: [tcpm] poll for adoption of draft-gont-tcpm-t… Joe Touch
- Re: [tcpm] poll for adoption of draft-gont-tcpm-t… Fernando Gont
- Re: [tcpm] poll for adoption of draft-gont-tcpm-t… John Heffner
- Re: [tcpm] poll for adoption of draft-gont-tcpm-t… Joe Touch
- Re: [tcpm] poll for adoption of draft-gont-tcpm-t… Fernando Gont
- Re: [tcpm] poll for adoption of draft-gont-tcpm-t… Mark Allman
- Re: [tcpm] poll for adoption of draft-gont-tcpm-t… Joe Touch
- Re: [tcpm] poll for adoption of draft-gont-tcpm-t… Mark Allman
- Re: [tcpm] poll for adoption of draft-gont-tcpm-t… Mark Allman
- Re: [tcpm] poll for adoption of draft-gont-tcpm-t… Fernando Gont
- Re: [tcpm] poll for adoption of draft-gont-tcpm-t… Mark Allman
- Re: [tcpm] poll for adoption of draft-gont-tcpm-t… Fernando Gont
- Re: [tcpm] poll for adoption of draft-gont-tcpm-t… Joe Touch
- Re: [tcpm] poll for adoption of draft-gont-tcpm-t… Fernando Gont
- Re: [tcpm] poll for adoption of draft-gont-tcpm-t… Mark Allman
- Re: [tcpm] poll for adoption of draft-gont-tcpm-t… Joe Touch
- Re: [tcpm] poll for adoption of draft-gont-tcpm-t… Fernando Gont
- Re: [tcpm] poll for adoption of draft-gont-tcpm-t… Alexander Zimmermann
- Re: [tcpm] poll for adoption of draft-gont-tcpm-t… Fernando Gont
- Re: [tcpm] poll for adoption of draft-gont-tcpm-t… Alexander Zimmermann
- Re: [tcpm] poll for adoption of draft-gont-tcpm-t… Joe Touch
- Re: [tcpm] poll for adoption of draft-gont-tcpm-t… Fernando Gont
- Re: [tcpm] poll for adoption of draft-gont-tcpm-t… Christian Huitema
- Re: [tcpm] poll for adoption of draft-gont-tcpm-t… Fernando Gont
- Re: [tcpm] poll for adoption of draft-gont-tcpm-t… Joe Touch
- Re: [tcpm] poll for adoption of draft-gont-tcpm-t… Fernando Gont
- Re: [tcpm] poll for adoption of draft-gont-tcpm-t… Joe Touch
- Re: [tcpm] poll for adoption of draft-gont-tcpm-t… Fernando Gont
- Re: [tcpm] poll for adoption of draft-gont-tcpm-t… Mark Allman
- Re: [tcpm] poll for adoption of draft-gont-tcpm-t… Fernando Gont
- Re: [tcpm] draft-ietf-tcpm-1323bis Scheffenegger, Richard