Re: 6MAN WG Last Call: draft-ietf-6man-predictable-fragment-id-01

Fernando Gont <fgont@si6networks.com> Tue, 09 December 2014 17:57 UTC

Return-Path: <fgont@si6networks.com>
X-Original-To: ipv6@ietfa.amsl.com
Delivered-To: ipv6@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id CFDF61A8A8C for <ipv6@ietfa.amsl.com>; Tue, 9 Dec 2014 09:57:22 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.602
X-Spam-Level:
X-Spam-Status: No, score=-1.602 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, MIME_8BIT_HEADER=0.3, SPF_HELO_PASS=-0.001, 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 IpWLQ1acJ7C6 for <ipv6@ietfa.amsl.com>; Tue, 9 Dec 2014 09:57:22 -0800 (PST)
Received: from web01.jbserver.net (web01.jbserver.net [IPv6:2a00:8240:6:a::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D363D1A8A85 for <ipv6@ietf.org>; Tue, 9 Dec 2014 09:57:21 -0800 (PST)
Received: from cl-1071.udi-01.br.sixxs.net ([2001:1291:200:42e::2]) by web01.jbserver.net with esmtpsa (TLSv1.2:DHE-RSA-AES128-SHA:128) (Exim 4.84) (envelope-from <fgont@si6networks.com>) id 1XyP2B-0002Ab-Lq; Tue, 09 Dec 2014 18:57:15 +0100
Message-ID: <548737EA.5010208@si6networks.com>
Date: Tue, 09 Dec 2014 14:56:58 -0300
From: Fernando Gont <fgont@si6networks.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0
MIME-Version: 1.0
To: 神明達哉 <jinmei@wide.ad.jp>, Fernando Gont <fernando@gont.com.ar>
Subject: Re: 6MAN WG Last Call: draft-ietf-6man-predictable-fragment-id-01
References: <CC2EE99E-475C-4DB5-9E7F-ED00B4D48561@employees.org> <CAJE_bqdwrG6nGvJCQG4gpYR6hSpVBe-Pi=+XozCv4L-RJ1=URg@mail.gmail.com> <5486BF69.4020606@gont.com.ar> <CAJE_bqf0mtB-5BGddMnTgJ5Gr3xTXy3NRdvXHa4xOkHr9-5=VA@mail.gmail.com>
In-Reply-To: <CAJE_bqf0mtB-5BGddMnTgJ5Gr3xTXy3NRdvXHa4xOkHr9-5=VA@mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 8bit
Archived-At: http://mailarchive.ietf.org/arch/msg/ipv6/Ivyi9bgyb7gVpkkLxvLZYaSdDaM
Cc: 6man WG <ipv6@ietf.org>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6/>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 09 Dec 2014 17:57:23 -0000

On 12/09/2014 02:23 PM, 神明達哉 wrote:
> At Tue, 09 Dec 2014 06:22:49 -0300,
> Fernando Gont <fernando@gont.com.ar> wrote:
> 
>>> - Section 4:
>>>
>>>    The Identification value of the Fragment Header MUST NOT be
>>>    predictable by an off-path attacker.
>>>
>>>   'MUST NOT be predictable' sounds vague to me, especially with the
>>>   RFC2119 keyword.  I'm not sure if there's a precedent of the use of
>>>   this word with a normative keyword, but even if there's, I would
>>>   personally still like to see a clearer term here.
>>
>> FWIW, RFC6056 (port randomization) says:
>>
>>    Ephemeral port selection algorithms SHOULD obfuscate the selection of
>>    their ephemeral ports, since this helps to mitigate a number of
>>    attacks that depend on the attacker's ability to guess or know the
>>    five-tuple that identifies the transport-protocol instance to be
>>    attacked.
>>
>>
>> OTOH, RFC6528 (TCP SEQ randomization) says:
>>
>>    F() MUST NOT be computable from
>>    the outside, or an attacker could still guess at sequence numbers
>>    from the ISN used for some other connection.
>>
>> where F() is essentially the TCP SEQ generator..
> 
> By referring to these, do you mean you think the current text of the
> draft is good enough? (asking simply because I'm not sure about the
> intent).

No. I'm just noting how it was specified in other cases, to check if you
like those options better (FWIW, when you raised the issue, I wondered
myself "how did we specify this for...?")

Thanks,
-- 
Fernando Gont
SI6 Networks
e-mail: fgont@si6networks.com
PGP Fingerprint: 6666 31C6 D484 63B2 8FB1 E3C4 AE25 0D55 1D4E 7492