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

Yoshifumi Nishida <nishida@sfc.wide.ad.jp> Wed, 28 May 2014 06:06 UTC

Return-Path: <nishida@sfc.wide.ad.jp>
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 18BAE1A0359 for <tcpm@ietfa.amsl.com>; Tue, 27 May 2014 23:06:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.58
X-Spam-Level:
X-Spam-Status: No, score=0.58 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FM_FORGED_GMAIL=0.622, HELO_EQ_JP=1.244, HOST_EQ_JP=1.265, HTML_MESSAGE=0.001, RP_MATCHES_RCVD=-0.651, SPF_PASS=-0.001] autolearn=no
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 abfUtDcH8Fc3 for <tcpm@ietfa.amsl.com>; Tue, 27 May 2014 23:06:43 -0700 (PDT)
Received: from mail.sfc.wide.ad.jp (shonan.sfc.wide.ad.jp [IPv6:2001:200:0:8803::53]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 24D891A0357 for <tcpm@ietf.org>; Tue, 27 May 2014 23:06:42 -0700 (PDT)
Received: from mail-we0-f182.google.com (mail-we0-f182.google.com [74.125.82.182]) by mail.sfc.wide.ad.jp (Postfix) with ESMTPSA id 84F562781CB for <tcpm@ietf.org>; Wed, 28 May 2014 15:06:37 +0900 (JST)
Received: by mail-we0-f182.google.com with SMTP id t60so10735184wes.13 for <tcpm@ietf.org>; Tue, 27 May 2014 23:06:35 -0700 (PDT)
MIME-Version: 1.0
X-Received: by 10.194.184.179 with SMTP id ev19mr47055258wjc.85.1401257195168; Tue, 27 May 2014 23:06:35 -0700 (PDT)
Received: by 10.194.88.9 with HTTP; Tue, 27 May 2014 23:06:35 -0700 (PDT)
In-Reply-To: <5384EFC3.50803@isi.edu>
References: <20140425221257.12559.43206.idtracker@ietfa.amsl.com> <655C07320163294895BBADA28372AF5D2CFE36@FR712WXCHMBA15.zeu.alcatel-lucent.com> <20140503122950.GM44329@verdi> <655C07320163294895BBADA28372AF5D2D009E@FR712WXCHMBA15.zeu.alcatel-lucent.com> <201405221710.s4MHAY4S002037@bagheera.jungle.bt.co.uk> <537E3ACD.5000308@isi.edu> <537E48CE.8040704@mti-systems.com> <537E66A7.4080907@isi.edu> <201405231003.s4NA3PAB005137@bagheera.jungle.bt.co.uk> <537F7D91.10802@isi.edu> <F4BCB99F-6133-4F3C-BD5E-3369B979EB33@netapp.com> <655C07320163294895BBADA28372AF5D305E00@FR712WXCHMBA15.zeu.alcatel-lucent.com> <012C3117EDDB3C4781FD802A8C27DD4F6F3DD808@SACEXCMBX06-PRD.hq.netapp.com> <655C07320163294895BBADA28372AF5D309C5D@FR712WXCHMBA15.zeu.alcatel-lucent.com> <012C3117EDDB3C4781FD802A8C27DD4F6F3E09CF@SACEXCMBX06-PRD.hq.netapp.com> <655C07320163294895BBADA28372AF5D309CC7@FR712WXCHMBA15.zeu.alcatel-lucent.com> <CAO249ycpc6BzxCQv=zhJzL3BQwmvNH68ec7UGN_5MD7U1_FeUw@mail.gmail.com> <5384EFC3.50803@isi.edu>
Date: Tue, 27 May 2014 23:06:35 -0700
Message-ID: <CAO249yf6RCBtfOTmAYPt2KM7=pBD=XEDHmLTr+VyLeEOLAmwsQ@mail.gmail.com>
From: Yoshifumi Nishida <nishida@sfc.wide.ad.jp>
To: Joe Touch <touch@isi.edu>
Content-Type: multipart/alternative; boundary="047d7b87371e5b69ff04fa6f9d11"
Archived-At: http://mailarchive.ietf.org/arch/msg/tcpm/pXJw41hHiypoi_ozeCJFP-JydY0
Cc: "tcpm@ietf.org" <tcpm@ietf.org>
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: Wed, 28 May 2014 06:06:46 -0000

Hi Joe,

I'm wondering if you presume that using the existing code point for late
negotiation.
Suppose If we use new code point, do we still have problems you mentioned
below?

Thanks,
--
Yoshi

On Tue, May 27, 2014 at 1:04 PM, Joe Touch <touch@isi.edu> wrote:

> Hi, all,
>
> Late negotiation has too many problems, as have been repeatedly raised on
> this list:
>
>         - prevents use of the timestamp to help address PAWS for
>         the initial SYN
>
>         - a new connection that either avoids TS in SYN or
>         uses just "use TS" (two-byte) flag can't know when
>         to engage the timestamp and what initial value to use
>
> Joe
>
>
> On 5/27/2014 11:36 AM, Yoshifumi Nishida wrote:
>
>> Hi folks,
>>
>> I've submitted a proposal for this a while ago:
>> http://tools.ietf.org/html/draft-nishida-tcpm-apaws-00
>> Although it's expired now, I will submit a new version within a couple
>> of weeks or so.
>> The late negotiation is also discussed in the draft.
>> As it will change the semantics of TS, it presumes to use new code point
>> (or use timestamp field in SYN). But, I'm happy to discuss on this point.
>>
>> One tricky thing for RFC1323 is that it uses TS for two purposes:
>> timestamping and PAWS and one purpose of the draft is to separate them.
>> I appreciate any feedback on the draft.
>>
>> Thanks,
>> --
>> Yoshi
>>
>> On Tue, May 27, 2014 at 5:12 AM, Scharf, Michael (Michael)
>> <michael.scharf@alcatel-lucent.com
>> <mailto:michael.scharf@alcatel-lucent.com>> wrote:
>>
>>      > Well, if it's just for Timestamps, just use an "invalid" length
>>     of 2 as
>>      > a "Late TS permitted".
>>      >
>>      > Maintaining the same option value and this would be rather straight
>>      > forward.
>>
>>     Interesting proposal. But actually we are not really short of option
>>     numbers. If we get e.g. 8 bytes in a significant number of SYNs
>>     (which is our real bottleneck), I think we could also spend a new
>>     option codepoint.
>>
>>      > Personally, I'd like to combine this with a change in semantics, if
>>      > SACK is negotiated on the same session as well, to allow more
>>     efficient
>>      > loss recovery (lost retransmission detection during a loss recovery
>>      > episode). I should have a unpublished draft sitting around here
>> about
>>      > that aspect.
>>
>>     A change in semantics would also be a reason for a new codepoint,
>> imho.
>>
>>     Michael
>>
>>
>>      > The TS option handling seems to be rather generous by middleboxes,
>> in
>>      > general.
>>      >
>>      > Richard Scheffenegger
>>      >
>>      > > -----Original Message-----
>>      > > From: tcpm [mailto:tcpm-bounces@ietf.org
>>     <mailto:tcpm-bounces@ietf.org>] On Behalf Of Scharf,
>>      > Michael
>>      > > (Michael)
>>      > > Sent: Dienstag, 27. Mai 2014 13:49
>>      > > To: Scheffenegger, Richard; Eggert, Lars; Joe Touch
>>      > > Cc: tcpm@ietf.org <mailto:tcpm@ietf.org>
>>      > > Subject: Re: [tcpm] timestamp options (was Re: New Version
>>      > Notification
>>      > > for draft-touch-tcpm-tcp-edo-01.txt)
>>      > >
>>      > > > For late TS, we would still need at least 2 Bytes during
>>      > > > <SYN>/<SYN,ACK> to allow that capability.
>>      > > >
>>      > > > However, as the useful values of Window Scale only cover
>>     0..14 [1],
>>      > > > one approach to save SYN option space would be to negotiate
>>     up to 4
>>      > > > binary
>>      > > > (on/off) plus WS in a new single 3-byte option.
>>      > >
>>      > > I might be wrong, but I've thought so far that "replacing" the
>>     window
>>      > > scale option would be pretty difficult. We already had reports of
>>      > > middleboxes that parse this option because they try to understand
>>      > rwnd (or
>>      > > they do not parse the option even if they should, or they have
>>      > entirely
>>      > > broken logic to mess up TCP...). I think one example are
>> firewalls
>>      > that
>>      > > try to detect whether segments are in-window. Another example
>> could
>>      > be
>>      > > PEPs that try to tune rwnd (if they still exist in the wild).
>>      > >
>>      > > My understanding so far was that a solution only for timestamps
>>     would
>>      > be
>>      > > the most low-hanging fruit.
>>      > >
>>      > > Michael
>>      > >
>>      > > _______________________________________________
>>      > > tcpm mailing list
>>      > > tcpm@ietf.org <mailto:tcpm@ietf.org>
>>
>>      > > https://www.ietf.org/mailman/listinfo/tcpm
>>
>>     _______________________________________________
>>     tcpm mailing list
>>     tcpm@ietf.org <mailto:tcpm@ietf.org>
>>     https://www.ietf.org/mailman/listinfo/tcpm
>>
>>
>>