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

Yoshifumi Nishida <nishida@sfc.wide.ad.jp> Tue, 03 June 2014 06:18 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 E1FAF1A00F8 for <tcpm@ietfa.amsl.com>; Mon, 2 Jun 2014 23:18:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 1.574
X-Spam-Level: *
X-Spam-Status: No, score=1.574 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, RELAY_IS_203=0.994, 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 2iUGF4ixifJJ for <tcpm@ietfa.amsl.com>; Mon, 2 Jun 2014 23:18:33 -0700 (PDT)
Received: from mail.sfc.wide.ad.jp (shonan.sfc.wide.ad.jp [203.178.142.130]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 93F911A00F9 for <tcpm@ietf.org>; Mon, 2 Jun 2014 23:18:33 -0700 (PDT)
Received: from mail-we0-f173.google.com (mail-we0-f173.google.com [74.125.82.173]) by mail.sfc.wide.ad.jp (Postfix) with ESMTPSA id 64B1B2781BC for <tcpm@ietf.org>; Tue, 3 Jun 2014 15:18:25 +0900 (JST)
Received: by mail-we0-f173.google.com with SMTP id u57so6195057wes.4 for <tcpm@ietf.org>; Mon, 02 Jun 2014 23:18:23 -0700 (PDT)
MIME-Version: 1.0
X-Received: by 10.194.184.179 with SMTP id ev19mr12506943wjc.85.1401776303077; Mon, 02 Jun 2014 23:18:23 -0700 (PDT)
Received: by 10.194.88.102 with HTTP; Mon, 2 Jun 2014 23:18:22 -0700 (PDT)
In-Reply-To: <538CA7DD.9040103@isi.edu>
References: <20140425221257.12559.43206.idtracker@ietfa.amsl.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> <CAO249yf6RCBtfOTmAYPt2KM7=pBD=XEDHmLTr+VyLeEOLAmwsQ@mail.gmail.com> <53892921.2040301@isi.edu> <CAO249yd9HQ6SWeNNjQRgRyFs_expbqtUJTqdqGb4QuTnC0j68A@mail.gmail.com> <538CA7DD.9040103@isi.edu>
Date: Mon, 02 Jun 2014 23:18:22 -0700
Message-ID: <CAO249yf-oJG-i-u7DOJeV79MNVEN2Te1sD8gSjApZ2MytWzUCw@mail.gmail.com>
From: Yoshifumi Nishida <nishida@sfc.wide.ad.jp>
To: Joe Touch <touch@isi.edu>
Content-Type: multipart/alternative; boundary="047d7b87371e99854e04fae87a9f"
Archived-At: http://mailarchive.ietf.org/arch/msg/tcpm/hqOcojZ0OH_kqe0OEU44VUa2O14
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: Tue, 03 Jun 2014 06:18:37 -0000

Hi Joe,

On Mon, Jun 2, 2014 at 9:35 AM, Joe Touch <touch@isi.edu> wrote:
>
>
> On 6/2/2014 1:55 AM, Yoshifumi Nishida wrote:
>
>> Hi Joe,
>>
>> On Fri, May 30, 2014 at 5:58 PM, Joe Touch <touch@isi.edu
>> <mailto:touch@isi.edu>> wrote:
>>
> ...
>
>      I.e., you'd need to implement a new TWHS per option that changes
>>     state. That's a mess. And I don't even want to think about what
>>     happens when you have multiple options that change state at the same
>>     time.
>>
>> With regard to A-PAWS draft, you don't need tight synchronization
>> between sender and receiver necessarily.
>> It is the receiver to send a signal that "BTW, I support A-PAWS, so you
>> don't have to send TS in every segments"
>> Then, the sender can omit TS segments from time to time, or it can just
>> ignore the signal.
>>
>
> First, you definitely need to negotiate TS-support during SYN exchange IMO.
>
> Second, if you decide to turn on TS use in mid-stream, you have to decide
> what to do with non-TS packets - do you just always accept them? Let's say
> you declare all non-TS packets that come before TS-use to be "before" all
> TS-use packets (the non-TS to TS-use transition provides a a distributed
> systems "consistent cut") - we'll look at the other case below.
>
> In that case - which, AFAICT is the best you can do - you still have:
>
>         - no PAWS protection within the non-TS set within a connection
>
>         - no PAWS protection between different streams (that reuse
>         the port-pair) during non-TS use
>

> The most dangerous time is when a connection starts - that's when you
> really need to avoid having things leak from previous connections that
> could have persisted beyond the expected MSL. So that's when you'd want to
> start using TS, but then you have no gain because (again, AFAICT) once you
> start using TS you should never turn it off.
>

Please let me explain my proposal a bit more.
What I am thinking is something like this:
  1: A-PAWS can be enabled in SYN exchange or in the middle of session.
(I'm still thinking choosing one of them or both)
  2: It presumes the use of TS at the beginning. If TS option is disabled,
the connection never uses TS and there's no PAWS. Period.
  3: If TCP receives non-TS packets before enabling A-PAWS, the behavior
will be out-of-scope of the draft. It should follow the way described in
1323bis
So, it starts using TS and tries to turn it off (unless it won't affect
PAWS). But, I still think this might be possible. Please let me know if I
miss something.

Also, In order to address the issue in connection starts, I have added some
texts in Section 4 in http://tools.ietf.org/html/draft-nishida-tcpm-apaws-00
In a nutshell, we cannot enable this feature under a certain conditions
where there are risks for conflicts between previous connections. If I
overlook some conditions, please let me know.

Thanks,
--
Yoshi