Re: [tcpm] timestamp options (was Re: New Version Notification for draft-touch-tcpm-tcp-edo-01.txt)

Yuchung Cheng <ycheng@google.com> Mon, 09 June 2014 18:48 UTC

Return-Path: <ycheng@google.com>
X-Original-To: tcpm@ietfa.amsl.com
Delivered-To: tcpm@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 15E901A02A4 for <tcpm@ietfa.amsl.com>; Mon, 9 Jun 2014 11:48:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.03
X-Spam-Level:
X-Spam-Status: No, score=-2.03 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FM_FORGED_GMAIL=0.622, RP_MATCHES_RCVD=-0.651, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6gu0Eskn4HBe for <tcpm@ietfa.amsl.com>; Mon, 9 Jun 2014 11:48:49 -0700 (PDT)
Received: from mail-ig0-x22d.google.com (mail-ig0-x22d.google.com [IPv6:2607:f8b0:4001:c05::22d]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 5B4D31A029F for <tcpm@ietf.org>; Mon, 9 Jun 2014 11:48:49 -0700 (PDT)
Received: by mail-ig0-f173.google.com with SMTP id r2so2247314igi.12 for <tcpm@ietf.org>; Mon, 09 Jun 2014 11:48:48 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=b12oiWNH7MLFnPyyJx2h6D5m8XL1rz03luXsx0SymQg=; b=XJPoCBChQGT+QU14ZXOgufsk112wJGqARVjgJecnXir7YJxMf9xGXnkDWXTvIQV1Jd zo9x6RLIJlt1YQ07iCHWRvrucBe4ZkW1VYK6C770poElFkZ2ZlX7TFXi3afGYTwG0qRL tku34fi5vpSo9u3BB/quCGtOoAzRrFR5GWdzATkLwmZoNBpnKafRaAdbwCM2tKd0EtQE b17WPwhnvBH/fXzNZSpqFSKqK5jUuJw/d4NX+BFwkbLLlbfxm8XeXkIyrs0n5YQ//pJ2 0tSzy1E1Gzfwi38/fSbaaH5jYeKC44XrVeV+2UFasp52U6WShkzPbMKVbbsNsMPSL1Y2 YJOQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=b12oiWNH7MLFnPyyJx2h6D5m8XL1rz03luXsx0SymQg=; b=fsD515R2iJyyLunPT8FvVSY39nLV1z5KtZCYdUD8FBCFflieYAuH9M4kFTW/k05iIy UnTCDC69vKnPaGmtrVjQGQ0DUHH8ZtM/iQYhbs7JVrRdz/qtG2c5S9oTDYvRUm1i6c/3 4tnaaJoo5dP16959Cjiuv62D7WGsQim5rQedSAD/tnlWbmiBdtxdLrBRKH7iFLVf4Bpl B5lgqKZ6rjOFgg5IvyoMoqJEjVQk4aG1b3gV+IVUHWC07V5VugTBalzc9JpOCakkiSrC 5Tl8bxj/2IbTAApg3aDHtQ2+tVy79a9GhA6eb4y4Ha2EPR50Po//acEyeWceSCD+Rkjl milg==
X-Gm-Message-State: ALoCoQmrOjAHC3VMrylGzkgCfqLjVhtmijEssvhKfmEaG74QPMU2wk9mmbIlxGyyDcXlGXGB9zlb
X-Received: by 10.42.99.10 with SMTP id u10mr33214433icn.9.1402339728774; Mon, 09 Jun 2014 11:48:48 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.64.223.163 with HTTP; Mon, 9 Jun 2014 11:48:08 -0700 (PDT)
In-Reply-To: <20140602203540.C48727825A0@lawyers.icir.org>
References: <538CDB07.2090306@isi.edu> <20140602203540.C48727825A0@lawyers.icir.org>
From: Yuchung Cheng <ycheng@google.com>
Date: Mon, 09 Jun 2014 11:48:08 -0700
Message-ID: <CAK6E8=d5GR_LTZqRFMRSvuJ1gHabgjDgbpRPuNKeGayQpFcc9g@mail.gmail.com>
To: "mallman@icir.org" <mallman@icir.org>
Content-Type: text/plain; charset="UTF-8"
Archived-At: http://mailarchive.ietf.org/arch/msg/tcpm/CW1tU3uYp51WghKANkkIKZGjnYY
Cc: "tcpm@ietf.org" <tcpm@ietf.org>, Joe Touch <touch@isi.edu>
Subject: Re: [tcpm] timestamp options (was Re: New Version Notification for draft-touch-tcpm-tcp-edo-01.txt)
X-BeenThere: tcpm@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: TCP Maintenance and Minor Extensions Working Group <tcpm.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/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: Mon, 09 Jun 2014 18:48:51 -0000

On Mon, Jun 2, 2014 at 1:35 PM, Mark Allman <mallman@icir.org> wrote:
>
>
> > You talk about limiting the rate; that doesn't help a connection
> > that cannot proceed because packets with the TS option are being
> > dropped, e.g., by a midbox.
>
> Sure- in a spec you'd have to consider that.  But, I am not going to
> pretend that it is difficult to detect and react to.
>
> > Further, what happens to the packets? When and how do you know when
> > the TS isn't working? When do you give up?
>
> One RTT later.  Don't pretend this is difficult.  I didn't fully specify
> it in an **email message**, but don't pretend this is some leap into
> the Great Protocol Engineering Unknown, Joe.
>
> > 1323bis talks about a list of mechanisms that rely on timestamps, more
> > than just PAWS. What happens to those when TS is optional or started
> > late?
>
> If you want to use something and that something needs the TS option to
> be on for the entire connection (e.g., Eifel) then you turn it on for
> the entire connection.  Fine.  I have no problem with that.  But, then
> you're not simply wasting 10 bytes in every packet, but you're getting
> something for it.


Or we can just (dynamically) start tagging TS on retransmission to
support Eifel.

We have developed some nice features that use TS but 12 bytes is not trivial.
It could also cost a sack block. I would love to see proposals that
support these features w/o requiring always-on TS.

>
> However, on its own 1323(bis) wastes 10 bytes in every packet because
> RTTM is not helpful and PAWS is nearly never needed.  So, it seems to me

I second that TS RTTM is marginally helpful.

In non-retransmitted sequence it's useless b/c ACK/SACK take care of
it and they are less vulnerable to bad middleboxes. We've seen
middleboxes messing TS option values.
Even in retransmitted cases, TS can only be used if the ACK advances
SND_UNA. So if some retransmission are lost again then TS aren't
useful to get RTTM.
Therefore Linux has changed to use TS as the last resort in RTTM.
http://lxr.linux.no/linux+v3.15/net/ipv4/tcp_input.c#L2887

> that instead of dogmatically putting our foot down we could re-think
> providing the information for PAWS when we actually need PAWS.  I guess
> that is radical engineering or something, I dunno ...
>
> allman
>
>
>
>
> _______________________________________________
> tcpm mailing list
> tcpm@ietf.org
> https://www.ietf.org/mailman/listinfo/tcpm
>