Re: [tcpm] WG Last call for draft-ietf-tcpm-tcp-timestamps-00.txt

Fernando Gont <fernando@gont.com.ar> Fri, 17 September 2010 20:05 UTC

Return-Path: <fernando.gont.netbook.win@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 395DE3A6944 for <tcpm@core3.amsl.com>; Fri, 17 Sep 2010 13:05:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.414
X-Spam-Level:
X-Spam-Status: No, score=-2.414 tagged_above=-999 required=5 tests=[AWL=0.185, BAYES_00=-2.599]
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 Pf3mlBtJmtTE for <tcpm@core3.amsl.com>; Fri, 17 Sep 2010 13:05:47 -0700 (PDT)
Received: from mail-gx0-f194.google.com (mail-gx0-f194.google.com [209.85.161.194]) by core3.amsl.com (Postfix) with ESMTP id F3F093A6940 for <tcpm@ietf.org>; Fri, 17 Sep 2010 13:05:43 -0700 (PDT)
Received: by gxk23 with SMTP id 23so563063gxk.1 for <tcpm@ietf.org>; Fri, 17 Sep 2010 13:06:08 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :x-enigmail-version:openpgp:content-type:content-transfer-encoding; bh=RlUy7KX8iGnnwg8te4+99BO+BRNTJq5b3eKTvQzrFvQ=; b=dkhV61xrlJ79noQk0x4MBt3VJqcaqSZm0ilv7DFCd2dmZ63KVz9yNRdiLPiFYy3ARU Bb6qf9jj+artn4wNggucrkDpqIl7VJd/lUgn5cTmQeoZR6w+wAbcXxxJD8EWJZSFlHOq UdjENwjxt1DhYamIigcec9rGTMfdwt/E1TOHQ=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:x-enigmail-version:openpgp:content-type :content-transfer-encoding; b=TjMbZXrqZ3TOtBi6VUqWwael6H865Uq7Tk2ZPzUQYPJt/QytbiiL0QI2uNamiUFeKy 9gHQurUu8saoyPB+o4EbwkoD3xLgVFdhyqlI4T8B+VI20ieXWCGXneTj74h2AQfs+6HF JH7ZlE+DOCfrT+pS4ryltFcbV7vBvmavdg4tI=
Received: by 10.151.49.1 with SMTP id b1mr6168777ybk.53.1284753968353; Fri, 17 Sep 2010 13:06:08 -0700 (PDT)
Received: from [192.168.2.2] (55-173-17-190.fibertel.com.ar [190.17.173.55]) by mx.google.com with ESMTPS id u42sm5270076yba.12.2010.09.17.13.06.00 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 17 Sep 2010 13:06:07 -0700 (PDT)
Sender: Fernando Gont <fernando.gont.netbook.win@gmail.com>
Message-ID: <4C93C15B.9070603@gont.com.ar>
Date: Fri, 17 Sep 2010 16:28:27 -0300
From: Fernando Gont <fernando@gont.com.ar>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2
MIME-Version: 1.0
To: Joe Touch <touch@isi.edu>
References: <6AA1D95C-7522-4EC0-B08F-476FD97A7D6D@windriver.com> <4C9263C1.1060605@isi.edu> <4C93A507.8040909@gont.com.ar> <4C93B202.7010409@isi.edu>
In-Reply-To: <4C93B202.7010409@isi.edu>
X-Enigmail-Version: 1.1.1
OpenPGP: id=D076FFF1
Content-Type: text/plain; charset="windows-1252"
Content-Transfer-Encoding: 7bit
Cc: "tcpm@ietf.org WG" <tcpm@ietf.org>, David Borman <david.borman@windriver.com>
Subject: Re: [tcpm] WG Last call for draft-ietf-tcpm-tcp-timestamps-00.txt
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: Fri, 17 Sep 2010 20:05:48 -0000

Hi, Joe,

>> That was probably my fault while splitting the I-D. The discussion had
>> been over non-predictability of timestamps rather than over
>> monotonicity. Do you think it would be okay to add a SHOULD for
>> monotonicity?
> 
> I don't think this document should make recommendations like that. IMO,
> it's more appropriate to consider the impact of non-monotonicity on the
> other recommendations (which should be minor, as you note - they would
> just make the mechanism fail the way it would if not used at all).

Why not? For instance, this was adopted by rfc1323bis....



>>> Further, this doc notes that this is not current practice, so the BCP
>>> track doesn't seem appropriate. It might be more useful to consider this
>>> Informational.
>>
>> It is. Linux does this, for example. And IIRC FreeBSD does this, too.
>> IIRC, only OpenBSD does TCP timestamps randomization in such a way that
>> monotonicity is not guaranteed.
> 
> Then the discussion needs to be updated accordingly, 

Will do.


> and those OS's that
> include this should be noted (as well as those that don't and why).

The reason is probably the same for "why do stacks do predictable ISNs?"


> Also, it'd be useful to explain why some OSs randomize the timestamps
> (if that's for security, 

Yes, the reason is security.

> does it suggest that this mechanism would be
> less useful in the future?)

No, it doesn't. As noted in draft-gont-timestamps-generation, trivial
randomization is probably not the most wise approach to unpredictability.

And OpenBSD also does trivial ISN randomization rather than RFC1948...
not the best possible approach, either.


>>> The doc claims that RFC793 uses ISN generation is based on incrementing.
>>> RFC1948 suggests otherwise, and should be discussed in this context (and
>>> cited).
>>
>> Well, even RFC1948 is based on incrementing... although not in a way
>> that makes ISN predictable for an off-path attacker.
> 
> That needs to be discussed.

What (specifically) do you expect the I-D to discuss? -- Just not that
RFC1948 produces incremental ISNs, or what?



>>> Sec 4.1 has a major heading (4.) that implies there are multiple corner
>>> cases, but only one is described.
>>
>> Yeah, the title is a "mis-title". It tries to address "all corner
>> cases", but this is the only one that has been identified. -- which
>> actually isn't, as noted in the I-D.
>>
>>> This should be cleaned up, or other
>>> corner cases should be added (e.g., as per Alfred's note back in 2009 on
>>> the -00 individual submission)
>>
>> Do you mean I should remove the section? Rename it? Move it to an
>> appendix? Please suggest a way forward....
> 
> I think there are other corner cases from Alfred's 2009 note that could
> be included, and the toplevel heading (4.) could introduce the list,
> which would make the plural still applicable.

I cannot find those corner cases. Could you point out the corner cases
you're referring to?

Thanks!

Kind regards,
-- 
Fernando Gont
e-mail: fernando@gont.com.ar || fgont@acm.org
PGP Fingerprint: 7809 84F5 322E 45C7 F1C9 3945 96EE A9EF D076 FFF1