[dhcwg] Open Issues for Secure DHCPv6

Lishan Li <lilishan48@gmail.com> Tue, 26 April 2016 12:15 UTC

Return-Path: <lilishan48@gmail.com>
X-Original-To: dhcwg@ietfa.amsl.com
Delivered-To: dhcwg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9996012D18C for <dhcwg@ietfa.amsl.com>; Tue, 26 Apr 2016 05:15:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.449
X-Spam-Level:
X-Spam-Status: No, score=-2.449 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
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 CJy-vMOOGkac for <dhcwg@ietfa.amsl.com>; Tue, 26 Apr 2016 05:15:09 -0700 (PDT)
Received: from mail-lf0-x231.google.com (mail-lf0-x231.google.com [IPv6:2a00:1450:4010:c07::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id CFC4C12D183 for <dhcwg@ietf.org>; Tue, 26 Apr 2016 05:15:08 -0700 (PDT)
Received: by mail-lf0-x231.google.com with SMTP id y84so13675751lfc.0 for <dhcwg@ietf.org>; Tue, 26 Apr 2016 05:15:08 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to; bh=euQFkxy9XvnKbtIBE6HrqqedryGyt7nN/ip81NJz6io=; b=fxyb0LeZMhiWC+NgCm9IiyMKqOlNTRCBU6b9o4m79/C9VA9PRGEcVdsWpVHKwxGC5c 119mLFiCkb/0Zs/Jmi8dNE5C0EzhO48uYoxiHRuEw1GmZQ4BbeTdSoViTFEsuc7ibGAr 0FrXoNWCW5fN+oGakqgh4dl6oU6wzVHLCr04vZ6RGNY5M3+i/TQQa/FrVh31Oulhr6PZ uoqHgQfsZXS4fYzhOOlixZLbEo3muVJH5OT8Sjk0+fMWFsAMNhkjxYFstzrxn0Z777Rs jR3GhM/lw6iourgrFUg+S5b368oHLuEupE7HgiurnRO0ji+yL7H1msDwpiStDQqnL2aR fovQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to; bh=euQFkxy9XvnKbtIBE6HrqqedryGyt7nN/ip81NJz6io=; b=ImazMcxwcZrvHRNcYlsmVEsT/T1yVrNWNRE2J8N2eiuhv7iV66WshQfFpQEgWLpP7l CBIxZnkKK+vR4IOHhjWYE0p7NZv2+ADQ22Al3PgxHbAixk/BKPep6gnmEAxXH+pDuFW2 3dJhSBYbZRdLtV2CW5cqB4IiylpBgCkV924bx3V6rLFSgb8fNAelQdsJW/qbECy7CiJf sMJq1wh3ux8gSzevwryLfEPWYTeCZ2+S1a7AmDGHfEYLh0YdzN1xck1GvWHh7/goD+tK dL4FkHGWqujQe9gHyK3wFknK7T7uvgt2GKbPLyUdfLxKEuDw6GiYJJWck7mEdmlYfcv/ I5ng==
X-Gm-Message-State: AOPr4FWppG+pMQGNKCwS7+YZ3LKHRpYMcDtwHLI0zmJlvKMBjQDXxMRqpU46DNT53cvCyrgQ68Uilf2F6ekk+Q==
MIME-Version: 1.0
X-Received: by 10.112.168.194 with SMTP id zy2mr1175079lbb.102.1461672907067; Tue, 26 Apr 2016 05:15:07 -0700 (PDT)
Received: by 10.114.173.71 with HTTP; Tue, 26 Apr 2016 05:15:07 -0700 (PDT)
Date: Tue, 26 Apr 2016 20:15:07 +0800
Message-ID: <CAJ3w4NcCu0J3_+8x0FuzoUK2=HxVaCddW3s5e9oL535BH0NKTA@mail.gmail.com>
From: Lishan Li <lilishan48@gmail.com>
To: dhcwg <dhcwg@ietf.org>
Content-Type: multipart/alternative; boundary="001a11c333f2675d690531623e1e"
Archived-At: <http://mailarchive.ietf.org/arch/msg/dhcwg/cS86JAVyQXch2U39r4Lz40KUCao>
Subject: [dhcwg] Open Issues for Secure DHCPv6
X-BeenThere: dhcwg@ietf.org
X-Mailman-Version: 2.1.17
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: <https://mailarchive.ietf.org/arch/browse/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: Tue, 26 Apr 2016 12:15:11 -0000

Dear All,

After the discussion with Ted and Jinmei, there are still some open issues.
Regarding these open issues, could you please give us you suggestions?
Looking forward to your guidance! The following are the current open issues:

1. A single DHCPv6 server selection for authentication at the beginning.
If the two servers share one common certificate with the same public key,
then the client should be able to send an encrypted request to both
servers, and both the servers can decrypt the encrypted request and letting
client select one of them in a compatible way to the original DHCPv6.
So in this way, there is no need to contain the Server Identifier option in
the Encrypted-Query message. The disadvantage is that the extra decryption
cost is caused for the DHCPv6 server not for it.

2. Regarding timestamp, what about a strictly-increasing serial number
(with rollover)?
The advantage of a strictly increasing number is that the server can just
discard messages from the client with lower numbers, and the client can do
the same.  The disadvantage is that the strictly-increasing number has to
be committed to stable storage on the client.

3. For the DHCPv6 client, how about a bare key not a certificate?
If the client uses certificate for authentication. The client has to
generate a key and then submit it to a certificate authority to be signed.
It would make sense for two different companies to trust all certs signed
by the same authority. For the client which is no longer authorized, they
still have a key signed by the authority.   How do we stop that one client
from authenticating? The answer is that we have to have a record of every
client that is authorized to use the network.

There are two ways to do client authentication: first, we can have the
certificate authority remember all of the clients, and maintain a
certificate revocation list (CRL) for clients whose certificates should no
longer grant access to the network. Second, we can simply keep a list of
all the client keys that are granted access to the network, and the DHCP
server can check that list before granting access.

The first one is more easy, so we think a bare key is enough not a
certificate.

4. Whether we should mention opportunistic security in secure DHCPv6?

5. For the clients which has multiple certs, whether the transaction-id can
work as the identifier of the client's public key for encryption, and
server's  private key for decryption?

6. The format of Encrypted-Query and Encrypted-Response messages.
For the encrypted-query and encrypted-response messages, in the current
version, the payload is a series of options, which may cause unnecessary
attack. So according to Ted's suggestion, It is better that the payload is
encrypted message with some fixed field. But DHCPv6 message's format are a
series of options. If the encrypted-query and encrypted-response use the
above format, are they still DHCPv6 messages?

Best Regards,
Lishan