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

Fernando Gont <fernando@gont.com.ar> Sat, 18 September 2010 18:11 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 266023A684B for <tcpm@core3.amsl.com>; Sat, 18 Sep 2010 11:11:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.38
X-Spam-Level:
X-Spam-Status: No, score=-2.38 tagged_above=-999 required=5 tests=[AWL=0.220, 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 VgYPnsfuijTj for <tcpm@core3.amsl.com>; Sat, 18 Sep 2010 11:11:51 -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 93CE53A6853 for <tcpm@ietf.org>; Sat, 18 Sep 2010 11:11:35 -0700 (PDT)
Received: by gxk23 with SMTP id 23so730858gxk.1 for <tcpm@ietf.org>; Sat, 18 Sep 2010 11:11:59 -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=vLAKEq+6Z8JzsSaI2gGbToQpBixVi/UqBT5LzOlZL5w=; b=ncOh98UMR1uixZAvoyR96KAz2H2BY5A+JolgubJa9yZsYv3z9XjSpe9cMwTNIwbBfc WQNJi/SXGxXxi8JkvHdbwcK9YSwwoPqtWdclhA0RGfhYtny6SFD8AS1eYBHkqTOWhZbd gLxwcxomLCa5Ra7H7p9daRMO/D5Jz15M+JZVE=
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=L18BMhnK3oVs2ZpaVKMbO87VmIkrIyk8TE98bWrTymdJA+SmLF0hOpz2FgTFrHHrzt CJL/OltRW20NVV8fMBvJTL4kGoaXhuYsbTGx2X4MYVsnMQ7z/qGhLrxPEw6XisR+gbRj bjcZgi6lxymBQhkBq6TsDofqKhui1ZVlJJDr0=
Received: by 10.101.144.8 with SMTP id w8mr7202120ann.231.1284833519866; Sat, 18 Sep 2010 11:11:59 -0700 (PDT)
Received: from [192.168.123.101] ([190.48.239.25]) by mx.google.com with ESMTPS id i30sm8624799anh.29.2010.09.18.11.11.54 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 18 Sep 2010 11:11:59 -0700 (PDT)
Sender: Fernando Gont <fernando.gont.netbook.win@gmail.com>
Message-ID: <4C9500E4.7000300@gont.com.ar>
Date: Sat, 18 Sep 2010 15:11:48 -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> <4C93C15B.9070603@gont.com.ar> <4C93EECF.3040201@isi.edu>
In-Reply-To: <4C93EECF.3040201@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: Sat, 18 Sep 2010 18:11:54 -0000

On 17/09/2010 07:42 p.m., Joe Touch wrote:

>>> 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....
> 
> I don't see this document as significant motivation on its own for a
> SHOULD. If you want to remind readers that this is/will be a SHOULD in
> rfc1323bis, that's fine, but for the reasons cited there.

I don't follow. Why the same requirement would not be appropriate here,
but *would* in another document?



>>> 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.
> 
> My point is that if OS's are doing randomization for security (and since
> security concerns are increasing, that behavior may be more common),
> doesn't this undermine your use of the timestamps because you're
> expecting monotonicity?

No, it doesn't. Just pick a good randomization scheme. Randomization
does not necessarily mean issuing a random() call. For instance, the
algorithm that was included in previous versions of this I-D did
randomization, while still producing a monotonically-increasing sequence
(a la RFC1948)



>>>> 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?
> 
> You need to cite RFC1948, and indicate how it affects (or doesn't) your
> solution. It's insufficient to ignore it (i.e., just capture this email
> thread's discussion in text).

Ok, good. Will do.


>>>> 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?
> 
> See attached.

The single point that Alfred raised could probably be included in the
processing rules already present. -- although it's a very unlikely case,
so one could consider that as a corner case. -- any preference for any
particular approach?

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