Re: [dhcwg] on use case discussion for draft-ietf-dhc-sedhcpv6

神明達哉 <jinmei@wide.ad.jp> Wed, 04 March 2015 22:57 UTC

Return-Path: <jinmei.tatuya@gmail.com>
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 4CD9B1A89FE for <dhcwg@ietfa.amsl.com>; Wed, 4 Mar 2015 14:57:37 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.978
X-Spam-Level:
X-Spam-Status: No, score=-0.978 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FM_FORGED_GMAIL=0.622, FREEMAIL_FROM=0.001, MIME_8BIT_HEADER=0.3, 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 576mpK259sD3 for <dhcwg@ietfa.amsl.com>; Wed, 4 Mar 2015 14:57:36 -0800 (PST)
Received: from mail-ie0-x231.google.com (mail-ie0-x231.google.com [IPv6:2607:f8b0:4001:c03::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 1F82E1A89FA for <dhcwg@ietf.org>; Wed, 4 Mar 2015 14:57:36 -0800 (PST)
Received: by iecar1 with SMTP id ar1so71693562iec.0 for <dhcwg@ietf.org>; Wed, 04 Mar 2015 14:57:35 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=+7nOPpUlLYc8dpnj9+2ScOe1Z4oU0ozrNwCYaXG3ya8=; b=YqmfrL7KUz3qXGPcnxHeGl+AsEPIoFkW4+4GHNiZvvj3/sCq4AztyhJ/tkBgCSfvFU 80b4vCAvIZdNQMGl8nvEgOnZZ+p0rpvHIYFkZgSDuz6Y8Dxgi06wTxOua+5QBMY+i4k1 KcF/0e9VZHrudGWgyP5lBrcKjl+JMkBa+t4XLe/b82y5bFRGVqQW8sAPUQ2mynVTFi52 3s1Tu+9Vunu7ZQd5IzfNRj/AZwW9YsgZDodnuVW0dCd47qZlrstTwVD7E4tH7Uc1Afsr uMEsZVEB3PVGQ/gdDIcFG5OnGcOvds01VdX3jqtN5wvu2OtQU/e81lWMLuoqbdMqjR0H ASUw==
MIME-Version: 1.0
X-Received: by 10.107.155.13 with SMTP id d13mr15712698ioe.29.1425509855623; Wed, 04 Mar 2015 14:57:35 -0800 (PST)
Sender: jinmei.tatuya@gmail.com
Received: by 10.107.11.154 with HTTP; Wed, 4 Mar 2015 14:57:35 -0800 (PST)
In-Reply-To: <BD34369A-47F4-4DCB-BAF5-423F592DBC90@nominum.com>
References: <201502211924.t1LJOZd9062437@givry.fdupont.fr> <91CF04C8-616A-4223-BB1F-B41941E176D0@nominum.com> <CAJE_bqcq-Q2+FiewZxp9VbP5+5c2ynFZrX3zhcfrPt+V8DDdDw@mail.gmail.com> <DC180CDE-E2B8-4D2F-8B92-A65BCCD43CBD@nominum.com> <CAJE_bqcn5gB35fOKDhpKG_3_hk7vahr7BZL28hGo4Q1HpTCTdw@mail.gmail.com> <470A8FD2-F4C7-4A3C-A971-E9AFD0EF1F2E@nominum.com> <CAJE_bqf6_C=e65uNHMDqB3v1H-vtfN8+q3Lb11nGHFEx6Y=XvQ@mail.gmail.com> <CDF58485-F7A9-4109-920D-3D498ED7CC3F@nominum.com> <CAJE_bqe1V9uA1GrHGpn=O7UqZXQm2nBqN8gMGB9YLqMJC0rwcA@mail.gmail.com> <C0E43F78-ADFB-4416-866C-13697F8C4C9E@nominum.com> <CAJE_bqd8icqzjrucRjKe7WMdA-pUZ8Y_4cbUtEJkwVXBvLOs1Q@mail.gmail.com> <C64E7F5E-82C5-4A80-804E-78912F4CC514@nominum.com> <CAJE_bqesXLsKYGxnCwJOK_YsiKf+cJURa3u_8215_E4VQNnSmA@mail.gmail.com> <60266235-1C31-453A-98A8-CD489841C59A@nominum.com> <CAJE_bqcXhQx+i5bNnyti9y4p-5GNaJtDtGZvEpaUdHtMTXF4Yw@mail.gmail.com> <CB0D2999-404B-4381-94A1-0C15B26D4F27@nominum.com> <CAJE_bqcWjyUgaUbMD-o9VpraQAoG0bNMfJh+0t=xpWrLPSZNYg@mail.gmail.com> <B1B751BC-32B2-43DA-923A-0C24B1E8F7DD@nominum.com> <CAJE_bqd17A0aN55Bj93S3hOjqhZQPfr_ZQ6HAPyYyUHXYtYV5A@mail.gmail.com> <07BAEBBC-08B9-41D2-8748-A7F955CBDF54@nominum.com> <CAJE_bqe2QeUwRGG++oGKW6mHrM=K90UbjPHJxTagRF=z1zRxSg@mail.gmail.com> <BECC5DEE-D306-4978-BDF3-9CE00D972000@nominum.com> <CAJE_bqcpZAxt2+b0Y3QHcMea92H_bx_+LxUN3hS6BVnkmjbFZA@mail.gmail.com> <46D83D87-C8FA-4192-9C03-4F42F122D07C@nominum.com> <CAJE_bqfN_eOnSVoeHOFh7cNvSZTT4viz0jPX0VQqGNufa_19dA@mail.gmail.com> <BD34369A-47F4-4DCB-BAF5-423F592DBC90@nominum.com>
Date: Wed, 04 Mar 2015 14:57:35 -0800
X-Google-Sender-Auth: cpWPvQLDwR-a5FuAMwdN1dwPndE
Message-ID: <CAJE_bqe0o-jmJLXivUGCFqFSKeyDXDp9K2An4B+iNf1uDNXw6g@mail.gmail.com>
From: 神明達哉 <jinmei@wide.ad.jp>
To: Ted Lemon <Ted.Lemon@nominum.com>
Content-Type: text/plain; charset="UTF-8"
Archived-At: <http://mailarchive.ietf.org/arch/msg/dhcwg/Rdpp3h2Ye3V9ZX3vYB8C7sgsjhA>
Cc: "dhcwg@ietf.org" <dhcwg@ietf.org>
Subject: Re: [dhcwg] on use case discussion for draft-ietf-dhc-sedhcpv6
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: Wed, 04 Mar 2015 22:57:37 -0000

At Wed, 4 Mar 2015 13:36:48 -0500,
Ted Lemon <Ted.Lemon@nominum.com> wrote:

> > Okay, then, going back to my novice's question, what's the difference
> > in terms of deployability and/or security between the above one and
> > the following one?
>
> Your proposed example requires that the user somehow convey the
> randomly-generated secret-to-be-shared to the authentication
> database through the registration process.   Since the client device
> has no way of anticipating what back-end registration process will
> be used, this cannot be automated.

Correct, but isn't it the same for the client to convey the public key
to the authentication database through the registration process?

> It also requires that the authentication database share that secret
> with the DHCP server.

Correct, but what kind of threat would we worry about in that case?
Whether it's shared secret or client's public key, if either the
authentication database or the DHCP server itself is compromised, then
the attacker can successfully pretend to be a valid client, right?

> So this would only work in contexts where it's okay for the DHCP
> server to be able to know the contents of the shared secret
> database, and it would only work in cases where the shared secret
> registration process works as you have described it.

But isn't it the same for a public-key based mechanism?  "this would
only work in contexts where it's okay for the DHCP server to be able
to know the contents of the public key database, and it would only
work in cases where the public key registration process works in some
way".  And, it looked to me that any specific flow for a public-key
based scenario can have a shared secret-based variant at a comparable
deployability cost and security level (regarding the latter, it would
certainly be better if we don't have to store a "secret" in multiple
places in general, but in our scenario if the key database or the DHCP
server is compromised it seems to be equally fragile for a public
key-based system as I asked in the second "Correct, but") - or I
misunderstand something fundamental, which is probably the case, so
I'd like to know an example flow where public key-based mechanism
works perfectly but a shared secret-based one doesn't.  And, in that
sense, I'm not sure how I interpret this:

> E.g., it would not work with Kerberos.

Do you mean it doesn't work as Kerberos itself being the shared secret
mechanism (like draft-hornstein-dhc-kerbauth), or do you mean some
public key based mechanism will somehow work well with Kerberos?  If
it's the former, I already agreed in my previous sense, but this
doesn't answer my question.  If it's the latter, which specific flow
do you have in your mind?

--
JINMEI, Tatuya