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

Joe Touch <touch@isi.edu> Mon, 02 June 2014 20:14 UTC

Return-Path: <touch@isi.edu>
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 D8A701A042E for <tcpm@ietfa.amsl.com>; Mon, 2 Jun 2014 13:14:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.551
X-Spam-Level:
X-Spam-Status: No, score=-2.551 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-0.651] 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 cb-p3M3isRBz for <tcpm@ietfa.amsl.com>; Mon, 2 Jun 2014 13:14:36 -0700 (PDT)
Received: from darkstar.isi.edu (darkstar.isi.edu [128.9.128.127]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id BB99B1A0404 for <tcpm@ietf.org>; Mon, 2 Jun 2014 13:14:36 -0700 (PDT)
Received: from [192.168.1.93] (pool-71-105-87-112.lsanca.dsl-w.verizon.net [71.105.87.112]) (authenticated bits=0) by darkstar.isi.edu (8.13.8/8.13.8) with ESMTP id s52KDw4a015609 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Mon, 2 Jun 2014 13:14:01 -0700 (PDT)
Message-ID: <538CDB07.2090306@isi.edu>
Date: Mon, 02 Jun 2014 13:13:59 -0700
From: Joe Touch <touch@isi.edu>
User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0
MIME-Version: 1.0
To: mallman@icir.org
References: <20140602194906.2A40F781A45@lawyers.icir.org>
In-Reply-To: <20140602194906.2A40F781A45@lawyers.icir.org>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
X-ISI-4-43-8-MailScanner: Found to be clean
X-MailScanner-From: touch@isi.edu
Archived-At: http://mailarchive.ietf.org/arch/msg/tcpm/4DtyFbMy56QtuSJkkIqhMKoDjwg
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: Mon, 02 Jun 2014 20:14:39 -0000


On 6/2/2014 12:49 PM, Mark Allman wrote:
>
>> The TWHS establishes the TS for the new connection, which means old
>> packets will be seen as old and discarded by TS processing.
>
> OK, sure, fair enough.  But, again, we have plenty of non-timestamped
> connections seemingly running perfectly fine today.  So, it is pretty
> hard for me to get worked up about this "problem" the timestamp option
> is "solving".
>
>>>> 	- 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
>>>
>>> This is just bogus.  On both counts.
>>
>> FWIW, I'm saying that receiver has these problems. You're correct
>> that the first TS value in an *acked* segment should be the one used
>> and that the sender can know when to turn it on.
>
> It doesn't matter if the receiver just follows the sender's lead.  The
> sender can trigger things when they are needed and the receiver can
> follow.
>
>> However, what if the receiver doesn't support TS at that point?
>
> If only I had said something about that in the note you are responding
> to ... oh wait, I did! :-)

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. That's why I don't like new stuff that starts out of 
the blue mid-connection - you need to negotiate the capability in the 
SYN at a minimum.

Further, what happens to the packets? When and how do you know when the 
TS isn't working? When do you give up?

Your rate limit suggestion answers just one dimension of the problem; 
there are a lot of others that need to be addressed.

>> One question is - how many connections use TS that don't expect to
>> use long connections or large numbers of connections where the
>> sequence number wrap is an issue?
>
> I would say nearly all of them.
>
> I'd bet a beer that you go look in your favorite pile of traces and
> it'll be a Damn Long Time before you find even a potential problem that
> timestamps will solve.

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?

Joe