Re: [IPsec] AD review of draft-ietf-ipsecme-rfc4307bis

Paul Wouters <paul@nohats.ca> Mon, 12 December 2016 18:11 UTC

Return-Path: <paul@nohats.ca>
X-Original-To: ipsec@ietfa.amsl.com
Delivered-To: ipsec@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7D52B129445 for <ipsec@ietfa.amsl.com>; Mon, 12 Dec 2016 10:11:15 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.896
X-Spam-Level:
X-Spam-Status: No, score=-4.896 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RP_MATCHES_RCVD=-2.896] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=nohats.ca
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 d0rZ9PUk9aLW for <ipsec@ietfa.amsl.com>; Mon, 12 Dec 2016 10:11:14 -0800 (PST)
Received: from mx.nohats.ca (mx.nohats.ca [193.110.157.68]) (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 34B7B129467 for <ipsec@ietf.org>; Mon, 12 Dec 2016 10:11:14 -0800 (PST)
Received: from localhost (localhost [IPv6:::1]) by mx.nohats.ca (Postfix) with ESMTP id 3tcrVl5Fj6z3L5; Mon, 12 Dec 2016 19:10:55 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nohats.ca; s=default; t=1481566255; bh=QT5FIeljQgBEtVAtgIcsqXl+fNVbkADius6dyomvNk8=; h=Date:From:To:cc:Subject:In-Reply-To:References; b=mmRXMKEA6rGKpbOiJGVknQW4IeGhmRsZYdmxtG9fjm1osQbjz/ij9oSc5fBG5ycZI aXvN2cyfHopHc5tAfdZYYQnAArh5f86yh6Rl2GfomUWOMd2CuaPNPP7f5uIxNXNghY bqtaPq7gmgkaixnaLcs4tDfEeS4JBVGazbRYw4F8=
X-Virus-Scanned: amavisd-new at mx.nohats.ca
Received: from mx.nohats.ca ([IPv6:::1]) by localhost (mx.nohats.ca [IPv6:::1]) (amavisd-new, port 10024) with ESMTP id p_iT07w-qduZ; Mon, 12 Dec 2016 19:10:54 +0100 (CET)
Received: from bofh.nohats.ca (206-248-139-105.dsl.teksavvy.com [206.248.139.105]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx.nohats.ca (Postfix) with ESMTPS; Mon, 12 Dec 2016 19:10:53 +0100 (CET)
Received: by bofh.nohats.ca (Postfix, from userid 1000) id 0D200506F87; Mon, 12 Dec 2016 13:10:51 -0500 (EST)
DKIM-Filter: OpenDKIM Filter v2.10.3 bofh.nohats.ca 0D200506F87
Received: from localhost (localhost [127.0.0.1]) by bofh.nohats.ca (Postfix) with ESMTP id EA637421AF6D; Mon, 12 Dec 2016 13:10:51 -0500 (EST)
Date: Mon, 12 Dec 2016 13:10:51 -0500
From: Paul Wouters <paul@nohats.ca>
To: Kathleen Moriarty <kathleen.moriarty.ietf@gmail.com>
In-Reply-To: <CAHbuEH4pqTK-kc65FVh98X-t+YsVe+9=J7_PjB8hESsY+5=-PQ@mail.gmail.com>
Message-ID: <alpine.LRH.2.20.1612121254150.14930@bofh.nohats.ca>
References: <CAHbuEH4pqTK-kc65FVh98X-t+YsVe+9=J7_PjB8hESsY+5=-PQ@mail.gmail.com>
User-Agent: Alpine 2.20 (LRH 67 2015-01-07)
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipsec/JeIBMQxmyzIw00uRLNbi_Bp8uVU>
Cc: "ipsec@ietf.org" <ipsec@ietf.org>
Subject: Re: [IPsec] AD review of draft-ietf-ipsecme-rfc4307bis
X-BeenThere: ipsec@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Discussion of IPsec protocols <ipsec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ipsec>, <mailto:ipsec-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ipsec/>
List-Post: <mailto:ipsec@ietf.org>
List-Help: <mailto:ipsec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipsec>, <mailto:ipsec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 12 Dec 2016 18:11:15 -0000

On Fri, 9 Dec 2016, Kathleen Moriarty wrote:

> Hello,
> Thanks for your work on draft-ietf-ipsecme-rfc4307bis.  I reviewed the draft and just have a few questions, the first is a nit.
> 
> 
> Nit:
> In the second paragraph of 1.3, you can drop the last two words of this sentence as they are redundant:
>
>    This document does not give any recommendations for the use of
>    algorithms, it only gives implementation recommendations for
>    implementations.

Will do if we do a new draft version, or else will remind RFC editor of it.

> In section 3.2 & 3.3, why isn't there a bigger jump down to SHOULD or SHOULD- for:
> 
> PRF_HMAC_SHA1     | MUST-    |
> 
> | AUTH_HMAC_SHA1_96      | MUST- 
> The justifications seems like a bigger jump would be appropriate.

In 4307 itself, we only had one MUST and that was SHA1. The SHOULD+
candidate was AES_XCBC but it was been overtaken in reality by SHA2.
And AESPRF/AES_MAC is not as widely implemented (example: not
available in NSS) so even those implementors who picked the MUST
and SHOULD algorithm only have SHA1 and AESPRF/AES_MAC. If a 4307bis
implementation only implements the MUST algorithms, it would not interop
with a 4307 implementation that implemented all the MUST and SHOULDs,
if we made SHA1 a SHOULD- or less.

I think the available options we have are MUST- or SHOULD-. I think
MAY or SHOULD NOT would lead to interoperability issues. I think the
MUST- is still the best choice.

Note also that all SHA1 use here is still safe (HMAC and PRF are
different from plain SHA1)

Note though that I would like to keep the status for Type 2 and Type 3
the same, because all sane implementations will use the same INTEG and
PRF algorithms for a given IKE session, so these two are tightly
coupled.

Paul