[dhcwg] review of draft-ietf-dhc-sedhcpv6-02.txt

Francis Dupont <Francis.Dupont@fdupont.fr> Fri, 13 June 2014 14:14 UTC

Return-Path: <Francis.Dupont@fdupont.fr>
X-Original-To: dhcwg@ietfa.amsl.com
Delivered-To: dhcwg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id ED4741B2934 for <dhcwg@ietfa.amsl.com>; Fri, 13 Jun 2014 07:14:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.203
X-Spam-Level:
X-Spam-Status: No, score=-2.203 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HELO_EQ_FR=0.35, RP_MATCHES_RCVD=-0.651, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham
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 jBli7r4gm9zT for <dhcwg@ietfa.amsl.com>; Fri, 13 Jun 2014 07:14:02 -0700 (PDT)
Received: from givry.fdupont.fr (givry.fdupont.fr [IPv6:2001:41d0:1:6d55:211:5bff:fe98:d51e]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id EB0DA1B2869 for <dhcwg@ietf.org>; Fri, 13 Jun 2014 07:14:01 -0700 (PDT)
Received: from givry.fdupont.fr (localhost [127.0.0.1]) by givry.fdupont.fr (8.14.3/8.14.3) with ESMTP id s5DEDxGn042278 for <dhcwg@ietf.org>; Fri, 13 Jun 2014 16:13:59 +0200 (CEST) (envelope-from dupont@givry.fdupont.fr)
Message-Id: <201406131413.s5DEDxGn042278@givry.fdupont.fr>
From: Francis Dupont <Francis.Dupont@fdupont.fr>
To: dhcwg@ietf.org
Date: Fri, 13 Jun 2014 16:13:59 +0200
Sender: Francis.Dupont@fdupont.fr
Archived-At: http://mailarchive.ietf.org/arch/msg/dhcwg/0dzYPMAhgn_DCTHONFm4_ajPkUw
Subject: [dhcwg] review of draft-ietf-dhc-sedhcpv6-02.txt
X-BeenThere: dhcwg@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <dhcwg.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dhcwg>, <mailto:dhcwg-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/dhcwg/>
List-Post: <mailto:dhcwg@ietf.org>
List-Help: <mailto:dhcwg-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dhcwg>, <mailto:dhcwg-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 13 Jun 2014 14:14:04 -0000

My colleague and DHC WG chair Tomasz (aka Tomek) Mrugalski asked me
to review the last version of the Secure DHCPv6 document.
First it is far better than the very first version (obviously
the recommendation to look at SeND (RFC 3971) was useful :-),
and (I checked at the last IETF meeting) there is no claimed IPR
about it.

Unfortunately it is still far from to be ready, for instance
the section 5.1 Public Key Option page 7 is fully wrong, even
in its example (a RSA public key has a second component, the
public exponent).

But my main concern is the applicability of the certificate stuff
(*public key* certificate BTW). The issue is either the node has
fully access to the PKI and a pointer (e.g., IKEv2 URI and hash)
is simpler/better, or a mechanism has to provide the trust anchor,
the certificate chain and crls, etc. It was done in SEND the (very)
hard way...

In the case of secure DHCPv6 IMHO it should be more efficient
to postpone the certificate stuff, so I propose:
 - drop the certificate option
 - adopt for the public key the DNSKEY wire format (it is known to
  work, has very similar constraint, and code already exists)
 - in the signature option, merge the HAsh and SignAture IDs
  into a single 16 bit ID taken for instance from the RRSIG.
 - add a provision for nodes without access to an UTC real clock
  (BTW SeND was written before the emergence of mobile hardware
   with very bad real clocks, cf a discussion in the PCP WG with
   some NTP people).

In the good thing to keep, timestamps (IMHO the anti-replay should
be promoted in the introduction), the leap of faith mode (oops,
replace everywhere model by mode), etc.

Regards

Francis.Dupont@fdupont.fr

PS: for the authors: I have a lot minor technical and editorial
comments in the case you want them before the next version?
(please ask at fdupont@isc.org)