Re: [tcpm] Fwd: New Version Notification for draft-gont-tcpm-rfc1948bis-00

Fernando Gont <fernando@gont.com.ar> Mon, 10 January 2011 23:34 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 1F99F3A67B2 for <tcpm@core3.amsl.com>; Mon, 10 Jan 2011 15:34:21 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.569
X-Spam-Level:
X-Spam-Status: No, score=-3.569 tagged_above=-999 required=5 tests=[AWL=0.030, BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1]
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 TA3DtVRZL9md for <tcpm@core3.amsl.com>; Mon, 10 Jan 2011 15:34:20 -0800 (PST)
Received: from mail-yw0-f66.google.com (mail-yw0-f66.google.com [209.85.213.66]) by core3.amsl.com (Postfix) with ESMTP id DAE133A67AE for <tcpm@ietf.org>; Mon, 10 Jan 2011 15:34:19 -0800 (PST)
Received: by ywi6 with SMTP id 6so4378363ywi.1 for <tcpm@ietf.org>; Mon, 10 Jan 2011 15:36:34 -0800 (PST)
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=HiVeB6DhRaEHMPtX4DuHeLxqSw+ByhWuGwaPUAcyHCQ=; b=uRHl6a4XGQQ7/XiUosLrPv7LKnAFCTeHQjo/fv8/QNqbnsDgTpLLc4ERM7Ult/mfJX REB4c5dzkdMp0fxEflyMHWhEQUOTA1qiKfDjfsbfgo6RVApWluEfH7rU90jETLpBvA8g sOB9Xeex4FvW6xgSYpba+QLagNBQtxjUBCgQw=
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=Q97oZU/+iO9zVaCljvpadMoFdZ1WWSu78Rq1jUgqPFH0DL0S8x3qUy2dhu5BtdHTBB l6GQ0JNtlwWK/WbWl4pTSXFxwGCbh+tfWDl+xTkq8dHXi8PymUuSQYYh0kacU1rvu+1l PFc+sr3OrCKND3XYIx/JbReWi9aPHK1F6r+Ks=
Received: by 10.150.148.20 with SMTP id v20mr29605221ybd.248.1294702586438; Mon, 10 Jan 2011 15:36:26 -0800 (PST)
Received: from [192.168.2.5] (138-83-231-201.fibertel.com.ar [201.231.83.138]) by mx.google.com with ESMTPS id v8sm17558660yhg.40.2011.01.10.15.36.16 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 10 Jan 2011 15:36:25 -0800 (PST)
Sender: Fernando Gont <fernando.gont.netbook.win@gmail.com>
Message-ID: <4D2B9514.7070502@gont.com.ar>
Date: Mon, 10 Jan 2011 20:24:04 -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: <4D27A097.3040606@gont.com.ar> <4D2B5958.3090304@isi.edu> <4D2B602E.1060408@gont.com.ar> <4D2B62CF.7040307@isi.edu> <4D2B67E0.5020007@gont.com.ar> <4D2B75F7.60802@isi.edu>
In-Reply-To: <4D2B75F7.60802@isi.edu>
X-Enigmail-Version: 1.1.1
OpenPGP: id=D076FFF1
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 7bit
Cc: "tcpm@ietf.org" <tcpm@ietf.org>
Subject: Re: [tcpm] Fwd: New Version Notification for draft-gont-tcpm-rfc1948bis-00
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: Mon, 10 Jan 2011 23:34:21 -0000

Joe,

On 10/01/2011 06:11 p.m., Joe Touch wrote:
>>> The specification of the PRF needs to be more detailed. I.e., state how
>>> the hash is padded, byte order, and what portion of the output you're
>>> using (since MD5 hashes are too long).
>>
>> How come that you don't deem this one as an implementation detail that
>> should not concern us?
> 
> The question is really "what is this document requiring".
> 
> Is your intent to say "use MD5", and figure the rest our yourself?

MD5 would be a good choice. But if you want to use something else,
that's still fine.


> If so, why bother using the "+" operator, or putting the time value
> outside the hash?

Joe, please read the I-D. The time value is put outside the hash such
that the ISNs increase over time.


>> -- We do want the ISNs to be monotonically increasing across connections
> 
> The alg you gave is monotonically increasing across connections within a
> socket pair. Presumably that's what you mean, right?

Yes.


>> It's a SHOULD not a MUST. So, if anything "what are the reasons for not
>> implementing this? -- Performance"?
> 
> 1) per-connection computational overhead
> 
> 2) the need to retain per-socketpair state for TW (vs., e.g., some
> *known* implementations that do otherwise to reduce the state needed to
> avoid TW reuse).

I don't know what you're talking about. What's the increased state that
you'd need to retain if you implement this algorithm.

The algorithm is *stateless*! (apart from the global counter).



>>>> Anyway, this document is not about the TIME-WAIT state. And proper
>>>> references are included where appropriate (e.g., the reference to the
>>>> CPNI TCP security document)
>>>
>>> If the result of this SHOULD impacts TW performance, then yes, it is
>>> about TW state.
>>
>> Can you clearly state what your concern is? -- I just don't follow.
>>
>> And... What does RFC 1948 have to do with TIME-WAIT performance?
> 
> If you generate ISNs that are monotonic within a socket pair, but are
> otherwise arbitrary across different socket pairs, you NEED to keep the
> TWs per socket pair. If you want to keep less TW state, you can use a
> different mechanism.

Isn't keeping the socket in the TIME-WAIT state a requirement?

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