Re: [tcpm] poll for adoption of draft-gont-tcpm-tcp-timestamps-03

John Heffner <johnwheffner@gmail.com> Tue, 23 March 2010 17:28 UTC

Return-Path: <johnwheffner@gmail.com>
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 300E83A6A56 for <tcpm@core3.amsl.com>; Tue, 23 Mar 2010 10:28:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 4.031
X-Spam-Level: ****
X-Spam-Status: No, score=4.031 tagged_above=-999 required=5 tests=[BAYES_50=0.001, DNS_FROM_OPENWHOIS=1.13, J_CHICKENPOX_19=0.6, MANGLED_OFF=2.3]
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 wWbE8qAuGYDX for <tcpm@core3.amsl.com>; Tue, 23 Mar 2010 10:28:43 -0700 (PDT)
Received: from mail-wy0-f172.google.com (mail-wy0-f172.google.com [74.125.82.172]) by core3.amsl.com (Postfix) with ESMTP id 263193A6957 for <tcpm@ietf.org>; Tue, 23 Mar 2010 10:28:42 -0700 (PDT)
Received: by wyb29 with SMTP id 29so3157201wyb.31 for <tcpm@ietf.org>; Tue, 23 Mar 2010 10:28:57 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=vLuUZEwMvMFP3CDbIEglF5dcZz9HBryeYi578xBGSnA=; b=VM+AbSPw/EolcDc/UD8uu/hKKoPzc2Vgx70yajjWHxkJwzss/+et7gDiurRbt9U66B cSSvocACMo7qP1AX5k/l2Ueicjts6Xsb0A5PaefVoaK2OtUe26yh29s4Nqs7rBVzmNNG ezXEK3yUygUAvEpBq7x0G/39SlMwlHsUZWLC0=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=GR9wCWpWAuJzcEN2g1dUJ0kordCdVs6mvBRGlgdtOoAVgGUGb1sCvxBjMPWuWICpb/ j+T52nC1nQWcp3ctSM2wX68iifaJsBtw+GaKxggE8TmQRgOegnIgeGw5zreliHvTc5Me OoImsmxlQU+gC7KdOK5curTwC40YtdA2fLuJE=
MIME-Version: 1.0
Received: by 10.216.85.143 with SMTP id u15mr1280422wee.205.1269365337450; Tue, 23 Mar 2010 10:28:57 -0700 (PDT)
In-Reply-To: <4BA8E5C6.8010509@isi.edu>
References: <C304DB494AC0C04C87C6A6E2FF5603DB47DF997795@NDJSSCC01.ndc.nasa.gov> <4BA8E5C6.8010509@isi.edu>
Date: Tue, 23 Mar 2010 13:28:56 -0400
Message-ID: <1e41a3231003231028n413e59c0w36e03b752aa9eeff@mail.gmail.com>
From: John Heffner <johnwheffner@gmail.com>
To: Joe Touch <touch@isi.edu>
Content-Type: text/plain; charset="ISO-8859-1"
Cc: "tcpm@ietf.org" <tcpm@ietf.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: Tue, 23 Mar 2010 17:28:44 -0000

On Tue, Mar 23, 2010 at 12:01 PM, Joe Touch <touch@isi.edu> wrote:
> By randomizing the initial timestamp, we now need to keep per-connection
> timestamp offsets, which increases both state and processing. It also
> means that incoming connections to socket pairs in TIME_WAIT would
> silently fail roughly half the time, requiring undue timeouts.

If I understand correctly, that's not the case.  The function from Section 2:
  timestamp = T() + F(localhost, localport, remotehost, remoteport, secret_key)
has no per-connection state*, and should not result in any issues with
TIME_WAIT connections.  Though it does not say so explicitly, my
understanding is that secret_key is intended to be a system-wide value
initialized on boot with random data..

It seems like a very reasonable approach to me -- low-cost and easy to
implement with no major downsides.

  -John


* I guess there would be some soft state, because you'll want to cache
the value of F().