
From nobody Tue Nov  1 14:33:59 2016
Return-Path: <Fred.L.Templin@boeing.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 99EC6129A0B for <dhcwg@ietfa.amsl.com>; Tue,  1 Nov 2016 14:33:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.221
X-Spam-Level: 
X-Spam-Status: No, score=-4.221 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=ham autolearn_force=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 EzsTSETOfh_Q for <dhcwg@ietfa.amsl.com>; Tue,  1 Nov 2016 14:33:56 -0700 (PDT)
Received: from phx-mbsout-01.mbs.boeing.net (phx-mbsout-01.mbs.boeing.net [130.76.184.178]) (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 DE7BF12946A for <dhcwg@ietf.org>; Tue,  1 Nov 2016 14:33:55 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by phx-mbsout-01.mbs.boeing.net (8.14.4/8.14.4/DOWNSTREAM_MBSOUT) with SMTP id uA1LXsoD020299; Tue, 1 Nov 2016 14:33:54 -0700
Received: from XCH15-06-07.nw.nos.boeing.com (xch15-06-07.nw.nos.boeing.com [137.136.238.213]) by phx-mbsout-01.mbs.boeing.net (8.14.4/8.14.4/UPSTREAM_MBSOUT) with ESMTP id uA1LXjFq019841 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=OK) for <dhcwg@ietf.org>; Tue, 1 Nov 2016 14:33:45 -0700
Received: from XCH15-06-08.nw.nos.boeing.com (2002:8988:eede::8988:eede) by XCH15-06-07.nw.nos.boeing.com (2002:8988:eed5::8988:eed5) with Microsoft SMTP Server (TLS) id 15.0.1178.4; Tue, 1 Nov 2016 14:33:38 -0700
Received: from XCH15-06-08.nw.nos.boeing.com ([137.136.238.222]) by XCH15-06-08.nw.nos.boeing.com ([137.136.238.222]) with mapi id 15.00.1178.000; Tue, 1 Nov 2016 14:33:38 -0700
From: "Templin, Fred L" <Fred.L.Templin@boeing.com>
To: "dhcwg@ietf.org" <dhcwg@ietf.org>
Thread-Topic: DDoS and DHCP servers
Thread-Index: AdI0h0jC/nojNsZrTc+1BWNqerzjbg==
Date: Tue, 1 Nov 2016 21:33:38 +0000
Message-ID: <63b4ff93b18544e0aba3b2f0d1fc4f0d@XCH15-06-08.nw.nos.boeing.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [137.136.248.6]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-TM-AS-MML: disable
Archived-At: <https://mailarchive.ietf.org/arch/msg/dhcwg/z0taEvUXmA5u86vp7U4A7o-vOAk>
Subject: [dhcwg] DDoS and DHCP servers
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, 01 Nov 2016 21:33:57 -0000

Hi,

The Oct. 21, 2016 DDoS attack on the Internet has me wondering about the
DDoS vulnerability profile for DHCP servers (mostly interested in DHCPv6).

Are there any mitigations that could be employed to protect DHCPv6 servers
from DDoS attacks?

Thanks - Fred
fred.l.templin@boeing.com


From nobody Tue Nov  1 14:52:49 2016
Return-Path: <jinmei.tatuya@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 B6FF9129A19 for <dhcwg@ietfa.amsl.com>; Tue,  1 Nov 2016 14:52:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.4
X-Spam-Level: 
X-Spam-Status: No, score=-2.4 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.199, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=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 hiYG9Kos-cwP for <dhcwg@ietfa.amsl.com>; Tue,  1 Nov 2016 14:52:45 -0700 (PDT)
Received: from mail-qk0-x235.google.com (mail-qk0-x235.google.com [IPv6:2607:f8b0:400d:c09::235]) (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 3A1B0129A09 for <dhcwg@ietf.org>; Tue,  1 Nov 2016 14:52:45 -0700 (PDT)
Received: by mail-qk0-x235.google.com with SMTP id z190so215139416qkc.2 for <dhcwg@ietf.org>; Tue, 01 Nov 2016 14:52:45 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:sender:from:date:message-id:subject:to; bh=vuPjKmu4fW1KtlqygGDdh5Qt5pY2Y4Xrsnm6z0bkRxs=; b=RmxQRKEEAs6LO00O425a2kMIfFMTJcrwxxD43HNHDc4u87jQMXqY4nf+Gt1StRuWY5 vrm4MDyZx0tCAPnP2F1b6U/IzSO3qlEctgHDQTkvvp8rrsJRR3ijg5YCNagfzrAKt4to XwzCMQRNvNp6V3NF88s351YAifmbyCuxEzSAoHGZaxu06/5O1I3biG8MZYbmvEkGkQL0 dSoPrIULmEhreEZ0HiVZLINkL73mavWBvnKso4D1Ey+VrocDel/NpRGWQGJO4dtmrOCT tyXysITUQl1PnCZLuZ5nOpikzycrLg8ddB+WaqwTPeDDUYwUsppgVgnyhZQcsc7U5cVi 4zTw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:from:date:message-id:subject :to; bh=vuPjKmu4fW1KtlqygGDdh5Qt5pY2Y4Xrsnm6z0bkRxs=; b=C1meVFbBbgCAEl3/OL6JVIusmdaVxibZuareVkBURPAtfIHjEo/zwt7jUyvNeLpNr3 1FYvTMxMmGTUlmGhRN/dsAjw83s1eO2ZrTp08HzSfnYded0oT3CtEzBlOkBw6/nTUxm/ PS7h5E8Fe7HD8KsOPKKUhO7BOAncvnvV2O7ktvTddISGkpxwltUfo50U7vdVQ/R2isoZ AzEDPdg4gDlYozL9JVEptIw8wPMcqIbjPTLmYFyF6Ntuv6V0Dv3v7S0jvnoOvffhA25A iUVQ7pz7b40kHh9XqBRd6VzRXsbchj3j1V9BdNWiJRdLnD52KRurtzw1CL2rSK3/itj5 cY/A==
X-Gm-Message-State: ABUngvdQxHBP+D6nLx/FYzFfNl7FACDLFnvYuh4dqHNkNmyUB4YKixCNIcDKOfZPsFdB3A4TwsuHN0Kh95mJaw==
X-Received: by 10.233.220.131 with SMTP id q125mr204297qkf.43.1478037164100; Tue, 01 Nov 2016 14:52:44 -0700 (PDT)
MIME-Version: 1.0
Sender: jinmei.tatuya@gmail.com
Received: by 10.237.54.134 with HTTP; Tue, 1 Nov 2016 14:52:43 -0700 (PDT)
From: =?UTF-8?B?56We5piO6YGU5ZOJ?= <jinmei@wide.ad.jp>
Date: Tue, 1 Nov 2016 14:52:43 -0700
X-Google-Sender-Auth: fg8s8-tMDgTfi1F4Ql0jmpvhtqs
Message-ID: <CAJE_bqebwr2WUUgaNgiYS4_8L77Gxj4Os+oPRG407B6ELMEhCQ@mail.gmail.com>
To: "dhcwg@ietf.org" <dhcwg@ietf.org>
Content-Type: text/plain; charset=UTF-8
Archived-At: <https://mailarchive.ietf.org/arch/msg/dhcwg/0LMxU7dc1P8RSSjPOkpErlYJQto>
Subject: [dhcwg] preliminary comments on draft-ietf-dhc-sedhcpv6-17
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, 01 Nov 2016 21:52:48 -0000

I have a couple of higher-level comments on draft-ietf-dhc-sedhcpv6-17.

1. I still disagree with the following restriction described in
 Section 5.4:

   For the privacy consideration, we have to give up the
   previous server selection feature.

 Especially now that rfc3315bis is going to deprecate the delayed
 authentication protocol and sedhcpv6 will become the only current
 candidate to provide security for DHCPv6, I believe it should cover
 all basic features of DHCPv6 including "the previous server selection
 feature".  There is at least one way to support this feature
 (although it's operationally restrictive): share the same
 private/public key pairs by multiple servers that may respond to the
 same Solicit.  As far as I can see there's nothing in this
 specification that prohibits this operation (unlike an earlier
 version of the spec, we don't include the server ID option in
 the Encrypted-Query message for a Solicit).  Also the following
 sentence in Section 10 seems to assume this operation:

   It should be noted that the selected certificate may
   correspond to multiple DHCPv6 servers.

2. Algorithm negotiation still doesn't make much sense to me.  I have
   many questions and concerns related to this point, but instead of
   raising each of these, I'd suggest one specific alternative to
   consider: have the client send a list of supported algorithms in
   the initial Information-Request, and let the server choose one set
   of them and keep using the same set.  This way we don't have to
   worry about an "algorithm not supported" error in the middle of a
   DHCPv6 session (as a corollary, we don't have to worry about how to
   return an encrypted reply when the client's preferred encryption
   algorithm isn't supported by the server).  An obvious downside of
   this is that it reveals some information of the client (the list of
   supported/preferred algorithms), but IMO this is acceptable.

--
JINMEI, Tatuya


From nobody Tue Nov  1 15:18:40 2016
Return-Path: <linux@thehobsons.co.uk>
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 CB2011299E0 for <dhcwg@ietfa.amsl.com>; Tue,  1 Nov 2016 15:18:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.397
X-Spam-Level: 
X-Spam-Status: No, score=-3.397 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-1.497] autolearn=ham autolearn_force=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 S9PCM0AOdwUd for <dhcwg@ietfa.amsl.com>; Tue,  1 Nov 2016 15:18:37 -0700 (PDT)
Received: from patsy.thehobsons.co.uk (patsy.thehobsons.co.uk [IPv6:2001:470:1f09:baa::21]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id CFA9412954B for <dhcwg@ietf.org>; Tue,  1 Nov 2016 15:18:21 -0700 (PDT)
X-Virus-Scanned: Debian amavisd-new at patsy.thehobsons.co.uk
Received: from simons-macbookpro.lan (magpiehouse.plus.com [80.229.10.150]) by patsy.thehobsons.co.uk (Postfix) with ESMTPSA id D128C1A071 for <dhcwg@ietf.org>; Tue,  1 Nov 2016 22:18:14 +0000 (UTC)
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 6.6 \(1510\))
From: Simon Hobson <linux@thehobsons.co.uk>
In-Reply-To: <63b4ff93b18544e0aba3b2f0d1fc4f0d@XCH15-06-08.nw.nos.boeing.com>
Date: Tue, 1 Nov 2016 22:18:14 +0000
Content-Transfer-Encoding: quoted-printable
Message-Id: <9D30C137-A4B0-4EB1-BDC1-34059E0EE88E@thehobsons.co.uk>
References: <63b4ff93b18544e0aba3b2f0d1fc4f0d@XCH15-06-08.nw.nos.boeing.com>
To: "dhcwg@ietf.org" <dhcwg@ietf.org>
X-Mailer: Apple Mail (2.1510)
Archived-At: <https://mailarchive.ietf.org/arch/msg/dhcwg/fS5aUqW_UsoicSHCciZLxk-Myes>
Subject: Re: [dhcwg] DDoS and DHCP servers
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, 01 Nov 2016 22:18:39 -0000

"Templin, Fred L" <Fred.L.Templin@boeing.com> wrote:

> The Oct. 21, 2016 DDoS attack on the Internet has me wondering about =
the
> DDoS vulnerability profile for DHCP servers (mostly interested in =
DHCPv6).
>=20
> Are there any mitigations that could be employed to protect DHCPv6 =
servers
> from DDoS attacks?

My feeling is that it's going to be a non-issue. I can't see many DHCP =
servers being exposed to the internet - other than (for example) those =
serving customers of an ISP. As such :
- there shouldn't be many (if any) DHCP servers exposed
- the traffic is easily filtered at the border (it's not a protocol =
you'd need to be handling inbound or outbound).
- and even if some packets get through, the server they reach won't be =
configured to be serving arbitrary subnets. Ie, if you sent client =
request packets for some arbitrary public IP (to create a reflection =
attack on that IP), it's highly unlikely that the server will be =
configured to serve up that IP.


From nobody Tue Nov  1 19:02:58 2016
Return-Path: <volz@cisco.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 7363B120726 for <dhcwg@ietfa.amsl.com>; Tue,  1 Nov 2016 19:02:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -16.018
X-Spam-Level: 
X-Spam-Status: No, score=-16.018 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-1.497, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.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 emEmiGuscaTs for <dhcwg@ietfa.amsl.com>; Tue,  1 Nov 2016 19:02:56 -0700 (PDT)
Received: from rcdn-iport-6.cisco.com (rcdn-iport-6.cisco.com [173.37.86.77]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 2088D12007C for <dhcwg@ietf.org>; Tue,  1 Nov 2016 19:02:56 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=2316; q=dns/txt; s=iport; t=1478052176; x=1479261776; h=from:to:subject:date:message-id:content-id: content-transfer-encoding:mime-version; bh=nNSoWtbsHGplRPcGoX4gFGqmNHOcd9A/1+ujwYHDulU=; b=HqxZnXlXiWMGKGNMWbY5I8lXU7m58qqTzMqI/k9OyJQpHwrVoqu9oV8H x1zteeYysLb3DGehDXiXKImKBvgYA9AfbFtrdquIGqUWZxTVRjJS64TM8 IBZtSTmKt3mvvUzSZouiC6Jywq5r97jZMrtdPujljSKb6vAxE5nDx+QWq I=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0BsAQACSBlY/5NdJa1dGgEBAQECAQEBA?= =?us-ascii?q?QgBAQEBgyoBAQEBAR9YfAeNL6tGggcdC4V6HIF0PxQBAgEBAQEBAQFiKIRiAQE?= =?us-ascii?q?EAQEBIBE6HQEIGgImAgQlCxUSBAESiFQOqzGNBAEBAQEGAQEBAQEdBYEHiguEJ?= =?us-ascii?q?A0WgwSCXAWaGgGQNJAGjROEAwEeNmCFE3IBhSGBLoEMAQEB?=
X-IronPort-AV: E=Sophos;i="5.31,582,1473120000"; d="scan'208";a="166394427"
Received: from rcdn-core-11.cisco.com ([173.37.93.147]) by rcdn-iport-6.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 02 Nov 2016 02:02:55 +0000
Received: from XCH-RCD-002.cisco.com (xch-rcd-002.cisco.com [173.37.102.12]) by rcdn-core-11.cisco.com (8.14.5/8.14.5) with ESMTP id uA222tkZ021615 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=FAIL); Wed, 2 Nov 2016 02:02:55 GMT
Received: from xch-aln-003.cisco.com (173.36.7.13) by XCH-RCD-002.cisco.com (173.37.102.12) with Microsoft SMTP Server (TLS) id 15.0.1210.3; Tue, 1 Nov 2016 21:02:54 -0500
Received: from xch-aln-003.cisco.com ([173.36.7.13]) by XCH-ALN-003.cisco.com ([173.36.7.13]) with mapi id 15.00.1210.000; Tue, 1 Nov 2016 21:02:54 -0500
From: "Bernie Volz (volz)" <volz@cisco.com>
To: "Templin, Fred L" <Fred.L.Templin@boeing.com>, "dhcwg@ietf.org" <dhcwg@ietf.org>
Thread-Topic: [dhcwg] DDoS and DHCP servers
Thread-Index: AQHSNK05/nojNsZrTc+1BWNqerzjbg==
Date: Wed, 2 Nov 2016 02:02:54 +0000
Message-ID: <D43EBF31.3B6B7%volz@cisco.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
user-agent: Microsoft-MacOutlook/14.6.9.160926
x-ms-exchange-messagesentrepresentingtype: 1
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [10.86.241.146]
Content-Type: text/plain; charset="utf-8"
Content-ID: <4ADAD3B204B8E747A12F8820250442A5@emea.cisco.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/dhcwg/e-945VeIlOURIoDsqnD_q0H-TDU>
Subject: Re: [dhcwg] DDoS and DHCP servers
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: Wed, 02 Nov 2016 02:02:57 -0000

RnJlZDoNCg0KVXN1YWxseSB0aGUgc2ltcGxlc3QgYW5kIGJlc3QgcHJhY3RpY2UgaXMgdG8gbm90
IGFsbG93IERIQ1AgdHJhZmZpYyBmcm9tDQp0aGUgb3V0c2lkZS4gV2h5IHdvdWxkIHNvbWVvbmUg
b24gdGhlIEludGVybmV0IG5lZWQgdG8gdXNlIHlvdXIgREhDUA0Kc2VydmVyPyBNb3N0IG9mIHRo
ZSBERE9TIGF0dGFja3Mgb2NjdXIgb3ZlciB0aGUgSW50ZXJuZXQgYW5kIHRodXMgYmxvY2tpbmcN
CnRoZSB0cmFmZmljIGF0IHRoZSBmcm9udCBnYXRlIGlzIHRoZSBiZXN0Lg0KDQpQcm90ZWN0aW5n
IGFnYWluc3QgRERvUyBpbnNpZGUgYW4gYWRtaW5pc3RyYXRpdmUgZG9tYWluLCBzaG91bGQgaXQg
b2NjdXINCmF0IGEgc2NhbGUgdGhhdCBpcyBzdWZmaWNpZW50bHkgaGlnaCwgaXMgdmVyeSBkaWZm
aWN1bHQgdG8gcHJvdGVjdA0KYWdhaW5zdC4gVGhlIHNlcnZlcnMgd2lsbCBiZSBvdmVyd2hlbG1l
ZCBhbmQgZHJvcCBwYWNrZXRzICh0aGF04oCZcyB0aGUNCkRlbmlhbCBwYXJ0KSwgYW5kIGJ5IGZs
b29kaW5nIHRoZSBzZXJ2ZXIgdGhlIGlkZWEgaXMgdGhhdCB0aGUgZ29vZCBwYWNrZXRzDQphcmUg
ZmV3IGFuZCBmYXIgYmV0d2VlbiBhbmQgc28gYXJlIGxpa2VseSB0byBiZSBkcm9wcGVkLg0KDQpU
aGVyZSBhcmUgc29tZSBpbnRlcmVzdGluZyBjb25jZXB0cyB0aGF0IG9uZSBjb3VsZCB0aGluayBv
ZiB1c2luZywgZm9yDQpleGFtcGxlIHByZWZlciBESENQUkVRVUVTVCAob3IgREhDUHY2IFJlcXVl
c3QsIFJlbmV3KSBvdmVyIERIQ1BESVNDT1ZFUg0KKG9yIERIQ1B2NiBTb2xpY2l0KS4gV2UgYWN0
dWFsbHkgaGF2ZSBzdWNoIGEgbWVjaGFuaXNtIGluIHRoZSBzZXJ2ZXIgSQ0Kd29yayBvbiAod2Ug
bGltaXQgdGhlIG51bWJlciBvZiBESENQRElTQ09WRVIvU29saWNpdHMgd2XigJlsbCBwcm9jZXNz
IHRvDQpsZWF2ZSBzb21lIGhlYWRyb29tIGZvciBvdGhlciBwYWNrZXRzKSDigJQgdGhpcyBpcyB0
byBhc3N1cmUgaWYgYSBjbGllbnQNCmdldHMgYSBESENQT0ZGRVIgb3IgQWR2ZXJ0aXNlLCBpdCBp
cyBtb3JlIGxpa2VseSB0byBiZSBzdWNjZXNzZnVsIGluDQpnZXR0aW5nIHRoZSBmb2xsb3cgb24g
cGFja2V0IGluLg0KDQotIEJlcm5pZQ0KDQpPbiAxMS8xLzE2LCA1OjMzIFBNLCAiZGhjd2cgb24g
YmVoYWxmIG9mIFRlbXBsaW4sIEZyZWQgTCINCjxkaGN3Zy1ib3VuY2VzQGlldGYub3JnIG9uIGJl
aGFsZiBvZiBGcmVkLkwuVGVtcGxpbkBib2VpbmcuY29tPiB3cm90ZToNCg0KPkhpLA0KPg0KPlRo
ZSBPY3QuIDIxLCAyMDE2IEREb1MgYXR0YWNrIG9uIHRoZSBJbnRlcm5ldCBoYXMgbWUgd29uZGVy
aW5nIGFib3V0IHRoZQ0KPkREb1MgdnVsbmVyYWJpbGl0eSBwcm9maWxlIGZvciBESENQIHNlcnZl
cnMgKG1vc3RseSBpbnRlcmVzdGVkIGluIERIQ1B2NikuDQo+DQo+QXJlIHRoZXJlIGFueSBtaXRp
Z2F0aW9ucyB0aGF0IGNvdWxkIGJlIGVtcGxveWVkIHRvIHByb3RlY3QgREhDUHY2IHNlcnZlcnMN
Cj5mcm9tIEREb1MgYXR0YWNrcz8NCj4NCj5UaGFua3MgLSBGcmVkDQo+ZnJlZC5sLnRlbXBsaW5A
Ym9laW5nLmNvbQ0KPg0KPl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f
X19fX19fDQo+ZGhjd2cgbWFpbGluZyBsaXN0DQo+ZGhjd2dAaWV0Zi5vcmcNCj5odHRwczovL3d3
dy5pZXRmLm9yZy9tYWlsbWFuL2xpc3RpbmZvL2RoY3dnDQoNCg==


From nobody Wed Nov  2 00:57:39 2016
Return-Path: <dhcp1@thehobsons.co.uk>
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 781DC129A30 for <dhcwg@ietfa.amsl.com>; Wed,  2 Nov 2016 00:57:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.397
X-Spam-Level: 
X-Spam-Status: No, score=-3.397 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-1.497] autolearn=ham autolearn_force=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 UgjF9zm9aNw8 for <dhcwg@ietfa.amsl.com>; Wed,  2 Nov 2016 00:57:30 -0700 (PDT)
Received: from patsy.thehobsons.co.uk (patsy.thehobsons.co.uk [IPv6:2001:470:1f09:baa::21]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A7B80129490 for <dhcwg@ietf.org>; Wed,  2 Nov 2016 00:57:30 -0700 (PDT)
X-Virus-Scanned: Debian amavisd-new at patsy.thehobsons.co.uk
Received: from simons-macbookpro.lan (magpiehouse.plus.com [80.229.10.150]) by patsy.thehobsons.co.uk (Postfix) with ESMTPSA id 0F2A61A071 for <dhcwg@ietf.org>; Wed,  2 Nov 2016 07:57:25 +0000 (UTC)
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 6.6 \(1510\))
From: Simon Hobson <dhcp1@thehobsons.co.uk>
In-Reply-To: <D43EBF31.3B6B7%volz@cisco.com>
Date: Wed, 2 Nov 2016 07:57:26 +0000
Content-Transfer-Encoding: quoted-printable
Message-Id: <F89A1EE6-45DC-4472-B80F-EBA12A1585C0@thehobsons.co.uk>
References: <D43EBF31.3B6B7%volz@cisco.com>
To: "dhcwg@ietf.org" <dhcwg@ietf.org>
X-Mailer: Apple Mail (2.1510)
Archived-At: <https://mailarchive.ietf.org/arch/msg/dhcwg/6HT62ZR6UJnzss-IrIxztQTCzM4>
Subject: Re: [dhcwg] DDoS and DHCP servers
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: Wed, 02 Nov 2016 07:57:35 -0000

Bernie Volz (volz) <volz@cisco.com> wrote:

> Protecting against DDoS inside an administrative domain, should it =
occur
> at a scale that is sufficiently high, is very difficult to protect
> against.

I can't help thinking that the best way of mitigating against a DoS =
attack from inside is simply to have the tools to detect it and a plan =
to deal with it. If you are large enough that tracking down the offender =
is a big job, then you are also almost certainly large enough that =
you'll have managed switched and can (as a first step) simply switch off =
part (perhaps a single site/location, or when you've tracked it down, a =
single port) of the network if that's what it takes. And follow that up =
with a visit to the desk responsible armed with your trusty clue by four =
:D
In a flat network, you'll have the source MAC address and can use the =
switch forwarding tables to determine the location. In a routed network, =
you can add a filter at the router to block DHCP traffic from a segment =
while you track down the source.


From nobody Wed Nov  2 07:13:33 2016
Return-Path: <Fred.L.Templin@boeing.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 20421129648 for <dhcwg@ietfa.amsl.com>; Wed,  2 Nov 2016 07:13:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.221
X-Spam-Level: 
X-Spam-Status: No, score=-4.221 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=ham autolearn_force=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 HP2ubm0kDZ86 for <dhcwg@ietfa.amsl.com>; Wed,  2 Nov 2016 07:13:29 -0700 (PDT)
Received: from phx-mbsout-01.mbs.boeing.net (phx-mbsout-01.mbs.boeing.net [130.76.184.178]) (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 2D14F129646 for <dhcwg@ietf.org>; Wed,  2 Nov 2016 07:13:28 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by phx-mbsout-01.mbs.boeing.net (8.14.4/8.14.4/DOWNSTREAM_MBSOUT) with SMTP id uA2EDRJm013584; Wed, 2 Nov 2016 07:13:27 -0700
Received: from XCH15-06-09.nw.nos.boeing.com (xch15-06-09.nw.nos.boeing.com [137.136.239.172]) by phx-mbsout-01.mbs.boeing.net (8.14.4/8.14.4/UPSTREAM_MBSOUT) with ESMTP id uA2EDOAB013175 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=OK); Wed, 2 Nov 2016 07:13:24 -0700
Received: from XCH15-06-08.nw.nos.boeing.com (2002:8988:eede::8988:eede) by XCH15-06-09.nw.nos.boeing.com (2002:8988:efac::8988:efac) with Microsoft SMTP Server (TLS) id 15.0.1178.4; Wed, 2 Nov 2016 07:13:23 -0700
Received: from XCH15-06-08.nw.nos.boeing.com ([137.136.238.222]) by XCH15-06-08.nw.nos.boeing.com ([137.136.238.222]) with mapi id 15.00.1178.000; Wed, 2 Nov 2016 07:13:23 -0700
From: "Templin, Fred L" <Fred.L.Templin@boeing.com>
To: Simon Hobson <dhcp1@thehobsons.co.uk>, "dhcwg@ietf.org" <dhcwg@ietf.org>
Thread-Topic: [dhcwg] DDoS and DHCP servers
Thread-Index: AQHSNK05/nojNsZrTc+1BWNqerzjbqDFyX4A///wtHA=
Date: Wed, 2 Nov 2016 14:13:23 +0000
Message-ID: <f5663f7056ec487c99afc472c18a11ea@XCH15-06-08.nw.nos.boeing.com>
References: <D43EBF31.3B6B7%volz@cisco.com> <F89A1EE6-45DC-4472-B80F-EBA12A1585C0@thehobsons.co.uk>
In-Reply-To: <F89A1EE6-45DC-4472-B80F-EBA12A1585C0@thehobsons.co.uk>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [137.136.248.6]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-TM-AS-MML: disable
Archived-At: <https://mailarchive.ietf.org/arch/msg/dhcwg/hu7N0HSbRxSFYi-A-azEdUy2ry8>
Subject: Re: [dhcwg] DDoS and DHCP servers
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: Wed, 02 Nov 2016 14:13:32 -0000

Thanks Simon and Bernie,

I am concerned about a DDoS attack that would take down a DHCPv6 server eve=
n
for just a short time (e.g., several minutes) even if the attackers were tr=
aced and
shut down after the initial DDoS volley. And, inside a large network (e.g.,=
 a
cellular operator's network) a coordinated insider attack is imaginable.

Regards - Fred
fred.l.templin@boeing.com

> -----Original Message-----
> From: dhcwg [mailto:dhcwg-bounces@ietf.org] On Behalf Of Simon Hobson
> Sent: Wednesday, November 02, 2016 12:57 AM
> To: dhcwg@ietf.org
> Subject: Re: [dhcwg] DDoS and DHCP servers
>=20
> Bernie Volz (volz) <volz@cisco.com> wrote:
>=20
> > Protecting against DDoS inside an administrative domain, should it occu=
r
> > at a scale that is sufficiently high, is very difficult to protect
> > against.
>=20
> I can't help thinking that the best way of mitigating against a DoS attac=
k from inside is simply to have the tools to detect it and a plan to
> deal with it. If you are large enough that tracking down the offender is =
a big job, then you are also almost certainly large enough that
> you'll have managed switched and can (as a first step) simply switch off =
part (perhaps a single site/location, or when you've tracked it
> down, a single port) of the network if that's what it takes. And follow t=
hat up with a visit to the desk responsible armed with your
> trusty clue by four :D
> In a flat network, you'll have the source MAC address and can use the swi=
tch forwarding tables to determine the location. In a routed
> network, you can add a filter at the router to block DHCP traffic from a =
segment while you track down the source.
>=20
> _______________________________________________
> dhcwg mailing list
> dhcwg@ietf.org
> https://www.ietf.org/mailman/listinfo/dhcwg



From nobody Wed Nov  2 07:15:24 2016
Return-Path: <akostur@incognito.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 3B8C012966F for <dhcwg@ietfa.amsl.com>; Wed,  2 Nov 2016 07:15:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.601
X-Spam-Level: 
X-Spam-Status: No, score=-2.601 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, 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=incognito-com.20150623.gappssmtp.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 qvhE8PR4BuUn for <dhcwg@ietfa.amsl.com>; Wed,  2 Nov 2016 07:15:20 -0700 (PDT)
Received: from mail-yw0-x22b.google.com (mail-yw0-x22b.google.com [IPv6:2607:f8b0:4002:c05::22b]) (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 160DB129665 for <dhcwg@ietf.org>; Wed,  2 Nov 2016 07:15:20 -0700 (PDT)
Received: by mail-yw0-x22b.google.com with SMTP id l124so9430625ywb.3 for <dhcwg@ietf.org>; Wed, 02 Nov 2016 07:15:20 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=incognito-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=3Of0XJI73J/xiJBodc978L1imvNNzBzwGsdOmzQZFfU=; b=NGad8vLxcP4iEyMvL1UUACVi1ZLuqWVZU5RqpFBZ4eEYTDIQ1JxgOA41hmdauJKsSu JNvNcnYefTIDKjkXc6E1ELOKXYV/rHDOEr1nrpdqE1jtl0aRHypwRHcBE6P2oZxViiQ5 ijiNB6u3j54Fz5zsLz1swUSH1KRGx+3b07GRkmUgCvdKnns5t/8KJaXLyjeY5wmucJQ8 8cViLcT0DHHOP9n4S53r7Ic5lpoou/K5viN2N99okMtEQVMYlihWVJeDmfM+BVpMt7qD 1Yuse1mFufhaFcn9vsB8XSRlgCVRCmW3ZyoaFJPYKS/V3zQ6GYGWtLhAzWPHJoViQzWh Qx0Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=3Of0XJI73J/xiJBodc978L1imvNNzBzwGsdOmzQZFfU=; b=cvD6HzmmH9F4ejhdEHCn991O/YmTcLb8PT2GH61UYmTfvLCSoSRPwtZQHpxPYX3Iqe rkt2bk9peF/Lsdg61zMq4F3BhGj5rA+Qu+YDv7hmskJhxH6VwNBgMvI7MADtAkrILuFz mtA9TD5Z10DD/ZDW9/fjFyMcUydtO/gLJOiO0e4rhSN4YzxVyN4Vz2Qoq/4WVJInp1yF 2xcqf5k3+kqQwR1Roag2VKHcVWDkmrX4UFdkjljEwdl6w8v6+TUxmtLSXLaHckCSGBO+ 0A6SnPlVcVmJXjeOTxMLwSgvsKkOxfDuypEQwBTYulUXTRhsFfq5I+38VBCZL2bSOMrR V06Q==
X-Gm-Message-State: ABUngvdpei4EvTi9lm8+OHTQ1Y0klzLzluFlSp4Nq00SzlapZXd0yzM2VoGuJZ8NLV7WZsRcmUtfZ0zFTc9iI6k0
X-Received: by 10.13.255.2 with SMTP id p2mr2598162ywf.199.1478096119121; Wed, 02 Nov 2016 07:15:19 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.129.34.87 with HTTP; Wed, 2 Nov 2016 07:15:18 -0700 (PDT)
In-Reply-To: <F89A1EE6-45DC-4472-B80F-EBA12A1585C0@thehobsons.co.uk>
References: <D43EBF31.3B6B7%volz@cisco.com> <F89A1EE6-45DC-4472-B80F-EBA12A1585C0@thehobsons.co.uk>
From: Andre Kostur <akostur@incognito.com>
Date: Wed, 2 Nov 2016 07:15:18 -0700
Message-ID: <CAL10_BoCFgMyurSwYucjui2eoWS6wjcYYaz8j7pjnmGeFtM9GA@mail.gmail.com>
To: Simon Hobson <dhcp1@thehobsons.co.uk>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/dhcwg/cEVcy4wCCevd83XA6t5T9iHtbds>
Cc: "dhcwg@ietf.org" <dhcwg@ietf.org>
Subject: Re: [dhcwg] DDoS and DHCP servers
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: Wed, 02 Nov 2016 14:15:23 -0000

On Wed, Nov 2, 2016 at 12:57 AM, Simon Hobson <dhcp1@thehobsons.co.uk> wrot=
e:
> Bernie Volz (volz) <volz@cisco.com> wrote:
>
>> Protecting against DDoS inside an administrative domain, should it occur
>> at a scale that is sufficiently high, is very difficult to protect
>> against.
>
> I can't help thinking that the best way of mitigating against a DoS attac=
k from inside is simply to have the tools to detect it and a plan to deal w=
ith it. If you are large enough that tracking down the offender is a big jo=
b, then you are also almost certainly large enough that you'll have managed=
 switched and can (as a first step) simply switch off part (perhaps a singl=
e site/location, or when you've tracked it down, a single port) of the netw=
ork if that's what it takes. And follow that up with a visit to the desk re=
sponsible armed with your trusty clue by four :D
> In a flat network, you'll have the source MAC address and can use the swi=
tch forwarding tables to determine the location. In a routed network, you c=
an add a filter at the router to block DHCP traffic from a segment while yo=
u track down the source.

Well... that would be something for an enterprise deployment, but is a
little more problematic for an ISP.   You can't just cut off a few
thousand customers (particularly since some of those customers may be
relying on that network like for 911 telephony services...).   Much
like Bernie, we also do some logic on incoming traffic to be able to
deal with DoS attacks, unintentional DoS attacks (also known as
misbehaving clients), as well as inrush events.

If you aren't accepting unicast DHCPv6 traffic, then you may be able
to push some of the DoS mitigation out to your relays.

--=20
Andre Kostur


From nobody Wed Nov  2 07:46:13 2016
Return-Path: <mellon@fugue.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 4E98F1295F2 for <dhcwg@ietfa.amsl.com>; Wed,  2 Nov 2016 07:46:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.601
X-Spam-Level: 
X-Spam-Status: No, score=-2.601 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, 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=fugue-com.20150623.gappssmtp.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 TMXE2IxA6p99 for <dhcwg@ietfa.amsl.com>; Wed,  2 Nov 2016 07:46:10 -0700 (PDT)
Received: from mail-lf0-x234.google.com (mail-lf0-x234.google.com [IPv6:2a00:1450:4010:c07::234]) (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 0A7A21294B6 for <dhcwg@ietf.org>; Wed,  2 Nov 2016 07:46:10 -0700 (PDT)
Received: by mail-lf0-x234.google.com with SMTP id b14so14696054lfg.2 for <dhcwg@ietf.org>; Wed, 02 Nov 2016 07:46:09 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fugue-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=lOtgx0LJjujQRtvA5kQzyUYicfxPkHk+cHxBUewiWWQ=; b=wNlCcl4C4AW8wJHKDEMKYmWJYsW6LFGwsNlhykYCcSuPQWf4xA4DXpIbZ/tK3WR0V/ 3WUvqkQT9yPJeaQadFjSO//Zzm+wohFNkdpB0Co4Iub2qOT/U3nexr8zNUaChbJPZiSW njXztbuh0NasXRU6QvMwerLRi0DTZyi4Z5REeQXgYllXKjtQ4yxcgbFoqWwhm7Co0AiB cZEReMGa638INCxOJMHR7bED8NbqWSeGQdnsRqQ6EThAKfP/brkY07QjozuPfqdN1l5J W7Qkxad4c1rd9jHV7Po+HaGHy1eUgNZZ8IUoNVJG4r97od47bGjsrMr7PPhyG1SFpKw/ esfQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=lOtgx0LJjujQRtvA5kQzyUYicfxPkHk+cHxBUewiWWQ=; b=CRZP/jU8XvkfNRMzx7zJavJEcRZHy0tgzyx6mMFNn68YRT2kMvj+xq60xr5OtWlBp+ dcN9kZxWFCSs4eBvs0hyvqIi+obv46UzxVOw4KOAfUZH0Lk4DJxoQn6CHS2MqJbPwYdR BokCSydR47N3iRNlYLZPJ2GZhvB7Kxul8/8FmmF0oldSJ3Ffb05qwzKociQoftGfRenc x5uE6/iBqMF1PuABy8od/EZPCB9aXwC8iGs1AcfsVl4J3B5YlBzN2qGGcBQSaFmLQndR T0wwxV7TAa+UiIWzAhXrZyalo1ogKxdDg7Er8LfN3uCGhyCoeWxj8FvMFEQn2ruugeY1 letA==
X-Gm-Message-State: ABUngvd/J/mypRrBZIOzUUoleFlVPzUyyd3roUjI9qK1Gt+Ymy/4hPNm1y6P9XODkP/caFA+aJInqvDe+E3CyA==
X-Received: by 10.25.77.204 with SMTP id a195mr2321751lfb.176.1478097968124; Wed, 02 Nov 2016 07:46:08 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.25.160.202 with HTTP; Wed, 2 Nov 2016 07:45:27 -0700 (PDT)
In-Reply-To: <CAL10_BoCFgMyurSwYucjui2eoWS6wjcYYaz8j7pjnmGeFtM9GA@mail.gmail.com>
References: <D43EBF31.3B6B7%volz@cisco.com> <F89A1EE6-45DC-4472-B80F-EBA12A1585C0@thehobsons.co.uk> <CAL10_BoCFgMyurSwYucjui2eoWS6wjcYYaz8j7pjnmGeFtM9GA@mail.gmail.com>
From: Ted Lemon <mellon@fugue.com>
Date: Wed, 2 Nov 2016 10:45:27 -0400
Message-ID: <CAPt1N1kL8G7nrrEeBrjj1V0khB_HH6F3t2ryk2sQ6R8daefd9g@mail.gmail.com>
To: Andre Kostur <akostur@incognito.com>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/dhcwg/DaCvh76Hd_u_uf_sOEh_pOm_dpo>
Cc: "dhcwg@ietf.org" <dhcwg@ietf.org>, Simon Hobson <dhcp1@thehobsons.co.uk>
Subject: Re: [dhcwg] DDoS and DHCP servers
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: Wed, 02 Nov 2016 14:46:12 -0000

The typical way to deal with this is to limit the number of leases
that can be assigned per port.   Most DHCP servers have a way to
configure this.   It requires that your switch send a port identifier
in the relay information portion of the DHCP packet.

On Wed, Nov 2, 2016 at 10:15 AM, Andre Kostur <akostur@incognito.com> wrote=
:
> On Wed, Nov 2, 2016 at 12:57 AM, Simon Hobson <dhcp1@thehobsons.co.uk> wr=
ote:
>> Bernie Volz (volz) <volz@cisco.com> wrote:
>>
>>> Protecting against DDoS inside an administrative domain, should it occu=
r
>>> at a scale that is sufficiently high, is very difficult to protect
>>> against.
>>
>> I can't help thinking that the best way of mitigating against a DoS atta=
ck from inside is simply to have the tools to detect it and a plan to deal =
with it. If you are large enough that tracking down the offender is a big j=
ob, then you are also almost certainly large enough that you'll have manage=
d switched and can (as a first step) simply switch off part (perhaps a sing=
le site/location, or when you've tracked it down, a single port) of the net=
work if that's what it takes. And follow that up with a visit to the desk r=
esponsible armed with your trusty clue by four :D
>> In a flat network, you'll have the source MAC address and can use the sw=
itch forwarding tables to determine the location. In a routed network, you =
can add a filter at the router to block DHCP traffic from a segment while y=
ou track down the source.
>
> Well... that would be something for an enterprise deployment, but is a
> little more problematic for an ISP.   You can't just cut off a few
> thousand customers (particularly since some of those customers may be
> relying on that network like for 911 telephony services...).   Much
> like Bernie, we also do some logic on incoming traffic to be able to
> deal with DoS attacks, unintentional DoS attacks (also known as
> misbehaving clients), as well as inrush events.
>
> If you aren't accepting unicast DHCPv6 traffic, then you may be able
> to push some of the DoS mitigation out to your relays.
>
> --
> Andre Kostur
>
> _______________________________________________
> dhcwg mailing list
> dhcwg@ietf.org
> https://www.ietf.org/mailman/listinfo/dhcwg


From nobody Thu Nov  3 01:36:51 2016
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 A8766129478 for <dhcwg@ietfa.amsl.com>; Thu,  3 Nov 2016 01:36:49 -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 QLdmRol3oUZu for <dhcwg@ietfa.amsl.com>; Thu,  3 Nov 2016 01:36:48 -0700 (PDT)
Received: from mail-qk0-x22c.google.com (mail-qk0-x22c.google.com [IPv6:2607:f8b0:400d:c09::22c]) (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 CF6BF1204D9 for <dhcwg@ietf.org>; Thu,  3 Nov 2016 01:36:47 -0700 (PDT)
Received: by mail-qk0-x22c.google.com with SMTP id n204so37757444qke.2 for <dhcwg@ietf.org>; Thu, 03 Nov 2016 01:36:47 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=41QWqVLZUDqUrqll5stKKOeI0oIWnS23kc8YWH9VxLw=; b=HNEKLazrjTfo5rSiXIEpPS7m3hHF+xWgMDOLzxOm1g4OyLGFi7bf/+1+Nqwgfh4iym DegTFpgy2CMcf/HpYh3lBoVJT1zrQFUBXe4Vcxjg+prHsi8USWdhLmnb2q2SK+cg+9FP s2TI8ZyiSMyv8a6UGb/Lx/3+K9HQbHyu1bj0YoMAkQZrw8TW1NsPiiL2TLJMB+61MzxA Jd1O64hXr8xPDJx0vIIEhZrqB2QCuceGOBFUstyNf4Q6WGbRp9FQpwG+66RJdQQO1Nkf U0ToRhGwLn7ASDMzMtTDJvPCGJ9YDCjP7rm+QGm1l6tRCz0h60lci0nCE2bdZ5HDTEsv ii2g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=41QWqVLZUDqUrqll5stKKOeI0oIWnS23kc8YWH9VxLw=; b=LxKOL4XRx8IOVNXWSinQXhArkLdiMdUvCmHUuuZQs1Jy65rh31YxUn/9UnQHDdooh9 hCwCGKEtT+SbqXABDXDeP0UKuRsd0sX7UQSHKEZSB6G/PCq09XWW1u6dBf/C32d3B0lE e4DsFHaFngRvVsvm4QXTxSE1XBMgaxSaKTKNDUe2cCqE+9hf/0yE9+63wTUaWMv6NBKT OzRfQVmObnwD8/SjgyLQyeynQpAs3Cx51DFy/dzWWOSDpz1Vxo8MayYAjsyAhRwHEN9s w5GK0BukZ/hrovYd/9ZYwMBlS02PmYiI9jgCpr0YHPvM8AETGdLCFbPs/SKcgpOIR8l9 OkIw==
X-Gm-Message-State: ABUngvd76ObhnRHxBSO5ar4xSLR6Fgeebs86WvpR6W166pWxYa/zbwCsQ5DCbXk7GN2LHieRShYHsH522P04dg==
X-Received: by 10.55.48.72 with SMTP id w69mr7376024qkw.320.1478162206938; Thu, 03 Nov 2016 01:36:46 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.237.62.242 with HTTP; Thu, 3 Nov 2016 01:36:46 -0700 (PDT)
In-Reply-To: <CAJE_bqebwr2WUUgaNgiYS4_8L77Gxj4Os+oPRG407B6ELMEhCQ@mail.gmail.com>
References: <CAJE_bqebwr2WUUgaNgiYS4_8L77Gxj4Os+oPRG407B6ELMEhCQ@mail.gmail.com>
From: Lishan Li <lilishan48@gmail.com>
Date: Thu, 3 Nov 2016 16:36:46 +0800
Message-ID: <CAJ3w4Ndi5Gq63n5kZnanRhLM8nWE2wsWGh0kJJLJnq=VoXLuCg@mail.gmail.com>
To: =?UTF-8?B?56We5piO6YGU5ZOJ?= <jinmei@wide.ad.jp>
Content-Type: multipart/alternative; boundary=001a114908be43dd8105406175da
Archived-At: <https://mailarchive.ietf.org/arch/msg/dhcwg/hb-3Mi4MbxITdWzc-vY62GFgX4c>
Cc: "dhcwg@ietf.org" <dhcwg@ietf.org>
Subject: Re: [dhcwg] preliminary comments on draft-ietf-dhc-sedhcpv6-17
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: Thu, 03 Nov 2016 08:36:50 -0000

--001a114908be43dd8105406175da
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

2016-11-02 5:52 GMT+08:00 =E7=A5=9E=E6=98=8E=E9=81=94=E5=93=89 <jinmei@wide=
.ad.jp>:

> I have a couple of higher-level comments on draft-ietf-dhc-sedhcpv6-17.
>
> 1. I still disagree with the following restriction described in
>  Section 5.4:
>
>    For the privacy consideration, we have to give up the
>    previous server selection feature.
>
>  Especially now that rfc3315bis is going to deprecate the delayed
>  authentication protocol and sedhcpv6 will become the only current
>  candidate to provide security for DHCPv6, I believe it should cover
>  all basic features of DHCPv6 including "the previous server selection
>  feature".  There is at least one way to support this feature
>  (although it's operationally restrictive): share the same
>  private/public key pairs by multiple servers that may respond to the
>  same Solicit.  As far as I can see there's nothing in this
>  specification that prohibits this operation (unlike an earlier
>  version of the spec, we don't include the server ID option in
>  the Encrypted-Query message for a Solicit).  Also the following
>  sentence in Section 10 seems to assume this operation:
>
>    It should be noted that the selected certificate may
>    correspond to multiple DHCPv6 servers.
>
[LS]: Agree to what you said. The current version does not prohibits
this operation. This sentence should be deleted.

>
> 2. Algorithm negotiation still doesn't make much sense to me.  I have
>    many questions and concerns related to this point, but instead of
>    raising each of these, I'd suggest one specific alternative to
>    consider: have the client send a list of supported algorithms in
>    the initial Information-Request, and let the server choose one set
>    of them and keep using the same set.  This way we don't have to
>    worry about an "algorithm not supported" error in the middle of a
>    DHCPv6 session (as a corollary, we don't have to worry about how to
>    return an encrypted reply when the client's preferred encryption
>    algorithm isn't supported by the server).  An obvious downside of
>    this is that it reveals some information of the client (the list of
>    supported/preferred algorithms), but IMO this is acceptable.
>
[LS]: In the current version, the server firstly sends a list of supported
algorithms through the Reply message. Then the client processes it
according to the following method:
"If the checks fails, the Reply message is dropped.  If the
hash algorithm field is zero, then it indicates that the hash
algorithm is fixed according to the corresponding signature
algorithm.  If all the algorithms are supported, then the client
selects one hash algorithm, signature algorithm and encryption
algorithm from the provided algorithms set.  And then the client also
uses the same algorithms in the return messages."
So it is not possible that the the server does not support the
acknowledged algorithms. So we also don't need to worry
about how to return an encrypted Reply when the client's
preferred encryption algorithm isn's supported by the server.
Could you please check whether my understanding correct?

Best Regards,
Lishan

--001a114908be43dd8105406175da
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_extra"><div class=3D"gmail_quote">2016=
-11-02 5:52 GMT+08:00 =E7=A5=9E=E6=98=8E=E9=81=94=E5=93=89 <span dir=3D"ltr=
">&lt;<a href=3D"mailto:jinmei@wide.ad.jp" target=3D"_blank">jinmei@wide.ad=
.jp</a>&gt;</span>:<br><blockquote class=3D"gmail_quote" style=3D"margin:0p=
x 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">I =
have a couple of higher-level comments on draft-ietf-dhc-sedhcpv6-17.<br>
<br>
1. I still disagree with the following restriction described in<br>
=C2=A0Section 5.4:<br>
<br>
=C2=A0 =C2=A0For the privacy consideration, we have to give up the<br>
=C2=A0 =C2=A0previous server selection feature.<br>
<br>
=C2=A0Especially now that rfc3315bis is going to deprecate the delayed<br>
=C2=A0authentication protocol and sedhcpv6 will become the only current<br>
=C2=A0candidate to provide security for DHCPv6, I believe it should cover<b=
r>
=C2=A0all basic features of DHCPv6 including &quot;the previous server sele=
ction<br>
=C2=A0feature&quot;.=C2=A0 There is at least one way to support this featur=
e<br>
=C2=A0(although it&#39;s operationally restrictive): share the same<br>
=C2=A0private/public key pairs by multiple servers that may respond to the<=
br>
=C2=A0same Solicit.=C2=A0 As far as I can see there&#39;s nothing in this<b=
r>
=C2=A0specification that prohibits this operation (unlike an earlier<br>
=C2=A0version of the spec, we don&#39;t include the server ID option in<br>
=C2=A0the Encrypted-Query message for a Solicit).=C2=A0 Also the following<=
br>
=C2=A0sentence in Section 10 seems to assume this operation:<br>
<br>
=C2=A0 =C2=A0It should be noted that the selected certificate may<br>
=C2=A0 =C2=A0correspond to multiple DHCPv6 servers.<br></blockquote><div>[L=
S]: Agree to what you said. The current version does not prohibits</div><di=
v>this operation. This sentence should be deleted.=C2=A0</div><blockquote c=
lass=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px soli=
d rgb(204,204,204);padding-left:1ex">
<br>
2. Algorithm negotiation still doesn&#39;t make much sense to me.=C2=A0 I h=
ave<br>
=C2=A0 =C2=A0many questions and concerns related to this point, but instead=
 of<br>
=C2=A0 =C2=A0raising each of these, I&#39;d suggest one specific alternativ=
e to<br>
=C2=A0 =C2=A0consider: have the client send a list of supported algorithms =
in<br>
=C2=A0 =C2=A0the initial Information-Request, and let the server choose one=
 set<br>
=C2=A0 =C2=A0of them and keep using the same set.=C2=A0 This way we don&#39=
;t have to<br>
=C2=A0 =C2=A0worry about an &quot;algorithm not supported&quot; error in th=
e middle of a<br>
=C2=A0 =C2=A0DHCPv6 session (as a corollary, we don&#39;t have to worry abo=
ut how to<br>
=C2=A0 =C2=A0return an encrypted reply when the client&#39;s preferred encr=
yption<br>
=C2=A0 =C2=A0algorithm isn&#39;t supported by the server).=C2=A0 An obvious=
 downside of<br>
=C2=A0 =C2=A0this is that it reveals some information of the client (the li=
st of<br>
=C2=A0 =C2=A0supported/preferred algorithms), but IMO this is acceptable.<b=
r></blockquote><div>[LS]: In the current version, the server firstly sends =
a list of supported<br></div><div>algorithms through the Reply message. The=
n the client processes it=C2=A0</div><div>according to the following method=
:</div><div>&quot;If the checks fails, the Reply message is dropped.=C2=A0 =
If the</div><div>hash algorithm field is zero, then it indicates that the h=
ash</div><div>algorithm is fixed according to the corresponding signature</=
div><div>algorithm.=C2=A0 If all the algorithms are supported, then the cli=
ent</div><div>selects one hash algorithm, signature algorithm and encryptio=
n</div><div>algorithm from the provided algorithms set.=C2=A0 And then the =
client also</div><div>uses the same algorithms in the return messages.&quot=
;=C2=A0</div><div>So it is not possible that the the server does not suppor=
t the=C2=A0</div><div>acknowledged algorithms. So we also don&#39;t need to=
 worry=C2=A0</div><div>about how to return an encrypted Reply when the clie=
nt&#39;s=C2=A0</div><div>preferred encryption algorithm isn&#39;s supported=
 by the server.=C2=A0</div><div>Could you please check whether my understan=
ding correct?</div><div><br></div><div>Best Regards,</div><div>Lishan</div>=
<div><br></div><div><br></div></div><br></div></div>

--001a114908be43dd8105406175da--


From nobody Thu Nov  3 12:03:02 2016
Return-Path: <jinmei.tatuya@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 0474612961B for <dhcwg@ietfa.amsl.com>; Thu,  3 Nov 2016 12:03:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.4
X-Spam-Level: 
X-Spam-Status: No, score=-2.4 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.199, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=unavailable 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 JLSJQj-N1Mhu for <dhcwg@ietfa.amsl.com>; Thu,  3 Nov 2016 12:03:00 -0700 (PDT)
Received: from mail-qt0-x22d.google.com (mail-qt0-x22d.google.com [IPv6:2607:f8b0:400d:c0d::22d]) (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 D5A87129431 for <dhcwg@ietf.org>; Thu,  3 Nov 2016 11:54:12 -0700 (PDT)
Received: by mail-qt0-x22d.google.com with SMTP id p16so34363739qta.0 for <dhcwg@ietf.org>; Thu, 03 Nov 2016 11:54:12 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=jw4qIwATqccKDt4KW72gslMSxJUEYnwOzFUbdmv92Mw=; b=WSGdJsSUEUl3dGRcx3aXTKuzZxfc0VHHfGl7TYhmzOObR7tS1sfyqSEAOSfdpoP+nZ aoNN4B7XIpAN0LYfiSnbffV2bqdbxI72Ls6Jp65GEdKOdYuStS+oLszTZAF+lubylT7v nuukenqmil63Wea1qu8/JYwFjqmIYhNk9X/fsHmloDfJoUuFOtnQJQNrbcJBGBteQO0H WwBqjhFwXqEZOiKxxfmd2jrN6mGxxQEYEFtLjZoYWFZ8i8Ci0QrSGaNkyy+Af6Mmgf19 KpB6og1g/8OAnMwPQLAAl+xJECxA3MwALuW5FpNEMlmR3Eci+ajASLAwXKMrI86VI53N yaIg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=jw4qIwATqccKDt4KW72gslMSxJUEYnwOzFUbdmv92Mw=; b=TPOGwx7Z5eV+yvUAeW3DQdXpf3v8q5VB2RJOhehRYJUCGEEDuE2XsDrkDi7W3tcPUT vUTGSRrATHBdKKB0AoZbRzQfOsXQuu3OXMZmTlBUzvBNJIYt2FYAZHsDeQEwPP8BdfVW sP0urgyQ0yl1ytdiG9A4hPtPF/i2wmeFc/Vr0YeortZhQrjVWYADRD67EYbls/EigQMb h9GPKxXf4ROiZg1VQ8sp7CGy3f2HCh6LYEeB11OnbAc3bkKrwCbeCKkU8XSfVWs3VkWf CjGRN9nQrsWcP4TSMqpggpOKZjqPSBh0Mltzq7/sdEg4YF4eVkokUpCMXPmnOafkCeSh /t6g==
X-Gm-Message-State: ABUngvdm5aa6a+uT5gqvPiSFTMMGPpb4FQTfiN95m0+Z1bq+FVfFXiVNvdzZiOI1gPAuEYpy4HgiD3ojQ4EZ6w==
X-Received: by 10.200.40.211 with SMTP id j19mr9951400qtj.72.1478199251824; Thu, 03 Nov 2016 11:54:11 -0700 (PDT)
MIME-Version: 1.0
Sender: jinmei.tatuya@gmail.com
Received: by 10.237.54.134 with HTTP; Thu, 3 Nov 2016 11:54:11 -0700 (PDT)
In-Reply-To: <CAJ3w4Ndi5Gq63n5kZnanRhLM8nWE2wsWGh0kJJLJnq=VoXLuCg@mail.gmail.com>
References: <CAJE_bqebwr2WUUgaNgiYS4_8L77Gxj4Os+oPRG407B6ELMEhCQ@mail.gmail.com> <CAJ3w4Ndi5Gq63n5kZnanRhLM8nWE2wsWGh0kJJLJnq=VoXLuCg@mail.gmail.com>
From: =?UTF-8?B?56We5piO6YGU5ZOJ?= <jinmei@wide.ad.jp>
Date: Thu, 3 Nov 2016 11:54:11 -0700
X-Google-Sender-Auth: Wy8VorH6FTNwiS_W1Cp2VYfPD_w
Message-ID: <CAJE_bqegh1DfWjfK2BxeC_fWa0cEk-KJNP0AT-TQuEa39w_wVQ@mail.gmail.com>
To: Lishan Li <lilishan48@gmail.com>
Content-Type: text/plain; charset=UTF-8
Archived-At: <https://mailarchive.ietf.org/arch/msg/dhcwg/XKByz0Shaq9wJq0-jQwsEJIyeoU>
Cc: "dhcwg@ietf.org" <dhcwg@ietf.org>
Subject: Re: [dhcwg] preliminary comments on draft-ietf-dhc-sedhcpv6-17
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: Thu, 03 Nov 2016 19:03:01 -0000

At Thu, 3 Nov 2016 16:36:46 +0800,
Lishan Li <lilishan48@gmail.com> wrote:

> > 2. Algorithm negotiation still doesn't make much sense to me.  I have
> >    many questions and concerns related to this point, but instead of
> >    raising each of these, I'd suggest one specific alternative to
> >    consider: have the client send a list of supported algorithms in
> >    the initial Information-Request, and let the server choose one set
> >    of them and keep using the same set.  This way we don't have to
> >    worry about an "algorithm not supported" error in the middle of a
> >    DHCPv6 session (as a corollary, we don't have to worry about how to
> >    return an encrypted reply when the client's preferred encryption
> >    algorithm isn't supported by the server).  An obvious downside of
> >    this is that it reveals some information of the client (the list of
> >    supported/preferred algorithms), but IMO this is acceptable.
> >
> [LS]: In the current version, the server firstly sends a list of supported
> algorithms through the Reply message. Then the client processes it
> according to the following method:
[...]
> So it is not possible that the the server does not support the
> acknowledged algorithms. So we also don't need to worry
> about how to return an encrypted Reply when the client's
> preferred encryption algorithm isn's supported by the server.

One issue of this approach is that there's no way to recover from the
situation where the client doesn't support any of the server-supported
algorithms.  Also, the server will have to include certificates of all
the supported algorithms and signatures for all combinations of
supported hash and signature algorithms as it doesn't know which of
these works for the client.  This along with requiring the server
to always include mandatory algorithms will make this approach
workable, but it seemed to me to be unnecessarily wasteful and
complicated.  Hence my suggestion.

Besides, the current draft is not clear that the server needs to
include all certificates and all combinations of signatures.  It's
also awkward to mention the AlgorithmNotSupported status code if "it
is not possible that the the server does not support the acknowledged
algorithms".  So, whether or not my suggestion is adopted, the current
version of draft has a lot of readability and technical issues (and so
I think it's way far from being ready for a last call).  These are
actually what I'd raise once I get to the point to discuss the content
of the draft, but I wanted to address the higher level matters first.

--
JINMEI, Tatuya


From nobody Thu Nov  3 14:49:49 2016
Return-Path: <volz@cisco.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 9E88A129AB1; Thu,  3 Nov 2016 14:49:47 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -16.017
X-Spam-Level: 
X-Spam-Status: No, score=-16.017 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-1.497, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.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 2BemG_2zfJlB; Thu,  3 Nov 2016 14:49:46 -0700 (PDT)
Received: from alln-iport-5.cisco.com (alln-iport-5.cisco.com [173.37.142.92]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 26187129974; Thu,  3 Nov 2016 14:49:46 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=7169; q=dns/txt; s=iport; t=1478209786; x=1479419386; h=from:to:subject:date:message-id:mime-version; bh=v/ECc4cQMk2w0vAT8z30SP2hNqekDN9YOA0gzf6tIJU=; b=VmwkS2TuQFUneVsEliX5COGLGfl35qUqNYzOBfIfeKHvYEeDou4Qbw3Q SsBoVuttUMwkvbslLlyH7DZm5jCXHWkhCeIhtkulRPgYj4DGP7vX+F8xk w9YMH3i6mb2NoiRQrsiIvalWQlOJeFBFp1TSQFDfbGKadAYam/3r7sGvp M=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0CVAQCDsBtY/4QNJK1dGgEBAQECAQEBA?= =?us-ascii?q?QgBAQEBgnM9AQEBAQEfWIEDjTCmL4UYggiIKj8UAQIBAQEBAQEBYiiEaC1eAYE?= =?us-ascii?q?AJgEEARqITrxGAQEBAQEFAQEBAQEBASCPNw6FdgWaIAGQNZARkSABHjdrhR+GM?= =?us-ascii?q?YEvgQwBAQE?=
X-IronPort-AV: E=Sophos;i="5.31,440,1473120000";  d="scan'208,217";a="342109661"
Received: from alln-core-10.cisco.com ([173.36.13.132]) by alln-iport-5.cisco.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 03 Nov 2016 21:49:45 +0000
Received: from XCH-ALN-003.cisco.com (xch-aln-003.cisco.com [173.36.7.13]) by alln-core-10.cisco.com (8.14.5/8.14.5) with ESMTP id uA3LnjW5020066 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=FAIL); Thu, 3 Nov 2016 21:49:45 GMT
Received: from xch-aln-003.cisco.com (173.36.7.13) by XCH-ALN-003.cisco.com (173.36.7.13) with Microsoft SMTP Server (TLS) id 15.0.1210.3; Thu, 3 Nov 2016 16:49:44 -0500
Received: from xch-aln-003.cisco.com ([173.36.7.13]) by XCH-ALN-003.cisco.com ([173.36.7.13]) with mapi id 15.00.1210.000; Thu, 3 Nov 2016 16:49:44 -0500
From: "Bernie Volz (volz)" <volz@cisco.com>
To: "dhcwg@ietf.org" <dhcwg@ietf.org>, "draft-ietf-dhc-relay-port@ietf.org" <draft-ietf-dhc-relay-port@ietf.org>
Thread-Topic: An issue for draft-ietf-dhc-relay-port-00
Thread-Index: AdI2HAj747+qyTZJR2C5yzM05TAWMQ==
Date: Thu, 3 Nov 2016 21:49:44 +0000
Message-ID: <cf54c05842f14062a95e77fa8c05107a@XCH-ALN-003.cisco.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [10.98.1.203]
Content-Type: multipart/alternative; boundary="_000_cf54c05842f14062a95e77fa8c05107aXCHALN003ciscocom_"
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/dhcwg/S8UeNHKQIWVVNLl3JSnsUfdABp0>
Subject: [dhcwg] An issue for draft-ietf-dhc-relay-port-00
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: Thu, 03 Nov 2016 21:49:47 -0000

--_000_cf54c05842f14062a95e77fa8c05107aXCHALN003ciscocom_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Hi:

For DHCPv6, we either need to explicitly state that the server MUST copy an=
d add the DHCPv6 Relay Agent Source Port Option when constructing the Relay=
-Reply chain from the Relay-Forw(s) or the relay must include the ERO optio=
n (see RFC 4994) to request that the server echo back this option. For DHCP=
v4, the entire option 82 is sent back to the relay; but for DHCPv6, only li=
mited relay options are added into the Relay-Reply (just the Interface-Id o=
ption is copied per RFC 3315).


-          Bernie

--_000_cf54c05842f14062a95e77fa8c05107aXCHALN003ciscocom_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
<meta name=3D"Generator" content=3D"Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:Wingdings;
	panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:#0563C1;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:#954F72;
	text-decoration:underline;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
	{mso-style-priority:34;
	margin-top:0in;
	margin-right:0in;
	margin-bottom:0in;
	margin-left:.5in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri",sans-serif;}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Calibri",sans-serif;
	color:windowtext;}
.MsoChpDefault
	{mso-style-type:export-only;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
/* List Definitions */
@list l0
	{mso-list-id:304891009;
	mso-list-type:hybrid;
	mso-list-template-ids:-2009959082 67698703 67698713 67698715 67698703 6769=
8713 67698715 67698703 67698713 67698715;}
@list l0:level1
	{mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l0:level2
	{mso-level-number-format:alpha-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l0:level3
	{mso-level-number-format:roman-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:right;
	text-indent:-9.0pt;}
@list l0:level4
	{mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l0:level5
	{mso-level-number-format:alpha-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l0:level6
	{mso-level-number-format:roman-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:right;
	text-indent:-9.0pt;}
@list l0:level7
	{mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l0:level8
	{mso-level-number-format:alpha-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l0:level9
	{mso-level-number-format:roman-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:right;
	text-indent:-9.0pt;}
@list l1
	{mso-list-id:943609245;
	mso-list-type:hybrid;
	mso-list-template-ids:-1293898294 -1826880126 67698691 67698693 67698689 6=
7698691 67698693 67698689 67698691 67698693;}
@list l1:level1
	{mso-level-number-format:bullet;
	mso-level-text:-;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:"Calibri",sans-serif;
	mso-fareast-font-family:Calibri;
	mso-bidi-font-family:"Times New Roman";}
@list l1:level2
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:"Courier New";}
@list l1:level3
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Wingdings;}
@list l1:level4
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Symbol;}
@list l1:level5
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:"Courier New";}
@list l1:level6
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Wingdings;}
@list l1:level7
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Symbol;}
@list l1:level8
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:"Courier New";}
@list l1:level9
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Wingdings;}
ol
	{margin-bottom:0in;}
ul
	{margin-bottom:0in;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"EN-US" link=3D"#0563C1" vlink=3D"#954F72">
<div class=3D"WordSection1">
<p class=3D"MsoNormal">Hi:<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">For DHCPv6, we either need to explicitly state that =
the server MUST copy and add the DHCPv6 Relay Agent Source Port Option when=
 constructing the Relay-Reply chain from the Relay-Forw(s) or the relay mus=
t include the ERO option (see RFC
 4994) to request that the server echo back this option. For DHCPv4, the en=
tire option 82 is sent back to the relay; but for DHCPv6, only limited rela=
y options are added into the Relay-Reply (just the Interface-Id option is c=
opied per RFC 3315).<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoListParagraph" style=3D"text-indent:-.25in;mso-list:l1 level=
1 lfo2"><![if !supportLists]><span style=3D"mso-list:Ignore">-<span style=
=3D"font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;
</span></span><![endif]>Bernie<o:p></o:p></p>
</div>
</body>
</html>

--_000_cf54c05842f14062a95e77fa8c05107aXCHALN003ciscocom_--


From nobody Fri Nov  4 04:35:24 2016
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 91B00129C29 for <dhcwg@ietfa.amsl.com>; Fri,  4 Nov 2016 04:35:22 -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 HF6duRjG1n_Q for <dhcwg@ietfa.amsl.com>; Fri,  4 Nov 2016 04:35:20 -0700 (PDT)
Received: from mail-qt0-x22b.google.com (mail-qt0-x22b.google.com [IPv6:2607:f8b0:400d:c0d::22b]) (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 7F754129C22 for <dhcwg@ietf.org>; Fri,  4 Nov 2016 04:35:20 -0700 (PDT)
Received: by mail-qt0-x22b.google.com with SMTP id n6so46096955qtd.1 for <dhcwg@ietf.org>; Fri, 04 Nov 2016 04:35:20 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=5B/E6Cw8Jgr1EbmXHUiTxdQgnGV0JPy7MDlHrTb/gHE=; b=LJlm1rK3Ian3TfFaVyHCfrb1cdPOenK0f9RzjHbd0VjWrx0SQtGBWnxSCW/MplZpAE CkbZeI+igijzA/QgNQCbHPqPJqqJKdjkQWOYLQVzaX5R3s7RRiv+rZ+aPs7DYrDDSCu9 p+YdK+EfRu2AeUQF0P2scl0jJmmwI750fCTukB3O4VNdc4O4PeSx0m1bWi8aCcR7HLdX aX107y/YKCwNQ18t/CHpDIcPZtGA53aTpHVhD4mFL9tsrCXlA1pRAVCHPZlBJXF9UbWw 0yrRrIQVY2AI9OlTzthOCaBmXm0k5SiwrL9G8iDOzCpE4IDx9Dc4B6xisDGmWRzPgkoT rTfQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=5B/E6Cw8Jgr1EbmXHUiTxdQgnGV0JPy7MDlHrTb/gHE=; b=cA9HJKxAQO4xaMZLFeabB73aEbzi+VO0E4A7WyLqTmHhplYy0WIoKndOtShyPrQbRe WBXlRPBYb1ku0P6WFIe+0deOaW7BJjtvXXW05zgxcyGI6GmAimjFHKQ1g/gl0HI/RsPu z1a8QWv+Dbxt6WtFAkiKR98vaeJT6ms16gB7Yxpn7CWe/y7J1zqkvWAaidvjY2dNml4W GLdMhi5sZM2DPzZnAMv/yxa7m54u7z9VA1/yFpnIIsheqxkUEA1PasAbUhOARB0Rrok6 H5aAzZPI40rN2Q9QEusziFHg1JGw8K/2lUFm5Jix7v35FU9csHuQrtdeYgqr+oPWQQao fVdg==
X-Gm-Message-State: ABUngvcwkynh87PDBaEbb86MLfpli43hJbL9Obx0DeqFB3wlNiES9/gBBdlHR2sbowhG9empWxKtQ+LOfDG9oQ==
X-Received: by 10.237.58.161 with SMTP id o30mr13138610qte.3.1478259319382; Fri, 04 Nov 2016 04:35:19 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.237.62.242 with HTTP; Fri, 4 Nov 2016 04:35:18 -0700 (PDT)
In-Reply-To: <CAJE_bqegh1DfWjfK2BxeC_fWa0cEk-KJNP0AT-TQuEa39w_wVQ@mail.gmail.com>
References: <CAJE_bqebwr2WUUgaNgiYS4_8L77Gxj4Os+oPRG407B6ELMEhCQ@mail.gmail.com> <CAJ3w4Ndi5Gq63n5kZnanRhLM8nWE2wsWGh0kJJLJnq=VoXLuCg@mail.gmail.com> <CAJE_bqegh1DfWjfK2BxeC_fWa0cEk-KJNP0AT-TQuEa39w_wVQ@mail.gmail.com>
From: Lishan Li <lilishan48@gmail.com>
Date: Fri, 4 Nov 2016 19:35:18 +0800
Message-ID: <CAJ3w4NdM99nv4C19Xj=aosNme+_Ymyys=xQ3UWUfeZReZC4ckA@mail.gmail.com>
To: =?UTF-8?B?56We5piO6YGU5ZOJ?= <jinmei@wide.ad.jp>
Content-Type: multipart/alternative; boundary=001a11404abe9e2a4a05407811ce
Archived-At: <https://mailarchive.ietf.org/arch/msg/dhcwg/_sdu91WnZRis1633GBrB5cxc2JI>
Cc: "dhcwg@ietf.org" <dhcwg@ietf.org>
Subject: Re: [dhcwg] preliminary comments on draft-ietf-dhc-sedhcpv6-17
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: Fri, 04 Nov 2016 11:35:22 -0000

--001a11404abe9e2a4a05407811ce
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

2016-11-04 2:54 GMT+08:00 =E7=A5=9E=E6=98=8E=E9=81=94=E5=93=89 <jinmei@wide=
.ad.jp>:

> At Thu, 3 Nov 2016 16:36:46 +0800,
> Lishan Li <lilishan48@gmail.com> wrote:
>
> > > 2. Algorithm negotiation still doesn't make much sense to me.  I have
> > >    many questions and concerns related to this point, but instead of
> > >    raising each of these, I'd suggest one specific alternative to
> > >    consider: have the client send a list of supported algorithms in
> > >    the initial Information-Request, and let the server choose one set
> > >    of them and keep using the same set.  This way we don't have to
> > >    worry about an "algorithm not supported" error in the middle of a
> > >    DHCPv6 session (as a corollary, we don't have to worry about how t=
o
> > >    return an encrypted reply when the client's preferred encryption
> > >    algorithm isn't supported by the server).  An obvious downside of
> > >    this is that it reveals some information of the client (the list o=
f
> > >    supported/preferred algorithms), but IMO this is acceptable.
> > >
> > [LS]: In the current version, the server firstly sends a list of
> supported
> > algorithms through the Reply message. Then the client processes it
> > according to the following method:
> [...]
> > So it is not possible that the the server does not support the
> > acknowledged algorithms. So we also don't need to worry
> > about how to return an encrypted Reply when the client's
> > preferred encryption algorithm isn's supported by the server.
>
> One issue of this approach is that there's no way to recover from the
> situation where the client doesn't support any of the server-supported
> algorithms.

[LS]: For this situation, the client can sent the mandatory algorithms set
to the server.

Also, the server will have to include certificates of all
> the supported algorithms and signatures for all combinations of
> supported hash and signature algorithms as it doesn't know which of
> these works for the client.  This along with requiring the server
> to always include mandatory algorithms will make this approach
> workable, but it seemed to me to be unnecessarily wasteful and
> complicated.  Hence my suggestion.

[LS]: I don't think that the client/server need to contain all the
supported
algorithms. In default, all the servers and clients support the mandatory
encryption, signature, hash algorithms. So the client/server may just
need to contain the preferred algorithms and some of mandatory
algorithms. And Randy suggested us contain a list of algorithm, not
all the algorithm.

Besides, the current draft is not clear that the server needs to
> include all certificates and all combinations of signatures.  It's
> also awkward to mention the AlgorithmNotSupported status code if "it
> is not possible that the the server does not support the acknowledged
> algorithms".  So, whether or not my suggestion is adopted, the current
> version of draft has a lot of readability and technical issues (and so
> I think it's way far from being ready for a last call).  These are
> actually what I'd raise once I get to the point to discuss the content
> of the draft, but I wanted to address the higher level matters first.
>
[LS]: Maybe this version has some issues. I have submitted the xml/txt
files.
Could you please review the new version and modify it? I think that
we can discussed all the issues and move forward it as soon as possible.
And we can improve our efficiency in this way. Thanks a lot.

Best Regards,
Lishan

--001a11404abe9e2a4a05407811ce
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_extra"><div class=3D"gmail_quote">2016=
-11-04 2:54 GMT+08:00 =E7=A5=9E=E6=98=8E=E9=81=94=E5=93=89 <span dir=3D"ltr=
">&lt;<a href=3D"mailto:jinmei@wide.ad.jp" target=3D"_blank">jinmei@wide.ad=
.jp</a>&gt;</span>:<br><blockquote class=3D"gmail_quote" style=3D"margin:0p=
x 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">At=
 Thu, 3 Nov 2016 16:36:46 +0800,<br>
<span class=3D"gmail-">Lishan Li &lt;<a href=3D"mailto:lilishan48@gmail.com=
">lilishan48@gmail.com</a>&gt; wrote:<br>
<br>
&gt; &gt; 2. Algorithm negotiation still doesn&#39;t make much sense to me.=
=C2=A0 I have<br>
&gt; &gt;=C2=A0 =C2=A0 many questions and concerns related to this point, b=
ut instead of<br>
&gt; &gt;=C2=A0 =C2=A0 raising each of these, I&#39;d suggest one specific =
alternative to<br>
&gt; &gt;=C2=A0 =C2=A0 consider: have the client send a list of supported a=
lgorithms in<br>
&gt; &gt;=C2=A0 =C2=A0 the initial Information-Request, and let the server =
choose one set<br>
&gt; &gt;=C2=A0 =C2=A0 of them and keep using the same set.=C2=A0 This way =
we don&#39;t have to<br>
&gt; &gt;=C2=A0 =C2=A0 worry about an &quot;algorithm not supported&quot; e=
rror in the middle of a<br>
&gt; &gt;=C2=A0 =C2=A0 DHCPv6 session (as a corollary, we don&#39;t have to=
 worry about how to<br>
&gt; &gt;=C2=A0 =C2=A0 return an encrypted reply when the client&#39;s pref=
erred encryption<br>
&gt; &gt;=C2=A0 =C2=A0 algorithm isn&#39;t supported by the server).=C2=A0 =
An obvious downside of<br>
&gt; &gt;=C2=A0 =C2=A0 this is that it reveals some information of the clie=
nt (the list of<br>
&gt; &gt;=C2=A0 =C2=A0 supported/preferred algorithms), but IMO this is acc=
eptable.<br>
&gt; &gt;<br>
&gt; [LS]: In the current version, the server firstly sends a list of suppo=
rted<br>
&gt; algorithms through the Reply message. Then the client processes it<br>
&gt; according to the following method:<br>
</span>[...]<br>
<span class=3D"gmail-">&gt; So it is not possible that the the server does =
not support the<br>
&gt; acknowledged algorithms. So we also don&#39;t need to worry<br>
&gt; about how to return an encrypted Reply when the client&#39;s<br>
&gt; preferred encryption algorithm isn&#39;s supported by the server.<br>
<br>
</span>One issue of this approach is that there&#39;s no way to recover fro=
m the<br>
situation where the client doesn&#39;t support any of the server-supported<=
br>
algorithms.=C2=A0</blockquote><div>[LS]: For this situation, the client can=
 sent the mandatory algorithms set</div><div>to the server. =C2=A0</div><di=
v><br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0=
.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Also, the ser=
ver will have to include certificates of all<br>
the supported algorithms and signatures for all combinations of<br>
supported hash and signature algorithms as it doesn&#39;t know which of<br>
these works for the client.=C2=A0 This along with requiring the server<br>
to always include mandatory algorithms will make this approach<br>
workable, but it seemed to me to be unnecessarily wasteful and<br>
complicated.=C2=A0 Hence my suggestion.</blockquote><div>[LS]: I don&#39;t =
think that the client/server need to contain all the supported=C2=A0</div><=
div><div>algorithms. In default, all the servers and clients support the ma=
ndatory encryption, signature, hash algorithms. So the client/server may ju=
st=C2=A0</div><div>need to contain the preferred algorithms and some of man=
datory=C2=A0</div><div>algorithms. And Randy suggested us contain a list of=
 algorithm, not=C2=A0</div><div>all the algorithm.=C2=A0</div></div><div><b=
r></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex=
;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Besides, the current draft is not clear that the server needs to<br>
include all certificates and all combinations of signatures.=C2=A0 It&#39;s=
<br>
also awkward to mention the AlgorithmNotSupported status code if &quot;it<b=
r>
<span class=3D"gmail-">is not possible that the the server does not support=
 the acknowledged<br>
</span>algorithms&quot;.=C2=A0 So, whether or not my suggestion is adopted,=
 the current<br>
version of draft has a lot of readability and technical issues (and so<br>
I think it&#39;s way far from being ready for a last call).=C2=A0 These are=
<br>
actually what I&#39;d raise once I get to the point to discuss the content<=
br>
of the draft, but I wanted to address the higher level matters first.<br></=
blockquote><div>[LS]: Maybe this version has some issues. I have submitted =
the xml/txt files.</div><div>Could you please review the new version and mo=
dify it? I think that</div><div>we can discussed all the issues and move fo=
rward it as soon as possible.</div><div>And we can improve our efficiency i=
n this way. Thanks a lot.</div><div><br></div><div>Best Regards,</div><div>=
Lishan</div></div></div></div>

--001a11404abe9e2a4a05407811ce--


From nobody Fri Nov  4 08:04:30 2016
Return-Path: <jinmei.tatuya@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 25D84129531 for <dhcwg@ietfa.amsl.com>; Fri,  4 Nov 2016 08:04:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.4
X-Spam-Level: 
X-Spam-Status: No, score=-2.4 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.199, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=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 UNmTHCy6uISO for <dhcwg@ietfa.amsl.com>; Fri,  4 Nov 2016 08:04:27 -0700 (PDT)
Received: from mail-qk0-x22b.google.com (mail-qk0-x22b.google.com [IPv6:2607:f8b0:400d:c09::22b]) (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 901AD1288B8 for <dhcwg@ietf.org>; Fri,  4 Nov 2016 08:04:27 -0700 (PDT)
Received: by mail-qk0-x22b.google.com with SMTP id x190so98799328qkb.0 for <dhcwg@ietf.org>; Fri, 04 Nov 2016 08:04:27 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=f5N54A1d5311eiiohDzD0sd97X5fpTz4M6byVuWusn4=; b=r+VnhXkywkURLQ6+eoV/6D7a2zYE6haOEFcfjhMOc2rJHeh1RsP/HsHCnhkvPPJxOY COgwXCGTda/U3pzuUUCm8QJrZZyrrq+RnkUnliUmDrOvwUYS0pJKXx8mFcMQ3rsmJdRZ kBKbWSTZneJTYEOhI4fcnoy/zsT/hfCkJmE86MQamhsGQM3ebFTpBgLw8GD/MmjBSc3z YGYyGHYcxJ3Uj5OpaRlNr4lLW/N9Lv4n2boW5eDwKnUdLaF4q0GDYDb1HZt42ScCf8Up WXpVW4czF0rALAvQkrx94B3DBOKNsJHE0CHYkMu1P0Bnj5vKgPzm4nEHyhiiQvsUpvoH NiHg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=f5N54A1d5311eiiohDzD0sd97X5fpTz4M6byVuWusn4=; b=PNg0q4R2HM1gy3TUT1hfqNj/0ryQu3C+DrH4hhtaRDz5xqaR46PMmseVzJiF7K/VwI T+La9WgbudHOg1o5yhrXXdXiWV0+73pDerxTAw6Kqra66uEB9MNMP5Pi//bkq+0vIOm2 xSrds8TLPMYHwp6+5+VhLy8aKXM/S1LwlJIEV54Icdm8plcODTooUY8WBLK93G7ALYit onDZLNivrAmg0UAIBF+DnDK6GYUVjEHP4uaosxC6VbWciYzXYuLDuiPMc+Bj+FsdLNgk xB6B6JDxeYJErYLts5o2enjiKEIXtUCqoZPn8IGQ/NI1O7dBjpBJ84v6+FA+A5WvxM7h +F6Q==
X-Gm-Message-State: ABUngveRV4DwsrSavay6PdamGfy9KNi6BAsosrU+24ptb86BBw/auTioAIm0yANI+upIRJ8B5ZCw+CBD0P59OQ==
X-Received: by 10.55.145.65 with SMTP id t62mr12820169qkd.191.1478271866544; Fri, 04 Nov 2016 08:04:26 -0700 (PDT)
MIME-Version: 1.0
Sender: jinmei.tatuya@gmail.com
Received: by 10.237.54.134 with HTTP; Fri, 4 Nov 2016 08:04:26 -0700 (PDT)
In-Reply-To: <CAJ3w4NdM99nv4C19Xj=aosNme+_Ymyys=xQ3UWUfeZReZC4ckA@mail.gmail.com>
References: <CAJE_bqebwr2WUUgaNgiYS4_8L77Gxj4Os+oPRG407B6ELMEhCQ@mail.gmail.com> <CAJ3w4Ndi5Gq63n5kZnanRhLM8nWE2wsWGh0kJJLJnq=VoXLuCg@mail.gmail.com> <CAJE_bqegh1DfWjfK2BxeC_fWa0cEk-KJNP0AT-TQuEa39w_wVQ@mail.gmail.com> <CAJ3w4NdM99nv4C19Xj=aosNme+_Ymyys=xQ3UWUfeZReZC4ckA@mail.gmail.com>
From: =?UTF-8?B?56We5piO6YGU5ZOJ?= <jinmei@wide.ad.jp>
Date: Fri, 4 Nov 2016 08:04:26 -0700
X-Google-Sender-Auth: G9pbDs9fuZUc8ah8gQ0kh_XIK5E
Message-ID: <CAJE_bqdhGZnK16MooiyujDgthDNnR74EiwW0OevrN6uq4b4ANw@mail.gmail.com>
To: Lishan Li <lilishan48@gmail.com>
Content-Type: text/plain; charset=UTF-8
Archived-At: <https://mailarchive.ietf.org/arch/msg/dhcwg/F8qyzYBVYjGLdV0re5oL5cV-IAo>
Cc: "dhcwg@ietf.org" <dhcwg@ietf.org>
Subject: Re: [dhcwg] preliminary comments on draft-ietf-dhc-sedhcpv6-17
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: Fri, 04 Nov 2016 15:04:29 -0000

At Fri, 4 Nov 2016 19:35:18 +0800,
Lishan Li <lilishan48@gmail.com> wrote:

> > > [LS]: In the current version, the server firstly sends a list of
> > supported
> > > algorithms through the Reply message. Then the client processes it
> > > according to the following method:
> > [...]
> > > So it is not possible that the the server does not support the
> > > acknowledged algorithms. So we also don't need to worry
> > > about how to return an encrypted Reply when the client's
> > > preferred encryption algorithm isn's supported by the server.
> >
> > One issue of this approach is that there's no way to recover from the
> > situation where the client doesn't support any of the server-supported
> > algorithms.
>
> [LS]: For this situation, the client can sent the mandatory algorithms set
> to the server.

...as long as the server includes certificate(s) and signature
for/with the mandatory algorithms.  One problem of the current version
is that this is not clear from the text.  Another issue is that this
is (IMO) wasteful, as discussed below.

> Also, the server will have to include certificates of all
> > the supported algorithms and signatures for all combinations of
> > supported hash and signature algorithms as it doesn't know which of
> > these works for the client.  This along with requiring the server
> > to always include mandatory algorithms will make this approach
> > workable, but it seemed to me to be unnecessarily wasteful and
> > complicated.  Hence my suggestion.
>
> [LS]: I don't think that the client/server need to contain all the
> supported
> algorithms. In default, all the servers and clients support the mandatory
> encryption, signature, hash algorithms. So the client/server may just
> need to contain the preferred algorithms and some of mandatory
> algorithms.

I was probably not clear enough by "all the supported algorithms", but
this is actually what I meant: all the preferred algorithms, and I
thought it was wasteful.

--
JINMEI, Tatuya


From nobody Fri Nov  4 10:09:57 2016
Return-Path: <jinmei.tatuya@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 3EFC61295D8 for <dhcwg@ietfa.amsl.com>; Fri,  4 Nov 2016 10:09:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.7
X-Spam-Level: 
X-Spam-Status: No, score=-1.7 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.199, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.001, SPF_PASS=-0.001] autolearn=no 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 erph_UBzgBqY for <dhcwg@ietfa.amsl.com>; Fri,  4 Nov 2016 10:09:55 -0700 (PDT)
Received: from mail-qk0-x229.google.com (mail-qk0-x229.google.com [IPv6:2607:f8b0:400d:c09::229]) (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 DAB93129469 for <dhcwg@ietf.org>; Fri,  4 Nov 2016 10:09:54 -0700 (PDT)
Received: by mail-qk0-x229.google.com with SMTP id o68so105185661qkf.3 for <dhcwg@ietf.org>; Fri, 04 Nov 2016 10:09:54 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=676VQJcwHrdN2/ucnxfP1KhbPeMYTD5818KYCFZkNi4=; b=CviB+ZgBv0Ha2RUmhWfMQ5yphzCVz88+Z7z1WHKY1i9XXU7sS6SzRJmCRzITV+zlux WYqWZtQl4Buft9fCX9EvHnydwmG03tdw+YR+p7/RvxXNBHmYq9X82vawhnuDANSt1Yz5 TEm+KHFRd1MUQKEF27/5h/p72C5EBV8h9kI5H0VMCWDr9yeH+ix8Thf7IdFYrryewf4C LG+c4DI1oKm7Y+kEN0nRME8CAlsB3gYdUoDYMlv1xAe45UU4SsWJUly2NtQjF6yOxU0q AmSmM7VeGA+G23lAe7J405h/BmOp1lQNvDdEMGIlSbiTv4l567eIobFNvpVatXrzEZoq 78Pw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=676VQJcwHrdN2/ucnxfP1KhbPeMYTD5818KYCFZkNi4=; b=JrcY/E2w7HCHtEZrQ+ofSUmcvnQSVQcglxmiv4ZpLLP0IWtLL2BZ4nlBsiErXJBIVR TcEDLPnWRKMGRSY0mVY5HoWYAAsmTI0R75k90nKLZmGr0ujsTQnZcNOt8f+Bzs5I7EYb vBIVXNeaheyG4y9N/LfWCPjsHlHj4EHLnAFDAq2b0lsaVTy1+Y17slTmWr3pFTk3wUmd uFpTXv1HZsvt4tjiewnZKJPFJI+wWIxGlqlBUqq8RS4grxdbvrE6EerJpDHBohNUHl+c PAvHTn5szja27//to2pXGTw5iAVzhxP7Fg2KiuQ5+HrFdpJ9YB6AeYJ6hGzk+FfkUein WhkA==
X-Gm-Message-State: ABUngvdkfv4Ljoi+xeGCGamGOApIU1t6QpyNX+1W2Z9CAKbES3xtsKRP4qEDWII6pFigh2/G5m+5bBIW612Miw==
X-Received: by 10.55.74.21 with SMTP id x21mr13985815qka.46.1478279393927; Fri, 04 Nov 2016 10:09:53 -0700 (PDT)
MIME-Version: 1.0
Sender: jinmei.tatuya@gmail.com
Received: by 10.237.54.134 with HTTP; Fri, 4 Nov 2016 10:09:53 -0700 (PDT)
In-Reply-To: <CAJE_bqdhGZnK16MooiyujDgthDNnR74EiwW0OevrN6uq4b4ANw@mail.gmail.com>
References: <CAJE_bqebwr2WUUgaNgiYS4_8L77Gxj4Os+oPRG407B6ELMEhCQ@mail.gmail.com> <CAJ3w4Ndi5Gq63n5kZnanRhLM8nWE2wsWGh0kJJLJnq=VoXLuCg@mail.gmail.com> <CAJE_bqegh1DfWjfK2BxeC_fWa0cEk-KJNP0AT-TQuEa39w_wVQ@mail.gmail.com> <CAJ3w4NdM99nv4C19Xj=aosNme+_Ymyys=xQ3UWUfeZReZC4ckA@mail.gmail.com> <CAJE_bqdhGZnK16MooiyujDgthDNnR74EiwW0OevrN6uq4b4ANw@mail.gmail.com>
From: =?UTF-8?B?56We5piO6YGU5ZOJ?= <jinmei@wide.ad.jp>
Date: Fri, 4 Nov 2016 10:09:53 -0700
X-Google-Sender-Auth: pAjW-tNztBtk8zqOIiV_O2iIkkM
Message-ID: <CAJE_bqfKUZe2yaW1sAq7rrib0M7wz28HHtPLqCHK=vXcN6amgg@mail.gmail.com>
To: Lishan Li <lilishan48@gmail.com>
Content-Type: text/plain; charset=UTF-8
Archived-At: <https://mailarchive.ietf.org/arch/msg/dhcwg/pD4ZsvLukuJzG2KjJISpoGYu6vQ>
Cc: "dhcwg@ietf.org" <dhcwg@ietf.org>
Subject: Re: [dhcwg] preliminary comments on draft-ietf-dhc-sedhcpv6-17
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: Fri, 04 Nov 2016 17:09:56 -0000

On Fri, Nov 4, 2016 at 8:04 AM <jinmei@wide.ad.jp> wrote:

>> [LS]: I don't think that the client/server need to contain all the
>> supported
>> algorithms. In default, all the servers and clients support the mandatory
>> encryption, signature, hash algorithms. So the client/server may just
>> need to contain the preferred algorithms and some of mandatory
>> algorithms.
>
> I was probably not clear enough by "all the supported algorithms", but
> this is actually what I meant: all the preferred algorithms, and I
> thought it was wasteful.

To be a bit more specific, consider the following case:

Assume the server supports the following algorithms
  For Encryption: EM, E1
  For Signature: AM, A1, A2
  For Hash: HM, H1, H2
  (where EM, AM, HM are the mandatory algorithms)

Also assume algorithms for Ex and Ay are all completely different and
we need different public keys (thus different certificates) for all of
them.  And also assume we can use any combinations of Az and Hw to
construct the Signature option.  And suppose the server most prefers
E1, A2, H2 because these are the strongest, but it cannot assume a
particular client supports this combination.

Now, for the currently described protocol to work, the server will
need to include the following in response to the initial
Information-Request:

- Certificate for the public key for EM
- Certificate for the public key for E1
- Certificate for the public key for AM
- Certificate for the public key for A1
- Certificate for the public key for A2
- Signature using AM and HM
- Signature using AM and H1
- Signature using AM and H2
- Signature using A1 and HM
- Signature using A1 and H1
- Signature using A1 and H2
- Signature using A2 and HM
- Signature using A2 and H1
- Signature using A2 and H2

This is the (unavoidable) waste I'm envisioning in the current
protocol (or am I misunderstanding it?).

On the other hand, if we let the client tell the server supported
algorithms in Information-Request, the client will only have to show a
list of supported algorithm IDs.  For example, if the client supports
EM, E1, AM, A1, and HM, the client will only have to send an ID of
these 4 algorithms (10 octets in total).  These are all supported by
the server, so the server will return a Reply containing:

- Certificate for the public key for E1
- Certificate for the public key for A1
- Signature using A1 and HM

which (we assume) is the most preferred combination for the server,
and it's guaranteed the client understands it.

--
JINMEI, Tatuya


From nobody Sun Nov  6 23:00:26 2016
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 6F8C0129C04 for <dhcwg@ietfa.amsl.com>; Sun,  6 Nov 2016 23:00:25 -0800 (PST)
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 rKiVCU2fEfc1 for <dhcwg@ietfa.amsl.com>; Sun,  6 Nov 2016 23:00:24 -0800 (PST)
Received: from mail-qk0-x231.google.com (mail-qk0-x231.google.com [IPv6:2607:f8b0:400d:c09::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 CC84C129BF9 for <dhcwg@ietf.org>; Sun,  6 Nov 2016 23:00:23 -0800 (PST)
Received: by mail-qk0-x231.google.com with SMTP id x190so163643015qkb.0 for <dhcwg@ietf.org>; Sun, 06 Nov 2016 23:00:23 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=rzRgIqCDv1NIepb0KNe7XZqzZV6CdpnjoFUyBq18s8U=; b=MMRIEbj0j7owEsEQygq4ndF+actz6328qNEbGGrqUt6ajaaSftclpSDsiOYc57tipW pzR9hCd5DFwQW6ynV08vlw7G5GKAGq+MICMYuP3xfG8hCFWPl6sglahTZIc4BlgrTo21 VvW210Y5JfO0JFGxn/fbvxHzPyxiiwkzttT50baG4arsCOGWgNG0/wOxMs57Ke1lDGC8 oekA8HPzqlqHrYZxaffjJpVcrfdP5YkflnON6F4EwLjRHHA1Lsx3hYnMU8uL6nKJS0QB qkyzR5UuR7OnFAGVXQGrxQEScT1g8TckQQhWslkexNjJzojjCFcLQmcOiSv1pqdaiQcO fVpg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=rzRgIqCDv1NIepb0KNe7XZqzZV6CdpnjoFUyBq18s8U=; b=ZpSQeTCuiQbuHVWM0En/Z8rSM7ES1Eh4kCLXPeSs2JNcixDOBUOc304KTD54XSB6OK 8sBveLREz9MGqJN+iSjsYZ5xhwjq4T8ZuPuLry0EaKTCTocTso9U8dCuc++H5Vg40vLk swkoO01waYwZPbQxKqHscrcCwC4/MA6YrBffdLdKsu3deF+oUk1goRAdnfJqseHSuSb+ spDRLJF+RtekNQfgQx4QF6rSE6nx9RkjNqPDSPoTflP1PStKP6WCRG5lBu5h8zq4GHtN cLae041q5Fyffa3yIvJ5fpT0K8ip1HyTeUnKu5nPSt04rJ8CwWZ27dzv0TL2JPDhdksD qE+Q==
X-Gm-Message-State: ABUngvfIXVdVcmNJwAhMAbHAVQkCAa04igquHu1b9TNOAJBZt1zYx95msotPZWWlzj0tWm3TBv21GmzodhLLow==
X-Received: by 10.55.43.29 with SMTP id r29mr5153969qkh.211.1478502022909; Sun, 06 Nov 2016 23:00:22 -0800 (PST)
MIME-Version: 1.0
Received: by 10.237.62.242 with HTTP; Sun, 6 Nov 2016 23:00:22 -0800 (PST)
In-Reply-To: <CAJE_bqfKUZe2yaW1sAq7rrib0M7wz28HHtPLqCHK=vXcN6amgg@mail.gmail.com>
References: <CAJE_bqebwr2WUUgaNgiYS4_8L77Gxj4Os+oPRG407B6ELMEhCQ@mail.gmail.com> <CAJ3w4Ndi5Gq63n5kZnanRhLM8nWE2wsWGh0kJJLJnq=VoXLuCg@mail.gmail.com> <CAJE_bqegh1DfWjfK2BxeC_fWa0cEk-KJNP0AT-TQuEa39w_wVQ@mail.gmail.com> <CAJ3w4NdM99nv4C19Xj=aosNme+_Ymyys=xQ3UWUfeZReZC4ckA@mail.gmail.com> <CAJE_bqdhGZnK16MooiyujDgthDNnR74EiwW0OevrN6uq4b4ANw@mail.gmail.com> <CAJE_bqfKUZe2yaW1sAq7rrib0M7wz28HHtPLqCHK=vXcN6amgg@mail.gmail.com>
From: Lishan Li <lilishan48@gmail.com>
Date: Mon, 7 Nov 2016 15:00:22 +0800
Message-ID: <CAJ3w4Nd3MB23_XB1jTV21kwUz7Bj4pwKO-zn_skw_4Onk7+2mQ@mail.gmail.com>
To: =?UTF-8?B?56We5piO6YGU5ZOJ?= <jinmei@wide.ad.jp>
Content-Type: multipart/alternative; boundary=001a1147e8e4e012ad0540b093d5
Archived-At: <https://mailarchive.ietf.org/arch/msg/dhcwg/cWBwM41XgCvPR_1n6AsIxim1DsI>
Cc: "dhcwg@ietf.org" <dhcwg@ietf.org>
Subject: Re: [dhcwg] preliminary comments on draft-ietf-dhc-sedhcpv6-17
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: Mon, 07 Nov 2016 07:00:25 -0000

--001a1147e8e4e012ad0540b093d5
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Hi, Jinmei,

Thanks a lot for your detailed explanation. Agree to what you said. Will
modify it according to your comments.

Best Regards,
Lishan

2016-11-05 1:09 GMT+08:00 =E7=A5=9E=E6=98=8E=E9=81=94=E5=93=89 <jinmei@wide=
.ad.jp>:

> On Fri, Nov 4, 2016 at 8:04 AM <jinmei@wide.ad.jp> wrote:
>
> >> [LS]: I don't think that the client/server need to contain all the
> >> supported
> >> algorithms. In default, all the servers and clients support the
> mandatory
> >> encryption, signature, hash algorithms. So the client/server may just
> >> need to contain the preferred algorithms and some of mandatory
> >> algorithms.
> >
> > I was probably not clear enough by "all the supported algorithms", but
> > this is actually what I meant: all the preferred algorithms, and I
> > thought it was wasteful.
>
> To be a bit more specific, consider the following case:
>
> Assume the server supports the following algorithms
>   For Encryption: EM, E1
>   For Signature: AM, A1, A2
>   For Hash: HM, H1, H2
>   (where EM, AM, HM are the mandatory algorithms)
>
> Also assume algorithms for Ex and Ay are all completely different and
> we need different public keys (thus different certificates) for all of
> them.  And also assume we can use any combinations of Az and Hw to
> construct the Signature option.  And suppose the server most prefers
> E1, A2, H2 because these are the strongest, but it cannot assume a
> particular client supports this combination.
>
> Now, for the currently described protocol to work, the server will
> need to include the following in response to the initial
> Information-Request:
>
> - Certificate for the public key for EM
> - Certificate for the public key for E1
> - Certificate for the public key for AM
> - Certificate for the public key for A1
> - Certificate for the public key for A2
> - Signature using AM and HM
> - Signature using AM and H1
> - Signature using AM and H2
> - Signature using A1 and HM
> - Signature using A1 and H1
> - Signature using A1 and H2
> - Signature using A2 and HM
> - Signature using A2 and H1
> - Signature using A2 and H2
>
> This is the (unavoidable) waste I'm envisioning in the current
> protocol (or am I misunderstanding it?).
>
> On the other hand, if we let the client tell the server supported
> algorithms in Information-Request, the client will only have to show a
> list of supported algorithm IDs.  For example, if the client supports
> EM, E1, AM, A1, and HM, the client will only have to send an ID of
> these 4 algorithms (10 octets in total).  These are all supported by
> the server, so the server will return a Reply containing:
>
> - Certificate for the public key for E1
> - Certificate for the public key for A1
> - Signature using A1 and HM
>
> which (we assume) is the most preferred combination for the server,
> and it's guaranteed the client understands it.
>
> --
> JINMEI, Tatuya
>

--001a1147e8e4e012ad0540b093d5
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Hi, Jinmei,</div><div><br></div>Thanks a lot for your=
 detailed explanation. Agree to what you said. Will modify it according to =
your comments.<div><br></div><div>Best Regards,</div><div>Lishan</div><div =
class=3D"gmail_extra"><br><div class=3D"gmail_quote">2016-11-05 1:09 GMT+08=
:00 =E7=A5=9E=E6=98=8E=E9=81=94=E5=93=89 <span dir=3D"ltr">&lt;<a href=3D"m=
ailto:jinmei@wide.ad.jp" target=3D"_blank">jinmei@wide.ad.jp</a>&gt;</span>=
:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-le=
ft:1px #ccc solid;padding-left:1ex"><span class=3D"">On Fri, Nov 4, 2016 at=
 8:04 AM &lt;<a href=3D"mailto:jinmei@wide.ad.jp">jinmei@wide.ad.jp</a>&gt;=
 wrote:<br>
<br>
&gt;&gt; [LS]: I don&#39;t think that the client/server need to contain all=
 the<br>
&gt;&gt; supported<br>
&gt;&gt; algorithms. In default, all the servers and clients support the ma=
ndatory<br>
&gt;&gt; encryption, signature, hash algorithms. So the client/server may j=
ust<br>
&gt;&gt; need to contain the preferred algorithms and some of mandatory<br>
&gt;&gt; algorithms.<br>
&gt;<br>
&gt; I was probably not clear enough by &quot;all the supported algorithms&=
quot;, but<br>
&gt; this is actually what I meant: all the preferred algorithms, and I<br>
&gt; thought it was wasteful.<br>
<br>
</span>To be a bit more specific, consider the following case:<br>
<br>
Assume the server supports the following algorithms<br>
=C2=A0 For Encryption: EM, E1<br>
=C2=A0 For Signature: AM, A1, A2<br>
=C2=A0 For Hash: HM, H1, H2<br>
=C2=A0 (where EM, AM, HM are the mandatory algorithms)<br>
<br>
Also assume algorithms for Ex and Ay are all completely different and<br>
we need different public keys (thus different certificates) for all of<br>
them.=C2=A0 And also assume we can use any combinations of Az and Hw to<br>
construct the Signature option.=C2=A0 And suppose the server most prefers<b=
r>
E1, A2, H2 because these are the strongest, but it cannot assume a<br>
particular client supports this combination.<br>
<br>
Now, for the currently described protocol to work, the server will<br>
need to include the following in response to the initial<br>
Information-Request:<br>
<br>
- Certificate for the public key for EM<br>
- Certificate for the public key for E1<br>
- Certificate for the public key for AM<br>
- Certificate for the public key for A1<br>
- Certificate for the public key for A2<br>
- Signature using AM and HM<br>
- Signature using AM and H1<br>
- Signature using AM and H2<br>
- Signature using A1 and HM<br>
- Signature using A1 and H1<br>
- Signature using A1 and H2<br>
- Signature using A2 and HM<br>
- Signature using A2 and H1<br>
- Signature using A2 and H2<br>
<br>
This is the (unavoidable) waste I&#39;m envisioning in the current<br>
protocol (or am I misunderstanding it?).<br>
<br>
On the other hand, if we let the client tell the server supported<br>
algorithms in Information-Request, the client will only have to show a<br>
list of supported algorithm IDs.=C2=A0 For example, if the client supports<=
br>
EM, E1, AM, A1, and HM, the client will only have to send an ID of<br>
these 4 algorithms (10 octets in total).=C2=A0 These are all supported by<b=
r>
the server, so the server will return a Reply containing:<br>
<br>
- Certificate for the public key for E1<br>
- Certificate for the public key for A1<br>
- Signature using A1 and HM<br>
<br>
which (we assume) is the most preferred combination for the server,<br>
and it&#39;s guaranteed the client understands it.<br>
<br>
--<br>
JINMEI, Tatuya<br>
</blockquote></div><br></div></div>

--001a1147e8e4e012ad0540b093d5--


From nobody Mon Nov  7 00:29:49 2016
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 0FFB9129D33 for <dhcwg@ietfa.amsl.com>; Mon,  7 Nov 2016 00:29:49 -0800 (PST)
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 iyhq2cfxs8zY for <dhcwg@ietfa.amsl.com>; Mon,  7 Nov 2016 00:29:47 -0800 (PST)
Received: from mail-qk0-x22d.google.com (mail-qk0-x22d.google.com [IPv6:2607:f8b0:400d:c09::22d]) (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 5D666129D32 for <dhcwg@ietf.org>; Mon,  7 Nov 2016 00:29:47 -0800 (PST)
Received: by mail-qk0-x22d.google.com with SMTP id n21so56382748qka.3 for <dhcwg@ietf.org>; Mon, 07 Nov 2016 00:29:47 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=AT0PHjow/UVmdEyeptESfKFj0gdX4W6P7xS8IJ5x/jo=; b=aPjn9MLYw/qSgXXDGYh7otFItkzlmO43Pnc+OLemrODxwmZnujFhpI0ubRhjeXwCDS VLEwEJn/X84V2GoBILUlo0lQhnhsjn64qstgrRUmwCTsNh9Ja/hNxxzT5TiFklhMKv5v R9GLhiTaHwg95FprDoWvD71trVmSJhC73+89fd+3kzHT3rjYlfUbMDDk35sN71ma+3TN TmsiQX+aG0C5aFKpEDDIEYhzlEcmdrbU0GO+FHyYi3k3559XsFXDS8l75I7SMcEib+01 /psfwtHVOHI/drJlPjJGwiueOzZ3GYM1jwAfdIOBkVH5yba7T1Cl5sM20bVsRHUa0eWz Upwg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=AT0PHjow/UVmdEyeptESfKFj0gdX4W6P7xS8IJ5x/jo=; b=NyUmtOdkmqIoUnid0UInC+Q3EhpEwOh8hHQGHxH8g5UID2r0Temvwun1alJZzDyHF+ iFjDV203Cfg0qs5tgr//Q8iKlycx4f7qG+BDqousfCjZYCulJyDEApO5FTYeidfYG/ZK 2k/lkK85OJhV1lBC5qKecwgZPNYwaaVnaSYKGeq0Cp7/x/LFxCpaMZeA+jJkeL2kLMgb /a6KZOTUVTjNb43pm11fnzIJCQXCkMxbZrMG2cnDG33C3IKfiAw6fK+78qyHYCe3KQJe sj8I2H9CiTyQt1jtC+i+FL+cQvFmQbGuM9PQM3WT129kVeewCl/vhM2MtmpdwjyoeyE3 5zcA==
X-Gm-Message-State: ABUngvcesRe4116oaBopgTUaM88zBuEBdmO0DkonXRFRwnwbBwTUAm7ykmKpMG3vZWMgI9x/hIErCP62FNRWow==
X-Received: by 10.55.38.80 with SMTP id y77mr5281882qkg.51.1478507386481; Mon, 07 Nov 2016 00:29:46 -0800 (PST)
MIME-Version: 1.0
Received: by 10.237.62.242 with HTTP; Mon, 7 Nov 2016 00:29:45 -0800 (PST)
In-Reply-To: <CAJE_bqfKUZe2yaW1sAq7rrib0M7wz28HHtPLqCHK=vXcN6amgg@mail.gmail.com>
References: <CAJE_bqebwr2WUUgaNgiYS4_8L77Gxj4Os+oPRG407B6ELMEhCQ@mail.gmail.com> <CAJ3w4Ndi5Gq63n5kZnanRhLM8nWE2wsWGh0kJJLJnq=VoXLuCg@mail.gmail.com> <CAJE_bqegh1DfWjfK2BxeC_fWa0cEk-KJNP0AT-TQuEa39w_wVQ@mail.gmail.com> <CAJ3w4NdM99nv4C19Xj=aosNme+_Ymyys=xQ3UWUfeZReZC4ckA@mail.gmail.com> <CAJE_bqdhGZnK16MooiyujDgthDNnR74EiwW0OevrN6uq4b4ANw@mail.gmail.com> <CAJE_bqfKUZe2yaW1sAq7rrib0M7wz28HHtPLqCHK=vXcN6amgg@mail.gmail.com>
From: Lishan Li <lilishan48@gmail.com>
Date: Mon, 7 Nov 2016 16:29:45 +0800
Message-ID: <CAJ3w4Nd3s+ZojjiotLkKwys6truhUgK6F-90UYjcpB9iw=fKKQ@mail.gmail.com>
To: =?UTF-8?B?56We5piO6YGU5ZOJ?= <jinmei@wide.ad.jp>
Content-Type: multipart/alternative; boundary=001a11454c6c91b1600540b1d398
Archived-At: <https://mailarchive.ietf.org/arch/msg/dhcwg/Ts7QeGtxeaxSYs8VCoqYQJPiFXI>
Cc: "dhcwg@ietf.org" <dhcwg@ietf.org>
Subject: Re: [dhcwg] preliminary comments on draft-ietf-dhc-sedhcpv6-17
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: Mon, 07 Nov 2016 08:29:49 -0000

--001a11454c6c91b1600540b1d398
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Please see the question in line.

Best Regards,
Lishan

2016-11-05 1:09 GMT+08:00 =E7=A5=9E=E6=98=8E=E9=81=94=E5=93=89 <jinmei@wide=
.ad.jp>:

> On Fri, Nov 4, 2016 at 8:04 AM <jinmei@wide.ad.jp> wrote:
>
> >> [LS]: I don't think that the client/server need to contain all the
> >> supported
> >> algorithms. In default, all the servers and clients support the
> mandatory
> >> encryption, signature, hash algorithms. So the client/server may just
> >> need to contain the preferred algorithms and some of mandatory
> >> algorithms.
> >
> > I was probably not clear enough by "all the supported algorithms", but
> > this is actually what I meant: all the preferred algorithms, and I
> > thought it was wasteful.
>
> To be a bit more specific, consider the following case:
>
> Assume the server supports the following algorithms
>   For Encryption: EM, E1
>   For Signature: AM, A1, A2
>   For Hash: HM, H1, H2
>   (where EM, AM, HM are the mandatory algorithms)
>
> Also assume algorithms for Ex and Ay are all completely different and
> we need different public keys (thus different certificates) for all of
> them.  And also assume we can use any combinations of Az and Hw to
> construct the Signature option.  And suppose the server most prefers
> E1, A2, H2 because these are the strongest, but it cannot assume a
> particular client supports this combination.
>
> Now, for the currently described protocol to work, the server will
> need to include the following in response to the initial
> Information-Request:
>
> - Certificate for the public key for EM
> - Certificate for the public key for E1
> - Certificate for the public key for AM
> - Certificate for the public key for A1
> - Certificate for the public key for A2
> - Signature using AM and HM
> - Signature using AM and H1
> - Signature using AM and H2
> - Signature using A1 and HM
> - Signature using A1 and H1
> - Signature using A1 and H2
> - Signature using A2 and HM
> - Signature using A2 and H1
> - Signature using A2 and H2
>
> This is the (unavoidable) waste I'm envisioning in the current
> protocol (or am I misunderstanding it?).
>
> On the other hand, if we let the client tell the server supported
> algorithms in Information-Request, the client will only have to show a
> list of supported algorithm IDs.  For example, if the client supports
> EM, E1, AM, A1, and HM, the client will only have to send an ID of
> these 4 algorithms (10 octets in total).  These are all supported by
> the server, so the server will return a Reply containing:
>
> - Certificate for the public key for E1
> - Certificate for the public key for A1
> - Signature using A1 and HM
>
[LS]: In this way, we have two public key: public key for E1, and public
key for A1.
Which one will be used for the future encryption process?

>
> which (we assume) is the most preferred combination for the server,
> and it's guaranteed the client understands it.
>
>

--001a11454c6c91b1600540b1d398
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_extra"><div class=3D"gmail_quote">Plea=
se see the question in line.</div><div class=3D"gmail_quote"><br></div><div=
 class=3D"gmail_quote">Best Regards,</div><div class=3D"gmail_quote">Lishan=
</div><div class=3D"gmail_quote"><br></div><div class=3D"gmail_quote">2016-=
11-05 1:09 GMT+08:00 =E7=A5=9E=E6=98=8E=E9=81=94=E5=93=89 <span dir=3D"ltr"=
>&lt;<a href=3D"mailto:jinmei@wide.ad.jp" target=3D"_blank">jinmei@wide.ad.=
jp</a>&gt;</span>:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0=
 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=3D"">On Fr=
i, Nov 4, 2016 at 8:04 AM &lt;<a href=3D"mailto:jinmei@wide.ad.jp">jinmei@w=
ide.ad.jp</a>&gt; wrote:<br>
<br>
&gt;&gt; [LS]: I don&#39;t think that the client/server need to contain all=
 the<br>
&gt;&gt; supported<br>
&gt;&gt; algorithms. In default, all the servers and clients support the ma=
ndatory<br>
&gt;&gt; encryption, signature, hash algorithms. So the client/server may j=
ust<br>
&gt;&gt; need to contain the preferred algorithms and some of mandatory<br>
&gt;&gt; algorithms.<br>
&gt;<br>
&gt; I was probably not clear enough by &quot;all the supported algorithms&=
quot;, but<br>
&gt; this is actually what I meant: all the preferred algorithms, and I<br>
&gt; thought it was wasteful.<br>
<br>
</span>To be a bit more specific, consider the following case:<br>
<br>
Assume the server supports the following algorithms<br>
=C2=A0 For Encryption: EM, E1<br>
=C2=A0 For Signature: AM, A1, A2<br>
=C2=A0 For Hash: HM, H1, H2<br>
=C2=A0 (where EM, AM, HM are the mandatory algorithms)<br>
<br>
Also assume algorithms for Ex and Ay are all completely different and<br>
we need different public keys (thus different certificates) for all of<br>
them.=C2=A0 And also assume we can use any combinations of Az and Hw to<br>
construct the Signature option.=C2=A0 And suppose the server most prefers<b=
r>
E1, A2, H2 because these are the strongest, but it cannot assume a<br>
particular client supports this combination.<br>
<br>
Now, for the currently described protocol to work, the server will<br>
need to include the following in response to the initial<br>
Information-Request:<br>
<br>
- Certificate for the public key for EM<br>
- Certificate for the public key for E1<br>
- Certificate for the public key for AM<br>
- Certificate for the public key for A1<br>
- Certificate for the public key for A2<br>
- Signature using AM and HM<br>
- Signature using AM and H1<br>
- Signature using AM and H2<br>
- Signature using A1 and HM<br>
- Signature using A1 and H1<br>
- Signature using A1 and H2<br>
- Signature using A2 and HM<br>
- Signature using A2 and H1<br>
- Signature using A2 and H2<br>
<br>
This is the (unavoidable) waste I&#39;m envisioning in the current<br>
protocol (or am I misunderstanding it?).<br>
<br>
On the other hand, if we let the client tell the server supported<br>
algorithms in Information-Request, the client will only have to show a<br>
list of supported algorithm IDs.=C2=A0 For example, if the client supports<=
br>
EM, E1, AM, A1, and HM, the client will only have to send an ID of<br>
these 4 algorithms (10 octets in total).=C2=A0 These are all supported by<b=
r>
the server, so the server will return a Reply containing:<br>
<br>
- Certificate for the public key for E1<br>
- Certificate for the public key for A1<br>
- Signature using A1 and HM<br></blockquote><div>[LS]: In this way, we have=
 two public key: public key for E1, and public key for A1.=C2=A0</div><div>=
Which one will be used for the future encryption process?=C2=A0</div><block=
quote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc=
 solid;padding-left:1ex">
<br>
which (we assume) is the most preferred combination for the server,<br>
and it&#39;s guaranteed the client understands it.<br><br></blockquote></di=
v></div></div>

--001a11454c6c91b1600540b1d398--


From nobody Mon Nov  7 00:43:44 2016
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 AD713129DB5 for <dhcwg@ietfa.amsl.com>; Mon,  7 Nov 2016 00:43:43 -0800 (PST)
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 AKfy68BW2lSD for <dhcwg@ietfa.amsl.com>; Mon,  7 Nov 2016 00:43:42 -0800 (PST)
Received: from mail-qt0-x236.google.com (mail-qt0-x236.google.com [IPv6:2607:f8b0:400d:c0d::236]) (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 C9506129603 for <dhcwg@ietf.org>; Mon,  7 Nov 2016 00:43:41 -0800 (PST)
Received: by mail-qt0-x236.google.com with SMTP id n6so83042917qtd.1 for <dhcwg@ietf.org>; Mon, 07 Nov 2016 00:43:41 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=RJw5nKUGAOJ9GplLmQsxz8B1ebrw2dIDzKxO+GtVaEQ=; b=dnffEaUztTcYQ/WYNtOpx3n9ZgCpfChA9m8lU3jhIN7xWMV5fZgmEQS/7xZ2+uDrFE adJ17aZvGIRSO+CrLyJD1ZiPbgFDdE6tDuNYXcLoMoGl2/sZHxzC6jwZFqhMgdg+7mzl h3u6fgSdlOihTxOd/JkxUeMutFCdvFDKtbXi5DourxV3EvgAohx/WEP2/tIjsWULogcB k9yGIbCnt61yB8SI4naB4YoBwCXR5KiMutVsQEwMTjhKqk322bojPXj3il0cHOSyl24j ei6O1LChyTiJMXxpPmmrSK8f0dOPkac5oqjqNa5wbt1qK8ylLx7S0isgD688DM5Lm5Gg uAvw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=RJw5nKUGAOJ9GplLmQsxz8B1ebrw2dIDzKxO+GtVaEQ=; b=L0iEvW+7xB3WMEDbnHGfCbOMIZW+c5mrfGae3VxzqPZzkU480tnTT3Omh8Zd8g6V3K H21LMEfjya6hCcqWbxz5CFRnLp98PMcVDdYieu+DGvy2EdI/bzSmZ/XDQamWZTA4fAwO PKXlnRuqTKVoKuv5oYgvRyOwWtbaaS5KOU0eyPFSsLpulFH1EvVEELpQUC7Qw0J9bA6B SJ+k6Gs89CXUtoRLxgIiS9ztV/MJwrpjTPL7YAdLV78oAXY/uObW9tvm6xypHK/Gz5xp sYa2tlI5P2NwMuZ36qUClqyZ5qRS7blGPJZgJjgIpPSBc0yL/WHBquG8Yg8JTn4BmxYp mChQ==
X-Gm-Message-State: ABUngvejy6DuoEGdrlAgr2u/A32zaIW13NxqieE86TrRxdm8oQtlpFHpqBUIJhH/XlTO43yoIaOl9C0RTMqzhA==
X-Received: by 10.200.43.167 with SMTP id m36mr5796300qtm.117.1478508221009; Mon, 07 Nov 2016 00:43:41 -0800 (PST)
MIME-Version: 1.0
Received: by 10.237.62.242 with HTTP; Mon, 7 Nov 2016 00:43:40 -0800 (PST)
In-Reply-To: <CAJ3w4Nd3MB23_XB1jTV21kwUz7Bj4pwKO-zn_skw_4Onk7+2mQ@mail.gmail.com>
References: <CAJE_bqebwr2WUUgaNgiYS4_8L77Gxj4Os+oPRG407B6ELMEhCQ@mail.gmail.com> <CAJ3w4Ndi5Gq63n5kZnanRhLM8nWE2wsWGh0kJJLJnq=VoXLuCg@mail.gmail.com> <CAJE_bqegh1DfWjfK2BxeC_fWa0cEk-KJNP0AT-TQuEa39w_wVQ@mail.gmail.com> <CAJ3w4NdM99nv4C19Xj=aosNme+_Ymyys=xQ3UWUfeZReZC4ckA@mail.gmail.com> <CAJE_bqdhGZnK16MooiyujDgthDNnR74EiwW0OevrN6uq4b4ANw@mail.gmail.com> <CAJE_bqfKUZe2yaW1sAq7rrib0M7wz28HHtPLqCHK=vXcN6amgg@mail.gmail.com> <CAJ3w4Nd3MB23_XB1jTV21kwUz7Bj4pwKO-zn_skw_4Onk7+2mQ@mail.gmail.com>
From: Lishan Li <lilishan48@gmail.com>
Date: Mon, 7 Nov 2016 16:43:40 +0800
Message-ID: <CAJ3w4NdwqcqQrdB1RM5-zk-gJEYqLP0OtT-qQ8zTO03WXUt8ng@mail.gmail.com>
To: =?UTF-8?B?56We5piO6YGU5ZOJ?= <jinmei@wide.ad.jp>
Content-Type: multipart/alternative; boundary=001a11405d8a4f96130540b205bf
Archived-At: <https://mailarchive.ietf.org/arch/msg/dhcwg/UbxLL0Hi3MfyheXaPxs5NGwZtCo>
Cc: "dhcwg@ietf.org" <dhcwg@ietf.org>
Subject: Re: [dhcwg] preliminary comments on draft-ietf-dhc-sedhcpv6-17
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: Mon, 07 Nov 2016 08:43:44 -0000

--001a11405d8a4f96130540b205bf
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Dear Jinmei=EF=BC=8C

If the Information-request message indicates the algorithms, then we need
to make the following update:
1. The Information-request message contains the new define algorithm
option, which contains the EA-id List, HA-id List, SA-id List;
2. The Certificate option contains the EA-id field, not EA-id List. And
signature option contains the SA-id field and HA-id field, not SA-id List
and HA-id List.

Could you please check whether my understanding correct?

Best Regards,
Lishan

2016-11-07 15:00 GMT+08:00 Lishan Li <lilishan48@gmail.com>:

> Hi, Jinmei,
>
> Thanks a lot for your detailed explanation. Agree to what you said. Will
> modify it according to your comments.
>
> Best Regards,
> Lishan
>
> 2016-11-05 1:09 GMT+08:00 =E7=A5=9E=E6=98=8E=E9=81=94=E5=93=89 <jinmei@wi=
de.ad.jp>:
>
>> On Fri, Nov 4, 2016 at 8:04 AM <jinmei@wide.ad.jp> wrote:
>>
>> >> [LS]: I don't think that the client/server need to contain all the
>> >> supported
>> >> algorithms. In default, all the servers and clients support the
>> mandatory
>> >> encryption, signature, hash algorithms. So the client/server may just
>> >> need to contain the preferred algorithms and some of mandatory
>> >> algorithms.
>> >
>> > I was probably not clear enough by "all the supported algorithms", but
>> > this is actually what I meant: all the preferred algorithms, and I
>> > thought it was wasteful.
>>
>> To be a bit more specific, consider the following case:
>>
>> Assume the server supports the following algorithms
>>   For Encryption: EM, E1
>>   For Signature: AM, A1, A2
>>   For Hash: HM, H1, H2
>>   (where EM, AM, HM are the mandatory algorithms)
>>
>> Also assume algorithms for Ex and Ay are all completely different and
>> we need different public keys (thus different certificates) for all of
>> them.  And also assume we can use any combinations of Az and Hw to
>> construct the Signature option.  And suppose the server most prefers
>> E1, A2, H2 because these are the strongest, but it cannot assume a
>> particular client supports this combination.
>>
>> Now, for the currently described protocol to work, the server will
>> need to include the following in response to the initial
>> Information-Request:
>>
>> - Certificate for the public key for EM
>> - Certificate for the public key for E1
>> - Certificate for the public key for AM
>> - Certificate for the public key for A1
>> - Certificate for the public key for A2
>> - Signature using AM and HM
>> - Signature using AM and H1
>> - Signature using AM and H2
>> - Signature using A1 and HM
>> - Signature using A1 and H1
>> - Signature using A1 and H2
>> - Signature using A2 and HM
>> - Signature using A2 and H1
>> - Signature using A2 and H2
>>
>> This is the (unavoidable) waste I'm envisioning in the current
>> protocol (or am I misunderstanding it?).
>>
>> On the other hand, if we let the client tell the server supported
>> algorithms in Information-Request, the client will only have to show a
>> list of supported algorithm IDs.  For example, if the client supports
>> EM, E1, AM, A1, and HM, the client will only have to send an ID of
>> these 4 algorithms (10 octets in total).  These are all supported by
>> the server, so the server will return a Reply containing:
>>
>> - Certificate for the public key for E1
>> - Certificate for the public key for A1
>> - Signature using A1 and HM
>>
>> which (we assume) is the most preferred combination for the server,
>> and it's guaranteed the client understands it.
>>
>> --
>> JINMEI, Tatuya
>>
>
>

--001a11405d8a4f96130540b205bf
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Dear Jinmei=EF=BC=8C<div><br></div><div>If the Information=
-request message indicates the algorithms, then we need to make the followi=
ng update:</div><div>1. The Information-request message contains the new de=
fine algorithm option, which contains the EA-id List, HA-id List, SA-id Lis=
t;</div><div>2. The Certificate option contains the EA-id field, not EA-id =
List. And signature option contains the SA-id field and HA-id field, not SA=
-id List and HA-id List.=C2=A0</div><div><br></div><div>Could you please ch=
eck whether my understanding correct?</div><div><br></div><div>Best Regards=
,</div><div>Lishan</div><div class=3D"gmail_extra"><br><div class=3D"gmail_=
quote">2016-11-07 15:00 GMT+08:00 Lishan Li <span dir=3D"ltr">&lt;<a href=
=3D"mailto:lilishan48@gmail.com" target=3D"_blank">lilishan48@gmail.com</a>=
&gt;</span>:<br><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0=
px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir=
=3D"ltr"><div>Hi, Jinmei,</div><div><br></div>Thanks a lot for your detaile=
d explanation. Agree to what you said. Will modify it according to your com=
ments.<div><br></div><div>Best Regards,</div><div>Lishan</div><div><div cla=
ss=3D"gmail-h5"><div class=3D"gmail_extra"><br><div class=3D"gmail_quote">2=
016-11-05 1:09 GMT+08:00 =E7=A5=9E=E6=98=8E=E9=81=94=E5=93=89 <span dir=3D"=
ltr">&lt;<a href=3D"mailto:jinmei@wide.ad.jp" target=3D"_blank">jinmei@wide=
.ad.jp</a>&gt;</span>:<br><blockquote class=3D"gmail_quote" style=3D"margin=
:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"=
><span>On Fri, Nov 4, 2016 at 8:04 AM &lt;<a href=3D"mailto:jinmei@wide.ad.=
jp" target=3D"_blank">jinmei@wide.ad.jp</a>&gt; wrote:<br>
<br>
&gt;&gt; [LS]: I don&#39;t think that the client/server need to contain all=
 the<br>
&gt;&gt; supported<br>
&gt;&gt; algorithms. In default, all the servers and clients support the ma=
ndatory<br>
&gt;&gt; encryption, signature, hash algorithms. So the client/server may j=
ust<br>
&gt;&gt; need to contain the preferred algorithms and some of mandatory<br>
&gt;&gt; algorithms.<br>
&gt;<br>
&gt; I was probably not clear enough by &quot;all the supported algorithms&=
quot;, but<br>
&gt; this is actually what I meant: all the preferred algorithms, and I<br>
&gt; thought it was wasteful.<br>
<br>
</span>To be a bit more specific, consider the following case:<br>
<br>
Assume the server supports the following algorithms<br>
=C2=A0 For Encryption: EM, E1<br>
=C2=A0 For Signature: AM, A1, A2<br>
=C2=A0 For Hash: HM, H1, H2<br>
=C2=A0 (where EM, AM, HM are the mandatory algorithms)<br>
<br>
Also assume algorithms for Ex and Ay are all completely different and<br>
we need different public keys (thus different certificates) for all of<br>
them.=C2=A0 And also assume we can use any combinations of Az and Hw to<br>
construct the Signature option.=C2=A0 And suppose the server most prefers<b=
r>
E1, A2, H2 because these are the strongest, but it cannot assume a<br>
particular client supports this combination.<br>
<br>
Now, for the currently described protocol to work, the server will<br>
need to include the following in response to the initial<br>
Information-Request:<br>
<br>
- Certificate for the public key for EM<br>
- Certificate for the public key for E1<br>
- Certificate for the public key for AM<br>
- Certificate for the public key for A1<br>
- Certificate for the public key for A2<br>
- Signature using AM and HM<br>
- Signature using AM and H1<br>
- Signature using AM and H2<br>
- Signature using A1 and HM<br>
- Signature using A1 and H1<br>
- Signature using A1 and H2<br>
- Signature using A2 and HM<br>
- Signature using A2 and H1<br>
- Signature using A2 and H2<br>
<br>
This is the (unavoidable) waste I&#39;m envisioning in the current<br>
protocol (or am I misunderstanding it?).<br>
<br>
On the other hand, if we let the client tell the server supported<br>
algorithms in Information-Request, the client will only have to show a<br>
list of supported algorithm IDs.=C2=A0 For example, if the client supports<=
br>
EM, E1, AM, A1, and HM, the client will only have to send an ID of<br>
these 4 algorithms (10 octets in total).=C2=A0 These are all supported by<b=
r>
the server, so the server will return a Reply containing:<br>
<br>
- Certificate for the public key for E1<br>
- Certificate for the public key for A1<br>
- Signature using A1 and HM<br>
<br>
which (we assume) is the most preferred combination for the server,<br>
and it&#39;s guaranteed the client understands it.<br>
<br>
--<br>
JINMEI, Tatuya<br>
</blockquote></div><br></div></div></div></div>
</blockquote></div><br></div></div>

--001a11405d8a4f96130540b205bf--


From nobody Mon Nov  7 09:44:25 2016
Return-Path: <jinmei@wide.ad.jp>
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 5E3581294B2 for <dhcwg@ietfa.amsl.com>; Mon,  7 Nov 2016 09:44:23 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.019
X-Spam-Level: 
X-Spam-Status: No, score=-5.019 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FREEMAIL_FORGED_FROMDOMAIN=0.199, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.001, NML_ADSP_CUSTOM_MED=0.9, RCVD_IN_DNSWL_HI=-5, SPF_NEUTRAL=0.779] autolearn=ham autolearn_force=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 FJyeEMI22Q84 for <dhcwg@ietfa.amsl.com>; Mon,  7 Nov 2016 09:44:22 -0800 (PST)
Received: from mx.ams1.isc.org (mx.ams1.isc.org [IPv6:2001:500:60::65]) (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 7900B1293F8 for <dhcwg@ietf.org>; Mon,  7 Nov 2016 09:44:21 -0800 (PST)
Received: from zmx1.isc.org (zmx1.isc.org [149.20.0.20]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx.ams1.isc.org (Postfix) with ESMTPS id 590151FD1A6; Mon,  7 Nov 2016 17:44:17 +0000 (UTC)
Received: from zmx1.isc.org (localhost [127.0.0.1]) by zmx1.isc.org (Postfix) with ESMTPS id 727DC160044; Mon,  7 Nov 2016 17:44:16 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1]) by zmx1.isc.org (Postfix) with ESMTP id 61486160074; Mon,  7 Nov 2016 17:44:16 +0000 (UTC)
Received: from zmx1.isc.org ([127.0.0.1]) by localhost (zmx1.isc.org [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 8EV-PCcz8G4H; Mon,  7 Nov 2016 17:44:16 +0000 (UTC)
Received: from jmb.localhost (c-50-156-82-172.hsd1.ca.comcast.net [50.156.82.172]) by zmx1.isc.org (Postfix) with ESMTPSA id 2FDE7160044; Mon,  7 Nov 2016 17:44:16 +0000 (UTC)
Date: Mon, 07 Nov 2016 09:44:12 -0800
Message-ID: <m2r36nuqvn.wl%jinmei.tatuya@gmail.com>
From: JINMEI Tatuya / =?UTF-8?B?56We5piO6YGU5ZOJ?= <jinmei.tatuya@gmail.com>
To: Lishan Li <lilishan48@gmail.com>
In-Reply-To: <CAJ3w4Nd3s+ZojjiotLkKwys6truhUgK6F-90UYjcpB9iw=fKKQ@mail.gmail.com>
References: <CAJE_bqebwr2WUUgaNgiYS4_8L77Gxj4Os+oPRG407B6ELMEhCQ@mail.gmail.com> <CAJ3w4Ndi5Gq63n5kZnanRhLM8nWE2wsWGh0kJJLJnq=VoXLuCg@mail.gmail.com> <CAJE_bqegh1DfWjfK2BxeC_fWa0cEk-KJNP0AT-TQuEa39w_wVQ@mail.gmail.com> <CAJ3w4NdM99nv4C19Xj=aosNme+_Ymyys=xQ3UWUfeZReZC4ckA@mail.gmail.com> <CAJE_bqdhGZnK16MooiyujDgthDNnR74EiwW0OevrN6uq4b4ANw@mail.gmail.com> <CAJE_bqfKUZe2yaW1sAq7rrib0M7wz28HHtPLqCHK=vXcN6amgg@mail.gmail.com> <CAJ3w4Nd3s+ZojjiotLkKwys6truhUgK6F-90UYjcpB9iw=fKKQ@mail.gmail.com>
User-Agent: Wanderlust/2.15.9 (Almost Unreal) Emacs/24.5 Mule/6.0 (HANACHIRUSATO)
MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka")
Content-Type: text/plain; charset=US-ASCII
Archived-At: <https://mailarchive.ietf.org/arch/msg/dhcwg/7ee2GEs59hpN7C-LttMhFRXn-cQ>
Cc: "dhcwg@ietf.org" <dhcwg@ietf.org>
Subject: Re: [dhcwg] preliminary comments on draft-ietf-dhc-sedhcpv6-17
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: Mon, 07 Nov 2016 17:44:23 -0000

At Mon, 7 Nov 2016 16:29:45 +0800,
Lishan Li <lilishan48@gmail.com> wrote:

> > - Certificate for the public key for E1
> > - Certificate for the public key for A1
> > - Signature using A1 and HM
> >
> [LS]: In this way, we have two public key: public key for E1, and public
> key for A1.
> Which one will be used for the future encryption process?

(Obviously) the former, but I guess your real question is how the
client can determine that.  If so, that's a good point...I wasn't
aware of the ambiguity at the time of my previous message.  I'm afraid
we need some more additional protocol stuff to resolve this, e.g., add
a new field for the certificate option to specify for which it's
supposed to be used: encryption, authentication, or both.

--
JINMEI, Tatuya


From nobody Mon Nov  7 09:56:10 2016
Return-Path: <jinmei@wide.ad.jp>
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 259E512956F for <dhcwg@ietfa.amsl.com>; Mon,  7 Nov 2016 09:56:09 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.019
X-Spam-Level: 
X-Spam-Status: No, score=-5.019 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FREEMAIL_FORGED_FROMDOMAIN=0.199, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.001, NML_ADSP_CUSTOM_MED=0.9, RCVD_IN_DNSWL_HI=-5, SPF_NEUTRAL=0.779] autolearn=ham autolearn_force=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 pCurJAn_7jRG for <dhcwg@ietfa.amsl.com>; Mon,  7 Nov 2016 09:56:08 -0800 (PST)
Received: from mx.pao1.isc.org (mx.pao1.isc.org [149.20.64.53]) (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 A6A811296EC for <dhcwg@ietf.org>; Mon,  7 Nov 2016 09:56:07 -0800 (PST)
Received: from zmx1.isc.org (zmx1.isc.org [149.20.0.20]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx.pao1.isc.org (Postfix) with ESMTPS id 0A6E03497D6; Mon,  7 Nov 2016 17:56:06 +0000 (UTC)
Received: from zmx1.isc.org (localhost [127.0.0.1]) by zmx1.isc.org (Postfix) with ESMTPS id F3C4D160044; Mon,  7 Nov 2016 17:56:05 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1]) by zmx1.isc.org (Postfix) with ESMTP id E48A8160074; Mon,  7 Nov 2016 17:56:05 +0000 (UTC)
Received: from zmx1.isc.org ([127.0.0.1]) by localhost (zmx1.isc.org [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 7Hkp85kBOTA1; Mon,  7 Nov 2016 17:56:05 +0000 (UTC)
Received: from jmb.localhost (c-50-156-82-172.hsd1.ca.comcast.net [50.156.82.172]) by zmx1.isc.org (Postfix) with ESMTPSA id BB2A2160044; Mon,  7 Nov 2016 17:56:05 +0000 (UTC)
Date: Mon, 07 Nov 2016 09:56:05 -0800
Message-ID: <m2pom7uqbu.wl%jinmei.tatuya@gmail.com>
From: JINMEI Tatuya / =?UTF-8?B?56We5piO6YGU5ZOJ?= <jinmei.tatuya@gmail.com>
To: Lishan Li <lilishan48@gmail.com>
In-Reply-To: <CAJ3w4NdwqcqQrdB1RM5-zk-gJEYqLP0OtT-qQ8zTO03WXUt8ng@mail.gmail.com>
References: <CAJE_bqebwr2WUUgaNgiYS4_8L77Gxj4Os+oPRG407B6ELMEhCQ@mail.gmail.com> <CAJ3w4Ndi5Gq63n5kZnanRhLM8nWE2wsWGh0kJJLJnq=VoXLuCg@mail.gmail.com> <CAJE_bqegh1DfWjfK2BxeC_fWa0cEk-KJNP0AT-TQuEa39w_wVQ@mail.gmail.com> <CAJ3w4NdM99nv4C19Xj=aosNme+_Ymyys=xQ3UWUfeZReZC4ckA@mail.gmail.com> <CAJE_bqdhGZnK16MooiyujDgthDNnR74EiwW0OevrN6uq4b4ANw@mail.gmail.com> <CAJE_bqfKUZe2yaW1sAq7rrib0M7wz28HHtPLqCHK=vXcN6amgg@mail.gmail.com> <CAJ3w4Nd3MB23_XB1jTV21kwUz7Bj4pwKO-zn_skw_4Onk7+2mQ@mail.gmail.com> <CAJ3w4NdwqcqQrdB1RM5-zk-gJEYqLP0OtT-qQ8zTO03WXUt8ng@mail.gmail.com>
User-Agent: Wanderlust/2.15.9 (Almost Unreal) Emacs/24.5 Mule/6.0 (HANACHIRUSATO)
MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka")
Content-Type: text/plain; charset=US-ASCII
Archived-At: <https://mailarchive.ietf.org/arch/msg/dhcwg/Q4DdoZtdvWwaHhFI_P-erUDpagQ>
Cc: "dhcwg@ietf.org" <dhcwg@ietf.org>
Subject: Re: [dhcwg] preliminary comments on draft-ietf-dhc-sedhcpv6-17
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: Mon, 07 Nov 2016 17:56:09 -0000

At Mon, 7 Nov 2016 16:43:40 +0800,
Lishan Li <lilishan48@gmail.com> wrote:

> If the Information-request message indicates the algorithms, then we need
> to make the following update:
> 1. The Information-request message contains the new define algorithm
> option, which contains the EA-id List, HA-id List, SA-id List;

Yes.

> 2. The Certificate option contains the EA-id field, not EA-id List. And
> signature option contains the SA-id field and HA-id field, not SA-id List
> and HA-id List.

For the certificate, see my other message.  For the signature, yes.

--
JINMEI, Tatuya


From nobody Tue Nov  8 06:02:25 2016
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 B5086129C1A for <dhcwg@ietfa.amsl.com>; Tue,  8 Nov 2016 06:02:23 -0800 (PST)
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 3mNL9-tdRfER for <dhcwg@ietfa.amsl.com>; Tue,  8 Nov 2016 06:02:22 -0800 (PST)
Received: from mail-qk0-x231.google.com (mail-qk0-x231.google.com [IPv6:2607:f8b0:400d:c09::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 9A808129C07 for <dhcwg@ietf.org>; Tue,  8 Nov 2016 06:02:22 -0800 (PST)
Received: by mail-qk0-x231.google.com with SMTP id x190so215493499qkb.0 for <dhcwg@ietf.org>; Tue, 08 Nov 2016 06:02:22 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=z0ncmU1U1SgCqV++U8l0BWnP7Xeerf2rbRc4jh85mVQ=; b=VVCPHWoUxgXK/CkVrEIxWE0ai4SI5kAuL8ARKQt4HVjsKtxCuNjh/pgDZICdyRx5hC +cAXsGwQwdE4HlbD5sXlU0AVquoCXHBwLL8Z5ATkSxrD7mkYRAb+QfNQVPQUQwNYz6zz SBrcymRhvceo8DPPdVKaURH/kH7DqZ6haAGlMgN8aSw1B+QOYtanxMUOBha2yLihYUQ0 p41NTx4CHGFZ1BhbOxEIC4WPxuIyVHLolroLZjqFZDF3s8xFt3kploZ0FtT3cQQtEQHL y4wfNZ1Azqydy7K24fAdNDa/dE1zqhv035Nwr/4YAtsU2gxJTyRz+EFbQl5CEz1+ITXA kkmg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=z0ncmU1U1SgCqV++U8l0BWnP7Xeerf2rbRc4jh85mVQ=; b=gDcBECMLeVeQhoTHWBjA1VfzqY9n2aJoBhERzX64R5Jfue500sM6nY0BounRB3pVNk GD1Uk2ji2qYUWNDIsw7IbtvWFUG2N+7JpzTI1LO4wNpjHeRranjSZFOwvn1SYoAtZsJ+ A2+42f124AjN16mY4Ah27J2qoZB7XhaaDFjduKtuwLFtJKthLS3C8k6Z6rI+oZkcSWiq hMPopvzLdDkLdhmBxYLtrlbCq+du4Z37axjtKZv1pQfJIxsdhXhS0ZfdBG7QbeVbHR8c gf5z/YAa4v5EtenSYBKY6939BFp+NOrjf1/u37EupCEZIn6+Ew0cjyfQTjMv/Dilp0hu 9Yug==
X-Gm-Message-State: ABUngvdibQkRcBdgF2jXjOeo20HyMiYeUv/Pnad4R/g6zpkzPWV/2dSNYp/YSjeQw68vpsDVoV/CWWGOWMyPDw==
X-Received: by 10.55.38.80 with SMTP id y77mr12227840qkg.51.1478613741794; Tue, 08 Nov 2016 06:02:21 -0800 (PST)
MIME-Version: 1.0
Received: by 10.237.62.242 with HTTP; Tue, 8 Nov 2016 06:02:21 -0800 (PST)
In-Reply-To: <m2r36nuqvn.wl%jinmei.tatuya@gmail.com>
References: <CAJE_bqebwr2WUUgaNgiYS4_8L77Gxj4Os+oPRG407B6ELMEhCQ@mail.gmail.com> <CAJ3w4Ndi5Gq63n5kZnanRhLM8nWE2wsWGh0kJJLJnq=VoXLuCg@mail.gmail.com> <CAJE_bqegh1DfWjfK2BxeC_fWa0cEk-KJNP0AT-TQuEa39w_wVQ@mail.gmail.com> <CAJ3w4NdM99nv4C19Xj=aosNme+_Ymyys=xQ3UWUfeZReZC4ckA@mail.gmail.com> <CAJE_bqdhGZnK16MooiyujDgthDNnR74EiwW0OevrN6uq4b4ANw@mail.gmail.com> <CAJE_bqfKUZe2yaW1sAq7rrib0M7wz28HHtPLqCHK=vXcN6amgg@mail.gmail.com> <CAJ3w4Nd3s+ZojjiotLkKwys6truhUgK6F-90UYjcpB9iw=fKKQ@mail.gmail.com> <m2r36nuqvn.wl%jinmei.tatuya@gmail.com>
From: Lishan Li <lilishan48@gmail.com>
Date: Tue, 8 Nov 2016 22:02:21 +0800
Message-ID: <CAJ3w4NeuNYTrX4p5rtZ6UceD5ydQ-B-vY6aqQzxWnXsrDOEFEA@mail.gmail.com>
To: =?UTF-8?B?SklOTUVJIFRhdHV5YSAvIOelnuaYjumBlOWTiQ==?= <jinmei.tatuya@gmail.com>
Content-Type: multipart/alternative; boundary=001a11454c6cd6fe040540ca96af
Archived-At: <https://mailarchive.ietf.org/arch/msg/dhcwg/4735FU84EIdF8HU63RlQP2CmQ08>
Cc: "dhcwg@ietf.org" <dhcwg@ietf.org>
Subject: Re: [dhcwg] preliminary comments on draft-ietf-dhc-sedhcpv6-17
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, 08 Nov 2016 14:02:23 -0000

--001a11454c6cd6fe040540ca96af
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

2016-11-08 1:44 GMT+08:00 JINMEI Tatuya / =E7=A5=9E=E6=98=8E=E9=81=94=E5=93=
=89 <jinmei.tatuya@gmail.com>:

> At Mon, 7 Nov 2016 16:29:45 +0800,
> Lishan Li <lilishan48@gmail.com> wrote:
>
> > > - Certificate for the public key for E1
> > > - Certificate for the public key for A1
> > > - Signature using A1 and HM
> > >
> > [LS]: In this way, we have two public key: public key for E1, and publi=
c
> > key for A1.
> > Which one will be used for the future encryption process?
>
> (Obviously) the former, but I guess your real question is how the
> client can determine that.  If so, that's a good point...I wasn't
> aware of the ambiguity at the time of my previous message.  I'm afraid
> we need some more additional protocol stuff to resolve this, e.g., add
> a new field for the certificate option to specify for which it's
> supposed to be used: encryption, authentication, or both.

[LS]: Another problem is that: whether all the certificates needed to be
verified for authentication? In general, if the certificate is verified and
then the public key can be used for encryption.
So I think one certificate is enough for authentication and encryption,
which is usually certificate for the public key for E1. There is no need
to contain the certificate for the public key for signature algorithm.

Best Regards,
Lishan

--001a11454c6cd6fe040540ca96af
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_extra"><div class=3D"gmail_quote">2016=
-11-08 1:44 GMT+08:00 JINMEI Tatuya / =E7=A5=9E=E6=98=8E=E9=81=94=E5=93=89 =
<span dir=3D"ltr">&lt;<a href=3D"mailto:jinmei.tatuya@gmail.com" target=3D"=
_blank">jinmei.tatuya@gmail.com</a>&gt;</span>:<br><blockquote class=3D"gma=
il_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-lef=
t:1ex">At Mon, 7 Nov 2016 16:29:45 +0800,<br>
<span class=3D"">Lishan Li &lt;<a href=3D"mailto:lilishan48@gmail.com">lili=
shan48@gmail.com</a>&gt; wrote:<br>
<br>
&gt; &gt; - Certificate for the public key for E1<br>
&gt; &gt; - Certificate for the public key for A1<br>
&gt; &gt; - Signature using A1 and HM<br>
&gt; &gt;<br>
&gt; [LS]: In this way, we have two public key: public key for E1, and publ=
ic<br>
&gt; key for A1.<br>
&gt; Which one will be used for the future encryption process?<br>
<br>
</span>(Obviously) the former, but I guess your real question is how the<br=
>
client can determine that.=C2=A0 If so, that&#39;s a good point...I wasn&#3=
9;t<br>
aware of the ambiguity at the time of my previous message.=C2=A0 I&#39;m af=
raid<br>
we need some more additional protocol stuff to resolve this, e.g., add<br>
a new field for the certificate option to specify for which it&#39;s<br>
supposed to be used: encryption, authentication, or both.</blockquote><div>=
[LS]: Another problem is that: whether all the certificates needed to be=C2=
=A0</div><div>verified for authentication? In general, if the certificate i=
s verified and=C2=A0</div><div>then the public key can be used for encrypti=
on.=C2=A0</div><div>So I think one certificate is enough for authentication=
 and encryption,=C2=A0</div><div>which is usually certificate for the publi=
c key for E1. There is no need=C2=A0</div><div>to contain the certificate f=
or the public key for signature algorithm.=C2=A0</div><div><br></div><div>B=
est Regards,</div><div>Lishan</div></div><br></div></div>

--001a11454c6cd6fe040540ca96af--


From nobody Tue Nov  8 09:19:11 2016
Return-Path: <jinmei.tatuya@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 7DED6129A44 for <dhcwg@ietfa.amsl.com>; Tue,  8 Nov 2016 09:19:10 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.4
X-Spam-Level: 
X-Spam-Status: No, score=-2.4 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.199, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=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 h46VfG0vrZN3 for <dhcwg@ietfa.amsl.com>; Tue,  8 Nov 2016 09:19:08 -0800 (PST)
Received: from mail-qt0-x230.google.com (mail-qt0-x230.google.com [IPv6:2607:f8b0:400d:c0d::230]) (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 70E83129A41 for <dhcwg@ietf.org>; Tue,  8 Nov 2016 09:18:12 -0800 (PST)
Received: by mail-qt0-x230.google.com with SMTP id p16so111215521qta.0 for <dhcwg@ietf.org>; Tue, 08 Nov 2016 09:18:12 -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:from:date:message-id :subject:to:cc; bh=pfvqIlyZYXENN1O5bnULUKCgUbykd4QNQOlYvFGJev0=; b=YCKzVNF3pE12o9wpuLHkAQPh8UJVASu6FBIEZIZ7Oo0XyFfTWpGwDH+kPM6EcLPz0M aIyxhMNB0V41ksELxsDm9t4LiMYbkYfziY2wyeLsW7FiAjNTfzOdOAi4HE+klJlIHrIz Y6wSSPZtgXmwQzMGLAP8CULmOZJN63XTeuH6hOAZdIsWWS11oawADeywXcXhlpNQSuk1 dszzTbOe9aEua+tsG3GG+9ZcW7v0ZyfP5+kbAMTGpH/X4F/60EGdiiCiVK1sD+AdS9zn nzW/VhoxCo5t+hIn88bw+745KK0Ggeu86x+rkI+gUA0UJtalyUsWVoL/HHgpsljLS+22 +Sgw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=pfvqIlyZYXENN1O5bnULUKCgUbykd4QNQOlYvFGJev0=; b=Creuv38uSCrYVUbQPBY5V74lrIC6cdZzDoEkpKiFADvlHvdAZKbhpWqaGbc164vIDL 0D2j+AZA6uOG0VXCTFn7AvxUBOsbuP4mMul6XEPCrNaw/WmUxjHUYCIqoP1MJs9IyNVO mkWSoefrAw/gaEgvLz1Lvi+r8IscOSsagxC1QawpeW7L9Qg2KmoRiPMxVpcpAHgFmbf4 vsHAkYgBJSwyuWibigfdLv+efJPzBBJciky0AQCHnRvmPcMC5LyUpdob1gOYZzM3+hv5 CBdP6ccaNdiPPfS8czZRM0uM4Qwsu9ivCbPBeSkaDUEaFSsxBcNo93dz3cBXYEHAeOVD 7I+A==
X-Gm-Message-State: ABUngvdYnOJy9VHGAazcR0a6DZLrq+0PEslWPzSK2l4Dl2obx0ozNBcoHHI0LxKjycdrK3TDcEr52GtVsCHC5g==
X-Received: by 10.200.43.82 with SMTP id 18mr14132553qtv.63.1478625491469; Tue, 08 Nov 2016 09:18:11 -0800 (PST)
MIME-Version: 1.0
Sender: jinmei.tatuya@gmail.com
Received: by 10.237.58.101 with HTTP; Tue, 8 Nov 2016 09:18:10 -0800 (PST)
In-Reply-To: <CAJ3w4NeuNYTrX4p5rtZ6UceD5ydQ-B-vY6aqQzxWnXsrDOEFEA@mail.gmail.com>
References: <CAJE_bqebwr2WUUgaNgiYS4_8L77Gxj4Os+oPRG407B6ELMEhCQ@mail.gmail.com> <CAJ3w4Ndi5Gq63n5kZnanRhLM8nWE2wsWGh0kJJLJnq=VoXLuCg@mail.gmail.com> <CAJE_bqegh1DfWjfK2BxeC_fWa0cEk-KJNP0AT-TQuEa39w_wVQ@mail.gmail.com> <CAJ3w4NdM99nv4C19Xj=aosNme+_Ymyys=xQ3UWUfeZReZC4ckA@mail.gmail.com> <CAJE_bqdhGZnK16MooiyujDgthDNnR74EiwW0OevrN6uq4b4ANw@mail.gmail.com> <CAJE_bqfKUZe2yaW1sAq7rrib0M7wz28HHtPLqCHK=vXcN6amgg@mail.gmail.com> <CAJ3w4Nd3s+ZojjiotLkKwys6truhUgK6F-90UYjcpB9iw=fKKQ@mail.gmail.com> <m2r36nuqvn.wl%jinmei.tatuya@gmail.com> <CAJ3w4NeuNYTrX4p5rtZ6UceD5ydQ-B-vY6aqQzxWnXsrDOEFEA@mail.gmail.com>
From: =?UTF-8?B?56We5piO6YGU5ZOJ?= <jinmei@wide.ad.jp>
Date: Tue, 8 Nov 2016 09:18:10 -0800
X-Google-Sender-Auth: GRwXGi2GGgxdpuCWS5dD8XIaw-U
Message-ID: <CAJE_bqdh-bgk7BHZJnaFFBr3PDj4ZnSSGeGNdQ70F7dv91iQrA@mail.gmail.com>
To: Lishan Li <lilishan48@gmail.com>
Content-Type: text/plain; charset=UTF-8
Archived-At: <https://mailarchive.ietf.org/arch/msg/dhcwg/JF8L5vIAEkuUOWaFzgrN5pO-X1Q>
Cc: "dhcwg@ietf.org" <dhcwg@ietf.org>
Subject: Re: [dhcwg] preliminary comments on draft-ietf-dhc-sedhcpv6-17
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, 08 Nov 2016 17:19:10 -0000

At Tue, 8 Nov 2016 22:02:21 +0800,
Lishan Li <lilishan48@gmail.com> wrote:

> > (Obviously) the former, but I guess your real question is how the
> > client can determine that.  If so, that's a good point...I wasn't
> > aware of the ambiguity at the time of my previous message.  I'm afraid
> > we need some more additional protocol stuff to resolve this, e.g., add
> > a new field for the certificate option to specify for which it's
> > supposed to be used: encryption, authentication, or both.
>
> [LS]: Another problem is that: whether all the certificates needed to be
> verified for authentication? In general, if the certificate is verified and
> then the public key can be used for encryption.
> So I think one certificate is enough for authentication and encryption,
> which is usually certificate for the public key for E1. There is no need
> to contain the certificate for the public key for signature algorithm.

It'll be possible (and probably quite common) to share the same
certificate (public key) for both encryption and signature.  For
example, if we use RSA for encryption and RSASSA, it's quite likely
that we can use the same public key.  But, unless we impose an
explicit relationship between these two algorithms as part of the
protocol specification we cannot always assume that, so the protocol
itself should be generic so that it will work even if encryption and
signature algorithms are totally independent.  That's why I stated the
above example: "add a new field for the certificate option to specify
for which it's supposed to be used: encryption, authentication, or
both."

Whether to impose such an "explicit relationship" is a different
question, btw.  I think that's certainly an option and can make the
spec simpler at the cost of making it less flexible, but that should
be discussed and described in the spec explicitly, instead of leaving
it as an implicit assumption.

--
JINMEI, Tatuya


From nobody Wed Nov  9 08:49:00 2016
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 5C0F312949A for <dhcwg@ietfa.amsl.com>; Wed,  9 Nov 2016 08:48:56 -0800 (PST)
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 ANg_ZUpLIgiA for <dhcwg@ietfa.amsl.com>; Wed,  9 Nov 2016 08:48:55 -0800 (PST)
Received: from mail-qk0-x233.google.com (mail-qk0-x233.google.com [IPv6:2607:f8b0:400d:c09::233]) (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 95DA41294A1 for <dhcwg@ietf.org>; Wed,  9 Nov 2016 08:48:54 -0800 (PST)
Received: by mail-qk0-x233.google.com with SMTP id n21so152034346qka.3 for <dhcwg@ietf.org>; Wed, 09 Nov 2016 08:48:54 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=l2680JNhApbHmj6z7PrsTNkYC3giREfG2sKBAdxVJyE=; b=rSJSy/JTzy1q0RTPmhFeocEcAwhZMbXwV3AwZ/cw5N9G7Q9raBE0Mipv+oNAuqHceX M1LVxrgSf8W8xcymZB21WKPYKIPrDoIjJbdcw/5gddlGr0ov6VNPrlJ3ZCKykqu0FLtx hftl74DPlKlUhB5ugW/lawX53waqbkDYcpXQ6/q/XW0pxB2QqOSExUQbs/wI/CxVuYFq ocPf9NlNI7ZaPXR8b06BHEPlNy/Y/jEYrF+c5BhYr+rcMJkDQU5f5z9AR1joOmOB4Znb rhV2VrKuA/4ak+zi/Y7S8/5RGqKYDTgq64IyoIBoQ40sBSKA5Uz+ORUHxXZeluf0pBEa Zcpg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=l2680JNhApbHmj6z7PrsTNkYC3giREfG2sKBAdxVJyE=; b=biSEOLbXU1PFghWlh9nIxDRh5GgR+VPN+Yrs4ePEXpJAZBvnG/WYTKeb8CdwhpAv5X GxxdlV/HNByTEEUwET6/XqU+aJmjLXt+YnMNdolp2nMEQjda3whs8Yqmdu11+k18oYlu U+43GQtTwgl4qRYwpx1Ck17YaBoSKVdNORmB8Nck/WV4eZ08K2Qkwa3ww/hTb8kpdIT2 S5HzsF52R5ZlZA9Iz58ZY4jKotasEPQIqpN6Z1yypEOFnQxt+j0LIWaHNNT3ogTQ9RDG WfnU9xoV6DqfcaqWoSY8SEcGOGjcCNbAcEqVKa8nJqskBjUNGmjUrO6aJkhkEb1zCpGW 9QaA==
X-Gm-Message-State: ABUngvfy9sTEoumz1fB1KbQZvmc4EzVwG8z8cB/26bztRboNXt5t5PP/TONQDRNZyBH2zs6iMrxCiTBU1d+2Eg==
X-Received: by 10.55.48.72 with SMTP id w69mr677750qkw.320.1478710133790; Wed, 09 Nov 2016 08:48:53 -0800 (PST)
MIME-Version: 1.0
Received: by 10.237.62.242 with HTTP; Wed, 9 Nov 2016 08:48:53 -0800 (PST)
In-Reply-To: <CAJE_bqdh-bgk7BHZJnaFFBr3PDj4ZnSSGeGNdQ70F7dv91iQrA@mail.gmail.com>
References: <CAJE_bqebwr2WUUgaNgiYS4_8L77Gxj4Os+oPRG407B6ELMEhCQ@mail.gmail.com> <CAJ3w4Ndi5Gq63n5kZnanRhLM8nWE2wsWGh0kJJLJnq=VoXLuCg@mail.gmail.com> <CAJE_bqegh1DfWjfK2BxeC_fWa0cEk-KJNP0AT-TQuEa39w_wVQ@mail.gmail.com> <CAJ3w4NdM99nv4C19Xj=aosNme+_Ymyys=xQ3UWUfeZReZC4ckA@mail.gmail.com> <CAJE_bqdhGZnK16MooiyujDgthDNnR74EiwW0OevrN6uq4b4ANw@mail.gmail.com> <CAJE_bqfKUZe2yaW1sAq7rrib0M7wz28HHtPLqCHK=vXcN6amgg@mail.gmail.com> <CAJ3w4Nd3s+ZojjiotLkKwys6truhUgK6F-90UYjcpB9iw=fKKQ@mail.gmail.com> <m2r36nuqvn.wl%jinmei.tatuya@gmail.com> <CAJ3w4NeuNYTrX4p5rtZ6UceD5ydQ-B-vY6aqQzxWnXsrDOEFEA@mail.gmail.com> <CAJE_bqdh-bgk7BHZJnaFFBr3PDj4ZnSSGeGNdQ70F7dv91iQrA@mail.gmail.com>
From: Lishan Li <lilishan48@gmail.com>
Date: Thu, 10 Nov 2016 00:48:53 +0800
Message-ID: <CAJ3w4NfU9PrC9a+MGnJ=Es1yir_asHB3p1=9GfxZZ0iSe+At+Q@mail.gmail.com>
To: =?UTF-8?B?56We5piO6YGU5ZOJ?= <jinmei@wide.ad.jp>
Content-Type: multipart/alternative; boundary=001a114908be4020460540e10840
Archived-At: <https://mailarchive.ietf.org/arch/msg/dhcwg/Uz7o3BxNAA5u5Ny_3ST4kqBnrjI>
Cc: "dhcwg@ietf.org" <dhcwg@ietf.org>
Subject: Re: [dhcwg] preliminary comments on draft-ietf-dhc-sedhcpv6-17
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: Wed, 09 Nov 2016 16:48:56 -0000

--001a114908be4020460540e10840
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

2016-11-09 1:18 GMT+08:00 =E7=A5=9E=E6=98=8E=E9=81=94=E5=93=89 <jinmei@wide=
.ad.jp>:

> At Tue, 8 Nov 2016 22:02:21 +0800,
> Lishan Li <lilishan48@gmail.com> wrote:
>
> > > (Obviously) the former, but I guess your real question is how the
> > > client can determine that.  If so, that's a good point...I wasn't
> > > aware of the ambiguity at the time of my previous message.  I'm afrai=
d
> > > we need some more additional protocol stuff to resolve this, e.g., ad=
d
> > > a new field for the certificate option to specify for which it's
> > > supposed to be used: encryption, authentication, or both.
> >
> > [LS]: Another problem is that: whether all the certificates needed to b=
e
> > verified for authentication? In general, if the certificate is verified
> and
> > then the public key can be used for encryption.
> > So I think one certificate is enough for authentication and encryption,
> > which is usually certificate for the public key for E1. There is no nee=
d
> > to contain the certificate for the public key for signature algorithm.
>
> It'll be possible (and probably quite common) to share the same
> certificate (public key) for both encryption and signature.  For
> example, if we use RSA for encryption and RSASSA, it's quite likely
> that we can use the same public key.  But, unless we impose an
> explicit relationship between these two algorithms as part of the
> protocol specification we cannot always assume that, so the protocol
> itself should be generic so that it will work even if encryption and
> signature algorithms are totally independent.  That's why I stated the
> above example: "add a new field for the certificate option to specify
> for which it's supposed to be used: encryption, authentication, or
> both."
>
> Whether to impose such an "explicit relationship" is a different
> question, btw.  I think that's certainly an option and can make the
> spec simpler at the cost of making it less flexible, but that should
> be discussed and described in the spec explicitly, instead of leaving
> it as an implicit assumption.
>
[LS]: There are two types of certificate: one type is used for encryption
and authentication, which contains the public key for encryption algorithm;
another type is used for signature versification, which contains the public
key for signature algorithm. We can set one field for this. If the field is
zero, then it indicates the first type. If the field is 1, then it
indicates the
second type. Looking forward to your further guidance.

Best Regards,
Lishan

--001a114908be4020460540e10840
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_extra"><div class=3D"gmail_quote">2016=
-11-09 1:18 GMT+08:00 =E7=A5=9E=E6=98=8E=E9=81=94=E5=93=89 <span dir=3D"ltr=
">&lt;<a href=3D"mailto:jinmei@wide.ad.jp" target=3D"_blank">jinmei@wide.ad=
.jp</a>&gt;</span>:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 =
0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">At Tue, 8 Nov 2016 22=
:02:21 +0800,<br>
<span>Lishan Li &lt;<a href=3D"mailto:lilishan48@gmail.com" target=3D"_blan=
k">lilishan48@gmail.com</a>&gt; wrote:<br>
<br>
&gt; &gt; (Obviously) the former, but I guess your real question is how the=
<br>
&gt; &gt; client can determine that.=C2=A0 If so, that&#39;s a good point..=
.I wasn&#39;t<br>
&gt; &gt; aware of the ambiguity at the time of my previous message.=C2=A0 =
I&#39;m afraid<br>
&gt; &gt; we need some more additional protocol stuff to resolve this, e.g.=
, add<br>
&gt; &gt; a new field for the certificate option to specify for which it&#3=
9;s<br>
&gt; &gt; supposed to be used: encryption, authentication, or both.<br>
&gt;<br>
&gt; [LS]: Another problem is that: whether all the certificates needed to =
be<br>
&gt; verified for authentication? In general, if the certificate is verifie=
d and<br>
&gt; then the public key can be used for encryption.<br>
&gt; So I think one certificate is enough for authentication and encryption=
,<br>
&gt; which is usually certificate for the public key for E1. There is no ne=
ed<br>
&gt; to contain the certificate for the public key for signature algorithm.=
<br>
<br>
</span>It&#39;ll be possible (and probably quite common) to share the same<=
br>
certificate (public key) for both encryption and signature.=C2=A0 For<br>
example, if we use RSA for encryption and RSASSA, it&#39;s quite likely<br>
that we can use the same public key.=C2=A0 But, unless we impose an<br>
explicit relationship between these two algorithms as part of the<br>
protocol specification we cannot always assume that, so the protocol<br>
itself should be generic so that it will work even if encryption and<br>
signature algorithms are totally independent.=C2=A0 That&#39;s why I stated=
 the<br>
above example: &quot;add a new field for the certificate option to specify<=
br>
<span>for which it&#39;s supposed to be used: encryption, authentication, o=
r<br>
both.&quot;<br>
<br>
</span>Whether to impose such an &quot;explicit relationship&quot; is a dif=
ferent<br>
question, btw.=C2=A0 I think that&#39;s certainly an option and can make th=
e<br>
spec simpler at the cost of making it less flexible, but that should<br>
be discussed and described in the spec explicitly, instead of leaving<br>
it as an implicit assumption.<br></blockquote><div>[LS]: There are two type=
s of certificate: one type is used for encryption</div><div>and authenticat=
ion, which contains the public key for encryption algorithm;</div><div>anot=
her type is used for signature versification, which contains the public</di=
v><div>key for signature algorithm. We can set one field for this. If the f=
ield is=C2=A0</div><div>zero, then it indicates the first type. If the fiel=
d is 1, then it indicates the=C2=A0</div><div>second type. Looking forward =
to your further guidance.</div><div><br></div><div>Best Regards,</div><div>=
Lishan</div></div></div></div>

--001a114908be4020460540e10840--


From nobody Fri Nov 11 09:33:15 2016
Return-Path: <jinmei.tatuya@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 8E64A1295B2 for <dhcwg@ietfa.amsl.com>; Fri, 11 Nov 2016 09:33:13 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.4
X-Spam-Level: 
X-Spam-Status: No, score=-2.4 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.199, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=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 coHsqo3aoLPl for <dhcwg@ietfa.amsl.com>; Fri, 11 Nov 2016 09:33:12 -0800 (PST)
Received: from mail-qt0-x22c.google.com (mail-qt0-x22c.google.com [IPv6:2607:f8b0:400d:c0d::22c]) (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 1C13A129866 for <dhcwg@ietf.org>; Fri, 11 Nov 2016 09:33:12 -0800 (PST)
Received: by mail-qt0-x22c.google.com with SMTP id w33so13503498qtc.3 for <dhcwg@ietf.org>; Fri, 11 Nov 2016 09:33:12 -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:from:date:message-id :subject:to:cc; bh=8tdZ4yNs+KJE5aWbebLukR4skrMDU0BDeQiKDNb/1vM=; b=uqy9uC2s02RAPwKCE6qxmk0fIyapD2LfeOdx3fsLJq/XswYGbKrkgs7ZHoRK8rCJTa 3eu7XbA4uZ4+dWRjr0HSJYVWqlcezAYAuGtBWDs7WDq/aS+FxNv9WJZF4nUsbyHGrWZm h3nHPPc96rFnI/fN+Btqax/XS2J58/8KpcLYjFtFc9B52ZLQyNYFmWc/r1ombPNlMwQe LVBTMRmRhTjuhFRe9rKtMIva4MoI0yh1XV8m8VCoNU7zSdepFnecocsgHV97QIAKupoi DGsiMw8U9otTgYaJNcrlFYood+hnjeVMI5NGb01TkcT/7yMVPlm7Uozxso2XEGzFKja6 swVw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=8tdZ4yNs+KJE5aWbebLukR4skrMDU0BDeQiKDNb/1vM=; b=X+f51Rx5aecUY8G/iwvkg/KgDZ4vwvOG0aKdmCpVH5FYPvOGP3coLfogCrkJcsp7ag JQDqhQPpC0MeACYj9zSYOIb3DFmFoRj7tJAzTjyZuIjwQVylpnGXHnR8gpc8pl54Awf6 HD7adhBaDI1i0ZCllWRICyyHa51ev4WbQzziXPiMLGR38F0WCprQZBlLxV21bcLrg7a/ yer7vhIdHWDsSso1OdfTwnr/mCP06U+rtcJ1sJLN1YOUD0aISIdotQV3xz8ZPk2Q7/Yc YwKdJtRI7E2KivxIizKzKReW2hz+aaDfUZaD7Wnk4JPvuqLn/j7L6+7iwlaWiBH46aoA Laow==
X-Gm-Message-State: ABUngvcuYqyRwxagEUnq+V73YYk4/mydESBCzXDnIWE1O7Jn7WU+wOI/iCOvjLVKcFJgJH824p/1rkaJNQjeYQ==
X-Received: by 10.200.45.6 with SMTP id n6mr385475qta.220.1478885591013; Fri, 11 Nov 2016 09:33:11 -0800 (PST)
MIME-Version: 1.0
Sender: jinmei.tatuya@gmail.com
Received: by 10.237.53.155 with HTTP; Fri, 11 Nov 2016 09:33:10 -0800 (PST)
In-Reply-To: <CAJ3w4NfU9PrC9a+MGnJ=Es1yir_asHB3p1=9GfxZZ0iSe+At+Q@mail.gmail.com>
References: <CAJE_bqebwr2WUUgaNgiYS4_8L77Gxj4Os+oPRG407B6ELMEhCQ@mail.gmail.com> <CAJ3w4Ndi5Gq63n5kZnanRhLM8nWE2wsWGh0kJJLJnq=VoXLuCg@mail.gmail.com> <CAJE_bqegh1DfWjfK2BxeC_fWa0cEk-KJNP0AT-TQuEa39w_wVQ@mail.gmail.com> <CAJ3w4NdM99nv4C19Xj=aosNme+_Ymyys=xQ3UWUfeZReZC4ckA@mail.gmail.com> <CAJE_bqdhGZnK16MooiyujDgthDNnR74EiwW0OevrN6uq4b4ANw@mail.gmail.com> <CAJE_bqfKUZe2yaW1sAq7rrib0M7wz28HHtPLqCHK=vXcN6amgg@mail.gmail.com> <CAJ3w4Nd3s+ZojjiotLkKwys6truhUgK6F-90UYjcpB9iw=fKKQ@mail.gmail.com> <m2r36nuqvn.wl%jinmei.tatuya@gmail.com> <CAJ3w4NeuNYTrX4p5rtZ6UceD5ydQ-B-vY6aqQzxWnXsrDOEFEA@mail.gmail.com> <CAJE_bqdh-bgk7BHZJnaFFBr3PDj4ZnSSGeGNdQ70F7dv91iQrA@mail.gmail.com> <CAJ3w4NfU9PrC9a+MGnJ=Es1yir_asHB3p1=9GfxZZ0iSe+At+Q@mail.gmail.com>
From: =?UTF-8?B?56We5piO6YGU5ZOJ?= <jinmei@wide.ad.jp>
Date: Fri, 11 Nov 2016 09:33:10 -0800
X-Google-Sender-Auth: iJiG4vn57cU93w9DRGY--sBrWCY
Message-ID: <CAJE_bqfRBYkrniWQ+vtPULTURnvyV792QNGvr8JhhZpGQ0MSdA@mail.gmail.com>
To: Lishan Li <lilishan48@gmail.com>
Content-Type: text/plain; charset=UTF-8
Archived-At: <https://mailarchive.ietf.org/arch/msg/dhcwg/ZkAmwTbHQ4gvSXvKjm-nQPeQH68>
Cc: "dhcwg@ietf.org" <dhcwg@ietf.org>
Subject: Re: [dhcwg] preliminary comments on draft-ietf-dhc-sedhcpv6-17
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: Fri, 11 Nov 2016 17:33:13 -0000

At Thu, 10 Nov 2016 00:48:53 +0800,
Lishan Li <lilishan48@gmail.com> wrote:

> > It'll be possible (and probably quite common) to share the same
> > certificate (public key) for both encryption and signature.  For
> > example, if we use RSA for encryption and RSASSA, it's quite likely
> > that we can use the same public key.  But, unless we impose an
> > explicit relationship between these two algorithms as part of the
> > protocol specification we cannot always assume that, so the protocol
> > itself should be generic so that it will work even if encryption and
> > signature algorithms are totally independent.  That's why I stated the
> > above example: "add a new field for the certificate option to specify
> > for which it's supposed to be used: encryption, authentication, or
> > both."
> >
> > Whether to impose such an "explicit relationship" is a different
> > question, btw.  I think that's certainly an option and can make the
> > spec simpler at the cost of making it less flexible, but that should
> > be discussed and described in the spec explicitly, instead of leaving
> > it as an implicit assumption.
> >
> [LS]: There are two types of certificate: one type is used for encryption
> and authentication, which contains the public key for encryption algorithm;
> another type is used for signature versification, which contains the public
> key for signature algorithm. We can set one field for this. If the field is
> zero, then it indicates the first type. If the field is 1, then it
> indicates the
> second type.

There are THREE types of certificates:
- one type is used only for encryption, which contains the public key
  for the encryption algorithm
- another is used only for authentication, which contains the public
  key for the signature algorithm
- yet another is used both for encryption and authentication, which
  contains the public key for the encryption and signature algorithms.

So...

> We can set one field for this. If the field is
> zero, then it indicates the first type. If the field is 1, then it
> indicates the
> second type.

...if this is a proposal of adding a new field to the certificate
option, yes, I think that's one way forward except that there are
three types.

Alternatively, we might add both an EA-id and SA-id fields to the
option:

    0                   1                   2                   3
    0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |      OPTION_CERTIFICATE       |         option-len            |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |            EA-id              |            SA-id              |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |                                                               |
   .                  Certificate List(variable length)            .
   |                                                               |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
(I'm not sure if this has to be a list of certificates instead of one
certificate, but that's a different question).

And we can use a value of 0 for EA-id and SA-id to mean this
certificate is not supposed to be used for encryption and signature,
respectively.  (The combination of 0, 0 makes no sense so we should
probably prohibit the use of it explicitly).

--
JINMEI, Tatuya


From nobody Sun Nov 13 23:42:45 2016
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 654971296C9 for <dhcwg@ietfa.amsl.com>; Sun, 13 Nov 2016 23:42:43 -0800 (PST)
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 1LkhwCh0SfYD for <dhcwg@ietfa.amsl.com>; Sun, 13 Nov 2016 23:42:41 -0800 (PST)
Received: from mail-qk0-x22a.google.com (mail-qk0-x22a.google.com [IPv6:2607:f8b0:400d:c09::22a]) (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 C9016129689 for <dhcwg@ietf.org>; Sun, 13 Nov 2016 23:42:40 -0800 (PST)
Received: by mail-qk0-x22a.google.com with SMTP id n204so86343142qke.2 for <dhcwg@ietf.org>; Sun, 13 Nov 2016 23:42:40 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=22oFKV5n1bvUNDMit4KbdFfANCs+26/RuhAVf8aSTuk=; b=TgXqppbDuhT84YmbkOuHRomb98UwJxlzACx4TgNot/gYKQLbnj+LXlGpUBQFDnCmsJ H76f+1T8GwQlRg1U3irg65XVHdTLAEsucxra2jUbcRyEUZT/XouSRIsx6p8Cl7O+7rhd R1zEMHdsPIFFafaMWKPqSmRb2GIGg2q2KBhaZPwlJHhlXLPaXM/Fu7TVXb2ibbNK625c 637IaStIAU9/dtxNaGUIpx3S65JG2ZFJQTWX6YEz9CoaXNmQ1ArxZKrTGdUqSnQGOiTT eau+y1NO6UJa0pOxsKiqDN2xkrdK8YvmUq5SgmgTNMI+a0DZKggcv47zsAuf3KrH8KAg DIIA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=22oFKV5n1bvUNDMit4KbdFfANCs+26/RuhAVf8aSTuk=; b=U4v+6z1n/gsNEmM6ISC4SGvfHxBymzX2dEGGuxv/d6QhMPGAyW9k7/3C+Pw975t7p/ ttSdI0kzkTXtAtVu72o8x391MdiqBnEcvcHso2qJioo91lILm9s/cry5Y6yFNB/a2K7P 933LtL5yny4Rq3tRH01NPYM4VS4KMAnX7pCPKh3EJMRU3Ljqj5bMGoU4AK+zmXeVqm3o 2l8G7epfzPc3Cil4mF6R5OIHEfdsCzZeAanXm3NzFbI6STmrG72fL4A2bKX8RJR/IKXo zvlpp1IyHPASFnDl7N7xfDaUjTp7pDc52l7u2EE6H7LUSiEoKhM08K0dR4Erb/U8EQ5x hTZQ==
X-Gm-Message-State: ABUngvfzhOiLInGmcbhelBel9NLtKvhvY4dpuNOwtBnpKuOCDtRV5M6weE2zcLjvA1nSsf2CAH8ASM3IkJmD2Q==
X-Received: by 10.55.38.80 with SMTP id y77mr15328960qkg.51.1479109359936; Sun, 13 Nov 2016 23:42:39 -0800 (PST)
MIME-Version: 1.0
Received: by 10.237.62.242 with HTTP; Sun, 13 Nov 2016 23:42:39 -0800 (PST)
In-Reply-To: <CAJE_bqfRBYkrniWQ+vtPULTURnvyV792QNGvr8JhhZpGQ0MSdA@mail.gmail.com>
References: <CAJE_bqebwr2WUUgaNgiYS4_8L77Gxj4Os+oPRG407B6ELMEhCQ@mail.gmail.com> <CAJ3w4Ndi5Gq63n5kZnanRhLM8nWE2wsWGh0kJJLJnq=VoXLuCg@mail.gmail.com> <CAJE_bqegh1DfWjfK2BxeC_fWa0cEk-KJNP0AT-TQuEa39w_wVQ@mail.gmail.com> <CAJ3w4NdM99nv4C19Xj=aosNme+_Ymyys=xQ3UWUfeZReZC4ckA@mail.gmail.com> <CAJE_bqdhGZnK16MooiyujDgthDNnR74EiwW0OevrN6uq4b4ANw@mail.gmail.com> <CAJE_bqfKUZe2yaW1sAq7rrib0M7wz28HHtPLqCHK=vXcN6amgg@mail.gmail.com> <CAJ3w4Nd3s+ZojjiotLkKwys6truhUgK6F-90UYjcpB9iw=fKKQ@mail.gmail.com> <m2r36nuqvn.wl%jinmei.tatuya@gmail.com> <CAJ3w4NeuNYTrX4p5rtZ6UceD5ydQ-B-vY6aqQzxWnXsrDOEFEA@mail.gmail.com> <CAJE_bqdh-bgk7BHZJnaFFBr3PDj4ZnSSGeGNdQ70F7dv91iQrA@mail.gmail.com> <CAJ3w4NfU9PrC9a+MGnJ=Es1yir_asHB3p1=9GfxZZ0iSe+At+Q@mail.gmail.com> <CAJE_bqfRBYkrniWQ+vtPULTURnvyV792QNGvr8JhhZpGQ0MSdA@mail.gmail.com>
From: Lishan Li <lilishan48@gmail.com>
Date: Mon, 14 Nov 2016 15:42:39 +0800
Message-ID: <CAJ3w4NerRzHYsRqcUAkAjHX23PYVF4Jv0wKcd33vXRRg+-0EAQ@mail.gmail.com>
To: =?UTF-8?B?56We5piO6YGU5ZOJ?= <jinmei@wide.ad.jp>
Content-Type: multipart/alternative; boundary=001a11454c6cfbaadf05413dfb75
Archived-At: <https://mailarchive.ietf.org/arch/msg/dhcwg/ARgEIxbeXj8JqKSX5tFk3ObCG4A>
Cc: "dhcwg@ietf.org" <dhcwg@ietf.org>
Subject: Re: [dhcwg] preliminary comments on draft-ietf-dhc-sedhcpv6-17
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: Mon, 14 Nov 2016 07:42:43 -0000

--001a11454c6cfbaadf05413dfb75
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

2016-11-12 1:33 GMT+08:00 =E7=A5=9E=E6=98=8E=E9=81=94=E5=93=89 <jinmei@wide=
.ad.jp>:

> At Thu, 10 Nov 2016 00:48:53 +0800,
> Lishan Li <lilishan48@gmail.com> wrote:
>
> > > It'll be possible (and probably quite common) to share the same
> > > certificate (public key) for both encryption and signature.  For
> > > example, if we use RSA for encryption and RSASSA, it's quite likely
> > > that we can use the same public key.  But, unless we impose an
> > > explicit relationship between these two algorithms as part of the
> > > protocol specification we cannot always assume that, so the protocol
> > > itself should be generic so that it will work even if encryption and
> > > signature algorithms are totally independent.  That's why I stated th=
e
> > > above example: "add a new field for the certificate option to specify
> > > for which it's supposed to be used: encryption, authentication, or
> > > both."
> > >
> > > Whether to impose such an "explicit relationship" is a different
> > > question, btw.  I think that's certainly an option and can make the
> > > spec simpler at the cost of making it less flexible, but that should
> > > be discussed and described in the spec explicitly, instead of leaving
> > > it as an implicit assumption.
> > >
> > [LS]: There are two types of certificate: one type is used for encrypti=
on
> > and authentication, which contains the public key for encryption
> algorithm;
> > another type is used for signature versification, which contains the
> public
> > key for signature algorithm. We can set one field for this. If the fiel=
d
> is
> > zero, then it indicates the first type. If the field is 1, then it
> > indicates the
> > second type.
>
> There are THREE types of certificates:
> - one type is used only for encryption, which contains the public key
>   for the encryption algorithm
> - another is used only for authentication, which contains the public
>   key for the signature algorithm
> - yet another is used both for encryption and authentication, which
>   contains the public key for the encryption and signature algorithms.
>
> So...
>
> > We can set one field for this. If the field is
> > zero, then it indicates the first type. If the field is 1, then it
> > indicates the
> > second type.
>
> ...if this is a proposal of adding a new field to the certificate
> option, yes, I think that's one way forward except that there are
> three types.
>
> Alternatively, we might add both an EA-id and SA-id fields to the
> option:
>
>     0                   1                   2                   3
>     0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
>    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
>    |      OPTION_CERTIFICATE       |         option-len            |
>    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
>    |            EA-id              |            SA-id              |
>    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
>    |                                                               |
>    .                  Certificate List(variable length)            .
>    |                                                               |
>    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
> (I'm not sure if this has to be a list of certificates instead of one
> certificate, but that's a different question).


> And we can use a value of 0 for EA-id and SA-id to mean this
> certificate is not supposed to be used for encryption and signature,
> respectively.  (The combination of 0, 0 makes no sense so we should
> probably prohibit the use of it explicitly).
>
[LS]: So, there is no need to define a new field. The EA-id and SA-id are
used to identify the certificate type.
And the certificate list field should be changed to certificate field. If
multiple
certificates are contained, then multiple certificate option is contained.

Best Regards,
Lishan

--001a11454c6cfbaadf05413dfb75
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_extra"><div class=3D"gmail_quote">2016=
-11-12 1:33 GMT+08:00 =E7=A5=9E=E6=98=8E=E9=81=94=E5=93=89 <span dir=3D"ltr=
">&lt;<a href=3D"mailto:jinmei@wide.ad.jp" target=3D"_blank">jinmei@wide.ad=
.jp</a>&gt;</span>:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 =
0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">At Thu, 10 Nov 2016 0=
0:48:53 +0800,<br>
<span class=3D"">Lishan Li &lt;<a href=3D"mailto:lilishan48@gmail.com">lili=
shan48@gmail.com</a>&gt; wrote:<br>
<br>
&gt; &gt; It&#39;ll be possible (and probably quite common) to share the sa=
me<br>
&gt; &gt; certificate (public key) for both encryption and signature.=C2=A0=
 For<br>
&gt; &gt; example, if we use RSA for encryption and RSASSA, it&#39;s quite =
likely<br>
&gt; &gt; that we can use the same public key.=C2=A0 But, unless we impose =
an<br>
&gt; &gt; explicit relationship between these two algorithms as part of the=
<br>
&gt; &gt; protocol specification we cannot always assume that, so the proto=
col<br>
&gt; &gt; itself should be generic so that it will work even if encryption =
and<br>
&gt; &gt; signature algorithms are totally independent.=C2=A0 That&#39;s wh=
y I stated the<br>
&gt; &gt; above example: &quot;add a new field for the certificate option t=
o specify<br>
&gt; &gt; for which it&#39;s supposed to be used: encryption, authenticatio=
n, or<br>
&gt; &gt; both.&quot;<br>
&gt; &gt;<br>
&gt; &gt; Whether to impose such an &quot;explicit relationship&quot; is a =
different<br>
&gt; &gt; question, btw.=C2=A0 I think that&#39;s certainly an option and c=
an make the<br>
&gt; &gt; spec simpler at the cost of making it less flexible, but that sho=
uld<br>
&gt; &gt; be discussed and described in the spec explicitly, instead of lea=
ving<br>
&gt; &gt; it as an implicit assumption.<br>
&gt; &gt;<br>
&gt; [LS]: There are two types of certificate: one type is used for encrypt=
ion<br>
&gt; and authentication, which contains the public key for encryption algor=
ithm;<br>
&gt; another type is used for signature versification, which contains the p=
ublic<br>
&gt; key for signature algorithm. We can set one field for this. If the fie=
ld is<br>
&gt; zero, then it indicates the first type. If the field is 1, then it<br>
&gt; indicates the<br>
&gt; second type.<br>
<br>
</span>There are THREE types of certificates:<br>
- one type is used only for encryption, which contains the public key<br>
=C2=A0 for the encryption algorithm<br>
- another is used only for authentication, which contains the public<br>
=C2=A0 key for the signature algorithm<br>
- yet another is used both for encryption and authentication, which<br>
=C2=A0 contains the public key for the encryption and signature algorithms.=
<br>
<br>
So...<br>
<span class=3D""><br>
&gt; We can set one field for this. If the field is<br>
&gt; zero, then it indicates the first type. If the field is 1, then it<br>
&gt; indicates the<br>
&gt; second type.<br>
<br>
</span>...if this is a proposal of adding a new field to the certificate<br=
>
option, yes, I think that&#39;s one way forward except that there are<br>
three types.<br>
<br>
Alternatively, we might add both an EA-id and SA-id fields to the<br>
option:<br>
<br>
=C2=A0 =C2=A0 0=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A01=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A02=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A03<br>
=C2=A0 =C2=A0 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0=
 1<br>
=C2=A0 =C2=A0+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-<wbr>+-+-+-+-+-+-+-+-+-+-+-+-+-+=
-+-<wbr>+-+-+<br>
=C2=A0 =C2=A0|=C2=A0 =C2=A0 =C2=A0 OPTION_CERTIFICATE=C2=A0 =C2=A0 =C2=A0 =
=C2=A0|=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0option-len=C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 |<br>
=C2=A0 =C2=A0+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-<wbr>+-+-+-+-+-+-+-+-+-+-+-+-+-+=
-+-<wbr>+-+-+<br>
=C2=A0 =C2=A0|=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 EA-id=C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 SA-id=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 |<br>
=C2=A0 =C2=A0+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-<wbr>+-+-+-+-+-+-+-+-+-+-+-+-+-+=
-+-<wbr>+-+-+<br>
=C2=A0 =C2=A0|=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0|<br>
=C2=A0 =C2=A0.=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 Certificate List(variable length)=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 .<br>
=C2=A0 =C2=A0|=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0|<br>
=C2=A0 =C2=A0+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-<wbr>+-+-+-+-+-+-+-+-+-+-+-+-+-+=
-+-<wbr>+-+-+<br>
(I&#39;m not sure if this has to be a list of certificates instead of one<b=
r>
certificate, but that&#39;s a different question).</blockquote><blockquote =
class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid=
;padding-left:1ex">
<br>
And we can use a value of 0 for EA-id and SA-id to mean this<br>
certificate is not supposed to be used for encryption and signature,<br>
respectively.=C2=A0 (The combination of 0, 0 makes no sense so we should<br=
>
probably prohibit the use of it explicitly).<br>
</blockquote></div>[LS]: So, there is no need to define a new field. The EA=
-id and SA-id are=C2=A0</div><div class=3D"gmail_extra">used to identify th=
e certificate type.=C2=A0</div><div class=3D"gmail_extra">And the certifica=
te list field should be changed to certificate field. If multiple</div><div=
 class=3D"gmail_extra">certificates are contained, then multiple certificat=
e option is contained.</div><div class=3D"gmail_extra"><br></div><div class=
=3D"gmail_extra">Best Regards,</div><div class=3D"gmail_extra">Lishan</div>=
</div>

--001a11454c6cfbaadf05413dfb75--


From nobody Mon Nov 14 08:16:45 2016
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 C26A412987B for <dhcwg@ietfa.amsl.com>; Mon, 14 Nov 2016 08:16:44 -0800 (PST)
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 7LLIDGzyLttg for <dhcwg@ietfa.amsl.com>; Mon, 14 Nov 2016 08:16:43 -0800 (PST)
Received: from mail-qk0-x236.google.com (mail-qk0-x236.google.com [IPv6:2607:f8b0:400d:c09::236]) (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 C5B8D129879 for <dhcwg@ietf.org>; Mon, 14 Nov 2016 08:16:42 -0800 (PST)
Received: by mail-qk0-x236.google.com with SMTP id n204so101251243qke.2 for <dhcwg@ietf.org>; Mon, 14 Nov 2016 08:16:42 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=FqZV5zxR7HkFtkv2Px5HcyK/r5Nww+l+eZXMLTcaeXU=; b=WrvJjOsc02dyxKdFFMwtixjT9iv3I1GaSLOXCxsSfYgbwwnKLa/22LzXSlQWIhe9c7 86324IjzKglFntuMHIROUu7pXYDS/uSEIh4I2WBr/tVHsTTYCFW0pHwWp7o+vSph5Qg7 piBCQIeli4A1MRoAza4YJCCe8fF70GsEiPx9uqQaImjjao2mnioAA04JaMeVY+ZjcvIT RGKGUJnO9xDQ5NFr4iaVGVf7fC0btWk7wSfVV4nbRTh3KYVY96/QyBsx7fE6qJPhOCwc 5+frzQ4yWPy/rR1SFRf0D6KqOES1AmXf5Xxg7Lz39Tdk9PUgA/UdNZIEhqV/JqWABK1Z 2HoQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=FqZV5zxR7HkFtkv2Px5HcyK/r5Nww+l+eZXMLTcaeXU=; b=BO3jP/eZJPG0KhbfG6g6ykwl3t6YgSqdSnPoe++nkPs0f5NA/JAITPOt8/W6oygC6b 6L6RRvOkO/EjFcrXwDVXQyD3Map9tyHFLdWBCIRTmey1iMU9U5UFofuNzAIZvA6sgNNa RLisT9SZxhultfsyLdQ00PfRi/swNKy1ilvZ3VSfcdppcyGTetT6WXth4eBLckcnhqz6 gmDsAIexgFHD08PwQ/eQprx2DgwXtHQkXjspfwBflEsu3jG+xhvQJOje9f3lf39oFk5O DgTIdVf7KqsSlVsbd2T9OmXbwTSC34w60oIL+6eT/3YaJMU22Njiki5z16TDnf4Q7RB6 hMrg==
X-Gm-Message-State: ABUngvd2s780oqVCtO+DpYTLZxiIJcz8j2UzMjOTfIwyl5W6StZLersId6D1utMW/IanCKWu8mDWa36lklGLxQ==
X-Received: by 10.55.48.72 with SMTP id w69mr19509649qkw.320.1479140201811; Mon, 14 Nov 2016 08:16:41 -0800 (PST)
MIME-Version: 1.0
Received: by 10.237.62.242 with HTTP; Mon, 14 Nov 2016 08:16:41 -0800 (PST)
In-Reply-To: <CAJ3w4NerRzHYsRqcUAkAjHX23PYVF4Jv0wKcd33vXRRg+-0EAQ@mail.gmail.com>
References: <CAJE_bqebwr2WUUgaNgiYS4_8L77Gxj4Os+oPRG407B6ELMEhCQ@mail.gmail.com> <CAJ3w4Ndi5Gq63n5kZnanRhLM8nWE2wsWGh0kJJLJnq=VoXLuCg@mail.gmail.com> <CAJE_bqegh1DfWjfK2BxeC_fWa0cEk-KJNP0AT-TQuEa39w_wVQ@mail.gmail.com> <CAJ3w4NdM99nv4C19Xj=aosNme+_Ymyys=xQ3UWUfeZReZC4ckA@mail.gmail.com> <CAJE_bqdhGZnK16MooiyujDgthDNnR74EiwW0OevrN6uq4b4ANw@mail.gmail.com> <CAJE_bqfKUZe2yaW1sAq7rrib0M7wz28HHtPLqCHK=vXcN6amgg@mail.gmail.com> <CAJ3w4Nd3s+ZojjiotLkKwys6truhUgK6F-90UYjcpB9iw=fKKQ@mail.gmail.com> <m2r36nuqvn.wl%jinmei.tatuya@gmail.com> <CAJ3w4NeuNYTrX4p5rtZ6UceD5ydQ-B-vY6aqQzxWnXsrDOEFEA@mail.gmail.com> <CAJE_bqdh-bgk7BHZJnaFFBr3PDj4ZnSSGeGNdQ70F7dv91iQrA@mail.gmail.com> <CAJ3w4NfU9PrC9a+MGnJ=Es1yir_asHB3p1=9GfxZZ0iSe+At+Q@mail.gmail.com> <CAJE_bqfRBYkrniWQ+vtPULTURnvyV792QNGvr8JhhZpGQ0MSdA@mail.gmail.com> <CAJ3w4NerRzHYsRqcUAkAjHX23PYVF4Jv0wKcd33vXRRg+-0EAQ@mail.gmail.com>
From: Lishan Li <lilishan48@gmail.com>
Date: Tue, 15 Nov 2016 00:16:41 +0800
Message-ID: <CAJ3w4NekPk0TuAZW_jmTDYQHd8JP3GsrA0qrKYrnyqSSk3qwxw@mail.gmail.com>
To: =?UTF-8?B?56We5piO6YGU5ZOJ?= <jinmei@wide.ad.jp>
Content-Type: multipart/alternative; boundary=001a114908be4d59020541452a11
Archived-At: <https://mailarchive.ietf.org/arch/msg/dhcwg/RcitXO4I8iqF24isrcSmkTx8cOA>
Cc: "dhcwg@ietf.org" <dhcwg@ietf.org>
Subject: Re: [dhcwg] preliminary comments on draft-ietf-dhc-sedhcpv6-17
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: Mon, 14 Nov 2016 16:16:45 -0000

--001a114908be4d59020541452a11
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

2016-11-14 15:42 GMT+08:00 Lishan Li <lilishan48@gmail.com>:

> 2016-11-12 1:33 GMT+08:00 =E7=A5=9E=E6=98=8E=E9=81=94=E5=93=89 <jinmei@wi=
de.ad.jp>:
>
>> At Thu, 10 Nov 2016 00:48:53 +0800,
>> Lishan Li <lilishan48@gmail.com> wrote:
>>
>> > > It'll be possible (and probably quite common) to share the same
>> > > certificate (public key) for both encryption and signature.  For
>> > > example, if we use RSA for encryption and RSASSA, it's quite likely
>> > > that we can use the same public key.  But, unless we impose an
>> > > explicit relationship between these two algorithms as part of the
>> > > protocol specification we cannot always assume that, so the protocol
>> > > itself should be generic so that it will work even if encryption and
>> > > signature algorithms are totally independent.  That's why I stated t=
he
>> > > above example: "add a new field for the certificate option to specif=
y
>> > > for which it's supposed to be used: encryption, authentication, or
>> > > both."
>> > >
>> > > Whether to impose such an "explicit relationship" is a different
>> > > question, btw.  I think that's certainly an option and can make the
>> > > spec simpler at the cost of making it less flexible, but that should
>> > > be discussed and described in the spec explicitly, instead of leavin=
g
>> > > it as an implicit assumption.
>> > >
>> > [LS]: There are two types of certificate: one type is used for
>> encryption
>> > and authentication, which contains the public key for encryption
>> algorithm;
>> > another type is used for signature versification, which contains the
>> public
>> > key for signature algorithm. We can set one field for this. If the
>> field is
>> > zero, then it indicates the first type. If the field is 1, then it
>> > indicates the
>> > second type.
>>
>> There are THREE types of certificates:
>> - one type is used only for encryption, which contains the public key
>>   for the encryption algorithm
>> - another is used only for authentication, which contains the public
>>   key for the signature algorithm
>> - yet another is used both for encryption and authentication, which
>>   contains the public key for the encryption and signature algorithms.
>>
>> So...
>>
>> > We can set one field for this. If the field is
>> > zero, then it indicates the first type. If the field is 1, then it
>> > indicates the
>> > second type.
>>
>> ...if this is a proposal of adding a new field to the certificate
>> option, yes, I think that's one way forward except that there are
>> three types.
>>
>> Alternatively, we might add both an EA-id and SA-id fields to the
>> option:
>>
>>     0                   1                   2                   3
>>     0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
>>    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
>>    |      OPTION_CERTIFICATE       |         option-len            |
>>    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
>>    |            EA-id              |            SA-id              |
>>    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
>>    |                                                               |
>>    .                  Certificate List(variable length)            .
>>    |                                                               |
>>    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
>> (I'm not sure if this has to be a list of certificates instead of one
>> certificate, but that's a different question).
>
>
>> And we can use a value of 0 for EA-id and SA-id to mean this
>> certificate is not supposed to be used for encryption and signature,
>> respectively.  (The combination of 0, 0 makes no sense so we should
>> probably prohibit the use of it explicitly).
>>
> [LS]: So, there is no need to define a new field. The EA-id and SA-id are
> used to identify the certificate type.
> And the certificate list field should be changed to certificate field. If
> multiple
> certificates are contained, then multiple certificate option is contained=
.
>
[LS]: In this way, the certificate option and Signature option all contain
the SA-id field. And the content of the two SA-ids are same.

>
>

--001a114908be4d59020541452a11
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_extra"><div class=3D"gmail_quote">2016=
-11-14 15:42 GMT+08:00 Lishan Li <span dir=3D"ltr">&lt;<a href=3D"mailto:li=
lishan48@gmail.com" target=3D"_blank">lilishan48@gmail.com</a>&gt;</span>:<=
br><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;bord=
er-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr"><div =
class=3D"gmail_extra"><div><div class=3D"h5"><div class=3D"gmail_quote">201=
6-11-12 1:33 GMT+08:00 =E7=A5=9E=E6=98=8E=E9=81=94=E5=93=89 <span dir=3D"lt=
r">&lt;<a href=3D"mailto:jinmei@wide.ad.jp" target=3D"_blank">jinmei@wide.a=
d.jp</a>&gt;</span>:<br><blockquote class=3D"gmail_quote" style=3D"margin:0=
 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">At Thu, 10 Nov 2016 =
00:48:53 +0800,<br>
<span>Lishan Li &lt;<a href=3D"mailto:lilishan48@gmail.com" target=3D"_blan=
k">lilishan48@gmail.com</a>&gt; wrote:<br>
<br>
&gt; &gt; It&#39;ll be possible (and probably quite common) to share the sa=
me<br>
&gt; &gt; certificate (public key) for both encryption and signature.=C2=A0=
 For<br>
&gt; &gt; example, if we use RSA for encryption and RSASSA, it&#39;s quite =
likely<br>
&gt; &gt; that we can use the same public key.=C2=A0 But, unless we impose =
an<br>
&gt; &gt; explicit relationship between these two algorithms as part of the=
<br>
&gt; &gt; protocol specification we cannot always assume that, so the proto=
col<br>
&gt; &gt; itself should be generic so that it will work even if encryption =
and<br>
&gt; &gt; signature algorithms are totally independent.=C2=A0 That&#39;s wh=
y I stated the<br>
&gt; &gt; above example: &quot;add a new field for the certificate option t=
o specify<br>
&gt; &gt; for which it&#39;s supposed to be used: encryption, authenticatio=
n, or<br>
&gt; &gt; both.&quot;<br>
&gt; &gt;<br>
&gt; &gt; Whether to impose such an &quot;explicit relationship&quot; is a =
different<br>
&gt; &gt; question, btw.=C2=A0 I think that&#39;s certainly an option and c=
an make the<br>
&gt; &gt; spec simpler at the cost of making it less flexible, but that sho=
uld<br>
&gt; &gt; be discussed and described in the spec explicitly, instead of lea=
ving<br>
&gt; &gt; it as an implicit assumption.<br>
&gt; &gt;<br>
&gt; [LS]: There are two types of certificate: one type is used for encrypt=
ion<br>
&gt; and authentication, which contains the public key for encryption algor=
ithm;<br>
&gt; another type is used for signature versification, which contains the p=
ublic<br>
&gt; key for signature algorithm. We can set one field for this. If the fie=
ld is<br>
&gt; zero, then it indicates the first type. If the field is 1, then it<br>
&gt; indicates the<br>
&gt; second type.<br>
<br>
</span>There are THREE types of certificates:<br>
- one type is used only for encryption, which contains the public key<br>
=C2=A0 for the encryption algorithm<br>
- another is used only for authentication, which contains the public<br>
=C2=A0 key for the signature algorithm<br>
- yet another is used both for encryption and authentication, which<br>
=C2=A0 contains the public key for the encryption and signature algorithms.=
<br>
<br>
So...<br>
<span><br>
&gt; We can set one field for this. If the field is<br>
&gt; zero, then it indicates the first type. If the field is 1, then it<br>
&gt; indicates the<br>
&gt; second type.<br>
<br>
</span>...if this is a proposal of adding a new field to the certificate<br=
>
option, yes, I think that&#39;s one way forward except that there are<br>
three types.<br>
<br>
Alternatively, we might add both an EA-id and SA-id fields to the<br>
option:<br>
<br>
=C2=A0 =C2=A0 0=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A01=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A02=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A03<br>
=C2=A0 =C2=A0 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0=
 1<br>
=C2=A0 =C2=A0+-+-+-+-+-+-+-+-+-+-+-+-+-+-+<wbr>-+-+-+-+-+-+-+-+-+-+-+-+-+-+=
-+<wbr>-+-+-+<br>
=C2=A0 =C2=A0|=C2=A0 =C2=A0 =C2=A0 OPTION_CERTIFICATE=C2=A0 =C2=A0 =C2=A0 =
=C2=A0|=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0option-len=C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 |<br>
=C2=A0 =C2=A0+-+-+-+-+-+-+-+-+-+-+-+-+-+-+<wbr>-+-+-+-+-+-+-+-+-+-+-+-+-+-+=
-+<wbr>-+-+-+<br>
=C2=A0 =C2=A0|=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 EA-id=C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 SA-id=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 |<br>
=C2=A0 =C2=A0+-+-+-+-+-+-+-+-+-+-+-+-+-+-+<wbr>-+-+-+-+-+-+-+-+-+-+-+-+-+-+=
-+<wbr>-+-+-+<br>
=C2=A0 =C2=A0|=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0|<br>
=C2=A0 =C2=A0.=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 Certificate List(variable length)=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 .<br>
=C2=A0 =C2=A0|=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0|<br>
=C2=A0 =C2=A0+-+-+-+-+-+-+-+-+-+-+-+-+-+-+<wbr>-+-+-+-+-+-+-+-+-+-+-+-+-+-+=
-+<wbr>-+-+-+<br>
(I&#39;m not sure if this has to be a list of certificates instead of one<b=
r>
certificate, but that&#39;s a different question).</blockquote><blockquote =
class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid=
;padding-left:1ex">
<br>
And we can use a value of 0 for EA-id and SA-id to mean this<br>
certificate is not supposed to be used for encryption and signature,<br>
respectively.=C2=A0 (The combination of 0, 0 makes no sense so we should<br=
>
probably prohibit the use of it explicitly).<br>
</blockquote></div></div></div>[LS]: So, there is no need to define a new f=
ield. The EA-id and SA-id are=C2=A0</div><div class=3D"gmail_extra">used to=
 identify the certificate type.=C2=A0</div><div class=3D"gmail_extra">And t=
he certificate list field should be changed to certificate field. If multip=
le</div><div class=3D"gmail_extra">certificates are contained, then multipl=
e certificate option is contained.</div></div></blockquote><div>[LS]: In th=
is way, the certificate option and Signature option all contain</div><div>t=
he SA-id field. And the content of the two SA-ids are same.</div><blockquot=
e class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px s=
olid rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr"><div class=3D"gmai=
l_extra">=C2=A0</div></div></blockquote></div></div></div>

--001a114908be4d59020541452a11--


From nobody Mon Nov 14 09:24:25 2016
Return-Path: <jinmei.tatuya@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 3390C129521 for <dhcwg@ietfa.amsl.com>; Mon, 14 Nov 2016 09:24:25 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.4
X-Spam-Level: 
X-Spam-Status: No, score=-2.4 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.199, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=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 Z2QIh-i1FYTu for <dhcwg@ietfa.amsl.com>; Mon, 14 Nov 2016 09:24:23 -0800 (PST)
Received: from mail-qt0-x22a.google.com (mail-qt0-x22a.google.com [IPv6:2607:f8b0:400d:c0d::22a]) (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 54CFE129473 for <dhcwg@ietf.org>; Mon, 14 Nov 2016 09:24:23 -0800 (PST)
Received: by mail-qt0-x22a.google.com with SMTP id p16so51308162qta.0 for <dhcwg@ietf.org>; Mon, 14 Nov 2016 09:24:23 -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:from:date:message-id :subject:to:cc; bh=4W11UfgwkMIaI7UpEMECM0Tpv9FiBRWsmbOX1Il9sy8=; b=pncQ/+sZH+DsWjMx29St5VBm9oxJS+iVmVSgOmt1CvxDrZ5/5aQpDYS+u7C6F/p004 QXVRbjTAfQ4MEIHOBGey307pLF25lzAMUG/XaCa9j+hNFtC3H84jyknoYSwvtDD3noH8 8XJQAReQi3/qjYc8hh99Djqlu5jaKjIO8RUpxwQ+jOmv0FemRZeprmicLg15qAJLv0Wf LbL2SgE6DQfJ7bLxRnb4X2YdTDRSaWJ/m7Mh8msFIQQo/KkU19pifchARuxDS//39vqw R3QoIVL/8BGyefTvCMzOVozcNI619hBFCqnJRFXQQHN1ya+RZrN2Lct2Ipw98uEGbhhO kmdw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=4W11UfgwkMIaI7UpEMECM0Tpv9FiBRWsmbOX1Il9sy8=; b=KRwUIYZGirKBwTaINtHQqHuKOApWOQdhTj34I2n615v/jJyZEgh6/RNgvpbRGUOtPU MlFDH6e4H04XqiRt1Yk9MWu38cj5pWoNr+deL40BaHNHjAMu45j1OrfeXEMJ2weHsWnR SS3na+Q4LpambgZ4o7DbBBxpnRafGotnimOoUTWFxItbdRE7HXGteepGVjKt43FMUiRN vDxYH05qfldlOKiIP4PPbMp3SoXARgxs9lKdK16ypGVlfIqwx+TfwsniNnQMtyhw+gM0 UsuThe/vDrC9nEcmuAl4TpXgyFZe7cg1EABHz5JEb2QIBNqDQ2RXAOVf/ot9WEoGWo08 gvrA==
X-Gm-Message-State: ABUngvfZaOhLaxNUzhgvr1uT9QxF237Src7iV70ujzKMyz0zjwHRfnZsgUefTMUBij1aahzgrdemdekhr+Ac/Q==
X-Received: by 10.200.39.83 with SMTP id h19mr7426479qth.290.1479144262312; Mon, 14 Nov 2016 09:24:22 -0800 (PST)
MIME-Version: 1.0
Sender: jinmei.tatuya@gmail.com
Received: by 10.237.53.155 with HTTP; Mon, 14 Nov 2016 09:24:21 -0800 (PST)
In-Reply-To: <CAJ3w4NekPk0TuAZW_jmTDYQHd8JP3GsrA0qrKYrnyqSSk3qwxw@mail.gmail.com>
References: <CAJE_bqebwr2WUUgaNgiYS4_8L77Gxj4Os+oPRG407B6ELMEhCQ@mail.gmail.com> <CAJ3w4Ndi5Gq63n5kZnanRhLM8nWE2wsWGh0kJJLJnq=VoXLuCg@mail.gmail.com> <CAJE_bqegh1DfWjfK2BxeC_fWa0cEk-KJNP0AT-TQuEa39w_wVQ@mail.gmail.com> <CAJ3w4NdM99nv4C19Xj=aosNme+_Ymyys=xQ3UWUfeZReZC4ckA@mail.gmail.com> <CAJE_bqdhGZnK16MooiyujDgthDNnR74EiwW0OevrN6uq4b4ANw@mail.gmail.com> <CAJE_bqfKUZe2yaW1sAq7rrib0M7wz28HHtPLqCHK=vXcN6amgg@mail.gmail.com> <CAJ3w4Nd3s+ZojjiotLkKwys6truhUgK6F-90UYjcpB9iw=fKKQ@mail.gmail.com> <m2r36nuqvn.wl%jinmei.tatuya@gmail.com> <CAJ3w4NeuNYTrX4p5rtZ6UceD5ydQ-B-vY6aqQzxWnXsrDOEFEA@mail.gmail.com> <CAJE_bqdh-bgk7BHZJnaFFBr3PDj4ZnSSGeGNdQ70F7dv91iQrA@mail.gmail.com> <CAJ3w4NfU9PrC9a+MGnJ=Es1yir_asHB3p1=9GfxZZ0iSe+At+Q@mail.gmail.com> <CAJE_bqfRBYkrniWQ+vtPULTURnvyV792QNGvr8JhhZpGQ0MSdA@mail.gmail.com> <CAJ3w4NerRzHYsRqcUAkAjHX23PYVF4Jv0wKcd33vXRRg+-0EAQ@mail.gmail.com> <CAJ3w4NekPk0TuAZW_jmTDYQHd8JP3GsrA0qrKYrnyqSSk3qwxw@mail.gmail.com>
From: =?UTF-8?B?56We5piO6YGU5ZOJ?= <jinmei@wide.ad.jp>
Date: Mon, 14 Nov 2016 09:24:21 -0800
X-Google-Sender-Auth: hXQKpSIgK9saFNLEAaNWjVlnrKk
Message-ID: <CAJE_bqc8hkrc3dYefTPWi-mUCtZD+oYsrobCK1KjmVGRnNfMCw@mail.gmail.com>
To: Lishan Li <lilishan48@gmail.com>
Content-Type: text/plain; charset=UTF-8
Archived-At: <https://mailarchive.ietf.org/arch/msg/dhcwg/AifEIQ_BV-Dc-WhW5n7-eX6GP_o>
Cc: "dhcwg@ietf.org" <dhcwg@ietf.org>
Subject: Re: [dhcwg] preliminary comments on draft-ietf-dhc-sedhcpv6-17
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: Mon, 14 Nov 2016 17:24:25 -0000

At Tue, 15 Nov 2016 00:16:41 +0800,
Lishan Li <lilishan48@gmail.com> wrote:

> >> Alternatively, we might add both an EA-id and SA-id fields to the
> >> option:
> >>
> >>     0                   1                   2                   3
> >>     0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
> >>    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
> >>    |      OPTION_CERTIFICATE       |         option-len            |
> >>    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
> >>    |            EA-id              |            SA-id              |
> >>    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
> >>    |                                                               |
> >>    .                  Certificate List(variable length)            .
> >>    |                                                               |
> >>    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
> >> (I'm not sure if this has to be a list of certificates instead of one
> >> certificate, but that's a different question).
> >
> >
> >> And we can use a value of 0 for EA-id and SA-id to mean this
> >> certificate is not supposed to be used for encryption and signature,
> >> respectively.  (The combination of 0, 0 makes no sense so we should
> >> probably prohibit the use of it explicitly).
> >>
> > [LS]: So, there is no need to define a new field. The EA-id and SA-id are
> > used to identify the certificate type.

If you use this approach, correct.  Note, however, that I'm not
necessarily pushing a particular approach at this time.  I'm just
showing various possible approaches for discussion.  You may want to
consider pros and cons of these approaches yourself.

> > And the certificate list field should be changed to certificate field. If
> > multiple
> > certificates are contained, then multiple certificate option is contained.

Regarding this, I'm not sure.  Basically the choice of EA-id and SA-id
should be fixed (it should be the most preferred one for the server,
and it's known that the client supports it), so the question is
whether we want to make it possible to include multiple different
certificates for that combination of EA and SA.  That sounds to me
like an unlikely scenario in practice, although being flexible/generic
itself is not necessarily bad.

> [LS]: In this way, the certificate option and Signature option all contain
> the SA-id field. And the content of the two SA-ids are same.

Yes (otherwise the recipient should treat it as an error condition).

BTW this makes me notice one related issue: it doesn't seem to be
possible for a server to identify the private key to decrypt the
message contained in an Encrypted-message Option contained in the
Encrypted-Query message unless it tries all private keys it might be
used.

--
jinmei


From nobody Mon Nov 14 18:40:35 2016
Return-Path: <ietf-secretariat-reply@ietf.org>
X-Original-To: dhcwg@ietf.org
Delivered-To: dhcwg@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id 6DA561296C3 for <dhcwg@ietf.org>; Mon, 14 Nov 2016 18:40:34 -0800 (PST)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
To: <dhcwg@ietf.org>
X-Test-IDTracker: no
X-IETF-IDTracker: 6.37.1
Auto-Submitted: auto-generated
Precedence: bulk
Message-ID: <147917763444.8440.3488384286386860684.idtracker@ietfa.amsl.com>
Date: Mon, 14 Nov 2016 18:40:34 -0800
From: IETF Secretariat <ietf-secretariat-reply@ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/dhcwg/RFRa3qm3T-55y5BIeC58hgwvCKo>
Subject: [dhcwg] Milestones changed for dhc WG
X-BeenThere: dhcwg@ietf.org
X-Mailman-Version: 2.1.17
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, 15 Nov 2016 02:40:34 -0000

Changed milestone "Submit draft-ietf-dhc-topo-conf to IESG", resolved
as "Done".

Changed milestone "WG last call revised
draft-ietf-dhc-dhcpv6-failover-design", resolved as "Done".

Changed milestone "Submit dhcpv6-failover-design to IESG", resolved as
"Done".

Changed milestone "WG last call on 331bis draft", resolved as "Done".

URL: https://datatracker.ietf.org/wg/dhc/charter/


From nobody Mon Nov 14 23:27:52 2016
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 0FE8512956B for <dhcwg@ietfa.amsl.com>; Mon, 14 Nov 2016 23:27:50 -0800 (PST)
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 oJLg0nfircXF for <dhcwg@ietfa.amsl.com>; Mon, 14 Nov 2016 23:27:48 -0800 (PST)
Received: from mail-qt0-x22f.google.com (mail-qt0-x22f.google.com [IPv6:2607:f8b0:400d:c0d::22f]) (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 0B030129A14 for <dhcwg@ietf.org>; Mon, 14 Nov 2016 23:27:48 -0800 (PST)
Received: by mail-qt0-x22f.google.com with SMTP id w33so62489872qtc.3 for <dhcwg@ietf.org>; Mon, 14 Nov 2016 23:27:47 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=qbQV5dUF8YrE5MEp/COOGDwq/g4+GrILtFhtpGfLoTE=; b=Dho1ctOQITQlNf4j5ArM7xwd69pdqvGUajU7TtBjmqXbgSU3ExEIs3s4ujDyej4D/c 7eFdWUhUtZCAwTQqHfyhHBpKk8Xsag14E1ydeC0mYdAO0q0ANl+Yr71ZqZaqbYbXi6AX tVjlVCsIeIKUt7embz4ojhSawpK9x/I9CwKSivKH6/UNVDWLqFFashHyI++VWiirrRqC YeQQJ1E6UmQbxtSfi6BI2KcUCuGjV7DPcbgKnN26LtmrJmyEECjxO+taj955DLNfWv+E d2JIMRIgFAU5aQ+ucE7bfqFVYWVhtTq4hN/t2nLrALJ1uqflzHvQVZ/Ee4z+mKly60gi sEMA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=qbQV5dUF8YrE5MEp/COOGDwq/g4+GrILtFhtpGfLoTE=; b=I+VJAh4bzoPIA7/zJ5hRJQKVB5MubifgyDpq3OR66/y5m2Ik5cP08Q/tIzVRi+y1gF S1fUs2avtPH+YqyjypgJd6/dPo61uQMR2oZLlqWjIhMt7ZMvdNUupM80QqIZNpXf4Fz7 ILLcDmJ26RoPD6DardWQFuk8OdvCKysyjkh6anIo//dSQ6zN6D57TjyvFpuw1PDgVr0p ztBBRk20DEyjPCzx7/3mMxcpWvAw4O25OnE2BJ5XJqs0MNvYB5lYJLw1fvLgpUDue0EQ RV3otw088MrQTlR8rhhQY7843vXhTi7InzlxjWru91WVzW/LUHNVl3JUzu/VWE3ljvpT MyHw==
X-Gm-Message-State: ABUngvcSnJ3FkjDzVSTNqq050/0CKr0gW8T8pOBLky6xfB35vBMd8Gfzs+4W8oiZ8v7s7thr93diWQXZZYhSww==
X-Received: by 10.237.33.240 with SMTP id m45mr9077429qtc.250.1479194867019; Mon, 14 Nov 2016 23:27:47 -0800 (PST)
MIME-Version: 1.0
Received: by 10.237.62.242 with HTTP; Mon, 14 Nov 2016 23:27:46 -0800 (PST)
In-Reply-To: <CAJE_bqc8hkrc3dYefTPWi-mUCtZD+oYsrobCK1KjmVGRnNfMCw@mail.gmail.com>
References: <CAJE_bqebwr2WUUgaNgiYS4_8L77Gxj4Os+oPRG407B6ELMEhCQ@mail.gmail.com> <CAJ3w4Ndi5Gq63n5kZnanRhLM8nWE2wsWGh0kJJLJnq=VoXLuCg@mail.gmail.com> <CAJE_bqegh1DfWjfK2BxeC_fWa0cEk-KJNP0AT-TQuEa39w_wVQ@mail.gmail.com> <CAJ3w4NdM99nv4C19Xj=aosNme+_Ymyys=xQ3UWUfeZReZC4ckA@mail.gmail.com> <CAJE_bqdhGZnK16MooiyujDgthDNnR74EiwW0OevrN6uq4b4ANw@mail.gmail.com> <CAJE_bqfKUZe2yaW1sAq7rrib0M7wz28HHtPLqCHK=vXcN6amgg@mail.gmail.com> <CAJ3w4Nd3s+ZojjiotLkKwys6truhUgK6F-90UYjcpB9iw=fKKQ@mail.gmail.com> <m2r36nuqvn.wl%jinmei.tatuya@gmail.com> <CAJ3w4NeuNYTrX4p5rtZ6UceD5ydQ-B-vY6aqQzxWnXsrDOEFEA@mail.gmail.com> <CAJE_bqdh-bgk7BHZJnaFFBr3PDj4ZnSSGeGNdQ70F7dv91iQrA@mail.gmail.com> <CAJ3w4NfU9PrC9a+MGnJ=Es1yir_asHB3p1=9GfxZZ0iSe+At+Q@mail.gmail.com> <CAJE_bqfRBYkrniWQ+vtPULTURnvyV792QNGvr8JhhZpGQ0MSdA@mail.gmail.com> <CAJ3w4NerRzHYsRqcUAkAjHX23PYVF4Jv0wKcd33vXRRg+-0EAQ@mail.gmail.com> <CAJ3w4NekPk0TuAZW_jmTDYQHd8JP3GsrA0qrKYrnyqSSk3qwxw@mail.gmail.com> <CAJE_bqc8hkrc3dYefTPWi-mUCtZD+oYsrobCK1KjmVGRnNfMCw@mail.gmail.com>
From: Lishan Li <lilishan48@gmail.com>
Date: Tue, 15 Nov 2016 15:27:46 +0800
Message-ID: <CAJ3w4NejrFAT3RK7i0W46HkQNJjhPxbhzQiL=3fcrceidTzHNQ@mail.gmail.com>
To: =?UTF-8?B?56We5piO6YGU5ZOJ?= <jinmei@wide.ad.jp>
Content-Type: multipart/alternative; boundary=001a11394d429a3bc8054151e4db
Archived-At: <https://mailarchive.ietf.org/arch/msg/dhcwg/BCMI6JiOmefTJPjvsaZ4U8dzrJ0>
Cc: "dhcwg@ietf.org" <dhcwg@ietf.org>
Subject: Re: [dhcwg] preliminary comments on draft-ietf-dhc-sedhcpv6-17
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, 15 Nov 2016 07:27:50 -0000

--001a11394d429a3bc8054151e4db
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

2016-11-15 1:24 GMT+08:00 =E7=A5=9E=E6=98=8E=E9=81=94=E5=93=89 <jinmei@wide=
.ad.jp>:

> At Tue, 15 Nov 2016 00:16:41 +0800,
> Lishan Li <lilishan48@gmail.com> wrote:
>
> > >> Alternatively, we might add both an EA-id and SA-id fields to the
> > >> option:
> > >>
> > >>     0                   1                   2                   3
> > >>     0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
> > >>    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
> > >>    |      OPTION_CERTIFICATE       |         option-len            |
> > >>    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
> > >>    |            EA-id              |            SA-id              |
> > >>    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
> > >>    |                                                               |
> > >>    .                  Certificate List(variable length)            .
> > >>    |                                                               |
> > >>    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
> > >> (I'm not sure if this has to be a list of certificates instead of on=
e
> > >> certificate, but that's a different question).
> > >
> > >
> > >> And we can use a value of 0 for EA-id and SA-id to mean this
> > >> certificate is not supposed to be used for encryption and signature,
> > >> respectively.  (The combination of 0, 0 makes no sense so we should
> > >> probably prohibit the use of it explicitly).
> > >>
> > > [LS]: So, there is no need to define a new field. The EA-id and SA-id
> are
> > > used to identify the certificate type.
>
> If you use this approach, correct.  Note, however, that I'm not
> necessarily pushing a particular approach at this time.  I'm just
> showing various possible approaches for discussion.  You may want to
> consider pros and cons of these approaches yourself.
>
> > > And the certificate list field should be changed to certificate field=
.
> If
> > > multiple
> > > certificates are contained, then multiple certificate option is
> contained.
>
> Regarding this, I'm not sure.  Basically the choice of EA-id and SA-id
> should be fixed (it should be the most preferred one for the server,
> and it's known that the client supports it), so the question is
> whether we want to make it possible to include multiple different
> certificates for that combination of EA and SA.  That sounds to me
> like an unlikely scenario in practice, although being flexible/generic
> itself is not necessarily bad.
>
> > [LS]: In this way, the certificate option and Signature option all
> contain
> > the SA-id field. And the content of the two SA-ids are same.
>
> Yes (otherwise the recipient should treat it as an error condition).
>
> BTW this makes me notice one related issue: it doesn't seem to be
> possible for a server to identify the private key to decrypt the
> message contained in an Encrypted-message Option contained in the
> Encrypted-Query message unless it tries all private keys it might be
> used.
>
[LS]: The private key which is corresponding to the public key for
encryption
algorithm is used for decryption. After sending the Reply message, the
message
transaction-id is used as the identifier of the private key for decryption.

--001a11394d429a3bc8054151e4db
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_extra"><div class=3D"gmail_quote">2016=
-11-15 1:24 GMT+08:00 =E7=A5=9E=E6=98=8E=E9=81=94=E5=93=89 <span dir=3D"ltr=
">&lt;<a href=3D"mailto:jinmei@wide.ad.jp" target=3D"_blank">jinmei@wide.ad=
.jp</a>&gt;</span>:<br><blockquote class=3D"gmail_quote" style=3D"margin:0p=
x 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">At=
 Tue, 15 Nov 2016 00:16:41 +0800,<br>
<span class=3D"gmail-">Lishan Li &lt;<a href=3D"mailto:lilishan48@gmail.com=
">lilishan48@gmail.com</a>&gt; wrote:<br>
<br>
&gt; &gt;&gt; Alternatively, we might add both an EA-id and SA-id fields to=
 the<br>
&gt; &gt;&gt; option:<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;=C2=A0 =C2=A0 =C2=A00=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=
 =C2=A0 =C2=A0 =C2=A0 =C2=A01=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A02=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A03<br>
&gt; &gt;&gt;=C2=A0 =C2=A0 =C2=A00 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 =
1 2 3 4 5 6 7 8 9 0 1<br>
&gt; &gt;&gt;=C2=A0 =C2=A0 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-<wbr>+-+-+-+-+-+-+=
-+-+-+-+-+-+-+-+-<wbr>+-+-+<br>
&gt; &gt;&gt;=C2=A0 =C2=A0 |=C2=A0 =C2=A0 =C2=A0 OPTION_CERTIFICATE=C2=A0 =
=C2=A0 =C2=A0 =C2=A0|=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0option-len=C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 |<br>
&gt; &gt;&gt;=C2=A0 =C2=A0 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-<wbr>+-+-+-+-+-+-+=
-+-+-+-+-+-+-+-+-<wbr>+-+-+<br>
&gt; &gt;&gt;=C2=A0 =C2=A0 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 EA-id=
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 |=C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 SA-id=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 |<b=
r>
&gt; &gt;&gt;=C2=A0 =C2=A0 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-<wbr>+-+-+-+-+-+-+=
-+-+-+-+-+-+-+-+-<wbr>+-+-+<br>
&gt; &gt;&gt;=C2=A0 =C2=A0 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0|<br>
&gt; &gt;&gt;=C2=A0 =C2=A0 .=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 Certificate List(variable length)=C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 .<br>
&gt; &gt;&gt;=C2=A0 =C2=A0 |=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0|<br>
&gt; &gt;&gt;=C2=A0 =C2=A0 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-<wbr>+-+-+-+-+-+-+=
-+-+-+-+-+-+-+-+-<wbr>+-+-+<br>
&gt; &gt;&gt; (I&#39;m not sure if this has to be a list of certificates in=
stead of one<br>
&gt; &gt;&gt; certificate, but that&#39;s a different question).<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;&gt; And we can use a value of 0 for EA-id and SA-id to mean this<=
br>
&gt; &gt;&gt; certificate is not supposed to be used for encryption and sig=
nature,<br>
&gt; &gt;&gt; respectively.=C2=A0 (The combination of 0, 0 makes no sense s=
o we should<br>
&gt; &gt;&gt; probably prohibit the use of it explicitly).<br>
&gt; &gt;&gt;<br>
&gt; &gt; [LS]: So, there is no need to define a new field. The EA-id and S=
A-id are<br>
&gt; &gt; used to identify the certificate type.<br>
<br>
</span>If you use this approach, correct.=C2=A0 Note, however, that I&#39;m=
 not<br>
necessarily pushing a particular approach at this time.=C2=A0 I&#39;m just<=
br>
showing various possible approaches for discussion.=C2=A0 You may want to<b=
r>
consider pros and cons of these approaches yourself.<br>
<span class=3D"gmail-"><br>
&gt; &gt; And the certificate list field should be changed to certificate f=
ield. If<br>
&gt; &gt; multiple<br>
&gt; &gt; certificates are contained, then multiple certificate option is c=
ontained.<br>
<br>
</span>Regarding this, I&#39;m not sure.=C2=A0 Basically the choice of EA-i=
d and SA-id<br>
should be fixed (it should be the most preferred one for the server,<br>
and it&#39;s known that the client supports it), so the question is<br>
whether we want to make it possible to include multiple different<br>
certificates for that combination of EA and SA.=C2=A0 That sounds to me<br>
like an unlikely scenario in practice, although being flexible/generic<br>
itself is not necessarily bad.<br>
<span class=3D"gmail-"><br>
&gt; [LS]: In this way, the certificate option and Signature option all con=
tain<br>
&gt; the SA-id field. And the content of the two SA-ids are same.<br>
<br>
</span>Yes (otherwise the recipient should treat it as an error condition).=
<br>
<br>
BTW this makes me notice one related issue: it doesn&#39;t seem to be<br>
possible for a server to identify the private key to decrypt the<br>
message contained in an Encrypted-message Option contained in the<br>
Encrypted-Query message unless it tries all private keys it might be<br>
used.<br></blockquote><div>[LS]: The private key which is corresponding to =
the public key for encryption</div><div>algorithm is used for decryption. A=
fter sending the Reply message, the message=C2=A0</div><div>transaction-id =
is used as the identifier of the private key for decryption.=C2=A0</div></d=
iv></div></div>

--001a11394d429a3bc8054151e4db--


From nobody Tue Nov 15 10:01:20 2016
Return-Path: <jinmei.tatuya@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 45FBE128DF6 for <dhcwg@ietfa.amsl.com>; Tue, 15 Nov 2016 10:01:19 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.4
X-Spam-Level: 
X-Spam-Status: No, score=-2.4 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.199, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=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 Z7JZOMYOUaFE for <dhcwg@ietfa.amsl.com>; Tue, 15 Nov 2016 10:01:17 -0800 (PST)
Received: from mail-qk0-x234.google.com (mail-qk0-x234.google.com [IPv6:2607:f8b0:400d:c09::234]) (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 8AB63129408 for <dhcwg@ietf.org>; Tue, 15 Nov 2016 10:01:17 -0800 (PST)
Received: by mail-qk0-x234.google.com with SMTP id q130so145145887qke.1 for <dhcwg@ietf.org>; Tue, 15 Nov 2016 10:01:17 -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:from:date:message-id :subject:to:cc; bh=UvrDLe0DFfmKgePXtwcuQhHIwcG0jzxUqtj+DOXg158=; b=CLd3Zv6evBDY5+g4g6OpzNVWBMHaa8g/t3Na6edt4aN3saWbPgX9mzXqkuEbcav2re XHTOJcaeFp3+mDLPQw7c+y4ujFMZf+skv8URSYX99XTVSZTeb3TiX30Nr6MZS3LOGfUJ xYbTkE1dpZCbZ9uLPp2H+aHWcAOBqkPxiLSiU/WtNXwVHMQXI85MxL5rGIdevvyN7VMX 24oXmTQCYDbig3v8o6J+zPsZsidPFfVrbzDSdF2KjcdATgLG2qdcZwOSaAzenV62OvtH BKsuUIz/454mOo0d45N+aSSigMZPAzhtV5XjPVEo5RzmtRTYqDmvNHfh63Oy5Vt7Fcvc NGUQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=UvrDLe0DFfmKgePXtwcuQhHIwcG0jzxUqtj+DOXg158=; b=k07s0v/d+J6ixdMtTiqnDSAhsBlSIXykdIgnlsPyey0u1958vBQPUrZQXPDcAMQEre fXvMqeOW+xi20QNuDDnhV7qqvZppCZSlDHU8m/7o5kqjrDrMntDhKbWmqX1ZxKc3vGea hAFj4D4dcJsUO8XldyUj3qFB5q44ftxdMtG+CCPp3EXCqJNP9knlnzJ40xP/yDpfv9Z3 zIpQ1K/NAZOzf7ro8PLAjmUjzrYp72BJbzG062Nr9muSf6P7HdRcwh23SXG9wbosqGYD NTM36HXb7wCpmHKNH4g6Ek3/yZBJpiA7d4cMtm3bXN5V4NThiVgC/0etBSrfEhcUQAMz 7DCA==
X-Gm-Message-State: ABUngvcSuGHMw0BXUGsWB5/XW8JQIdVKJWAEcuQjIVHayDruso84WjpEDezdavRvAD3JRXCegQihfBnwgXsJyw==
X-Received: by 10.55.161.21 with SMTP id k21mr24056544qke.149.1479232876676; Tue, 15 Nov 2016 10:01:16 -0800 (PST)
MIME-Version: 1.0
Sender: jinmei.tatuya@gmail.com
Received: by 10.237.53.155 with HTTP; Tue, 15 Nov 2016 10:01:15 -0800 (PST)
In-Reply-To: <CAJ3w4NejrFAT3RK7i0W46HkQNJjhPxbhzQiL=3fcrceidTzHNQ@mail.gmail.com>
References: <CAJE_bqebwr2WUUgaNgiYS4_8L77Gxj4Os+oPRG407B6ELMEhCQ@mail.gmail.com> <CAJ3w4Ndi5Gq63n5kZnanRhLM8nWE2wsWGh0kJJLJnq=VoXLuCg@mail.gmail.com> <CAJE_bqegh1DfWjfK2BxeC_fWa0cEk-KJNP0AT-TQuEa39w_wVQ@mail.gmail.com> <CAJ3w4NdM99nv4C19Xj=aosNme+_Ymyys=xQ3UWUfeZReZC4ckA@mail.gmail.com> <CAJE_bqdhGZnK16MooiyujDgthDNnR74EiwW0OevrN6uq4b4ANw@mail.gmail.com> <CAJE_bqfKUZe2yaW1sAq7rrib0M7wz28HHtPLqCHK=vXcN6amgg@mail.gmail.com> <CAJ3w4Nd3s+ZojjiotLkKwys6truhUgK6F-90UYjcpB9iw=fKKQ@mail.gmail.com> <m2r36nuqvn.wl%jinmei.tatuya@gmail.com> <CAJ3w4NeuNYTrX4p5rtZ6UceD5ydQ-B-vY6aqQzxWnXsrDOEFEA@mail.gmail.com> <CAJE_bqdh-bgk7BHZJnaFFBr3PDj4ZnSSGeGNdQ70F7dv91iQrA@mail.gmail.com> <CAJ3w4NfU9PrC9a+MGnJ=Es1yir_asHB3p1=9GfxZZ0iSe+At+Q@mail.gmail.com> <CAJE_bqfRBYkrniWQ+vtPULTURnvyV792QNGvr8JhhZpGQ0MSdA@mail.gmail.com> <CAJ3w4NerRzHYsRqcUAkAjHX23PYVF4Jv0wKcd33vXRRg+-0EAQ@mail.gmail.com> <CAJ3w4NekPk0TuAZW_jmTDYQHd8JP3GsrA0qrKYrnyqSSk3qwxw@mail.gmail.com> <CAJE_bqc8hkrc3dYefTPWi-mUCtZD+oYsrobCK1KjmVGRnNfMCw@mail.gmail.com> <CAJ3w4NejrFAT3RK7i0W46HkQNJjhPxbhzQiL=3fcrceidTzHNQ@mail.gmail.com>
From: =?UTF-8?B?56We5piO6YGU5ZOJ?= <jinmei@wide.ad.jp>
Date: Tue, 15 Nov 2016 10:01:15 -0800
X-Google-Sender-Auth: MENr25oGQ3jBrTmhDqUAEcZk0QI
Message-ID: <CAJE_bqcCwZWPHuZ0UR8_jyCUsaTrYKzLD8zUKwChYaCL06yT9A@mail.gmail.com>
To: Lishan Li <lilishan48@gmail.com>
Content-Type: text/plain; charset=UTF-8
Archived-At: <https://mailarchive.ietf.org/arch/msg/dhcwg/AY7kvcVJoMLpAfuf3jckzRUEvAE>
Cc: "dhcwg@ietf.org" <dhcwg@ietf.org>
Subject: Re: [dhcwg] preliminary comments on draft-ietf-dhc-sedhcpv6-17
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, 15 Nov 2016 18:01:19 -0000

At Tue, 15 Nov 2016 15:27:46 +0800,
Lishan Li <lilishan48@gmail.com> wrote:

> > BTW this makes me notice one related issue: it doesn't seem to be
> > possible for a server to identify the private key to decrypt the
> > message contained in an Encrypted-message Option contained in the
> > Encrypted-Query message unless it tries all private keys it might be
> > used.
> >
> [LS]: The private key which is corresponding to the public key for
> encryption
> algorithm is used for decryption. After sending the Reply message, the
> message
> transaction-id is used as the identifier of the private key for decryption.

Can you be more specific about this?  For example, assume the client
tries to send a Solicit message encrypting it with a server's public
key (and assume the server supports multiple algorithms and multiple
key pairs).  The encrypted solicit message that the server receives
would look like this:

msg-type: Encrypted-Query
transaction-id: some random number the client generates on building
  the Encrypted-Query (per Section 15.1 of RFC3315 or 16.1 of
  rfc3315bis-06).
options:
  Encrypted-message option:
    option-code: OPTION_ENCRYPTED_MSG
    option-len: set appropriately
    encrypted DHCPv6 message: opaque data to be decrypted

Do you mean the server can use the transaction-id included in the
Encrypted-Query message to identify the algorithm and the private key
to decrypt "encrypted DHCPv6 message"?  If so, specifically how?  As
noted above the transaction-id value is chosen by the client at the
time of generating this message and the server cannot know or
(easily) predict it in advance.

--
JINMEI, Tatuya


From nobody Tue Nov 15 17:51:51 2016
Return-Path: <internet-drafts@ietf.org>
X-Original-To: dhcwg@ietf.org
Delivered-To: dhcwg@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id A8990129628; Tue, 15 Nov 2016 17:51:49 -0800 (PST)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: internet-drafts@ietf.org
To: <i-d-announce@ietf.org>
X-Test-IDTracker: no
X-IETF-IDTracker: 6.37.1
Auto-Submitted: auto-generated
Precedence: bulk
Message-ID: <147926110968.10280.1069366290686663362.idtracker@ietfa.amsl.com>
Date: Tue, 15 Nov 2016 17:51:49 -0800
Archived-At: <https://mailarchive.ietf.org/arch/msg/dhcwg/bqvaqMxs95ja0auo67vlcHxsYtg>
Cc: dhcwg@ietf.org
Subject: [dhcwg] I-D Action: draft-fsc-softwire-dhcp4o6-saddr-opt-06.txt
X-BeenThere: dhcwg@ietf.org
X-Mailman-Version: 2.1.17
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: Wed, 16 Nov 2016 01:51:50 -0000

A New Internet-Draft is available from the on-line Internet-Drafts directories.
This draft is a work item of the Dynamic Host Configuration of the IETF.

        Title           : DHCPv4 over DHCPv6 Source Address Option
        Authors         : Ian Farrer
                          Qi Sun
                          Yong Cui
	Filename        : draft-fsc-softwire-dhcp4o6-saddr-opt-06.txt
	Pages           : 9
	Date            : 2016-11-15

Abstract:
   DHCPv4 over DHCPv6 [RFC7341] describes a mechanism for dynamically
   configuring IPv4 over an IPv6-only network.  For DHCPv4 over DHCPv6
   to function with some IPv4-over-IPv6 softwire mechanisms and
   deployment scenarios, the operator must learn the /128 IPv6 address
   that the client will use as the source of IPv4-in-IPv6 tunnel.  This
   address, in conjunction with the IPv4 address and the Port Set ID
   allocated to the DHCP 4o6 client are used to create a binding table
   entry in the softwire tunnel concentrator.  This memo defines two
   DHCPv6 options used to communicate the source tunnel IPv6 address
   between the DHCP 4o6 client and server.  It also describes a method
   for configuring the client with the IPv6 address of the border router
   so that the softwire can be established.  It is designed to work in
   conjunction with the IPv4 address allocation process.


The IETF datatracker status page for this draft is:
https://datatracker.ietf.org/doc/draft-fsc-softwire-dhcp4o6-saddr-opt/

There's also a htmlized version available at:
https://tools.ietf.org/html/draft-fsc-softwire-dhcp4o6-saddr-opt-06

A diff from the previous version is available at:
https://www.ietf.org/rfcdiff?url2=draft-fsc-softwire-dhcp4o6-saddr-opt-06


Please note that it may take a couple of minutes from the time of submission
until the htmlized version and diff are available at tools.ietf.org.

Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/


From nobody Tue Nov 15 17:56:27 2016
Return-Path: <ianfarrer@gmx.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 9EA0F12958D; Tue, 15 Nov 2016 17:56:23 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.601
X-Spam-Level: 
X-Spam-Status: No, score=-2.601 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=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 WdSKnn5alpMI; Tue, 15 Nov 2016 17:56:22 -0800 (PST)
Received: from mout.gmx.net (mout.gmx.net [212.227.17.20]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 26C1F129544; Tue, 15 Nov 2016 17:56:21 -0800 (PST)
Received: from dhcp-80b6.meeting.ietf.org ([31.133.128.182]) by mail.gmx.com (mrgmx103 [212.227.17.174]) with ESMTPSA (Nemesis) id 0MGB7j-1c2eTU0oUh-00FA8d; Wed, 16 Nov 2016 02:56:19 +0100
From: Ian Farrer <ianfarrer@gmx.com>
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Message-Id: <6BCF488C-69FC-4965-8784-1331EE62AF67@gmx.com>
Date: Wed, 16 Nov 2016 10:56:16 +0900
To: softwires <softwires@ietf.org>, dhcwg <dhcwg@ietf.org>
Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\))
X-Mailer: Apple Mail (2.3124)
X-Provags-ID: V03:K0:CWvjtb/1PBJPlO5mmxnM6XsMwi4Ncoh9Xx1NGO9keahWaogsrYq Jo26tJ1kOdbrh6bUFhI29ZTzSWYUA2V76vprzdcyHzb/1jc/xk64mZD+3VV13wKVRsyjqkJ E+oBYU55VQROky9LvJpoY8so+KNMSXeqmNZCcPq3iiEo3i5rdPifHlunSb0u+PQD2xt26Ma g0bvhZCqUN54xXhuOmMdg==
X-UI-Out-Filterresults: notjunk:1;V01:K0:pVVycHcEGUM=:PqYtIk8BH/mBQ2sp5MbX0L FIfMr88tt3xe7uIOflHPJLyam8VatYTtEqTVCoPdJ3xyNByVk8jlvKFm0ZvqRQ+ZXgDE8/tf4 Rrf95jqv62fwcoE4VsV3fTJVlThRmX2Gkfn8vkoogvlkvVtcG4tr4RnYhHm9ZghnM6DVxvthW sDkp79dD+MoNMTRIaRYpSu85vVmIlZ/BSxa/LiJNJjaHMtcuBK4ONQ4X6BUbkMCdyj+UiS/++ qb5sLE/63XzWNPKqu0rDwTegclOI5d0Wwu9pfg6vn6F4bNxkp591k3gbyvM6OzmsR67V35lb8 hcnrGl7Ci3Fq8YAUCaB/CSGCmsU89gt5javFoOcsAqM9kCQ/j06NODkWEPGIghjkqNDfHC2qv hSi3nS/LG1ZIBzBGaOd2XjnxTpjhPbKd9HFyiFR5oA+fAcjSDWFpmV9u2LKNsD0scSQklTk81 7X/qLzExUccHlx/TKsZsBmRcH8bWE2donmF+V94fBG/QrMvDVroRo+aoybgMawSFgElr03ev8 iSEKQLV+f6r00PzyzQvXtY80e7nO3aF+GZeIMabmz1X5ZrbojXWq15qKpuIQsl3IN7GEt1BrV UoNQj1NUKLd3Ex+FOcYxdsm9LFlFage87erB+XCd1Zgb9KwwVyRPv/kq/11dpxUJ96zc2t/CQ jgcVmNkDMqMKeO3A+Y2aQnMJCtIHxXoTyADV0pjMvU9OhUU8QSMTe9abEULZthQ2pN3J0ySI5 cgVHDED+9zt75pUYi6UPASrFl4Jf2j5IVPwnlcP7x5Rfn3QU6wbe6/TsPZRNoGEghMCQVu2MF BPD6k3D
Archived-At: <https://mailarchive.ietf.org/arch/msg/dhcwg/x5AKSF5RITo2ZGuVeVPphn2y2lc>
Subject: Re: [dhcwg] I-D Action: draft-fsc-softwire-dhcp4o6-saddr-opt-06.txt
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: Wed, 16 Nov 2016 01:56:23 -0000

Hi,

In advance of Friday=E2=80=99s presentation in (and hopefully re-homing =
to) DHC.

This version is a small update, adding some text about the creation of a =
dedicated IPv6 address to use as a tunnel endpoint.

Thanks,
Ian=


From nobody Wed Nov 16 04:17:45 2016
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 D1F89129784 for <dhcwg@ietfa.amsl.com>; Wed, 16 Nov 2016 04:17:43 -0800 (PST)
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 6OFcsJW3r8xf for <dhcwg@ietfa.amsl.com>; Wed, 16 Nov 2016 04:17:42 -0800 (PST)
Received: from mail-qk0-x22b.google.com (mail-qk0-x22b.google.com [IPv6:2607:f8b0:400d:c09::22b]) (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 EE4B7129421 for <dhcwg@ietf.org>; Wed, 16 Nov 2016 04:17:41 -0800 (PST)
Received: by mail-qk0-x22b.google.com with SMTP id x190so172169334qkb.0 for <dhcwg@ietf.org>; Wed, 16 Nov 2016 04:17:41 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=z1nKbgQYHznCkqB/A9XkIxPpDtXwk8peflYh4pSkUpg=; b=hLpjEugk2zeCV3wLhM5uG/6yGgYwOB3INO7Etd6oNBNGqy9xmVdOcXKelRxsBUKQjQ OI6rFCjMoz8n+0a2rktBiIQfFabm6UMSopgjO8JdFqc3nDbik6amPpVJk2OSbQ9yesi4 erpHkAbe5ue3Cbnu8h53qJyk8vY+UP1RG/KU15kEYQ71oT+xpD4ZxWx69vT90zQd/JOX 0Jh2Gh9eCqeTjVygZ+Ggjc4ET4QZq8LEiu+eMg+ixdTxZcasxygldU59X+tliFXcVH3V 5dK898KJuTkUTPuMPfr44eQEmz9eR5U5n3vTPKhZoP23ZfZxAJjnMaEDlPEz6KCDjlSz P9BQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=z1nKbgQYHznCkqB/A9XkIxPpDtXwk8peflYh4pSkUpg=; b=P+G59kvlz7vKbSr3VefRKN3F6kEdSErFFl789+9+JxbGEIFA7NJXVQFDl1mS0SYe8U nE2HYGXJuFMfVmfPKDXTtVlDOEYhEbRdem+VWDYIPcXZudz7HeBWClalPiAMYK8HsjsN fCj0koTZIu2K1P8j+T43WP5k+65coy80BlFlpujkimUj29uTeoZHgUb4ZWYpDEW2ScOy t3Car5RtzKPs6QCGR17e1CKpI0jBTU1G5YXRRRlPSqdcyRtqPLCwqQ387tS3/Wr4WIh/ 1Upx09aWw7XZh9OhVuZ8cy4pKiw/1XBRCnyJka4w7c1HmcENnjhmpcLIiCVusEapUiyx Njzg==
X-Gm-Message-State: AKaTC02mQT5xqAODy/EKhagm9LLdvCAJh2qmZ6e7sbp5sKPulpuUyRfHxXe1H8uLxMcc4qcOsDIBuwr/D1TTFQ==
X-Received: by 10.55.17.68 with SMTP id b65mr2766842qkh.60.1479298661072; Wed, 16 Nov 2016 04:17:41 -0800 (PST)
MIME-Version: 1.0
Received: by 10.237.62.242 with HTTP; Wed, 16 Nov 2016 04:17:40 -0800 (PST)
In-Reply-To: <CAJE_bqcCwZWPHuZ0UR8_jyCUsaTrYKzLD8zUKwChYaCL06yT9A@mail.gmail.com>
References: <CAJE_bqebwr2WUUgaNgiYS4_8L77Gxj4Os+oPRG407B6ELMEhCQ@mail.gmail.com> <CAJ3w4Ndi5Gq63n5kZnanRhLM8nWE2wsWGh0kJJLJnq=VoXLuCg@mail.gmail.com> <CAJE_bqegh1DfWjfK2BxeC_fWa0cEk-KJNP0AT-TQuEa39w_wVQ@mail.gmail.com> <CAJ3w4NdM99nv4C19Xj=aosNme+_Ymyys=xQ3UWUfeZReZC4ckA@mail.gmail.com> <CAJE_bqdhGZnK16MooiyujDgthDNnR74EiwW0OevrN6uq4b4ANw@mail.gmail.com> <CAJE_bqfKUZe2yaW1sAq7rrib0M7wz28HHtPLqCHK=vXcN6amgg@mail.gmail.com> <CAJ3w4Nd3s+ZojjiotLkKwys6truhUgK6F-90UYjcpB9iw=fKKQ@mail.gmail.com> <m2r36nuqvn.wl%jinmei.tatuya@gmail.com> <CAJ3w4NeuNYTrX4p5rtZ6UceD5ydQ-B-vY6aqQzxWnXsrDOEFEA@mail.gmail.com> <CAJE_bqdh-bgk7BHZJnaFFBr3PDj4ZnSSGeGNdQ70F7dv91iQrA@mail.gmail.com> <CAJ3w4NfU9PrC9a+MGnJ=Es1yir_asHB3p1=9GfxZZ0iSe+At+Q@mail.gmail.com> <CAJE_bqfRBYkrniWQ+vtPULTURnvyV792QNGvr8JhhZpGQ0MSdA@mail.gmail.com> <CAJ3w4NerRzHYsRqcUAkAjHX23PYVF4Jv0wKcd33vXRRg+-0EAQ@mail.gmail.com> <CAJ3w4NekPk0TuAZW_jmTDYQHd8JP3GsrA0qrKYrnyqSSk3qwxw@mail.gmail.com> <CAJE_bqc8hkrc3dYefTPWi-mUCtZD+oYsrobCK1KjmVGRnNfMCw@mail.gmail.com> <CAJ3w4NejrFAT3RK7i0W46HkQNJjhPxbhzQiL=3fcrceidTzHNQ@mail.gmail.com> <CAJE_bqcCwZWPHuZ0UR8_jyCUsaTrYKzLD8zUKwChYaCL06yT9A@mail.gmail.com>
From: Lishan Li <lilishan48@gmail.com>
Date: Wed, 16 Nov 2016 20:17:40 +0800
Message-ID: <CAJ3w4NfS8PKOMHcP5s_Nsp5K5eWJfXWRF-vNEau_ekqTRwE=wA@mail.gmail.com>
To: =?UTF-8?B?56We5piO6YGU5ZOJ?= <jinmei@wide.ad.jp>
Content-Type: multipart/alternative; boundary=001a1146f10635dcff05416a0fb0
Archived-At: <https://mailarchive.ietf.org/arch/msg/dhcwg/t3h5B1_6fqHeE3b0W80iTu0c0U0>
Cc: "dhcwg@ietf.org" <dhcwg@ietf.org>
Subject: Re: [dhcwg] preliminary comments on draft-ietf-dhc-sedhcpv6-17
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: Wed, 16 Nov 2016 12:17:44 -0000

--001a1146f10635dcff05416a0fb0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

In the before, Bernie proposed the same question. And we made the following
consensus: The Encrypted-Query and Encrypted-Response message use the same
transaction-id with the before Information-request and Reply message.

2016-11-16 2:01 GMT+08:00 =E7=A5=9E=E6=98=8E=E9=81=94=E5=93=89 <jinmei@wide=
.ad.jp>:

> At Tue, 15 Nov 2016 15:27:46 +0800,
> Lishan Li <lilishan48@gmail.com> wrote:
>
> > > BTW this makes me notice one related issue: it doesn't seem to be
> > > possible for a server to identify the private key to decrypt the
> > > message contained in an Encrypted-message Option contained in the
> > > Encrypted-Query message unless it tries all private keys it might be
> > > used.
> > >
> > [LS]: The private key which is corresponding to the public key for
> > encryption
> > algorithm is used for decryption. After sending the Reply message, the
> > message
> > transaction-id is used as the identifier of the private key for
> decryption.
>
> Can you be more specific about this?  For example, assume the client
> tries to send a Solicit message encrypting it with a server's public
> key (and assume the server supports multiple algorithms and multiple
> key pairs).  The encrypted solicit message that the server receives
> would look like this:
>
> msg-type: Encrypted-Query
> transaction-id: some random number the client generates on building
>   the Encrypted-Query (per Section 15.1 of RFC3315 or 16.1 of
>   rfc3315bis-06).
>
[LS]: So, in this sample, the transaction-id is not some random number, but
the same content with the transaction-id in Information-request and reply
message.

> options:
>   Encrypted-message option:
>     option-code: OPTION_ENCRYPTED_MSG
>     option-len: set appropriately
>     encrypted DHCPv6 message: opaque data to be decrypted
>
> Do you mean the server can use the transaction-id included in the
> Encrypted-Query message to identify the algorithm and the private key
> to decrypt "encrypted DHCPv6 message"?  If so, specifically how?  As
> noted above the transaction-id value is chosen by the client at the
> time of generating this message and the server cannot know or
> (easily) predict it in advance.
>

Best Regards,
Lishan

--001a1146f10635dcff05416a0fb0
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">In the before, Bernie proposed the same question. And we m=
ade the following consensus: The Encrypted-Query and Encrypted-Response mes=
sage use the same transaction-id with the before Information-request and Re=
ply message.=C2=A0<div class=3D"gmail_extra"><br><div class=3D"gmail_quote"=
>2016-11-16 2:01 GMT+08:00 =E7=A5=9E=E6=98=8E=E9=81=94=E5=93=89 <span dir=
=3D"ltr">&lt;<a href=3D"mailto:jinmei@wide.ad.jp" target=3D"_blank">jinmei@=
wide.ad.jp</a>&gt;</span>:<br><blockquote class=3D"gmail_quote" style=3D"ma=
rgin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">At Tue, 15 Nov=
 2016 15:27:46 +0800,<br>
<span class=3D"">Lishan Li &lt;<a href=3D"mailto:lilishan48@gmail.com">lili=
shan48@gmail.com</a>&gt; wrote:<br>
<br>
&gt; &gt; BTW this makes me notice one related issue: it doesn&#39;t seem t=
o be<br>
&gt; &gt; possible for a server to identify the private key to decrypt the<=
br>
&gt; &gt; message contained in an Encrypted-message Option contained in the=
<br>
&gt; &gt; Encrypted-Query message unless it tries all private keys it might=
 be<br>
&gt; &gt; used.<br>
&gt; &gt;<br>
&gt; [LS]: The private key which is corresponding to the public key for<br>
&gt; encryption<br>
&gt; algorithm is used for decryption. After sending the Reply message, the=
<br>
&gt; message<br>
&gt; transaction-id is used as the identifier of the private key for decryp=
tion.<br>
<br>
</span>Can you be more specific about this?=C2=A0 For example, assume the c=
lient<br>
tries to send a Solicit message encrypting it with a server&#39;s public<br=
>
key (and assume the server supports multiple algorithms and multiple<br>
key pairs).=C2=A0 The encrypted solicit message that the server receives<br=
>
would look like this:<br>
<br>
msg-type: Encrypted-Query<br>
transaction-id: some random number the client generates on building<br>
=C2=A0 the Encrypted-Query (per Section 15.1 of RFC3315 or 16.1 of<br>
=C2=A0 rfc3315bis-06).<br></blockquote><div>[LS]: So, in this sample, the t=
ransaction-id is not some random number, but the same content with the tran=
saction-id in Information-request and reply message.=C2=A0</div><blockquote=
 class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc soli=
d;padding-left:1ex">
options:<br>
=C2=A0 Encrypted-message option:<br>
=C2=A0 =C2=A0 option-code: OPTION_ENCRYPTED_MSG<br>
=C2=A0 =C2=A0 option-len: set appropriately<br>
=C2=A0 =C2=A0 encrypted DHCPv6 message: opaque data to be decrypted<br>
<br>
Do you mean the server can use the transaction-id included in the<br>
Encrypted-Query message to identify the algorithm and the private key<br>
to decrypt &quot;encrypted DHCPv6 message&quot;?=C2=A0 If so, specifically =
how?=C2=A0 As<br>
noted above the transaction-id value is chosen by the client at the<br>
time of generating this message and the server cannot know or<br>
(easily) predict it in advance.<br></blockquote><div><br></div><div>Best Re=
gards,</div><div>Lishan=C2=A0</div></div></div></div>

--001a1146f10635dcff05416a0fb0--


From nobody Wed Nov 16 09:49:06 2016
Return-Path: <jinmei.tatuya@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 04BC2129489 for <dhcwg@ietfa.amsl.com>; Wed, 16 Nov 2016 09:49:05 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.4
X-Spam-Level: 
X-Spam-Status: No, score=-2.4 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.199, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=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 8tfa-Vxj0iyI for <dhcwg@ietfa.amsl.com>; Wed, 16 Nov 2016 09:49:03 -0800 (PST)
Received: from mail-qk0-x22f.google.com (mail-qk0-x22f.google.com [IPv6:2607:f8b0:400d:c09::22f]) (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 758F01294BC for <dhcwg@ietf.org>; Wed, 16 Nov 2016 09:49:03 -0800 (PST)
Received: by mail-qk0-x22f.google.com with SMTP id n204so185487798qke.2 for <dhcwg@ietf.org>; Wed, 16 Nov 2016 09:49:03 -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:from:date:message-id :subject:to:cc; bh=hvRT+GPfEXiGPvo+O6nOhbO4fz2tC8k4D7xx+GC6CuE=; b=cPuG42IHx3gwEPSrsiuJvG40M15ucuiS5LON5bzNsNaTKiVgQ8DS9Wt4sQ2kH38Bvx twSvNl5izJw3opVVjlme8GEobdgDeAC+LqEujes6alC7XTGNRCk+zi8X8xVrNy6fcfA5 PuclnA4dKji2Z1v1lUmSOm1rvggEmno6ke5W/nEoy7qUo8fcR9cHzGvAno/bErAns6Il rFhIucsCkaD+GHOF+ZuWWtc6Wy8H1mCcjX4OwO2Q7KNBak4+B2hqHoN20D+ZXGDky4pA 20ewPIRjTFyNLJApbRWvO80d8QH1s4KyTXMbBMOTSn8/57sgp+85Fe2k5J9by8VvaiOg O8AA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=hvRT+GPfEXiGPvo+O6nOhbO4fz2tC8k4D7xx+GC6CuE=; b=cIME04JLlnjJMgxbjSf1vTNdB/KOUo7JBYZCR+TnTkyewSw/JGL+KK2bV3DMbgAyg+ AqYUPdFR/LBnJLl9buvPRl5fqby7DLol9RE9yzU0Wf4Xm58y1HretWmZUMvILzjLMVgb 18D3Iu+bigIZiHv/IEdcK4G64sUOftFV/TPEmjBVH7ZcIJy2HA1h1ORU9xNc1rEN3Mwl qrLweEO+ZcEXJyKeMlx34ZHoRY12pjPY4DTswec6CpK0j6TS+koVg5a8YumToeYkBdVg T0mg5pyZEtLStyrjAaNR2i2tMXw61pi6+1SeHWljIx9UE40dYtm2FCyUD1VmJKipx5Mu GTuQ==
X-Gm-Message-State: AKaTC015k033YZnZpVP++sGe9eUyD346OLWEaNH06Lqn8uxnpjjurHuJVKtIizBcvHYAKygnc1IOkYIr34/I+g==
X-Received: by 10.55.20.164 with SMTP id 36mr4542757qku.86.1479318542592; Wed, 16 Nov 2016 09:49:02 -0800 (PST)
MIME-Version: 1.0
Sender: jinmei.tatuya@gmail.com
Received: by 10.237.53.155 with HTTP; Wed, 16 Nov 2016 09:49:01 -0800 (PST)
In-Reply-To: <CAJ3w4NfS8PKOMHcP5s_Nsp5K5eWJfXWRF-vNEau_ekqTRwE=wA@mail.gmail.com>
References: <CAJE_bqebwr2WUUgaNgiYS4_8L77Gxj4Os+oPRG407B6ELMEhCQ@mail.gmail.com> <CAJ3w4Ndi5Gq63n5kZnanRhLM8nWE2wsWGh0kJJLJnq=VoXLuCg@mail.gmail.com> <CAJE_bqegh1DfWjfK2BxeC_fWa0cEk-KJNP0AT-TQuEa39w_wVQ@mail.gmail.com> <CAJ3w4NdM99nv4C19Xj=aosNme+_Ymyys=xQ3UWUfeZReZC4ckA@mail.gmail.com> <CAJE_bqdhGZnK16MooiyujDgthDNnR74EiwW0OevrN6uq4b4ANw@mail.gmail.com> <CAJE_bqfKUZe2yaW1sAq7rrib0M7wz28HHtPLqCHK=vXcN6amgg@mail.gmail.com> <CAJ3w4Nd3s+ZojjiotLkKwys6truhUgK6F-90UYjcpB9iw=fKKQ@mail.gmail.com> <m2r36nuqvn.wl%jinmei.tatuya@gmail.com> <CAJ3w4NeuNYTrX4p5rtZ6UceD5ydQ-B-vY6aqQzxWnXsrDOEFEA@mail.gmail.com> <CAJE_bqdh-bgk7BHZJnaFFBr3PDj4ZnSSGeGNdQ70F7dv91iQrA@mail.gmail.com> <CAJ3w4NfU9PrC9a+MGnJ=Es1yir_asHB3p1=9GfxZZ0iSe+At+Q@mail.gmail.com> <CAJE_bqfRBYkrniWQ+vtPULTURnvyV792QNGvr8JhhZpGQ0MSdA@mail.gmail.com> <CAJ3w4NerRzHYsRqcUAkAjHX23PYVF4Jv0wKcd33vXRRg+-0EAQ@mail.gmail.com> <CAJ3w4NekPk0TuAZW_jmTDYQHd8JP3GsrA0qrKYrnyqSSk3qwxw@mail.gmail.com> <CAJE_bqc8hkrc3dYefTPWi-mUCtZD+oYsrobCK1KjmVGRnNfMCw@mail.gmail.com> <CAJ3w4NejrFAT3RK7i0W46HkQNJjhPxbhzQiL=3fcrceidTzHNQ@mail.gmail.com> <CAJE_bqcCwZWPHuZ0UR8_jyCUsaTrYKzLD8zUKwChYaCL06yT9A@mail.gmail.com> <CAJ3w4NfS8PKOMHcP5s_Nsp5K5eWJfXWRF-vNEau_ekqTRwE=wA@mail.gmail.com>
From: =?UTF-8?B?56We5piO6YGU5ZOJ?= <jinmei@wide.ad.jp>
Date: Wed, 16 Nov 2016 09:49:01 -0800
X-Google-Sender-Auth: q_DUu0e3ImfqruFuD9TegQ9SYgA
Message-ID: <CAJE_bqfqSXFR9R5wf1USg-zs+nvdohQFq99kQL2DiapXvUdEqA@mail.gmail.com>
To: Lishan Li <lilishan48@gmail.com>
Content-Type: text/plain; charset=UTF-8
Archived-At: <https://mailarchive.ietf.org/arch/msg/dhcwg/49505I99nXvKUx4p8eNae4ueaL4>
Cc: "dhcwg@ietf.org" <dhcwg@ietf.org>
Subject: Re: [dhcwg] preliminary comments on draft-ietf-dhc-sedhcpv6-17
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: Wed, 16 Nov 2016 17:49:05 -0000

At Wed, 16 Nov 2016 20:17:40 +0800,
Lishan Li <lilishan48@gmail.com> wrote:

> In the before, Bernie proposed the same question. And we made the following
> consensus: The Encrypted-Query and Encrypted-Response message use the same
> transaction-id with the before Information-request and Reply message.

I'm not sure if I fully understand it, but if I understand it I
suspect it doesn't really solve this issue.  Two different clients can
happen to use the same transaction-id for the initial
Information-request and Reply (almost at the same time).  And yet it's
possible that the preference and/or support level of algorithms for
these clients are different and the server uses different algorithms
and different key pairs for these clients.

Now, these clients will then set the same transaction-id in the
subsequent Encrypted-Query message.  So the server can't determine
which previous client (and therefore, algorithm and key) it should
assume sent the message.

Besides, (if I understand it correctly) it's not really a
transaction-id at all anymore - the client will have to keep using the
same transaction-id for all subsequent encrypted-query messages.  In
effect, this now works as a "key ID" (but it's incomplete even in that
sense due to the possible conflicts with other clients as noted
above).  Then why not introduce that concept more explicitly?  Since
we are designing a new protocol we don't have to rely on a hack such
as overloading the existing field (such a trick might be necessary if
we need to provide, e.g., backward compatibility, but that's not the
case here).

--
JINMEI, Tatuya


From nobody Wed Nov 16 13:37:29 2016
Return-Path: <volz@cisco.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 A97421295B3 for <dhcwg@ietfa.amsl.com>; Wed, 16 Nov 2016 13:37:27 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -16.018
X-Spam-Level: 
X-Spam-Status: No, score=-16.018 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-1.497, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.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 gO4Ti1yMTsb6 for <dhcwg@ietfa.amsl.com>; Wed, 16 Nov 2016 13:37:26 -0800 (PST)
Received: from alln-iport-8.cisco.com (alln-iport-8.cisco.com [173.37.142.95]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D9476129567 for <dhcwg@ietf.org>; Wed, 16 Nov 2016 13:37:25 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=2212; q=dns/txt; s=iport; t=1479332245; x=1480541845; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=7YEfe/i9pqAbmB6z88uHZJEYG5gxeZV5wLhEa1cLFn0=; b=lX6fTA0PLziWPwkXsuMSnCUtIIoXsrWRwoo250ZOTzA32PXYy7sZVRdj IsXRfTFScaIG+x4yV2jDsuFh4bvY9RHOOGnd6u42hHPTMDpGVlFmCSD4r vcssTVRZwAYAeEcvBqiOfm72n4+lwdYyVTijBcxSJg32uPKvtnnMVMNtn 0=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0AUAQCf0CxY/5JdJa1eGQEBAQEBAQEBA?= =?us-ascii?q?QEBBwEBAQEBgzcBAQEBAR9YgQCNPpcOgxmEVIx1ggcdC4V5AoISPxQBAgEBAQE?= =?us-ascii?q?BAQFiKIRoAQEBAwEBAQEeAUwLBQsCAQgYAQMLGgMCIQYLJQIEDgWIUgMPCA6VH?= =?us-ascii?q?51AAYIth0YNhBABAQEBAQEBAQEBAQEBAQEBAQEBAQEXBYEGhzOCXYJIgWsWgwE?= =?us-ascii?q?wgjAFmg01AY0dg0oKkBmJI4QqhAkBHjeBBxyFHXKIJgEBAQ?=
X-IronPort-AV: E=Sophos;i="5.31,650,1473120000"; d="scan'208";a="349202187"
Received: from rcdn-core-10.cisco.com ([173.37.93.146]) by alln-iport-8.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 16 Nov 2016 21:37:25 +0000
Received: from XCH-RCD-001.cisco.com (xch-rcd-001.cisco.com [173.37.102.11]) by rcdn-core-10.cisco.com (8.14.5/8.14.5) with ESMTP id uAGLbPjY002122 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=FAIL); Wed, 16 Nov 2016 21:37:25 GMT
Received: from xch-aln-003.cisco.com (173.36.7.13) by XCH-RCD-001.cisco.com (173.37.102.11) with Microsoft SMTP Server (TLS) id 15.0.1210.3; Wed, 16 Nov 2016 15:37:24 -0600
Received: from xch-aln-003.cisco.com ([173.36.7.13]) by XCH-ALN-003.cisco.com ([173.36.7.13]) with mapi id 15.00.1210.000; Wed, 16 Nov 2016 15:37:23 -0600
From: "Bernie Volz (volz)" <volz@cisco.com>
To: =?iso-2022-jp?B?GyRCP0BMQEMjOkgbKEI=?= <jinmei@wide.ad.jp>
Thread-Topic: [dhcwg] preliminary comments on draft-ietf-dhc-sedhcpv6-17
Thread-Index: AQHSQDG/LDuigbFGKEeCZlU07i6vtaDcItjc
Date: Wed, 16 Nov 2016 21:37:23 +0000
Message-ID: <EE901089-B46D-499A-895B-CAD248033FC6@cisco.com>
References: <CAJE_bqebwr2WUUgaNgiYS4_8L77Gxj4Os+oPRG407B6ELMEhCQ@mail.gmail.com> <CAJ3w4Ndi5Gq63n5kZnanRhLM8nWE2wsWGh0kJJLJnq=VoXLuCg@mail.gmail.com> <CAJE_bqegh1DfWjfK2BxeC_fWa0cEk-KJNP0AT-TQuEa39w_wVQ@mail.gmail.com> <CAJ3w4NdM99nv4C19Xj=aosNme+_Ymyys=xQ3UWUfeZReZC4ckA@mail.gmail.com> <CAJE_bqdhGZnK16MooiyujDgthDNnR74EiwW0OevrN6uq4b4ANw@mail.gmail.com> <CAJE_bqfKUZe2yaW1sAq7rrib0M7wz28HHtPLqCHK=vXcN6amgg@mail.gmail.com> <CAJ3w4Nd3s+ZojjiotLkKwys6truhUgK6F-90UYjcpB9iw=fKKQ@mail.gmail.com> <m2r36nuqvn.wl%jinmei.tatuya@gmail.com> <CAJ3w4NeuNYTrX4p5rtZ6UceD5ydQ-B-vY6aqQzxWnXsrDOEFEA@mail.gmail.com> <CAJE_bqdh-bgk7BHZJnaFFBr3PDj4ZnSSGeGNdQ70F7dv91iQrA@mail.gmail.com> <CAJ3w4NfU9PrC9a+MGnJ=Es1yir_asHB3p1=9GfxZZ0iSe+At+Q@mail.gmail.com> <CAJE_bqfRBYkrniWQ+vtPULTURnvyV792QNGvr8JhhZpGQ0MSdA@mail.gmail.com> <CAJ3w4NerRzHYsRqcUAkAjHX23PYVF4Jv0wKcd33vXRRg+-0EAQ@mail.gmail.com> <CAJ3w4NekPk0TuAZW_jmTDYQHd8JP3GsrA0qrKYrnyqSSk3qwxw@mail.gmail.com> <CAJE_bqc8hkrc3dYefTPWi-mUCtZD+oYsrobCK1KjmVGRnNfMCw@mail.gmail.com> <CAJ3w4NejrFAT3RK7i0W46HkQNJjhPxbhzQiL=3fcrceidTzHNQ@mail.gmail.com> <CAJE_bqcCwZWPHuZ0UR8_jyCUsaTrYKzLD8zUKwChYaCL06yT9A@mail.gmail.com> <CAJ3w4NfS8PKOMHcP5s_Nsp5K5eWJfXWRF-vNEau_ekqTRwE=wA@mail.gmail.com>, <CAJE_bqfqSXFR9R5wf1USg-zs+nvdohQFq99kQL2DiapXvUdEqA@mail.gmail.com>
In-Reply-To: <CAJE_bqfqSXFR9R5wf1USg-zs+nvdohQFq99kQL2DiapXvUdEqA@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-ms-exchange-transport-fromentityheader: Hosted
Content-Type: text/plain; charset="iso-2022-jp"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/dhcwg/pmmXhC2aGW_4YWKCgVBwNHdBjec>
Cc: "dhcwg@ietf.org" <dhcwg@ietf.org>
Subject: Re: [dhcwg] preliminary comments on draft-ietf-dhc-sedhcpv6-17
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: Wed, 16 Nov 2016 21:37:28 -0000

FYI - I don't recall recommending that transaction-id stay consistent. I ag=
ree with Jinmei that this isn't unique (multiple clients may be using the s=
ame).

If you need a number, it may be better to have an explicit one.

- Bernie (from iPhone)

> On Nov 17, 2016, at 2:49 AM, =1B$B?@L@C#:H=1B(B <jinmei@wide.ad.jp> wrote=
:
>=20
> At Wed, 16 Nov 2016 20:17:40 +0800,
> Lishan Li <lilishan48@gmail.com> wrote:
>=20
>> In the before, Bernie proposed the same question. And we made the follow=
ing
>> consensus: The Encrypted-Query and Encrypted-Response message use the sa=
me
>> transaction-id with the before Information-request and Reply message.
>=20
> I'm not sure if I fully understand it, but if I understand it I
> suspect it doesn't really solve this issue.  Two different clients can
> happen to use the same transaction-id for the initial
> Information-request and Reply (almost at the same time).  And yet it's
> possible that the preference and/or support level of algorithms for
> these clients are different and the server uses different algorithms
> and different key pairs for these clients.
>=20
> Now, these clients will then set the same transaction-id in the
> subsequent Encrypted-Query message.  So the server can't determine
> which previous client (and therefore, algorithm and key) it should
> assume sent the message.
>=20
> Besides, (if I understand it correctly) it's not really a
> transaction-id at all anymore - the client will have to keep using the
> same transaction-id for all subsequent encrypted-query messages.  In
> effect, this now works as a "key ID" (but it's incomplete even in that
> sense due to the possible conflicts with other clients as noted
> above).  Then why not introduce that concept more explicitly?  Since
> we are designing a new protocol we don't have to rely on a hack such
> as overloading the existing field (such a trick might be necessary if
> we need to provide, e.g., backward compatibility, but that's not the
> case here).
>=20
> --
> JINMEI, Tatuya
>=20
> _______________________________________________
> dhcwg mailing list
> dhcwg@ietf.org
> https://www.ietf.org/mailman/listinfo/dhcwg


From nobody Thu Nov 17 00:16:44 2016
Return-Path: <volz@cisco.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 2FC6112946A for <dhcwg@ietfa.amsl.com>; Thu, 17 Nov 2016 00:16:43 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -16.018
X-Spam-Level: 
X-Spam-Status: No, score=-16.018 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-1.497, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.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 E8Hmlv2-Xa_q for <dhcwg@ietfa.amsl.com>; Thu, 17 Nov 2016 00:16:41 -0800 (PST)
Received: from rcdn-iport-2.cisco.com (rcdn-iport-2.cisco.com [173.37.86.73]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id AB6D0129411 for <dhcwg@ietf.org>; Thu, 17 Nov 2016 00:16:41 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=1556; q=dns/txt; s=iport; t=1479370601; x=1480580201; h=from:to:subject:date:message-id:references:in-reply-to: content-transfer-encoding:mime-version; bh=J+CkcYX3z4izXjJHnMESkiVVBgpgjidv5yzNjNvaKfQ=; b=j26u19u+QeoFux56rFXLfNWCQyTVmvZmyL4ISZoc8sYJJ0uuF6no+eii CFdIPRa9v30vDHWq1/WLYNlTcHZP4PnMY/ZaVhi/fzMKsAzbYL1qVbXly ddH/inpCeqzxPDE7/oAGmVRWf4BFDWuw+aZCCVfvPS8yxvlDHvTFUmix5 o=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0DCAQA1Zi1Y/4ENJK1eGwEBAQMBAQEJA?= =?us-ascii?q?QEBgykOAQEBAQEfWIEAB404lw6UY4IHKIV5AhqCBD8UAQIBAQEBAQEBYh0LhGg?= =?us-ascii?q?BAQEEIxE6GwIBCBEDAQIDAiYCAgIwFQYBAQUDAgQTCIhkDq09gimLYQEBAQEBA?= =?us-ascii?q?QEBAQEBAQEBAQEBAQEBARcFgQmKDYRggm2CXQWaQgGGPYolgXeINYV/jU+ECgE?= =?us-ascii?q?eN4ELhTtyhxqBDAEBAQ?=
X-IronPort-AV: E=Sophos;i="5.31,504,1473120000"; d="scan'208";a="175222414"
Received: from alln-core-9.cisco.com ([173.36.13.129]) by rcdn-iport-2.cisco.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 17 Nov 2016 08:16:40 +0000
Received: from XCH-RCD-003.cisco.com (xch-rcd-003.cisco.com [173.37.102.13]) by alln-core-9.cisco.com (8.14.5/8.14.5) with ESMTP id uAH8GeRV017543 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=FAIL) for <dhcwg@ietf.org>; Thu, 17 Nov 2016 08:16:40 GMT
Received: from xch-aln-003.cisco.com (173.36.7.13) by XCH-RCD-003.cisco.com (173.37.102.13) with Microsoft SMTP Server (TLS) id 15.0.1210.3; Thu, 17 Nov 2016 02:16:40 -0600
Received: from xch-aln-003.cisco.com ([173.36.7.13]) by XCH-ALN-003.cisco.com ([173.36.7.13]) with mapi id 15.00.1210.000; Thu, 17 Nov 2016 02:16:40 -0600
From: "Bernie Volz (volz)" <volz@cisco.com>
To: "dhcwg@ietf.org" <dhcwg@ietf.org>
Thread-Topic: IoT Directorate
Thread-Index: AQHSQGV+zJiuVoWoeEq9xtrhrggF26DdKlKA//+qXaA=
Date: Thu, 17 Nov 2016 08:16:40 +0000
Message-ID: <98a74c2bee8f450c986abfceec8109e2@XCH-ALN-003.cisco.com>
References: <3EF7E08B-F36D-4EB9-999E-0E41FBFAAB4D@icann.org> <93fd6950-7054-286a-0431-c10779254be8@ericsson.com>
In-Reply-To: <93fd6950-7054-286a-0431-c10779254be8@ericsson.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [10.86.241.185]
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/dhcwg/qAv1cdGFKacOCf4PFgrjFxja60M>
Subject: [dhcwg] FW: IoT Directorate
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: Thu, 17 Nov 2016 08:16:43 -0000

SGk6DQoNClRoZXJlIHdhcyBhIHJlcXVlc3QgZm9yIFdHIGNoYWlycyB0byBmb3J3YXJkIHRoaXMg
b250byBXRyBtYWlsaW5nIGxpc3RzLiBTbyBzZWUgYmVsb3cgZm9yIHlvdXIgcmVhZGluZyBwbGVh
c3VyZSAuLi4NCg0KLSBCZXJuaWUNCg0KLS0tLS0tLS0gRm9yd2FyZGVkIE1lc3NhZ2UgLS0tLS0t
LS0NClN1YmplY3Q6IElvVCBEaXJlY3RvcmF0ZQ0KRGF0ZTogV2VkLCAxNiBOb3YgMjAxNiAyMzo1
OTo0MSArMDAwMA0KRnJvbTogVGVycnkgTWFuZGVyc29uIDx0ZXJyeS5tYW5kZXJzb25AaWNhbm4u
b3JnPg0KVG86IGlldGZAaWV0Zi5vcmcgPGlldGZAaWV0Zi5vcmc+DQoNCkRlYXIgSUVURiwNCg0K
VGhlIGludGVyZXN0IGluIElvVCB0ZWNobm9sb2dpZXMgaW4gdGhlIElFVEYsIGFuZCBtb3JlIGJy
b2FkbHkgaW4gaW5kdXN0cnkgYW5kIG90aGVyIFNET3MsIGlzIGNvbnRpbnVpbmcgdG8gZ3JvdyBh
bmQgaXNzdWVzIHdpdGggcmVnYXJkIHRvIElvVCBhcmUgYmVpbmcgcmFpc2VkLg0KDQpBbiBJb1Qg
RGlyZWN0b3JhdGUgaGFzIGJlZW4gY3JlYXRlZCB3aXRoaW4gdGhlIElOVEVSTkVUIEFyZWEgdG8g
YWN0IGFzIGEgY29vcmRpbmF0aW9uIGFuZCByZXZpZXcgcG9pbnQgaW4gdGhlIElFVEYuDQoNCllv
dSB3aWxsIGZpbmQgbW9yZSBpbmZvcm1hdGlvbiBvbiB0aGUgSW9UIGRpcmVjdG9yYXRlIGhlcmUN
CihodHRwczovL3RyYWMuaWV0Zi5vcmcvdHJhYy9pbnQvd2lraS9JT1REaXJXaWtpKSBhbG9uZyB3
aXRoIGluc3RydWN0aW9ucyBvbiBob3cgdG8gam9pbiB0aGUgZGlyZWN0b3JhdGUuDQoNClRoZSBz
ZWF0ZWQgY2hhaXJzIG9mIHRoZSBkaXJlY3RvcmF0ZSBhcmU6DQoNClNhbWl0YSBDaGFrcmFiYXJ0
aQ0KVGVkIExlbW9uDQpBcmkgS2Vyw6RuZW4NCg0KSWYgeW91IGhhdmUgYW4gYWN0aXZlIGludGVy
ZXN0IGFuZCBhcmUgd2lsbGluZyB0byBjb250cmlidXRlIGEgc2xpY2Ugb2YgeW91ciB2YWx1YWJs
ZSB0aW1lIHRvIHRoZSBkaXJlY3RvcmF0ZSBJIGRvIGVuY291cmFnZSB5b3UgdG8gcmVhZCB0aGUg
bWVtYmVyc2hpcCBhbmQgcGFydGljaXBhdGlvbiBzZWN0aW9uIGF0IHRoZSBhYm92ZSBVUkwuDQoN
CktpbmQgUmVnYXJkcywNCg0KVGVycnkgYW5kIFN1cmVzaA0KSU5UIEFyZWEgQURzDQoNCg==


From nobody Thu Nov 17 06:19:37 2016
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 F09FF129598 for <dhcwg@ietfa.amsl.com>; Thu, 17 Nov 2016 06:19:36 -0800 (PST)
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 vrodVi233d-y for <dhcwg@ietfa.amsl.com>; Thu, 17 Nov 2016 06:19:35 -0800 (PST)
Received: from mail-qk0-x22b.google.com (mail-qk0-x22b.google.com [IPv6:2607:f8b0:400d:c09::22b]) (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 1A83B128B44 for <dhcwg@ietf.org>; Thu, 17 Nov 2016 06:19:35 -0800 (PST)
Received: by mail-qk0-x22b.google.com with SMTP id n204so221478258qke.2 for <dhcwg@ietf.org>; Thu, 17 Nov 2016 06:19:35 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=a2CUDzBlb1HRkqwJUA2cWBrJYzF11zC7ufgjFl3aXvk=; b=xyhqtsL1xvzoY70fuWvnL//N54MFrsi6mhv2xD5qPSfVhAyK45V7+oZCcp8nwGb65z QHKyxhci8pZCNnzMEf7F8wZGEg/lzqCVjUKWKQLy6z1EQ+xYKsgIyRmiYbxZ1GYfqfKf 8pHtorZ3KHaFORZDXaQ523LUkb1TBF2ECKk1rQjVv1oiRuxfOYMOQcc03zvSWDICX+ht ct2bW2NYFDs+vEpSXfTeRVGZaB/LgqVe9DfL6VDFDRTWWpcvP4WjtjqSmOcnsDZ7MNiC Hy0i+0khhGc3j2DJpon1VHRn91tUH+hlankpc1YzMpPt74rfs4/BHfNO7dDCi8971am1 ptpA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=a2CUDzBlb1HRkqwJUA2cWBrJYzF11zC7ufgjFl3aXvk=; b=Yka3MPs86jWWrH9mQO1l1YhSzMyTQB2etQ7iZJqFmvuhtjeRPD9UfWc71F+Z17N01R IwZj5dXX0mOoasOJQ81T54+88fKKcm11GiSgvHOqzMkKx6J9smt22u7pJewYHAtvFoJ2 dKTZ1+to2tbX/sifMC7rF8fXcQ5IkUmZgUurG25nKqzOGKmcljPigXNHlVnMDKTUSS7p r5z1RqJF/2oImb9LpRo0URV5pL/n/++On0DhYNCIDZLBM9GqlhAdTUfI3+BejRDRCwCY 4nGbUyccKqLJCES+kATHIzpZV7MVEfuLbloAwmCOjtaEs+x6s+GeNMm/F9VRQPex7gdS 3qvA==
X-Gm-Message-State: AKaTC03/BK331w1Pzy188Lak1bTjJgEk5eesZk9VpRRmmfQE28PtSL3Q1k9GwideDVxvGGzu0Qc5N+ysekvkGw==
X-Received: by 10.55.27.141 with SMTP id m13mr4228071qkh.28.1479392374239; Thu, 17 Nov 2016 06:19:34 -0800 (PST)
MIME-Version: 1.0
Received: by 10.237.62.242 with HTTP; Thu, 17 Nov 2016 06:19:33 -0800 (PST)
In-Reply-To: <CAJE_bqfqSXFR9R5wf1USg-zs+nvdohQFq99kQL2DiapXvUdEqA@mail.gmail.com>
References: <CAJE_bqebwr2WUUgaNgiYS4_8L77Gxj4Os+oPRG407B6ELMEhCQ@mail.gmail.com> <CAJ3w4Ndi5Gq63n5kZnanRhLM8nWE2wsWGh0kJJLJnq=VoXLuCg@mail.gmail.com> <CAJE_bqegh1DfWjfK2BxeC_fWa0cEk-KJNP0AT-TQuEa39w_wVQ@mail.gmail.com> <CAJ3w4NdM99nv4C19Xj=aosNme+_Ymyys=xQ3UWUfeZReZC4ckA@mail.gmail.com> <CAJE_bqdhGZnK16MooiyujDgthDNnR74EiwW0OevrN6uq4b4ANw@mail.gmail.com> <CAJE_bqfKUZe2yaW1sAq7rrib0M7wz28HHtPLqCHK=vXcN6amgg@mail.gmail.com> <CAJ3w4Nd3s+ZojjiotLkKwys6truhUgK6F-90UYjcpB9iw=fKKQ@mail.gmail.com> <m2r36nuqvn.wl%jinmei.tatuya@gmail.com> <CAJ3w4NeuNYTrX4p5rtZ6UceD5ydQ-B-vY6aqQzxWnXsrDOEFEA@mail.gmail.com> <CAJE_bqdh-bgk7BHZJnaFFBr3PDj4ZnSSGeGNdQ70F7dv91iQrA@mail.gmail.com> <CAJ3w4NfU9PrC9a+MGnJ=Es1yir_asHB3p1=9GfxZZ0iSe+At+Q@mail.gmail.com> <CAJE_bqfRBYkrniWQ+vtPULTURnvyV792QNGvr8JhhZpGQ0MSdA@mail.gmail.com> <CAJ3w4NerRzHYsRqcUAkAjHX23PYVF4Jv0wKcd33vXRRg+-0EAQ@mail.gmail.com> <CAJ3w4NekPk0TuAZW_jmTDYQHd8JP3GsrA0qrKYrnyqSSk3qwxw@mail.gmail.com> <CAJE_bqc8hkrc3dYefTPWi-mUCtZD+oYsrobCK1KjmVGRnNfMCw@mail.gmail.com> <CAJ3w4NejrFAT3RK7i0W46HkQNJjhPxbhzQiL=3fcrceidTzHNQ@mail.gmail.com> <CAJE_bqcCwZWPHuZ0UR8_jyCUsaTrYKzLD8zUKwChYaCL06yT9A@mail.gmail.com> <CAJ3w4NfS8PKOMHcP5s_Nsp5K5eWJfXWRF-vNEau_ekqTRwE=wA@mail.gmail.com> <CAJE_bqfqSXFR9R5wf1USg-zs+nvdohQFq99kQL2DiapXvUdEqA@mail.gmail.com>
From: Lishan Li <lilishan48@gmail.com>
Date: Thu, 17 Nov 2016 22:19:33 +0800
Message-ID: <CAJ3w4Ncj40JwrW6UB+TVFvymByU5Y9iFv5QroWhwUzkLrS2DTg@mail.gmail.com>
To: =?UTF-8?B?56We5piO6YGU5ZOJ?= <jinmei@wide.ad.jp>
Content-Type: multipart/alternative; boundary=001a11409a56f337de05417fe01f
Archived-At: <https://mailarchive.ietf.org/arch/msg/dhcwg/STJTfRvjsfHYwiY8-jhBNDRy_9g>
Cc: "dhcwg@ietf.org" <dhcwg@ietf.org>
Subject: Re: [dhcwg] preliminary comments on draft-ietf-dhc-sedhcpv6-17
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: Thu, 17 Nov 2016 14:19:37 -0000

--001a11409a56f337de05417fe01f
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

2016-11-17 1:49 GMT+08:00 =E7=A5=9E=E6=98=8E=E9=81=94=E5=93=89 <jinmei@wide=
.ad.jp>:

> At Wed, 16 Nov 2016 20:17:40 +0800,
> Lishan Li <lilishan48@gmail.com> wrote:
>
> > In the before, Bernie proposed the same question. And we made the
> following
> > consensus: The Encrypted-Query and Encrypted-Response message use the
> same
> > transaction-id with the before Information-request and Reply message.
>
> I'm not sure if I fully understand it, but if I understand it I
> suspect it doesn't really solve this issue.  Two different clients can
> happen to use the same transaction-id for the initial
> Information-request and Reply (almost at the same time).  And yet it's
> possible that the preference and/or support level of algorithms for
> these clients are different and the server uses different algorithms
> and different key pairs for these clients.
>
> Now, these clients will then set the same transaction-id in the
> subsequent Encrypted-Query message.  So the server can't determine
> which previous client (and therefore, algorithm and key) it should
> assume sent the message.
>
> Besides, (if I understand it correctly) it's not really a
> transaction-id at all anymore - the client will have to keep using the
> same transaction-id for all subsequent encrypted-query messages.  In
> effect, this now works as a "key ID" (but it's incomplete even in that
> sense due to the possible conflicts with other clients as noted
> above).  Then why not introduce that concept more explicitly?  Since
> we are designing a new protocol we don't have to rely on a hack such
> as overloading the existing field (such a trick might be necessary if
> we need to provide, e.g., backward compatibility, but that's not the
> case here).
>
[LS]: I don't think it is a problem caused by secure DHCPv6. DHCPv6
also has this problem. If the two clients share one same transaction-id,
how the server distinguish two clients? And a new transaction-id is
generated for Encrypted-Query and Encrypted-Response message,
two clients may also generate the same transaction-id.

Whatever, in your suggested method, the transaction-id in the
Encrypted-Query and Encrypted-Response message is used
as Key ID. There are two problem:
1. How is the key id generated?
2. how the server knows the private key for decryption.
The server has to tries to use all the private key that may
be used. Does the server identify the key id in the Reply
message, and then the client set the transaction-id in the
Encrypted-Query message with the acknowledged key-id?

Best Regards,
Lishan

--001a11409a56f337de05417fe01f
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_extra"><div class=3D"gmail_quote">2016=
-11-17 1:49 GMT+08:00 =E7=A5=9E=E6=98=8E=E9=81=94=E5=93=89 <span dir=3D"ltr=
">&lt;<a href=3D"mailto:jinmei@wide.ad.jp" target=3D"_blank">jinmei@wide.ad=
.jp</a>&gt;</span>:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 =
0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">At Wed, 16 Nov 2016 2=
0:17:40 +0800,<br>
<span class=3D"">Lishan Li &lt;<a href=3D"mailto:lilishan48@gmail.com">lili=
shan48@gmail.com</a>&gt; wrote:<br>
<br>
&gt; In the before, Bernie proposed the same question. And we made the foll=
owing<br>
&gt; consensus: The Encrypted-Query and Encrypted-Response message use the =
same<br>
&gt; transaction-id with the before Information-request and Reply message.<=
br>
<br>
</span>I&#39;m not sure if I fully understand it, but if I understand it I<=
br>
suspect it doesn&#39;t really solve this issue.=C2=A0 Two different clients=
 can<br>
happen to use the same transaction-id for the initial<br>
Information-request and Reply (almost at the same time).=C2=A0 And yet it&#=
39;s<br>
possible that the preference and/or support level of algorithms for<br>
these clients are different and the server uses different algorithms<br>
and different key pairs for these clients.<br>
<br>
Now, these clients will then set the same transaction-id in the<br>
subsequent Encrypted-Query message.=C2=A0 So the server can&#39;t determine=
<br>
which previous client (and therefore, algorithm and key) it should<br>
assume sent the message.<br>
<br>
Besides, (if I understand it correctly) it&#39;s not really a<br>
transaction-id at all anymore - the client will have to keep using the<br>
same transaction-id for all subsequent encrypted-query messages.=C2=A0 In<b=
r>
effect, this now works as a &quot;key ID&quot; (but it&#39;s incomplete eve=
n in that<br>
sense due to the possible conflicts with other clients as noted<br>
above).=C2=A0 Then why not introduce that concept more explicitly?=C2=A0 Si=
nce<br>
we are designing a new protocol we don&#39;t have to rely on a hack such<br=
>
as overloading the existing field (such a trick might be necessary if<br>
we need to provide, e.g., backward compatibility, but that&#39;s not the<br=
>
case here).<br></blockquote><div>[LS]: I don&#39;t think it is a problem ca=
used by secure DHCPv6. DHCPv6</div><div>also has this problem. If the two c=
lients share one same transaction-id,</div><div>how the server distinguish =
two clients? And a new transaction-id is=C2=A0</div><div>generated for Encr=
ypted-Query and Encrypted-Response message,</div><div>two clients may also =
generate the same transaction-id.</div><div><br></div><div>Whatever, in you=
r suggested method, the transaction-id in the=C2=A0</div><div>Encrypted-Que=
ry and Encrypted-Response message is used=C2=A0</div><div>as Key ID. There =
are two problem:=C2=A0</div><div>1. How is the key id generated?</div><div>=
2. how the server knows the private key for decryption.=C2=A0</div><div>The=
 server has to tries to use all the private key that may=C2=A0</div><div>be=
 used. Does the server identify the key id in the Reply=C2=A0</div><div>mes=
sage, and then the client set the transaction-id in the=C2=A0</div><div>Enc=
rypted-Query message with the acknowledged key-id?</div><div><br></div><div=
>Best Regards,</div><div>Lishan</div></div></div></div>

--001a11409a56f337de05417fe01f--


From nobody Thu Nov 17 07:53:17 2016
Return-Path: <jinmei.tatuya@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 0159912957F for <dhcwg@ietfa.amsl.com>; Thu, 17 Nov 2016 07:53:16 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.4
X-Spam-Level: 
X-Spam-Status: No, score=-2.4 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.199, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=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 udqp0EoeoyYl for <dhcwg@ietfa.amsl.com>; Thu, 17 Nov 2016 07:53:14 -0800 (PST)
Received: from mail-qk0-x22f.google.com (mail-qk0-x22f.google.com [IPv6:2607:f8b0:400d:c09::22f]) (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 5C747129634 for <dhcwg@ietf.org>; Thu, 17 Nov 2016 07:53:14 -0800 (PST)
Received: by mail-qk0-x22f.google.com with SMTP id q130so225998981qke.1 for <dhcwg@ietf.org>; Thu, 17 Nov 2016 07:53:14 -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:from:date:message-id :subject:to:cc; bh=4Adqg5waCH9jEZk+RRS+Ar0naufHbarcX2+9l3RkCKc=; b=dX3RzI+B+7aqyD+L+p/wzgRMIU4dmi666h51lItwOklZJdAjIeoa7NIfKTq/gQrEAd O1AkSTs/a2EF2S8R38NtT20h+SMDBYXWOgHYvGMcnkpeLVK6npe5/AktwVG35p32qyWp llG3TdJksNI7yFvsFgIEcpSGMCeMahRCH4mGOLDo/SQIaJHNcr3SUl66g+6LqngnGBvk 9LsDeL+UsIAxkksfxFe8ohkCjLCM8s8Vd7FTM3UnSWFqw53OrYpZQDxVYlH3D8cTL5du GfFw6AIf/fLT8o6eOqBO/Dw9Q/zN5foNSe+4fDiCHS3FTk8flYKGgAcX4OTbgkFq8E5z GDrg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=4Adqg5waCH9jEZk+RRS+Ar0naufHbarcX2+9l3RkCKc=; b=gRkKlZvWswa9pVkzbgGvLPZstOoJ15PwgBoC1Rwd7lZHkCqQlUa1scdSWXLIJvLD5F niCn3c78eXxmwxJlrJ46B3UWc2BYJ/Hm3FFnZG2A8D1eqYtSMTIs2LXaviG1sSaPjAC+ WLeZXDcyd14qgEq/E2He+QVCfxe3XJ12ea4XIm1O4xTlbOFktoT1Q9iT2GumyEQQDE0X vT2noAbExpRpOVBdUWdI1nurWyiVs9IBXQHy0e8FoL2TpFiK5ZXbTY34rF/kgjfLGR+N vvSLkfdECmapWp9Fl5sVxXeq9Vqxnq29RcfcPfVyU3ZMyMk32+k4huDT3ZBtd+kM0ZwL gqPA==
X-Gm-Message-State: AKaTC02VIyYr0AZw3JW3VWJOZupEAHtJ3yXqWl1qI5+p7fMrDvAkyl49BSePsHqvTbyAeXbQ13qAmqbP7YZ3cQ==
X-Received: by 10.55.65.75 with SMTP id o72mr3764522qka.19.1479397993345; Thu, 17 Nov 2016 07:53:13 -0800 (PST)
MIME-Version: 1.0
Sender: jinmei.tatuya@gmail.com
Received: by 10.237.53.155 with HTTP; Thu, 17 Nov 2016 07:53:12 -0800 (PST)
In-Reply-To: <CAJ3w4Ncj40JwrW6UB+TVFvymByU5Y9iFv5QroWhwUzkLrS2DTg@mail.gmail.com>
References: <CAJE_bqebwr2WUUgaNgiYS4_8L77Gxj4Os+oPRG407B6ELMEhCQ@mail.gmail.com> <CAJ3w4Ndi5Gq63n5kZnanRhLM8nWE2wsWGh0kJJLJnq=VoXLuCg@mail.gmail.com> <CAJE_bqegh1DfWjfK2BxeC_fWa0cEk-KJNP0AT-TQuEa39w_wVQ@mail.gmail.com> <CAJ3w4NdM99nv4C19Xj=aosNme+_Ymyys=xQ3UWUfeZReZC4ckA@mail.gmail.com> <CAJE_bqdhGZnK16MooiyujDgthDNnR74EiwW0OevrN6uq4b4ANw@mail.gmail.com> <CAJE_bqfKUZe2yaW1sAq7rrib0M7wz28HHtPLqCHK=vXcN6amgg@mail.gmail.com> <CAJ3w4Nd3s+ZojjiotLkKwys6truhUgK6F-90UYjcpB9iw=fKKQ@mail.gmail.com> <m2r36nuqvn.wl%jinmei.tatuya@gmail.com> <CAJ3w4NeuNYTrX4p5rtZ6UceD5ydQ-B-vY6aqQzxWnXsrDOEFEA@mail.gmail.com> <CAJE_bqdh-bgk7BHZJnaFFBr3PDj4ZnSSGeGNdQ70F7dv91iQrA@mail.gmail.com> <CAJ3w4NfU9PrC9a+MGnJ=Es1yir_asHB3p1=9GfxZZ0iSe+At+Q@mail.gmail.com> <CAJE_bqfRBYkrniWQ+vtPULTURnvyV792QNGvr8JhhZpGQ0MSdA@mail.gmail.com> <CAJ3w4NerRzHYsRqcUAkAjHX23PYVF4Jv0wKcd33vXRRg+-0EAQ@mail.gmail.com> <CAJ3w4NekPk0TuAZW_jmTDYQHd8JP3GsrA0qrKYrnyqSSk3qwxw@mail.gmail.com> <CAJE_bqc8hkrc3dYefTPWi-mUCtZD+oYsrobCK1KjmVGRnNfMCw@mail.gmail.com> <CAJ3w4NejrFAT3RK7i0W46HkQNJjhPxbhzQiL=3fcrceidTzHNQ@mail.gmail.com> <CAJE_bqcCwZWPHuZ0UR8_jyCUsaTrYKzLD8zUKwChYaCL06yT9A@mail.gmail.com> <CAJ3w4NfS8PKOMHcP5s_Nsp5K5eWJfXWRF-vNEau_ekqTRwE=wA@mail.gmail.com> <CAJE_bqfqSXFR9R5wf1USg-zs+nvdohQFq99kQL2DiapXvUdEqA@mail.gmail.com> <CAJ3w4Ncj40JwrW6UB+TVFvymByU5Y9iFv5QroWhwUzkLrS2DTg@mail.gmail.com>
From: =?UTF-8?B?56We5piO6YGU5ZOJ?= <jinmei@wide.ad.jp>
Date: Thu, 17 Nov 2016 07:53:12 -0800
X-Google-Sender-Auth: ELLHWZ5IbPkvE3NmUhwrI1RnbkE
Message-ID: <CAJE_bqd38grUh9q57a-H29GsMx5Dpv9VE0iBMO7v_-y97zZZUg@mail.gmail.com>
To: Lishan Li <lilishan48@gmail.com>
Content-Type: text/plain; charset=UTF-8
Archived-At: <https://mailarchive.ietf.org/arch/msg/dhcwg/oik46SPgUFwL_02_Ucmfh-LFiRU>
Cc: "dhcwg@ietf.org" <dhcwg@ietf.org>
Subject: Re: [dhcwg] preliminary comments on draft-ietf-dhc-sedhcpv6-17
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: Thu, 17 Nov 2016 15:53:16 -0000

At Thu, 17 Nov 2016 22:19:33 +0800,
Lishan Li <lilishan48@gmail.com> wrote:

> [LS]: I don't think it is a problem caused by secure DHCPv6. DHCPv6
> also has this problem. If the two clients share one same transaction-id,
> how the server distinguish two clients? And a new transaction-id is
> generated for Encrypted-Query and Encrypted-Response message,
> two clients may also generate the same transaction-id.

There seems to be some fundamental confusion about transaction-id.  In
bare DHCPv6, the transaction-id is for each client to match a response
with the message it sent (distinguishing from other messages the
client might have sent in parallel).  So there's no problem even if
multiple clients use the same transaction ID at the same time.  This
is a new problem introduced in your proposal.

--
JINMEI, Tatuya


From nobody Thu Nov 17 08:56:40 2016
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 CA2FD1296C0 for <dhcwg@ietfa.amsl.com>; Thu, 17 Nov 2016 08:56:38 -0800 (PST)
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 EbRtaX_7IHCe for <dhcwg@ietfa.amsl.com>; Thu, 17 Nov 2016 08:56:37 -0800 (PST)
Received: from mail-qk0-x231.google.com (mail-qk0-x231.google.com [IPv6:2607:f8b0:400d:c09::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 5932912965B for <dhcwg@ietf.org>; Thu, 17 Nov 2016 08:56:37 -0800 (PST)
Received: by mail-qk0-x231.google.com with SMTP id n21so229079378qka.3 for <dhcwg@ietf.org>; Thu, 17 Nov 2016 08:56:37 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=Ks9SwWdFuuJ7/btdD6J5P4a+d2FrABHjPKopOtB5+GU=; b=Nv7Fe0a0v/EsL33DEJru3jHfa0pHvdb4WYRRAnfbQ7dUwK/XAlNK1Z9YGPLH7u5IU6 nLv+98lZju4ysBGkHvnF9NzZDSb+hnbR19OQav8xpCHXHnE5fewM422onpq4hIDT4xpQ zbSxhnnkZd+hb3wZ8+QYFKkMQCHf3qwAG3BFqIhhda8Hn9nvPan5d45aJiFoKdevVn/l ScS4o1dMl/cJSBYnadyQhToBUF7EdTc/41xrIlCOs2m42IsgI+we8loqOgq2j0qPyvZC SOXSFN/ZcRdPgT5hXziiLY12nt8vztRpLDKsuaOF/avndlhNBazzLKkIp4l5QlgnCQfj LLqg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=Ks9SwWdFuuJ7/btdD6J5P4a+d2FrABHjPKopOtB5+GU=; b=kWIiOloAb7DB4hWrKpnphcFYfNA7WeI6OrOJqM3wOWBoQvvGPZQLtqDQ49ws4J+gul bb91b1B7R0h6vm7D14kpvVH5l2op4YXjNkDmTUrgQMKL8OjcHY8Vsv21Gbm0xizIXxlY +GEc4DZCxCUCrihD2gfHWvBFIh9q0Hj1/1Fvzd/N/phhDKM+oD5nh6PBfydWdBEltMGA EdAiMkSnVzKB6LG0MH8fDXAFKMqYqfNgY6wM3lmGm/YybdZQrhrHW+UdOmKfMbhP6wmi wcQ7a5A68qlgFMYrBolm6IVOQc8jWTODqidtcT/WvxyU2msXhyZToQOLil4BpYQ6NAnc 05kg==
X-Gm-Message-State: AKaTC009Upmw0nzfuyng/UjxrGcz6P9fX2M2BStB5Yopyl99aJawmmeq8RewceKjqJ+GMvWZ89qbeQBXXkLLnw==
X-Received: by 10.55.48.72 with SMTP id w69mr4973548qkw.320.1479401796439; Thu, 17 Nov 2016 08:56:36 -0800 (PST)
MIME-Version: 1.0
Received: by 10.237.62.242 with HTTP; Thu, 17 Nov 2016 08:56:35 -0800 (PST)
In-Reply-To: <CAJE_bqd38grUh9q57a-H29GsMx5Dpv9VE0iBMO7v_-y97zZZUg@mail.gmail.com>
References: <CAJE_bqebwr2WUUgaNgiYS4_8L77Gxj4Os+oPRG407B6ELMEhCQ@mail.gmail.com> <CAJ3w4Ndi5Gq63n5kZnanRhLM8nWE2wsWGh0kJJLJnq=VoXLuCg@mail.gmail.com> <CAJE_bqegh1DfWjfK2BxeC_fWa0cEk-KJNP0AT-TQuEa39w_wVQ@mail.gmail.com> <CAJ3w4NdM99nv4C19Xj=aosNme+_Ymyys=xQ3UWUfeZReZC4ckA@mail.gmail.com> <CAJE_bqdhGZnK16MooiyujDgthDNnR74EiwW0OevrN6uq4b4ANw@mail.gmail.com> <CAJE_bqfKUZe2yaW1sAq7rrib0M7wz28HHtPLqCHK=vXcN6amgg@mail.gmail.com> <CAJ3w4Nd3s+ZojjiotLkKwys6truhUgK6F-90UYjcpB9iw=fKKQ@mail.gmail.com> <m2r36nuqvn.wl%jinmei.tatuya@gmail.com> <CAJ3w4NeuNYTrX4p5rtZ6UceD5ydQ-B-vY6aqQzxWnXsrDOEFEA@mail.gmail.com> <CAJE_bqdh-bgk7BHZJnaFFBr3PDj4ZnSSGeGNdQ70F7dv91iQrA@mail.gmail.com> <CAJ3w4NfU9PrC9a+MGnJ=Es1yir_asHB3p1=9GfxZZ0iSe+At+Q@mail.gmail.com> <CAJE_bqfRBYkrniWQ+vtPULTURnvyV792QNGvr8JhhZpGQ0MSdA@mail.gmail.com> <CAJ3w4NerRzHYsRqcUAkAjHX23PYVF4Jv0wKcd33vXRRg+-0EAQ@mail.gmail.com> <CAJ3w4NekPk0TuAZW_jmTDYQHd8JP3GsrA0qrKYrnyqSSk3qwxw@mail.gmail.com> <CAJE_bqc8hkrc3dYefTPWi-mUCtZD+oYsrobCK1KjmVGRnNfMCw@mail.gmail.com> <CAJ3w4NejrFAT3RK7i0W46HkQNJjhPxbhzQiL=3fcrceidTzHNQ@mail.gmail.com> <CAJE_bqcCwZWPHuZ0UR8_jyCUsaTrYKzLD8zUKwChYaCL06yT9A@mail.gmail.com> <CAJ3w4NfS8PKOMHcP5s_Nsp5K5eWJfXWRF-vNEau_ekqTRwE=wA@mail.gmail.com> <CAJE_bqfqSXFR9R5wf1USg-zs+nvdohQFq99kQL2DiapXvUdEqA@mail.gmail.com> <CAJ3w4Ncj40JwrW6UB+TVFvymByU5Y9iFv5QroWhwUzkLrS2DTg@mail.gmail.com> <CAJE_bqd38grUh9q57a-H29GsMx5Dpv9VE0iBMO7v_-y97zZZUg@mail.gmail.com>
From: Lishan Li <lilishan48@gmail.com>
Date: Fri, 18 Nov 2016 00:56:35 +0800
Message-ID: <CAJ3w4Ne63cnqoeTZk=PDmAN9+i6jwzyxbK+up45wB9h+xUDSfw@mail.gmail.com>
To: =?UTF-8?B?56We5piO6YGU5ZOJ?= <jinmei@wide.ad.jp>
Content-Type: multipart/alternative; boundary=001a114908be8e9edc05418212b0
Archived-At: <https://mailarchive.ietf.org/arch/msg/dhcwg/Hgpvo3aHqsAG4DRyjSSuVQzJ-4Q>
Cc: "dhcwg@ietf.org" <dhcwg@ietf.org>
Subject: Re: [dhcwg] preliminary comments on draft-ietf-dhc-sedhcpv6-17
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: Thu, 17 Nov 2016 16:56:39 -0000

--001a114908be8e9edc05418212b0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

2016-11-17 23:53 GMT+08:00 =E7=A5=9E=E6=98=8E=E9=81=94=E5=93=89 <jinmei@wid=
e.ad.jp>:

> At Thu, 17 Nov 2016 22:19:33 +0800,
> Lishan Li <lilishan48@gmail.com> wrote:
>
> > [LS]: I don't think it is a problem caused by secure DHCPv6. DHCPv6
> > also has this problem. If the two clients share one same transaction-id=
,
> > how the server distinguish two clients? And a new transaction-id is
> > generated for Encrypted-Query and Encrypted-Response message,
> > two clients may also generate the same transaction-id.
>
> There seems to be some fundamental confusion about transaction-id.  In
> bare DHCPv6, the transaction-id is for each client to match a response
> with the message it sent (distinguishing from other messages the
> client might have sent in parallel).  So there's no problem even if
> multiple clients use the same transaction ID at the same time.  This
> is a new problem introduced in your proposal.
>
[LS]: Thanks a lot for your explanation.
Then, for the next step, the transaction-id of Encrypted-Query and
Encrypted-Response message works as identifier for the public key
of encryption and private key for decryption.
When receiving the first Encrypted-Query message, the server has
to try all the private keys that it might use.
Could you please check whether my understanding correct?

Thanks again,
Lishan

--001a114908be8e9edc05418212b0
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_extra"><div class=3D"gmail_quote">2016=
-11-17 23:53 GMT+08:00 =E7=A5=9E=E6=98=8E=E9=81=94=E5=93=89 <span dir=3D"lt=
r">&lt;<a href=3D"mailto:jinmei@wide.ad.jp" target=3D"_blank">jinmei@wide.a=
d.jp</a>&gt;</span>:<br><blockquote class=3D"gmail_quote" style=3D"margin:0=
 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">At Thu, 17 Nov 2016 =
22:19:33 +0800,<br>
<span>Lishan Li &lt;<a href=3D"mailto:lilishan48@gmail.com" target=3D"_blan=
k">lilishan48@gmail.com</a>&gt; wrote:<br>
<br>
&gt; [LS]: I don&#39;t think it is a problem caused by secure DHCPv6. DHCPv=
6<br>
&gt; also has this problem. If the two clients share one same transaction-i=
d,<br>
&gt; how the server distinguish two clients? And a new transaction-id is<br=
>
&gt; generated for Encrypted-Query and Encrypted-Response message,<br>
&gt; two clients may also generate the same transaction-id.<br>
<br>
</span>There seems to be some fundamental confusion about transaction-id.=
=C2=A0 In<br>
bare DHCPv6, the transaction-id is for each client to match a response<br>
with the message it sent (distinguishing from other messages the<br>
client might have sent in parallel).=C2=A0 So there&#39;s no problem even i=
f<br>
multiple clients use the same transaction ID at the same time.=C2=A0 This<b=
r>
is a new problem introduced in your proposal.<br></blockquote><div>[LS]: Th=
anks a lot for your explanation.</div><div>Then, for the next step, the tra=
nsaction-id of Encrypted-Query and=C2=A0</div><div>Encrypted-Response messa=
ge works as identifier for the public key=C2=A0</div><div>of encryption and=
 private key for decryption.=C2=A0</div><div>When receiving the first Encry=
pted-Query message, the server has</div><div>to try all the private keys th=
at it might use.</div><div>Could you please check whether my understanding =
correct?</div><div><br></div><div>Thanks again,</div><div>Lishan</div></div=
></div></div>

--001a114908be8e9edc05418212b0--


From nobody Thu Nov 17 11:06:15 2016
Return-Path: <jinmei.tatuya@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 4F1B11294CA; Thu, 17 Nov 2016 11:06:14 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.7
X-Spam-Level: 
X-Spam-Status: No, score=-1.7 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.199, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.001, SPF_PASS=-0.001] autolearn=no 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 g2ZevpREZfrw; Thu, 17 Nov 2016 11:06:13 -0800 (PST)
Received: from mail-qk0-x244.google.com (mail-qk0-x244.google.com [IPv6:2607:f8b0:400d:c09::244]) (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 02AF7128DF6; Thu, 17 Nov 2016 11:06:13 -0800 (PST)
Received: by mail-qk0-x244.google.com with SMTP id x190so27743944qkb.0; Thu, 17 Nov 2016 11:06:12 -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:from:date:message-id :subject:to:cc:content-transfer-encoding; bh=ZVYs8+HyI20b0a2Vy8rkKQ+MqRbC0bvZ80Z4qDTfFPs=; b=Kj6Oo2lO90c7KH8EQz0XfHGkwfZCKjNu4dFtouEqW919eipmk/1sMUAkOCdDH90gs3 hetbjHeb6VhDc4s0i4mj4re/v3DS0shK+mqIB0tc9/a8rsVU7RwD4eyHq33J+1822Vgs K4+B/HLIX3yKTpaZttK6t64KXQ0KLvF1/6ihx8eOP9a6nf5YSSp9ehiHuT04K9cYGtjR D2mUS89g3pdlt4SsAvHg8GI6TThK4zGdY855BdXCdujebFgEvAQ/3sKcsIGeRL8MdEK3 TDt2C5bpXe5ORT1DCdf1RjJlDQJSODPb5XQ+Oo89Ok2vMsB75SMBUgRrcHp4U1dNLAuN 2q7g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc:content-transfer-encoding; bh=ZVYs8+HyI20b0a2Vy8rkKQ+MqRbC0bvZ80Z4qDTfFPs=; b=U7Mrz8aIKR46nn+he3TcOKY8rk7mwR6LgvyzlyeF+UFmta4beVVx5ef+JnTmcU/Ciu VCRc1SSxxRSVD9bQnajeWMs6Y5U733fH5VOElONkEPhOH2ZSoSO2Wv42bxW+WU1dmTbt flV205TBkm24HH9yUjoXoUlRig0FNLcuEjO9V1CVmgCg6JLP9ZpEGV61bpYQ3xA0DXXx qWF4DdKzmAqf+lXYQZ+k5pP4koWB1wqw46HIGuBAt/W8BHSeYhzViEir7xOPmWpgMUM3 pekvwjcZWxwD14Tj3ahCVKxQw0xti2I92hAO+sG2f6pULCOIL/NhCwza1WEnOtHhsmVI ESaQ==
X-Gm-Message-State: AKaTC03jWug67oRoEj8/bYGlDdOlvEuXQiOBWpEmMmOjPS8YLb97QvcA+QoiTOHNV10/vy3hdmBQjre6NeLW2g==
X-Received: by 10.55.51.201 with SMTP id z192mr4934891qkz.311.1479409572023; Thu, 17 Nov 2016 11:06:12 -0800 (PST)
MIME-Version: 1.0
Sender: jinmei.tatuya@gmail.com
Received: by 10.237.53.155 with HTTP; Thu, 17 Nov 2016 11:06:11 -0800 (PST)
In-Reply-To: <6BCF488C-69FC-4965-8784-1331EE62AF67@gmx.com>
References: <6BCF488C-69FC-4965-8784-1331EE62AF67@gmx.com>
From: =?UTF-8?B?56We5piO6YGU5ZOJ?= <jinmei@wide.ad.jp>
Date: Thu, 17 Nov 2016 11:06:11 -0800
X-Google-Sender-Auth: YxqYUBsV6y698LcfjXsfNUqkTHE
Message-ID: <CAJE_bqfb4An_172WKdh5FBDo5K7MfpAfhudZnBOMz1rKtN_jDQ@mail.gmail.com>
To: Ian Farrer <ianfarrer@gmx.com>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/dhcwg/G7i3dk5RfH9pT8GKBcL70WKmMhM>
Cc: softwires <softwires@ietf.org>, dhcwg <dhcwg@ietf.org>
Subject: Re: [dhcwg] I-D Action: draft-fsc-softwire-dhcp4o6-saddr-opt-06.txt
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: Thu, 17 Nov 2016 19:06:14 -0000

At Wed, 16 Nov 2016 10:56:16 +0900,
Ian Farrer <ianfarrer@gmx.com> wrote:

> In advance of Friday=E2=80=99s presentation in (and hopefully re-homing t=
o) DHC.
>
> This version is a small update, adding some text about the creation
> of a dedicated IPv6 address to use as a tunnel endpoint.

I've read it.  Overall I think it makes sense.  I have a few minor
comments:

- Section 6.1

   o  cipv6-prefix-hint: The IPv6 prefix indicating the preferred prefix
      for the client to bind the received IPv4 configuration to.

  Since the option diagram says "variable length", I assume it can be
  truncated if the prefix length is smaller than 121.  I'd suggest
  explicitly stating so, and I also think it's better to how much it
  should (must) be truncated.  I guess the intent is to truncate it
  to the number of bits specified in cipv6-hintlen, but the current
  description doesn't clearly say so, and it can be longer than that.
  Such "flexibility" doesn't necessarily lead to interoperability
  problems, but unless the flexibility is needed for some reason it
  would be better to be specific to avoid any troubles that come from
  different interpretation of different implementations.  You may also
  want to specify how the remaining redundant bits due to truncation
  (if any) should be filled (e.g., when the prefix length is 124, what
  the trailing 4 bits should be).  One common practice is to fill them
  with 0.  You may or may not want to follow it, or you may or may not
  want to be specific about this in the first place, but at least I'd
  suggest you considering what to do.

  On a related matter, you may also want to describe what the
  recipient should do for some invalid or awkward values in terms of
  validity of cipv6-hintlen and cipv6-prefix-hint.  There are some
  obviously invalid values:
  - cipv6-hintlen > 128
  - cipv6-hintlen is too large for the actual address length (e.g.
    cipv6-hintlen =3D=3D 128 but cipv6-prefix-hint has only 8 bytes).
  And there are some cases that are not necessarily invalid but are
  awkward:
  - cipv6-hintlen is too short (e.g., cipv6-hintlen =3D=3D 64 but
    cipv6-prefix-hint has 16 bytes)
  - non-0 "garbage" bits beyond the cipv6-hintlen-th bit

Editorial nits:

- Section 1: s/DHCPv4 over DHCPv4/DHCPv4 over DHCPv6/
   created softwires using DHCPv4 over DHCPv4 (DHCP 4o6), including

- Section 4.1: s/when when/when/

   only be used when when encapsulated within one of the softwire

--
JINMEI, Tatuya


From nobody Thu Nov 17 17:38:04 2016
Return-Path: <ianfarrer@gmx.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 83994129429; Thu, 17 Nov 2016 17:37:58 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.601
X-Spam-Level: 
X-Spam-Status: No, score=-2.601 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=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 TLlBYIEJsvOD; Thu, 17 Nov 2016 17:37:57 -0800 (PST)
Received: from mout.gmx.net (mout.gmx.net [212.227.17.20]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id BDD7F126579; Thu, 17 Nov 2016 17:37:56 -0800 (PST)
Received: from dhcp-80b6.meeting.ietf.org ([31.133.128.182]) by mail.gmx.com (mrgmx103 [212.227.17.174]) with ESMTPSA (Nemesis) id 0MfVzj-1cQyVg3VGN-00P6a0; Fri, 18 Nov 2016 02:37:28 +0100
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\))
From: Ian Farrer <ianfarrer@gmx.com>
In-Reply-To: <CAJE_bqfb4An_172WKdh5FBDo5K7MfpAfhudZnBOMz1rKtN_jDQ@mail.gmail.com>
Date: Fri, 18 Nov 2016 10:37:21 +0900
Content-Transfer-Encoding: quoted-printable
Message-Id: <BF6C3083-9CF8-4106-A7D2-1915E28DA116@gmx.com>
References: <6BCF488C-69FC-4965-8784-1331EE62AF67@gmx.com> <CAJE_bqfb4An_172WKdh5FBDo5K7MfpAfhudZnBOMz1rKtN_jDQ@mail.gmail.com>
To: =?utf-8?B?56We5piO6YGU5ZOJ?= <jinmei@wide.ad.jp>
X-Mailer: Apple Mail (2.3124)
X-Provags-ID: V03:K0:8IvNUu9+2LoX3CI0e7vGzD9Mg8uY6PCWZSkmIW4sW7nhPfZZ05u +t+sQk5C9SYDGW18O9C+IJHr/ftIgI+4XsLq8TBxEHWdoqSwsiEM44gWOhQUEFKGg2SiCAb jyeTsRSlGwQwpcE2AobrOb2fDNKy13PuTUJn1Ay9mzVSYlsKGz6uirY1xlMZIvd3JRRo2zJ tGuCiX/upxZl0hEf+UGsw==
X-UI-Out-Filterresults: notjunk:1;V01:K0:ZRdsz1yMvcw=:YiNIONHdXyXN+QN4fg3YHc 0l8kHT3f3mQ96AIsz2CwBpVwkdaRveF29uqYdqpm0s56Kt+Lf+taMYj7WlBtoj5vvKS+7HdHx fYJRer7ysADlptkU3UG2fTM8pmmAIYQ1Dr+lEMNpEmkfiRWLu6gfrsYxARFNM8QQi/kjsbK8J DSON+bGsVXQAvZSvTEBDbFucKZtEopMPB+9yWvic8WYqLbMjM5DwoNO/W5fAdmCu5uAi7BiwF XN/+irQiyPrLhGpLrB3ZeCjcREqn5OBT7tHaL5P4Oud39Zbj99VdBm2xMUNy4j32Oa1N1bKL6 erkqyHwZUncePLASZBha+5VYI4jahhEBICSWu+ASrH1RP4cRzNBf29D/fsuNVfEExAZic2Keo m+HgKaDoSCYZ2NwvdIwwQ1hdZwLZC7Tt87ygJBs0TMT83koOelsc0o0pKQEjmDaLIKDGS9N22 2Ir4THXa7iC4t5esnVo12H6GZJYWXAoWFyJH2HR8rSAnUSOWt7Jt045tiMIwIrO/qmeSvT/3N ngk86HJCSMPX24uzbFbRahDlTgZ0OHmVFMpJsvpIIqVE2VvVkZNjqyG6EoKvTuuvXTorOaORp JluTK4FXXUn7XlNvrN/xshaQmo/mNPp+HtmEgxTKMtuEJMtrtUQJEm2a9HtTuQ8xR2mzFS2rH 0qLj/6dnL7qBLX5JpW0Heq7Tzupnlh6bbxWDM5X0xheCohKVJSqFqbbP/sGeZHTkMTzm5Rw65 BX3CYNkCGnARVcNssvwGOhcmxx2ZpyWy5iXj+H+annKdY1UhLX9DLh2isO5SyQGjvnYzCaSe6 V+3WlES
Archived-At: <https://mailarchive.ietf.org/arch/msg/dhcwg/nK4uEsl5tDXM7c0elM1jPQkrW8Y>
Cc: softwires <softwires@ietf.org>, dhcwg <dhcwg@ietf.org>
Subject: Re: [dhcwg] I-D Action: draft-fsc-softwire-dhcp4o6-saddr-opt-06.txt
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: Fri, 18 Nov 2016 01:37:58 -0000

Hi Jinmei,

May thanks for your comments. Please see inline.

Cheers,
Ian

> On 18 Nov 2016, at 04:06, =E7=A5=9E=E6=98=8E=E9=81=94=E5=93=89 =
<jinmei@wide.ad.jp> wrote:
>=20
> At Wed, 16 Nov 2016 10:56:16 +0900,
> Ian Farrer <ianfarrer@gmx.com> wrote:
>=20
>> In advance of Friday=E2=80=99s presentation in (and hopefully =
re-homing to) DHC.
>>=20
>> This version is a small update, adding some text about the creation
>> of a dedicated IPv6 address to use as a tunnel endpoint.
>=20
> I've read it.  Overall I think it makes sense.  I have a few minor
> comments:
>=20
> - Section 6.1
>=20
>   o  cipv6-prefix-hint: The IPv6 prefix indicating the preferred =
prefix
>      for the client to bind the received IPv4 configuration to.
>=20
>  Since the option diagram says "variable length", I assume it can be
>  truncated if the prefix length is smaller than 121.  I'd suggest
>  explicitly stating so, and I also think it's better to how much it
>  should (must) be truncated.  I guess the intent is to truncate it
>  to the number of bits specified in cipv6-hintlen, but the current
>  description doesn't clearly say so, and it can be longer than that.
>  Such "flexibility" doesn't necessarily lead to interoperability
>  problems, but unless the flexibility is needed for some reason it
>  would be better to be specific to avoid any troubles that come from
>  different interpretation of different implementations.  You may also
>  want to specify how the remaining redundant bits due to truncation
>  (if any) should be filled (e.g., when the prefix length is 124, what
>  the trailing 4 bits should be).  One common practice is to fill them
>  with 0.  You may or may not want to follow it, or you may or may not
>  want to be specific about this in the first place, but at least I'd
>  suggest you considering what to do.

[if - RFC7227 defines an IPv6 prefix option as being variable length =
with padding to the nearest octet, so yes it would be truncated in your =
example. I will improve the text to clear this point up.

This is an interesting interpretation as the intended use is to indicate =
a preferred prefix (/64 or shorter) for the client. in this context, if =
a longer prefix hint was supplied, then the longest match would only =
likely to be predictable for up to a /64.

The question it raises is, if a /128 was supplied that belonged to a =
prefix which is delegated to a client, should the client configure this =
prefix and build the hinted address as it=E2=80=99s source (assuming it =
wasn=E2=80=99t in use and DAD was successful)? I=E2=80=99m not convinced =
that this is actually useful ATM and it may complicate things for error =
handling (what if DAD fails), but I=E2=80=99d appreciate your opinion.]

>=20
>  On a related matter, you may also want to describe what the
>  recipient should do for some invalid or awkward values in terms of
>  validity of cipv6-hintlen and cipv6-prefix-hint.  There are some
>  obviously invalid values:
>  - cipv6-hintlen > 128
>  - cipv6-hintlen is too large for the actual address length (e.g.
>    cipv6-hintlen =3D=3D 128 but cipv6-prefix-hint has only 8 bytes).
>  And there are some cases that are not necessarily invalid but are
>  awkward:
>  - cipv6-hintlen is too short (e.g., cipv6-hintlen =3D=3D 64 but
>    cipv6-prefix-hint has 16 bytes)
>  - non-0 "garbage" bits beyond the cipv6-hintlen-th bit

[if - Agree. I=E2=80=99ll extend the client behavior section for this =
error checking]

>=20
> Editorial nits:
>=20
> - Section 1: s/DHCPv4 over DHCPv4/DHCPv4 over DHCPv6/
>   created softwires using DHCPv4 over DHCPv4 (DHCP 4o6), including
>=20
> - Section 4.1: s/when when/when/
>=20
>   only be used when when encapsulated within one of the softwire

[if - Will fix in the next version]

>=20
> --
> JINMEI, Tatuya


From nobody Fri Nov 18 11:51:32 2016
Return-Path: <jinmei.tatuya@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 B254012965C for <dhcwg@ietfa.amsl.com>; Fri, 18 Nov 2016 11:51:30 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.4
X-Spam-Level: 
X-Spam-Status: No, score=-2.4 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.199, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=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 0SSGm83SCfHs for <dhcwg@ietfa.amsl.com>; Fri, 18 Nov 2016 11:51:29 -0800 (PST)
Received: from mail-yw0-x231.google.com (mail-yw0-x231.google.com [IPv6:2607:f8b0:4002:c05::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 B1FA5129514 for <dhcwg@ietf.org>; Fri, 18 Nov 2016 11:51:28 -0800 (PST)
Received: by mail-yw0-x231.google.com with SMTP id r204so170804841ywb.0 for <dhcwg@ietf.org>; Fri, 18 Nov 2016 11:51:28 -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:from:date:message-id :subject:to:cc; bh=dERg7Ev9xUjrnApNqIJzcrCo1ZUwIYGTnfbBOJg7rLU=; b=zB1ubQ6eSuaRO5IC2tGJil98np7VILDgyBtqorgBXUouqAW1JNl6NIppejfB5hrR4Q agb/aEQ+yfcIBt8YEgEDLHPtF8klLGeVMsEfOLbc9LoEAejAFKvM7b3nOKwdWa4JPiP2 eGiWbV2sIakO55TjIOGHAZ1dF9l54EFaG2uAWiKBS80D67P7OuBiovtKHFa8bamOOjZ6 716dNcGA7qkhoibU5PW7l/QP4KyMFwsiVs2r0l/CenFzZYnAWqJDQYOaHD4ab/h2z3WX RV+ynX1xvAjL4MUUg+tWdSD9QEcwzqSeCaoA3/0wvdjH7hPkoAftMipFhnU4TdQrpmsJ Iduw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=dERg7Ev9xUjrnApNqIJzcrCo1ZUwIYGTnfbBOJg7rLU=; b=UJ99ztTabtrYGq1+W8HvFzWQW/OVDu00dg7ho6KK+PiALyVtK2WD/C3bCcdr8JBOou djpJgRcaOgE5ZTjv3p53AoUwuOwIN8yAgQSXIkkuiNLwx9xKtPBYxrKA9bRX596MKvOx fxnIu+78wgd/+AeZJIegE4ppPifGK8NyXkvofpiJDskRQmo5o1KLqXBmelygXfuE/+5h qJqVpWNeECIVPmx+A0cMEUbxclfwyiQKEYLzZvWdSolh1y9db6qMz5HbONz7QHVx3KoI dlPtFZ6GcGiJ/rfe6a8HVV6DRhlJZiBMx9NKhyH9ndSxCcyFIvIZJmsca0foPui4PlZx njSQ==
X-Gm-Message-State: AKaTC03djkZI5oqC8H5QQydJj/8HG9F6TSh6kIpMvhRHxyw6It9EreQ/I8WF7axIiv7x2qXuR7syMnGUmJKz7g==
X-Received: by 10.129.165.21 with SMTP id c21mr1604886ywh.48.1479498687789; Fri, 18 Nov 2016 11:51:27 -0800 (PST)
MIME-Version: 1.0
Sender: jinmei.tatuya@gmail.com
Received: by 10.37.172.27 with HTTP; Fri, 18 Nov 2016 11:51:27 -0800 (PST)
In-Reply-To: <CAJ3w4Ne63cnqoeTZk=PDmAN9+i6jwzyxbK+up45wB9h+xUDSfw@mail.gmail.com>
References: <CAJE_bqebwr2WUUgaNgiYS4_8L77Gxj4Os+oPRG407B6ELMEhCQ@mail.gmail.com> <CAJ3w4Ndi5Gq63n5kZnanRhLM8nWE2wsWGh0kJJLJnq=VoXLuCg@mail.gmail.com> <CAJE_bqegh1DfWjfK2BxeC_fWa0cEk-KJNP0AT-TQuEa39w_wVQ@mail.gmail.com> <CAJ3w4NdM99nv4C19Xj=aosNme+_Ymyys=xQ3UWUfeZReZC4ckA@mail.gmail.com> <CAJE_bqdhGZnK16MooiyujDgthDNnR74EiwW0OevrN6uq4b4ANw@mail.gmail.com> <CAJE_bqfKUZe2yaW1sAq7rrib0M7wz28HHtPLqCHK=vXcN6amgg@mail.gmail.com> <CAJ3w4Nd3s+ZojjiotLkKwys6truhUgK6F-90UYjcpB9iw=fKKQ@mail.gmail.com> <m2r36nuqvn.wl%jinmei.tatuya@gmail.com> <CAJ3w4NeuNYTrX4p5rtZ6UceD5ydQ-B-vY6aqQzxWnXsrDOEFEA@mail.gmail.com> <CAJE_bqdh-bgk7BHZJnaFFBr3PDj4ZnSSGeGNdQ70F7dv91iQrA@mail.gmail.com> <CAJ3w4NfU9PrC9a+MGnJ=Es1yir_asHB3p1=9GfxZZ0iSe+At+Q@mail.gmail.com> <CAJE_bqfRBYkrniWQ+vtPULTURnvyV792QNGvr8JhhZpGQ0MSdA@mail.gmail.com> <CAJ3w4NerRzHYsRqcUAkAjHX23PYVF4Jv0wKcd33vXRRg+-0EAQ@mail.gmail.com> <CAJ3w4NekPk0TuAZW_jmTDYQHd8JP3GsrA0qrKYrnyqSSk3qwxw@mail.gmail.com> <CAJE_bqc8hkrc3dYefTPWi-mUCtZD+oYsrobCK1KjmVGRnNfMCw@mail.gmail.com> <CAJ3w4NejrFAT3RK7i0W46HkQNJjhPxbhzQiL=3fcrceidTzHNQ@mail.gmail.com> <CAJE_bqcCwZWPHuZ0UR8_jyCUsaTrYKzLD8zUKwChYaCL06yT9A@mail.gmail.com> <CAJ3w4NfS8PKOMHcP5s_Nsp5K5eWJfXWRF-vNEau_ekqTRwE=wA@mail.gmail.com> <CAJE_bqfqSXFR9R5wf1USg-zs+nvdohQFq99kQL2DiapXvUdEqA@mail.gmail.com> <CAJ3w4Ncj40JwrW6UB+TVFvymByU5Y9iFv5QroWhwUzkLrS2DTg@mail.gmail.com> <CAJE_bqd38grUh9q57a-H29GsMx5Dpv9VE0iBMO7v_-y97zZZUg@mail.gmail.com> <CAJ3w4Ne63cnqoeTZk=PDmAN9+i6jwzyxbK+up45wB9h+xUDSfw@mail.gmail.com>
From: =?UTF-8?B?56We5piO6YGU5ZOJ?= <jinmei@wide.ad.jp>
Date: Fri, 18 Nov 2016 11:51:27 -0800
X-Google-Sender-Auth: oPUVZXi6D8GqWfFniVdLB1gu0w8
Message-ID: <CAJE_bqceK7YLpMqhgjqrFQh7641a+ZRcnO0F6p6BiM8EMKmA7w@mail.gmail.com>
To: Lishan Li <lilishan48@gmail.com>
Content-Type: text/plain; charset=UTF-8
Archived-At: <https://mailarchive.ietf.org/arch/msg/dhcwg/mVLyNjr00iDHkJchJavUcnqr4og>
Cc: "dhcwg@ietf.org" <dhcwg@ietf.org>
Subject: Re: [dhcwg] preliminary comments on draft-ietf-dhc-sedhcpv6-17
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: Fri, 18 Nov 2016 19:51:31 -0000

At Fri, 18 Nov 2016 00:56:35 +0800,
Lishan Li <lilishan48@gmail.com> wrote:

> [LS]: Thanks a lot for your explanation.
> Then, for the next step, the transaction-id of Encrypted-Query and
> Encrypted-Response message works as identifier for the public key
> of encryption and private key for decryption.
> When receiving the first Encrypted-Query message, the server has
> to try all the private keys that it might use.
> Could you please check whether my understanding correct?

Hmm...I'm afraid I don't understand your understanding:-)

My understanding of where we are is that we now agree that as of
sedhcpv6-17 the server can't efficiently identify the private key to
decrypt a message in an Encrypted-Query message.

I can think of two possible next steps from here:
1. leave the inefficiency: let the server try all possible private
   keys until it can decrypt the message or conclude no key works.
2. introduce some kind of concept of "key ID" (or "key tag", in which
   case 100% uniqueness isn't required) and have the client include it
   in Encrypted-Query messages.

I personally prefer option #2, but in that case I don't like to
overload the existing transaction-id field for this purpose.

--
JINMEI, Tatuya


From nobody Sat Nov 19 09:11:23 2016
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 0321D1299CE for <dhcwg@ietfa.amsl.com>; Sat, 19 Nov 2016 09:11:22 -0800 (PST)
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 iosz4WIrN_Dz for <dhcwg@ietfa.amsl.com>; Sat, 19 Nov 2016 09:11:20 -0800 (PST)
Received: from mail-qk0-x230.google.com (mail-qk0-x230.google.com [IPv6:2607:f8b0:400d:c09::230]) (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 4DB701299C7 for <dhcwg@ietf.org>; Sat, 19 Nov 2016 09:11:20 -0800 (PST)
Received: by mail-qk0-x230.google.com with SMTP id n21so303402952qka.3 for <dhcwg@ietf.org>; Sat, 19 Nov 2016 09:11:20 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=GyabqYK5gW5jQ+hx9qpgFSDCWAgWdXskyj3J2m8ClFc=; b=YyySRBB/ZG2qOLgLlnPFQ6VO+eKml5Q/uzB6FIMt4JjsS56uYxYGAHRo5P/hPk0zgh +Q5mX0RZl0uGj9oOOTHs9NmM63LeuLRHRWsDm/sz0bQ4B36pEMAmFeWRt+za8mUCpcvC XfDQeeCBs5o+lsQF73MMWfObopnBIkp2gjrc4mfgdNDhOLoC3zRv7Ek6XLF2E+OlipkM 4TZjEnRiFFf7pws3+3dA3HVyI1TId1kCvSFU6M3RPzDK8HeKTtaaCLuKR0x1B8nz37s7 KLBZfrtO0fXZvjh+7uT7WcrDDkohc3K72++IgXHw+VTglAkzjFa3ycihk2QFzkIhpYb+ 9Eeg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=GyabqYK5gW5jQ+hx9qpgFSDCWAgWdXskyj3J2m8ClFc=; b=kJ5e8a09Dfz5iT5oWNqwOxtp8TmhzRoQWeuDge1XkkBWPSITsuTBCOElUGH0HAItIt 1/t+BeRkQSjvSWR9ez0BUf02gIWhN22IoF5405f0rt3RlKAcQk7zSuvXOcizziOx3AGx wfE9raE0gmFgYSSkVdIgrSaR0XqB7pd/ajn/GRO1q1/QdR+bacJ4rOQOo2HE34e7Sp2r w20YXq0Jjrpgov7M0T7uGoOxRsGE2kc4NzVx1amB8Ba9V/qItWr08oZWkFwMSDKHEYcd sy5imyISjfA2zKqkcFThSgX5YwqR0fLdIUiuzGFb7aOgo8nixn6PfM/xEdhTw3nwlsFp rwww==
X-Gm-Message-State: AKaTC029kFpdc1Tye6JSPjB4s2MaXTupx/18hOqjATJTs+RmGpl6zSDeo/CfVum9JlPz2e8m8VS+NdBlDiP/QQ==
X-Received: by 10.55.191.134 with SMTP id p128mr6372455qkf.58.1479575479503; Sat, 19 Nov 2016 09:11:19 -0800 (PST)
MIME-Version: 1.0
Received: by 10.237.62.242 with HTTP; Sat, 19 Nov 2016 09:11:18 -0800 (PST)
In-Reply-To: <CAJE_bqceK7YLpMqhgjqrFQh7641a+ZRcnO0F6p6BiM8EMKmA7w@mail.gmail.com>
References: <CAJE_bqebwr2WUUgaNgiYS4_8L77Gxj4Os+oPRG407B6ELMEhCQ@mail.gmail.com> <CAJ3w4Ndi5Gq63n5kZnanRhLM8nWE2wsWGh0kJJLJnq=VoXLuCg@mail.gmail.com> <CAJE_bqegh1DfWjfK2BxeC_fWa0cEk-KJNP0AT-TQuEa39w_wVQ@mail.gmail.com> <CAJ3w4NdM99nv4C19Xj=aosNme+_Ymyys=xQ3UWUfeZReZC4ckA@mail.gmail.com> <CAJE_bqdhGZnK16MooiyujDgthDNnR74EiwW0OevrN6uq4b4ANw@mail.gmail.com> <CAJE_bqfKUZe2yaW1sAq7rrib0M7wz28HHtPLqCHK=vXcN6amgg@mail.gmail.com> <CAJ3w4Nd3s+ZojjiotLkKwys6truhUgK6F-90UYjcpB9iw=fKKQ@mail.gmail.com> <m2r36nuqvn.wl%jinmei.tatuya@gmail.com> <CAJ3w4NeuNYTrX4p5rtZ6UceD5ydQ-B-vY6aqQzxWnXsrDOEFEA@mail.gmail.com> <CAJE_bqdh-bgk7BHZJnaFFBr3PDj4ZnSSGeGNdQ70F7dv91iQrA@mail.gmail.com> <CAJ3w4NfU9PrC9a+MGnJ=Es1yir_asHB3p1=9GfxZZ0iSe+At+Q@mail.gmail.com> <CAJE_bqfRBYkrniWQ+vtPULTURnvyV792QNGvr8JhhZpGQ0MSdA@mail.gmail.com> <CAJ3w4NerRzHYsRqcUAkAjHX23PYVF4Jv0wKcd33vXRRg+-0EAQ@mail.gmail.com> <CAJ3w4NekPk0TuAZW_jmTDYQHd8JP3GsrA0qrKYrnyqSSk3qwxw@mail.gmail.com> <CAJE_bqc8hkrc3dYefTPWi-mUCtZD+oYsrobCK1KjmVGRnNfMCw@mail.gmail.com> <CAJ3w4NejrFAT3RK7i0W46HkQNJjhPxbhzQiL=3fcrceidTzHNQ@mail.gmail.com> <CAJE_bqcCwZWPHuZ0UR8_jyCUsaTrYKzLD8zUKwChYaCL06yT9A@mail.gmail.com> <CAJ3w4NfS8PKOMHcP5s_Nsp5K5eWJfXWRF-vNEau_ekqTRwE=wA@mail.gmail.com> <CAJE_bqfqSXFR9R5wf1USg-zs+nvdohQFq99kQL2DiapXvUdEqA@mail.gmail.com> <CAJ3w4Ncj40JwrW6UB+TVFvymByU5Y9iFv5QroWhwUzkLrS2DTg@mail.gmail.com> <CAJE_bqd38grUh9q57a-H29GsMx5Dpv9VE0iBMO7v_-y97zZZUg@mail.gmail.com> <CAJ3w4Ne63cnqoeTZk=PDmAN9+i6jwzyxbK+up45wB9h+xUDSfw@mail.gmail.com> <CAJE_bqceK7YLpMqhgjqrFQh7641a+ZRcnO0F6p6BiM8EMKmA7w@mail.gmail.com>
From: Lishan Li <lilishan48@gmail.com>
Date: Sun, 20 Nov 2016 01:11:18 +0800
Message-ID: <CAJ3w4Nf65b1zo-smMguZBc_-RbFh2y8kk7Fnu__TKCQEVbs48w@mail.gmail.com>
To: =?UTF-8?B?56We5piO6YGU5ZOJ?= <jinmei@wide.ad.jp>
Content-Type: multipart/alternative; boundary=94eb2c04397cdfd1040541aa824e
Archived-At: <https://mailarchive.ietf.org/arch/msg/dhcwg/Cc2vcSXd4QY-YR-VjCAQ-aGmYPI>
Cc: "dhcwg@ietf.org" <dhcwg@ietf.org>
Subject: Re: [dhcwg] preliminary comments on draft-ietf-dhc-sedhcpv6-17
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: Sat, 19 Nov 2016 17:11:22 -0000

--94eb2c04397cdfd1040541aa824e
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

2016-11-19 3:51 GMT+08:00 =E7=A5=9E=E6=98=8E=E9=81=94=E5=93=89 <jinmei@wide=
.ad.jp>:

> At Fri, 18 Nov 2016 00:56:35 +0800,
> Lishan Li <lilishan48@gmail.com> wrote:
>
> > [LS]: Thanks a lot for your explanation.
> > Then, for the next step, the transaction-id of Encrypted-Query and
> > Encrypted-Response message works as identifier for the public key
> > of encryption and private key for decryption.
> > When receiving the first Encrypted-Query message, the server has
> > to try all the private keys that it might use.
> > Could you please check whether my understanding correct?
>
> Hmm...I'm afraid I don't understand your understanding:-)
>
> My understanding of where we are is that we now agree that as of
> sedhcpv6-17 the server can't efficiently identify the private key to
> decrypt a message in an Encrypted-Query message.
>
> I can think of two possible next steps from here:
> 1. leave the inefficiency: let the server try all possible private
>    keys until it can decrypt the message or conclude no key works.

2. introduce some kind of concept of "key ID" (or "key tag", in which
>    case 100% uniqueness isn't required) and have the client include it
>    in Encrypted-Query messages.
>
[LS]: I don't know why in this case, 100% uniqueness isn't required.
Key id is used as the identifier of the private key, can the two private
key (two clients) uses the same key id?

>
> I personally prefer option #2, but in that case I don't like to
> overload the existing transaction-id field for this purpose.
>
[LS]: The standard DHCPv6 message format contains the
transaction-id. If the transaction-id is not contained, then the
message is not DHCPv6 message. Transaction-id field's size
is very small.
In the before presentation, we have showed that Encrypted-Query
and Encrypted-Response messages are DHCPv6 messages.
And no one proposed any problem. And I also think that
there is no problem. If you insist on your opinion, please
states the caused problem and modify the draft. I don't
have any comment on this.

Best Regards,
Lishan

--94eb2c04397cdfd1040541aa824e
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_extra"><div class=3D"gmail_quote">2016=
-11-19 3:51 GMT+08:00 =E7=A5=9E=E6=98=8E=E9=81=94=E5=93=89 <span dir=3D"ltr=
">&lt;<a href=3D"mailto:jinmei@wide.ad.jp" target=3D"_blank">jinmei@wide.ad=
.jp</a>&gt;</span>:<br><blockquote class=3D"gmail_quote" style=3D"margin:0p=
x 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">At=
 Fri, 18 Nov 2016 00:56:35 +0800,<br>
<span class=3D"gmail-">Lishan Li &lt;<a href=3D"mailto:lilishan48@gmail.com=
">lilishan48@gmail.com</a>&gt; wrote:<br>
<br>
&gt; [LS]: Thanks a lot for your explanation.<br>
&gt; Then, for the next step, the transaction-id of Encrypted-Query and<br>
&gt; Encrypted-Response message works as identifier for the public key<br>
&gt; of encryption and private key for decryption.<br>
&gt; When receiving the first Encrypted-Query message, the server has<br>
&gt; to try all the private keys that it might use.<br>
&gt; Could you please check whether my understanding correct?<br>
<br>
</span>Hmm...I&#39;m afraid I don&#39;t understand your understanding:-)<br=
>
<br>
My understanding of where we are is that we now agree that as of<br>
sedhcpv6-17 the server can&#39;t efficiently identify the private key to<br=
>
decrypt a message in an Encrypted-Query message.<br>
<br>
I can think of two possible next steps from here:<br>
1. leave the inefficiency: let the server try all possible private<br>
=C2=A0 =C2=A0keys until it can decrypt the message or conclude no key works=
.</blockquote><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px=
 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
2. introduce some kind of concept of &quot;key ID&quot; (or &quot;key tag&q=
uot;, in which<br>
=C2=A0 =C2=A0case 100% uniqueness isn&#39;t required) and have the client i=
nclude it<br>
=C2=A0 =C2=A0in Encrypted-Query messages.<br></blockquote><div>[LS]: I don&=
#39;t know why in this case, 100% uniqueness isn&#39;t required.=C2=A0</div=
><div>Key id is used as the identifier of the private key, can the two priv=
ate</div><div>key (two clients) uses the same key id? =C2=A0</div><blockquo=
te class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px =
solid rgb(204,204,204);padding-left:1ex">
<br>
I personally prefer option #2, but in that case I don&#39;t like to<br>
overload the existing transaction-id field for this purpose.<br></blockquot=
e><div>[LS]: The standard DHCPv6 message format contains the=C2=A0<br></div=
><div>transaction-id. If the transaction-id is not contained, then the=C2=
=A0</div><div>message is not DHCPv6 message. Transaction-id field&#39;s siz=
e</div><div>is very small.</div><div>In the before presentation, we have sh=
owed that Encrypted-Query</div><div>and Encrypted-Response messages are DHC=
Pv6 messages.</div><div>And no one proposed any problem. And I also think t=
hat=C2=A0</div><div>there is no problem. If you insist on your opinion, ple=
ase=C2=A0</div><div>states the caused problem and modify the draft. I don&#=
39;t=C2=A0</div><div>have any comment on this.</div><div><br></div><div>Bes=
t Regards,</div><div>Lishan</div></div></div></div>

--94eb2c04397cdfd1040541aa824e--


From nobody Tue Nov 22 09:53:50 2016
Return-Path: <jinmei.tatuya@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 BADB7129AC5 for <dhcwg@ietfa.amsl.com>; Tue, 22 Nov 2016 09:53:47 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.4
X-Spam-Level: 
X-Spam-Status: No, score=-2.4 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.199, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=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 UxFzMaM_eu6L for <dhcwg@ietfa.amsl.com>; Tue, 22 Nov 2016 09:53:46 -0800 (PST)
Received: from mail-qt0-x22e.google.com (mail-qt0-x22e.google.com [IPv6:2607:f8b0:400d:c0d::22e]) (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 36A89129AC0 for <dhcwg@ietf.org>; Tue, 22 Nov 2016 09:53:32 -0800 (PST)
Received: by mail-qt0-x22e.google.com with SMTP id c47so17176148qtc.2 for <dhcwg@ietf.org>; Tue, 22 Nov 2016 09:53:32 -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:from:date:message-id :subject:to:cc; bh=6q1E1nIWp4exiuytaODzmH5JjJS0XMVV/WQN1/cppzM=; b=az735B1YGKmP7uVxCoOkCPzZos4+WwTnuotE9tX/8vOgOVsA8zL2MuIAszyCkRSIQe k3UnvFRWJcZS7sT0IwIYo8YGcLWPt/PpbSNSYcYbeljLog3xL7UOxiJB65SPBJn1rUxn 3a7stzu09Sq+MyN72qwYOVLM4SErdAnc+nfKBTg1bsHB/eF6obtG6cgCFE+YrnWQwzq9 a1+hUDb7yskWh43Iac4Zc3yJWOO5syoOMRbHzIKMn/n5lZGay6fs8t7zoIwezVGRX837 k1g9kIg/AvJe/8KocSKwQVD2uh3hGNeCUIXno9tYVDcclNRtebwyLnFq7ZGhe0j/x9/y ywXA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=6q1E1nIWp4exiuytaODzmH5JjJS0XMVV/WQN1/cppzM=; b=W2fPtlIJ64Bw10F4oRAUas5eMYeZquwLxbYfxS59H5LV4fm7fG2bdjAyu6ms6wjBz1 tjZBxL7ESqgTabWPjnekqn6US9bxZUxtnnIB3EEbRT2Kt3b2Zt0nBKsAi3w4kjnA77k/ 1Oc4gkhniunScm0HvlLpcbiQMxQO23PVi5+vNkTn0lAKBRTFTsSjo5X30nPSIBhBuL1S 0lDJLwmEcu7DzMZhpHuyKJs/VXUrQO+u2YfLExbdRR3YvQ0avTKWKJ0fTFG5wyce1pfh l2Il+3Ka0lUNHat9l1PjWuRKTcccVCCLOSkUa/3TB+wsu0cQvdq8H0QmRJy5v2sredLq MGeA==
X-Gm-Message-State: AKaTC02bnzy1EbkbF88crKIMSx22ckYmHnO588n9OsMVpq5i4+SKpHuygq6CaZYDWjgC0hpSFzfELNmZCiajSg==
X-Received: by 10.200.46.249 with SMTP id i54mr12719799qta.13.1479837211281; Tue, 22 Nov 2016 09:53:31 -0800 (PST)
MIME-Version: 1.0
Sender: jinmei.tatuya@gmail.com
Received: by 10.237.53.155 with HTTP; Tue, 22 Nov 2016 09:53:30 -0800 (PST)
In-Reply-To: <CAJ3w4Nf65b1zo-smMguZBc_-RbFh2y8kk7Fnu__TKCQEVbs48w@mail.gmail.com>
References: <CAJE_bqebwr2WUUgaNgiYS4_8L77Gxj4Os+oPRG407B6ELMEhCQ@mail.gmail.com> <CAJ3w4Ndi5Gq63n5kZnanRhLM8nWE2wsWGh0kJJLJnq=VoXLuCg@mail.gmail.com> <CAJE_bqegh1DfWjfK2BxeC_fWa0cEk-KJNP0AT-TQuEa39w_wVQ@mail.gmail.com> <CAJ3w4NdM99nv4C19Xj=aosNme+_Ymyys=xQ3UWUfeZReZC4ckA@mail.gmail.com> <CAJE_bqdhGZnK16MooiyujDgthDNnR74EiwW0OevrN6uq4b4ANw@mail.gmail.com> <CAJE_bqfKUZe2yaW1sAq7rrib0M7wz28HHtPLqCHK=vXcN6amgg@mail.gmail.com> <CAJ3w4Nd3s+ZojjiotLkKwys6truhUgK6F-90UYjcpB9iw=fKKQ@mail.gmail.com> <m2r36nuqvn.wl%jinmei.tatuya@gmail.com> <CAJ3w4NeuNYTrX4p5rtZ6UceD5ydQ-B-vY6aqQzxWnXsrDOEFEA@mail.gmail.com> <CAJE_bqdh-bgk7BHZJnaFFBr3PDj4ZnSSGeGNdQ70F7dv91iQrA@mail.gmail.com> <CAJ3w4NfU9PrC9a+MGnJ=Es1yir_asHB3p1=9GfxZZ0iSe+At+Q@mail.gmail.com> <CAJE_bqfRBYkrniWQ+vtPULTURnvyV792QNGvr8JhhZpGQ0MSdA@mail.gmail.com> <CAJ3w4NerRzHYsRqcUAkAjHX23PYVF4Jv0wKcd33vXRRg+-0EAQ@mail.gmail.com> <CAJ3w4NekPk0TuAZW_jmTDYQHd8JP3GsrA0qrKYrnyqSSk3qwxw@mail.gmail.com> <CAJE_bqc8hkrc3dYefTPWi-mUCtZD+oYsrobCK1KjmVGRnNfMCw@mail.gmail.com> <CAJ3w4NejrFAT3RK7i0W46HkQNJjhPxbhzQiL=3fcrceidTzHNQ@mail.gmail.com> <CAJE_bqcCwZWPHuZ0UR8_jyCUsaTrYKzLD8zUKwChYaCL06yT9A@mail.gmail.com> <CAJ3w4NfS8PKOMHcP5s_Nsp5K5eWJfXWRF-vNEau_ekqTRwE=wA@mail.gmail.com> <CAJE_bqfqSXFR9R5wf1USg-zs+nvdohQFq99kQL2DiapXvUdEqA@mail.gmail.com> <CAJ3w4Ncj40JwrW6UB+TVFvymByU5Y9iFv5QroWhwUzkLrS2DTg@mail.gmail.com> <CAJE_bqd38grUh9q57a-H29GsMx5Dpv9VE0iBMO7v_-y97zZZUg@mail.gmail.com> <CAJ3w4Ne63cnqoeTZk=PDmAN9+i6jwzyxbK+up45wB9h+xUDSfw@mail.gmail.com> <CAJE_bqceK7YLpMqhgjqrFQh7641a+ZRcnO0F6p6BiM8EMKmA7w@mail.gmail.com> <CAJ3w4Nf65b1zo-smMguZBc_-RbFh2y8kk7Fnu__TKCQEVbs48w@mail.gmail.com>
From: =?UTF-8?B?56We5piO6YGU5ZOJ?= <jinmei@wide.ad.jp>
Date: Tue, 22 Nov 2016 09:53:30 -0800
X-Google-Sender-Auth: B5aLweKN9fPcJyuHqrL_hwWfcrQ
Message-ID: <CAJE_bqeVciLxS_q=deRKLBr12ZGXxx2wdFiztJxJjfS7aAV2Ag@mail.gmail.com>
To: Lishan Li <lilishan48@gmail.com>
Content-Type: text/plain; charset=UTF-8
Archived-At: <https://mailarchive.ietf.org/arch/msg/dhcwg/ze0osaliLLF_dMcd9oH-9NTiMK8>
Cc: "dhcwg@ietf.org" <dhcwg@ietf.org>
Subject: Re: [dhcwg] preliminary comments on draft-ietf-dhc-sedhcpv6-17
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, 22 Nov 2016 17:53:48 -0000

At Sun, 20 Nov 2016 01:11:18 +0800,
Lishan Li <lilishan48@gmail.com> wrote:

> > My understanding of where we are is that we now agree that as of
> > sedhcpv6-17 the server can't efficiently identify the private key to
> > decrypt a message in an Encrypted-Query message.
> >
> > I can think of two possible next steps from here:
> > 1. leave the inefficiency: let the server try all possible private
> >    keys until it can decrypt the message or conclude no key works.
>
> 2. introduce some kind of concept of "key ID" (or "key tag", in which
> >    case 100% uniqueness isn't required) and have the client include it
> >    in Encrypted-Query messages.
> >
> [LS]: I don't know why in this case, 100% uniqueness isn't required.
> Key id is used as the identifier of the private key, can the two private
> key (two clients) uses the same key id?

Because it's basically for making the key identification more
efficient.  It's similar to the key tag field of DNS RRSIG RDATA
(see RFC4034 Section 3.1).

> > I personally prefer option #2, but in that case I don't like to
> > overload the existing transaction-id field for this purpose.
> >
> [LS]: The standard DHCPv6 message format contains the
> transaction-id. If the transaction-id is not contained, then the
> message is not DHCPv6 message. Transaction-id field's size
> is very small.
> In the before presentation, we have showed that Encrypted-Query
> and Encrypted-Response messages are DHCPv6 messages.
> And no one proposed any problem. And I also think that
> there is no problem. If you insist on your opinion, please
> states the caused problem and modify the draft. I don't
> have any comment on this.

I didn't propose removing transaction-id.  I just pointed out that
your proposal (if I understood it) made it something actually
different from transaction-id.  I don't know whether we need to have a
discussion why "naming something that is not a transaction ID a
transaction-id is a problem", but if we can simply go to a discussion
on what we should actually do, my suggestion is:

- Introduce a new DHCPv6 option named "encryption key tag option".
  Its value is calculated from public key data (it's essentially a
  fingerprint of a specific public key).
- Encryption Query messages MUST include the encryption key tag
  option.  The option data MUST be calculated for the public key that
  the client uses to encrypt the encapsulated DHCPv6 message.

--
JINMEI, Tatuya


From nobody Wed Nov 23 00:28:58 2016
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 DF56B1293D8 for <dhcwg@ietfa.amsl.com>; Wed, 23 Nov 2016 00:28:57 -0800 (PST)
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 1uHSTM-CFEnY for <dhcwg@ietfa.amsl.com>; Wed, 23 Nov 2016 00:28:56 -0800 (PST)
Received: from mail-qk0-x235.google.com (mail-qk0-x235.google.com [IPv6:2607:f8b0:400d:c09::235]) (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 0C700129625 for <dhcwg@ietf.org>; Wed, 23 Nov 2016 00:28:56 -0800 (PST)
Received: by mail-qk0-x235.google.com with SMTP id n21so6426244qka.3 for <dhcwg@ietf.org>; Wed, 23 Nov 2016 00:28:56 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=s9dB7GdnrSgWnB/RvZEgdC+TUK1mg4gVic1jGkomasQ=; b=adlHS+P5zLGToCt4nOcybxSG+Wxhjb/nLBLq3+sSzoFBaXbpOOZx2P3gzNnHmrzBps Ny0odlfV05NWMO1opTO3UpbEje9OM22LrDpzsiOCGtAE8UkPn0tKgKZz2YJi5e4uClNI 2a7lYkTjII9jkUrocUkHXZo12PNEp9FxIc3V369S4RRLB3hjxLIddEdSKUPOBvNM+5Er hSl7X15mQ5ZfiYhMEB86V7gqVz6OGlXCTkeyS4q9KkQiZXsuVkd5xLgDMO1UrtW4ufoY Oo3/N6JQix6MfP+JoTIo97a7/QL+4vqIBdSmJX53w7RcgGViiE6jyyvwjoWbm6yflQ+2 1NJg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=s9dB7GdnrSgWnB/RvZEgdC+TUK1mg4gVic1jGkomasQ=; b=MUdnTKAct2mFBMZAt0QFIEUQqvayptn5xhW815ule/KyeRpRdCNmHpJ9387rAClX0R bwzZy9YKpFyvXy9BgN+2qVQEsz/0I9MW0ic8F2w0fqJMmheNOVp1FYlCYjCk+rIEEzBZ rt0+/akkDdVo4JQTvxDiAb5hzN6BwxPcL6cTrBvRldz11iZ+KlDHx762WDkTg6zSLTVl KnOfcF4HafW1deang3oXuPj5wZeCEZaO2GK2JXyQV00RfsWjv8WRh/Qp9q/Xmza6VdJx OTxayO/EvxgUuVUeUVjbuleXuxYUkTnhX0EZRjbT2s2UgHh277+0rapGPKxwfKy7BTmK aitw==
X-Gm-Message-State: AKaTC02hH9RC0ohKYrMrTq7gI6GWkMSQMeKeD3iCop2IPeihpu5/xrXmwrCcW6dzad8uLFJsECh8+Z3Wzz/dbg==
X-Received: by 10.55.27.141 with SMTP id m13mr1936921qkh.28.1479889735228; Wed, 23 Nov 2016 00:28:55 -0800 (PST)
MIME-Version: 1.0
Received: by 10.237.62.242 with HTTP; Wed, 23 Nov 2016 00:28:54 -0800 (PST)
In-Reply-To: <CAJE_bqeVciLxS_q=deRKLBr12ZGXxx2wdFiztJxJjfS7aAV2Ag@mail.gmail.com>
References: <CAJE_bqebwr2WUUgaNgiYS4_8L77Gxj4Os+oPRG407B6ELMEhCQ@mail.gmail.com> <CAJ3w4Ndi5Gq63n5kZnanRhLM8nWE2wsWGh0kJJLJnq=VoXLuCg@mail.gmail.com> <CAJE_bqegh1DfWjfK2BxeC_fWa0cEk-KJNP0AT-TQuEa39w_wVQ@mail.gmail.com> <CAJ3w4NdM99nv4C19Xj=aosNme+_Ymyys=xQ3UWUfeZReZC4ckA@mail.gmail.com> <CAJE_bqdhGZnK16MooiyujDgthDNnR74EiwW0OevrN6uq4b4ANw@mail.gmail.com> <CAJE_bqfKUZe2yaW1sAq7rrib0M7wz28HHtPLqCHK=vXcN6amgg@mail.gmail.com> <CAJ3w4Nd3s+ZojjiotLkKwys6truhUgK6F-90UYjcpB9iw=fKKQ@mail.gmail.com> <m2r36nuqvn.wl%jinmei.tatuya@gmail.com> <CAJ3w4NeuNYTrX4p5rtZ6UceD5ydQ-B-vY6aqQzxWnXsrDOEFEA@mail.gmail.com> <CAJE_bqdh-bgk7BHZJnaFFBr3PDj4ZnSSGeGNdQ70F7dv91iQrA@mail.gmail.com> <CAJ3w4NfU9PrC9a+MGnJ=Es1yir_asHB3p1=9GfxZZ0iSe+At+Q@mail.gmail.com> <CAJE_bqfRBYkrniWQ+vtPULTURnvyV792QNGvr8JhhZpGQ0MSdA@mail.gmail.com> <CAJ3w4NerRzHYsRqcUAkAjHX23PYVF4Jv0wKcd33vXRRg+-0EAQ@mail.gmail.com> <CAJ3w4NekPk0TuAZW_jmTDYQHd8JP3GsrA0qrKYrnyqSSk3qwxw@mail.gmail.com> <CAJE_bqc8hkrc3dYefTPWi-mUCtZD+oYsrobCK1KjmVGRnNfMCw@mail.gmail.com> <CAJ3w4NejrFAT3RK7i0W46HkQNJjhPxbhzQiL=3fcrceidTzHNQ@mail.gmail.com> <CAJE_bqcCwZWPHuZ0UR8_jyCUsaTrYKzLD8zUKwChYaCL06yT9A@mail.gmail.com> <CAJ3w4NfS8PKOMHcP5s_Nsp5K5eWJfXWRF-vNEau_ekqTRwE=wA@mail.gmail.com> <CAJE_bqfqSXFR9R5wf1USg-zs+nvdohQFq99kQL2DiapXvUdEqA@mail.gmail.com> <CAJ3w4Ncj40JwrW6UB+TVFvymByU5Y9iFv5QroWhwUzkLrS2DTg@mail.gmail.com> <CAJE_bqd38grUh9q57a-H29GsMx5Dpv9VE0iBMO7v_-y97zZZUg@mail.gmail.com> <CAJ3w4Ne63cnqoeTZk=PDmAN9+i6jwzyxbK+up45wB9h+xUDSfw@mail.gmail.com> <CAJE_bqceK7YLpMqhgjqrFQh7641a+ZRcnO0F6p6BiM8EMKmA7w@mail.gmail.com> <CAJ3w4Nf65b1zo-smMguZBc_-RbFh2y8kk7Fnu__TKCQEVbs48w@mail.gmail.com> <CAJE_bqeVciLxS_q=deRKLBr12ZGXxx2wdFiztJxJjfS7aAV2Ag@mail.gmail.com>
From: Lishan Li <lilishan48@gmail.com>
Date: Wed, 23 Nov 2016 16:28:54 +0800
Message-ID: <CAJ3w4NcvyeuRWJatGGH7U4g413GQvr9LHtDiX13zSOz7kBGEhw@mail.gmail.com>
To: =?UTF-8?B?56We5piO6YGU5ZOJ?= <jinmei@wide.ad.jp>
Content-Type: multipart/alternative; boundary=001a11409a56f9a5200541f3adbd
Archived-At: <https://mailarchive.ietf.org/arch/msg/dhcwg/mXa34pUmlXq4P3hHBxBi_ucxUbA>
Cc: "dhcwg@ietf.org" <dhcwg@ietf.org>
Subject: Re: [dhcwg] preliminary comments on draft-ietf-dhc-sedhcpv6-17
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: Wed, 23 Nov 2016 08:28:58 -0000

--001a11409a56f9a5200541f3adbd
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

2016-11-23 1:53 GMT+08:00 =E7=A5=9E=E6=98=8E=E9=81=94=E5=93=89 <jinmei@wide=
.ad.jp>:

> At Sun, 20 Nov 2016 01:11:18 +0800,
> Lishan Li <lilishan48@gmail.com> wrote:
>
> > > My understanding of where we are is that we now agree that as of
> > > sedhcpv6-17 the server can't efficiently identify the private key to
> > > decrypt a message in an Encrypted-Query message.
> > >
> > > I can think of two possible next steps from here:
> > > 1. leave the inefficiency: let the server try all possible private
> > >    keys until it can decrypt the message or conclude no key works.
> >
> > 2. introduce some kind of concept of "key ID" (or "key tag", in which
> > >    case 100% uniqueness isn't required) and have the client include i=
t
> > >    in Encrypted-Query messages.
> > >
> > [LS]: I don't know why in this case, 100% uniqueness isn't required.
> > Key id is used as the identifier of the private key, can the two privat=
e
> > key (two clients) uses the same key id?
>
> Because it's basically for making the key identification more
> efficient.  It's similar to the key tag field of DNS RRSIG RDATA
> (see RFC4034 Section 3.1).
>
> > > I personally prefer option #2, but in that case I don't like to
> > > overload the existing transaction-id field for this purpose.
> > >
> > [LS]: The standard DHCPv6 message format contains the
> > transaction-id. If the transaction-id is not contained, then the
> > message is not DHCPv6 message. Transaction-id field's size
> > is very small.
> > In the before presentation, we have showed that Encrypted-Query
> > and Encrypted-Response messages are DHCPv6 messages.
> > And no one proposed any problem. And I also think that
> > there is no problem. If you insist on your opinion, please
> > states the caused problem and modify the draft. I don't
> > have any comment on this.
>
> I didn't propose removing transaction-id.  I just pointed out that
> your proposal (if I understood it) made it something actually
> different from transaction-id.  I don't know whether we need to have a
> discussion why "naming something that is not a transaction ID a
> transaction-id is a problem", but if we can simply go to a discussion
> on what we should actually do, my suggestion is:
>
> - Introduce a new DHCPv6 option named "encryption key tag option".
>   Its value is calculated from public key data (it's essentially a
>   fingerprint of a specific public key).
> - Encryption Query messages MUST include the encryption key tag
>   option.  The option data MUST be calculated for the public key that
>   the client uses to encrypt the encapsulated DHCPv6 message.
>
[LS]: I agreed. I have two questions:
1. How does the client calculate the key tag? Maybe the hash
function can be used for the calculation.
2. For the first received Encrypted-Query message, how does the
server identifies the corresponding private key through the acknowledged
key tag?
one way is that: The server tries all the possible private key
and record the relation of key tag and the corresponding private key.
Another method is that: The server calculates the key tags of all the
private key and then finds the corresponding private key.
Looking forward to your further guidance.

Best Regards,
Lishan

--001a11409a56f9a5200541f3adbd
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_extra"><div class=3D"gmail_quote">2016=
-11-23 1:53 GMT+08:00 =E7=A5=9E=E6=98=8E=E9=81=94=E5=93=89 <span dir=3D"ltr=
">&lt;<a href=3D"mailto:jinmei@wide.ad.jp" target=3D"_blank">jinmei@wide.ad=
.jp</a>&gt;</span>:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 =
0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">At Sun, 20 Nov 2016 0=
1:11:18 +0800,<br>
<span class=3D"">Lishan Li &lt;<a href=3D"mailto:lilishan48@gmail.com">lili=
shan48@gmail.com</a>&gt; wrote:<br>
<br>
&gt; &gt; My understanding of where we are is that we now agree that as of<=
br>
&gt; &gt; sedhcpv6-17 the server can&#39;t efficiently identify the private=
 key to<br>
&gt; &gt; decrypt a message in an Encrypted-Query message.<br>
&gt; &gt;<br>
&gt; &gt; I can think of two possible next steps from here:<br>
&gt; &gt; 1. leave the inefficiency: let the server try all possible privat=
e<br>
&gt; &gt;=C2=A0 =C2=A0 keys until it can decrypt the message or conclude no=
 key works.<br>
&gt;<br>
&gt; 2. introduce some kind of concept of &quot;key ID&quot; (or &quot;key =
tag&quot;, in which<br>
&gt; &gt;=C2=A0 =C2=A0 case 100% uniqueness isn&#39;t required) and have th=
e client include it<br>
&gt; &gt;=C2=A0 =C2=A0 in Encrypted-Query messages.<br>
&gt; &gt;<br>
&gt; [LS]: I don&#39;t know why in this case, 100% uniqueness isn&#39;t req=
uired.<br>
&gt; Key id is used as the identifier of the private key, can the two priva=
te<br>
&gt; key (two clients) uses the same key id?<br>
<br>
</span>Because it&#39;s basically for making the key identification more<br=
>
efficient.=C2=A0 It&#39;s similar to the key tag field of DNS RRSIG RDATA<b=
r>
(see RFC4034 Section 3.1).<br>
<span class=3D""><br>
&gt; &gt; I personally prefer option #2, but in that case I don&#39;t like =
to<br>
&gt; &gt; overload the existing transaction-id field for this purpose.<br>
&gt; &gt;<br>
&gt; [LS]: The standard DHCPv6 message format contains the<br>
&gt; transaction-id. If the transaction-id is not contained, then the<br>
&gt; message is not DHCPv6 message. Transaction-id field&#39;s size<br>
&gt; is very small.<br>
&gt; In the before presentation, we have showed that Encrypted-Query<br>
&gt; and Encrypted-Response messages are DHCPv6 messages.<br>
&gt; And no one proposed any problem. And I also think that<br>
&gt; there is no problem. If you insist on your opinion, please<br>
&gt; states the caused problem and modify the draft. I don&#39;t<br>
&gt; have any comment on this.<br>
<br>
</span>I didn&#39;t propose removing transaction-id.=C2=A0 I just pointed o=
ut that<br>
your proposal (if I understood it) made it something actually<br>
different from transaction-id.=C2=A0 I don&#39;t know whether we need to ha=
ve a<br>
discussion why &quot;naming something that is not a transaction ID a<br>
transaction-id is a problem&quot;, but if we can simply go to a discussion<=
br>
on what we should actually do, my suggestion is:<br>
<br>
- Introduce a new DHCPv6 option named &quot;encryption key tag option&quot;=
.<br>
=C2=A0 Its value is calculated from public key data (it&#39;s essentially a=
<br>
=C2=A0 fingerprint of a specific public key).<br>
- Encryption Query messages MUST include the encryption key tag<br>
=C2=A0 option.=C2=A0 The option data MUST be calculated for the public key =
that<br>
=C2=A0 the client uses to encrypt the encapsulated DHCPv6 message.<br></blo=
ckquote><div>[LS]: I agreed. I have two questions:</div><div>1. How does th=
e client calculate the key tag? Maybe the hash=C2=A0</div><div>function can=
 be used for the calculation.</div><div>2. For the first received Encrypted=
-Query message, how does the</div><div>server identifies the corresponding =
private key through the acknowledged</div><div>key tag?=C2=A0</div><div>one=
 way is that: The server tries all the possible private key</div><div>and r=
ecord the relation of key tag and the corresponding private key.</div><div>=
Another method is that: The server calculates the key tags of all the=C2=A0=
</div><div>private key and then finds the corresponding private key.</div><=
div>Looking forward to your further guidance.</div><div><br></div><div>Best=
 Regards,</div><div>Lishan</div></div></div></div>

--001a11409a56f9a5200541f3adbd--


From nobody Wed Nov 23 10:51:45 2016
Return-Path: <volz@cisco.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 527FC129DBD; Wed, 23 Nov 2016 10:51:44 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -16.018
X-Spam-Level: 
X-Spam-Status: No, score=-16.018 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-1.497, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.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 BJzPwHcIeUcm; Wed, 23 Nov 2016 10:51:42 -0800 (PST)
Received: from alln-iport-1.cisco.com (alln-iport-1.cisco.com [173.37.142.88]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 6541C12A2C2; Wed, 23 Nov 2016 10:50:55 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=8769; q=dns/txt; s=iport; t=1479927055; x=1481136655; h=from:to:cc:subject:date:message-id:mime-version; bh=Fk2BYWL/7cLAkoBjAetBTFEHRXD42AySpTYcAm8T/nw=; b=J8SGvPAdqLFtz1TbXPNZUvODVlf9TFjGRK2M2D4L1mAaw/wd9hTAS7Gy dXsbb6hkj9Vy6XY6UcfjtQbk9xnc5nNMbojRLPOmo99LSx9yjmW1Eiqxe WmUK8NDn/89xbJRD1tREhAxLxoLFf2Z4Eyl9rBfJCcOvKdAFbKNxAqEQp E=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0CvAQDc4zVY/4ENJK1eGwEBAQMBAQEJA?= =?us-ascii?q?QEBgnNFAQEBAQEfWIECB405pm6FH4IHLIV1gh8/FAECAQEBAQEBAWIdC4RtAi1?= =?us-ascii?q?BCxIBRzkUEgEEDgUIiGUOsEiLWAEBAQEBAQEBAQEBAQEBAQEBAQEBARcFlUMFi?= =?us-ascii?q?E+HX4Q5hWgBhkaKMYF6hHeJSJF1AR43gRQehSpyAYc3gQ0BAQE?=
X-IronPort-AV: E=Sophos;i="5.31,539,1473120000";  d="scan'208,217";a="352319050"
Received: from alln-core-9.cisco.com ([173.36.13.129]) by alln-iport-1.cisco.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 23 Nov 2016 18:50:54 +0000
Received: from XCH-RCD-002.cisco.com (xch-rcd-002.cisco.com [173.37.102.12]) by alln-core-9.cisco.com (8.14.5/8.14.5) with ESMTP id uANIosGT030898 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=FAIL); Wed, 23 Nov 2016 18:50:54 GMT
Received: from xch-aln-003.cisco.com (173.36.7.13) by XCH-RCD-002.cisco.com (173.37.102.12) with Microsoft SMTP Server (TLS) id 15.0.1210.3; Wed, 23 Nov 2016 12:50:53 -0600
Received: from xch-aln-003.cisco.com ([173.36.7.13]) by XCH-ALN-003.cisco.com ([173.36.7.13]) with mapi id 15.00.1210.000; Wed, 23 Nov 2016 12:50:53 -0600
From: "Bernie Volz (volz)" <volz@cisco.com>
To: "dhcwg@ietf.org" <dhcwg@ietf.org>
Thread-Topic: WG meeting follow-up - Forcerenew Reconfiguration Extensions for DHCPv4
Thread-Index: AdJFrgUx4It+bot+S7WY8x3eyFGyNQ==
Date: Wed, 23 Nov 2016 18:50:53 +0000
Message-ID: <3f436153e5004bd285f29ffb79c6865e@XCH-ALN-003.cisco.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [10.98.1.195]
Content-Type: multipart/alternative; boundary="_000_3f436153e5004bd285f29ffb79c6865eXCHALN003ciscocom_"
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/dhcwg/XHTY65H-KHYy_t8QpZt8pB_tEEA>
Cc: "draft-ietf-dhc-dhcpv4-forcerenew-extensions@ietf.org" <draft-ietf-dhc-dhcpv4-forcerenew-extensions@ietf.org>
Subject: [dhcwg] WG meeting follow-up - Forcerenew Reconfiguration Extensions for DHCPv4
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: Wed, 23 Nov 2016 18:51:44 -0000

--_000_3f436153e5004bd285f29ffb79c6865eXCHALN003ciscocom_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Hi:

At the IETF-97 (Seoul) DHC WG meeting, Tomek had a brief presentation regar=
ding draft-ietf-dhc-dhcpv4-forcerenew-extensions (see https://www.ietf.org/=
proceedings/97/slides/slides-97-dhc-next-steps-for-draft-ietf-dhc-dhcpv4-fo=
rcerenew-extensions-00.pdf).

This document has been inactive since WG adoption and has now expired. The =
co-chairs made several attempts to contact the authors, but they were unres=
ponsive. Tomek asked those in the room if there was any interest from someo=
ne to take on this work. There was no interest expressed, but we want to ta=
ke it to the WG mailing list to see if anyone has any interest.

If you do have interest in working on this, please contact the DHC WG chair=
s (dhc-chairs@ietf.org<mailto:dhc-chairs@ietf.org>).

You can view the current (expired) draft at https://tools.ietf.org/html/dra=
ft-ietf-dhc-dhcpv4-forcerenew-extensions-00.

If there is no interest, the document will just be left as it is today (exp=
ired). Work on it can always be revived sometime in the future if a need de=
velops.

Thanks.


-          Tomek & Bernie

--_000_3f436153e5004bd285f29ffb79c6865eXCHALN003ciscocom_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
<meta name=3D"Generator" content=3D"Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:Wingdings;
	panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:#0563C1;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:#954F72;
	text-decoration:underline;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
	{mso-style-priority:34;
	margin-top:0in;
	margin-right:0in;
	margin-bottom:0in;
	margin-left:.5in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri",sans-serif;}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Calibri",sans-serif;
	color:windowtext;}
span.author-a-lz69zz122zooz66zyz84zz83zekyz87z0z77zz71z
	{mso-style-name:author-a-lz69zz122zooz66zyz84zz83zekyz87z0z77zz71z;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-family:"Calibri",sans-serif;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
/* List Definitions */
@list l0
	{mso-list-id:1039624822;
	mso-list-type:hybrid;
	mso-list-template-ids:364958502 2018661404 67698691 67698693 67698689 6769=
8691 67698693 67698689 67698691 67698693;}
@list l0:level1
	{mso-level-number-format:bullet;
	mso-level-text:-;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:"Calibri",sans-serif;
	mso-fareast-font-family:Calibri;
	mso-bidi-font-family:"Times New Roman";}
@list l0:level2
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:"Courier New";}
@list l0:level3
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Wingdings;}
@list l0:level4
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Symbol;}
@list l0:level5
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:"Courier New";}
@list l0:level6
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Wingdings;}
@list l0:level7
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Symbol;}
@list l0:level8
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:"Courier New";}
@list l0:level9
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Wingdings;}
ol
	{margin-bottom:0in;}
ul
	{margin-bottom:0in;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"EN-US" link=3D"#0563C1" vlink=3D"#954F72">
<div class=3D"WordSection1">
<p class=3D"MsoNormal">Hi:<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">At the IETF-97 (Seoul) DHC WG meeting, <span class=
=3D"author-a-lz69zz122zooz66zyz84zz83zekyz87z0z77zz71z">
Tomek had a brief presentation regarding draft-ietf-dhc-dhcpv4-forcerenew-e=
xtensions (see
<a href=3D"https://www.ietf.org/proceedings/97/slides/slides-97-dhc-next-st=
eps-for-draft-ietf-dhc-dhcpv4-forcerenew-extensions-00.pdf">
https://www.ietf.org/proceedings/97/slides/slides-97-dhc-next-steps-for-dra=
ft-ietf-dhc-dhcpv4-forcerenew-extensions-00.pdf</a>).<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span class=3D"author-a-lz69zz122zooz66zyz84zz83zeky=
z87z0z77zz71z"><o:p>&nbsp;</o:p></span></p>
<p class=3D"MsoNormal"><span class=3D"author-a-lz69zz122zooz66zyz84zz83zeky=
z87z0z77zz71z">This document has been inactive since WG adoption and has no=
w expired. The co-chairs made several attempts to contact the authors, but =
they were unresponsive. Tomek asked
 those in the room if there was any interest from someone to take on this w=
ork. There was no interest expressed, but we want to take it to the WG mail=
ing list to see if anyone has any interest.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span class=3D"author-a-lz69zz122zooz66zyz84zz83zeky=
z87z0z77zz71z"><o:p>&nbsp;</o:p></span></p>
<p class=3D"MsoNormal"><span class=3D"author-a-lz69zz122zooz66zyz84zz83zeky=
z87z0z77zz71z">If you do have interest in working on this, please contact t=
he DHC WG chairs (<a href=3D"mailto:dhc-chairs@ietf.org">dhc-chairs@ietf.or=
g</a>).<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span class=3D"author-a-lz69zz122zooz66zyz84zz83zeky=
z87z0z77zz71z"><o:p>&nbsp;</o:p></span></p>
<p class=3D"MsoNormal"><span class=3D"author-a-lz69zz122zooz66zyz84zz83zeky=
z87z0z77zz71z">You can view the current (expired) draft at
<a href=3D"https://tools.ietf.org/html/draft-ietf-dhc-dhcpv4-forcerenew-ext=
ensions-00">
https://tools.ietf.org/html/draft-ietf-dhc-dhcpv4-forcerenew-extensions-00<=
/a>.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span class=3D"author-a-lz69zz122zooz66zyz84zz83zeky=
z87z0z77zz71z"><o:p>&nbsp;</o:p></span></p>
<p class=3D"MsoNormal"><span class=3D"author-a-lz69zz122zooz66zyz84zz83zeky=
z87z0z77zz71z">If there is no interest, the document will just be left as i=
t is today (expired). Work on it can always be revived sometime in the futu=
re if a need develops.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span class=3D"author-a-lz69zz122zooz66zyz84zz83zeky=
z87z0z77zz71z"><o:p>&nbsp;</o:p></span></p>
<p class=3D"MsoNormal"><span class=3D"author-a-lz69zz122zooz66zyz84zz83zeky=
z87z0z77zz71z">Thanks.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span class=3D"author-a-lz69zz122zooz66zyz84zz83zeky=
z87z0z77zz71z"><o:p>&nbsp;</o:p></span></p>
<p class=3D"MsoListParagraph" style=3D"text-indent:-.25in;mso-list:l0 level=
1 lfo1"><![if !supportLists]><span style=3D"mso-list:Ignore">-<span style=
=3D"font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;
</span></span><![endif]>Tomek &amp; Bernie<o:p></o:p></p>
</div>
</body>
</html>

--_000_3f436153e5004bd285f29ffb79c6865eXCHALN003ciscocom_--


From nobody Wed Nov 23 11:39:31 2016
Return-Path: <jinmei.tatuya@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 778F9129B39 for <dhcwg@ietfa.amsl.com>; Wed, 23 Nov 2016 11:39:30 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.4
X-Spam-Level: 
X-Spam-Status: No, score=-2.4 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.199, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=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 ud5VBlyq3KEP for <dhcwg@ietfa.amsl.com>; Wed, 23 Nov 2016 11:39:29 -0800 (PST)
Received: from mail-qt0-x22a.google.com (mail-qt0-x22a.google.com [IPv6:2607:f8b0:400d:c0d::22a]) (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 04F89129E2A for <dhcwg@ietf.org>; Wed, 23 Nov 2016 11:39:28 -0800 (PST)
Received: by mail-qt0-x22a.google.com with SMTP id w33so21316941qtc.3 for <dhcwg@ietf.org>; Wed, 23 Nov 2016 11:39:28 -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:from:date:message-id :subject:to:cc; bh=2I8tXznM+IJiokFZ7ua52Tt7JOOIU9c0VGPDCe8Swew=; b=vr6fPFLks7FZ2RmZxrfP4cD8T60489ELQugMGVqn50ki9UzjYPEx79TqL4sEdgYosJ fd0cmybOcAFSpvg/H8vxyLcCHp8GQSTe5bwSo0KKOgd6bqyRlJqbhqyoXRskspxssadC kPaDfiD9uZeWINmdFxDjVymgLWvR9o+BYyG7Xh8LvldpmYeFBzyKVZ2kzXVBSehq8qJA DSaJYTdhIWiWXfCJFVnY0qjITusr+MR1EeKyp60rDI5smnvw1G23SfHpaSnWbIGebRRR Qb3e/KnyvegCEqmPtsiToUSE/Z7sLuNdYMpV1O6iAPNhHlbctwm95Qz7xRRfpRnx4TBr jvyg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=2I8tXznM+IJiokFZ7ua52Tt7JOOIU9c0VGPDCe8Swew=; b=BfEdQU1Zs0+qv2VCJh/DxPZpsQjmJN1JqT1iWdHqlpdsnNx7pe3nExfh9Dlr81oKjp JLgV51Y4NkPtVxj5WJCqppIo0bwxadnfKKvPwzYgtcm9f32vDHIFb8JW22Xmdm2VQGlB yNeJU5qwYY9aylcMPmFfzyEz1NtaoO0l2CJl8stwwNOGSZPQr32nEavNStNI2gRDUAik rf5ctn/kfa5i2cLjqKsVjU+nwvrBBF1jfyYDNgv64L1pPj2VRMmRXrbi8vndftDCImsv Ermj868MF9TdEfZf3MHx0KCrKlCgG1U261Sf2laAz7IqqvVnCpVEPqAy9lj49sCA1lQc 6v5A==
X-Gm-Message-State: AKaTC00hrLJOxCjDpVJOv4TfG5Sy9CGTXCdOLqHhn2vyokDcfCua70anCg+PW3SsCZa5sxPx729X/B9kMWKSQw==
X-Received: by 10.200.39.83 with SMTP id h19mr4025413qth.290.1479929967821; Wed, 23 Nov 2016 11:39:27 -0800 (PST)
MIME-Version: 1.0
Sender: jinmei.tatuya@gmail.com
Received: by 10.237.53.155 with HTTP; Wed, 23 Nov 2016 11:39:27 -0800 (PST)
In-Reply-To: <CAJ3w4NcvyeuRWJatGGH7U4g413GQvr9LHtDiX13zSOz7kBGEhw@mail.gmail.com>
References: <CAJE_bqebwr2WUUgaNgiYS4_8L77Gxj4Os+oPRG407B6ELMEhCQ@mail.gmail.com> <CAJ3w4Ndi5Gq63n5kZnanRhLM8nWE2wsWGh0kJJLJnq=VoXLuCg@mail.gmail.com> <CAJE_bqegh1DfWjfK2BxeC_fWa0cEk-KJNP0AT-TQuEa39w_wVQ@mail.gmail.com> <CAJ3w4NdM99nv4C19Xj=aosNme+_Ymyys=xQ3UWUfeZReZC4ckA@mail.gmail.com> <CAJE_bqdhGZnK16MooiyujDgthDNnR74EiwW0OevrN6uq4b4ANw@mail.gmail.com> <CAJE_bqfKUZe2yaW1sAq7rrib0M7wz28HHtPLqCHK=vXcN6amgg@mail.gmail.com> <CAJ3w4Nd3s+ZojjiotLkKwys6truhUgK6F-90UYjcpB9iw=fKKQ@mail.gmail.com> <m2r36nuqvn.wl%jinmei.tatuya@gmail.com> <CAJ3w4NeuNYTrX4p5rtZ6UceD5ydQ-B-vY6aqQzxWnXsrDOEFEA@mail.gmail.com> <CAJE_bqdh-bgk7BHZJnaFFBr3PDj4ZnSSGeGNdQ70F7dv91iQrA@mail.gmail.com> <CAJ3w4NfU9PrC9a+MGnJ=Es1yir_asHB3p1=9GfxZZ0iSe+At+Q@mail.gmail.com> <CAJE_bqfRBYkrniWQ+vtPULTURnvyV792QNGvr8JhhZpGQ0MSdA@mail.gmail.com> <CAJ3w4NerRzHYsRqcUAkAjHX23PYVF4Jv0wKcd33vXRRg+-0EAQ@mail.gmail.com> <CAJ3w4NekPk0TuAZW_jmTDYQHd8JP3GsrA0qrKYrnyqSSk3qwxw@mail.gmail.com> <CAJE_bqc8hkrc3dYefTPWi-mUCtZD+oYsrobCK1KjmVGRnNfMCw@mail.gmail.com> <CAJ3w4NejrFAT3RK7i0W46HkQNJjhPxbhzQiL=3fcrceidTzHNQ@mail.gmail.com> <CAJE_bqcCwZWPHuZ0UR8_jyCUsaTrYKzLD8zUKwChYaCL06yT9A@mail.gmail.com> <CAJ3w4NfS8PKOMHcP5s_Nsp5K5eWJfXWRF-vNEau_ekqTRwE=wA@mail.gmail.com> <CAJE_bqfqSXFR9R5wf1USg-zs+nvdohQFq99kQL2DiapXvUdEqA@mail.gmail.com> <CAJ3w4Ncj40JwrW6UB+TVFvymByU5Y9iFv5QroWhwUzkLrS2DTg@mail.gmail.com> <CAJE_bqd38grUh9q57a-H29GsMx5Dpv9VE0iBMO7v_-y97zZZUg@mail.gmail.com> <CAJ3w4Ne63cnqoeTZk=PDmAN9+i6jwzyxbK+up45wB9h+xUDSfw@mail.gmail.com> <CAJE_bqceK7YLpMqhgjqrFQh7641a+ZRcnO0F6p6BiM8EMKmA7w@mail.gmail.com> <CAJ3w4Nf65b1zo-smMguZBc_-RbFh2y8kk7Fnu__TKCQEVbs48w@mail.gmail.com> <CAJE_bqeVciLxS_q=deRKLBr12ZGXxx2wdFiztJxJjfS7aAV2Ag@mail.gmail.com> <CAJ3w4NcvyeuRWJatGGH7U4g413GQvr9LHtDiX13zSOz7kBGEhw@mail.gmail.com>
From: =?UTF-8?B?56We5piO6YGU5ZOJ?= <jinmei@wide.ad.jp>
Date: Wed, 23 Nov 2016 11:39:27 -0800
X-Google-Sender-Auth: Ls-q8EWOax4XVXD_QwsvISEvC9M
Message-ID: <CAJE_bqfFOhe26huAP8_BFKjnTXbG4F0vUfMYs5Xy=3RQigS7FA@mail.gmail.com>
To: Lishan Li <lilishan48@gmail.com>
Content-Type: text/plain; charset=UTF-8
Archived-At: <https://mailarchive.ietf.org/arch/msg/dhcwg/uCiN56Li9GleFrIj49vWAjsZbUo>
Cc: "dhcwg@ietf.org" <dhcwg@ietf.org>
Subject: Re: [dhcwg] preliminary comments on draft-ietf-dhc-sedhcpv6-17
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: Wed, 23 Nov 2016 19:39:30 -0000

At Wed, 23 Nov 2016 16:28:54 +0800,
Lishan Li <lilishan48@gmail.com> wrote:

> > - Introduce a new DHCPv6 option named "encryption key tag option".
> >   Its value is calculated from public key data (it's essentially a
> >   fingerprint of a specific public key).
> > - Encryption Query messages MUST include the encryption key tag
> >   option.  The option data MUST be calculated for the public key that
> >   the client uses to encrypt the encapsulated DHCPv6 message.
> >
> [LS]: I agreed. I have two questions:
> 1. How does the client calculate the key tag? Maybe the hash
> function can be used for the calculation.

Anything that would generate reasonably different values for different
keys (but it doesn't have to be guaranteed) is fine.  A simple
"checksum" like the RRSIG key tag would probably suffice; using a
commonly known modern hash is also fine.

> 2. For the first received Encrypted-Query message, how does the
> server identifies the corresponding private key through the acknowledged
> key tag?
> one way is that: The server tries all the possible private key
> and record the relation of key tag and the corresponding private key.
> Another method is that: The server calculates the key tags of all the
> private key and then finds the corresponding private key.
> Looking forward to your further guidance.

IMO this can be left to implementations.  But I expect most server
implementations will calculate the tag value when it generates a key
pair and maintain it with the key pair.  Note that if the server
implementator and administrator don't care about the efficiency it
could even calculate the tag value for its all public keys and compare
it to the value specified in the "encryption key tag option".  Or it
could even skip using the key tag and try all possible keys.  It's
inefficient but will still work.

--
JINMEI, Tatuya


From nobody Wed Nov 23 11:44:36 2016
Return-Path: <volz@cisco.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 4423A129E46 for <dhcwg@ietfa.amsl.com>; Wed, 23 Nov 2016 11:44:34 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -16.018
X-Spam-Level: 
X-Spam-Status: No, score=-16.018 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-1.497, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.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 z1MTUxuL21-K for <dhcwg@ietfa.amsl.com>; Wed, 23 Nov 2016 11:44:32 -0800 (PST)
Received: from alln-iport-2.cisco.com (alln-iport-2.cisco.com [173.37.142.89]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 427E7129E2A for <dhcwg@ietf.org>; Wed, 23 Nov 2016 11:44:32 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=10889; q=dns/txt; s=iport; t=1479930272; x=1481139872; h=from:to:subject:date:message-id:mime-version; bh=hWEnJlCbEITIaTqjqKuTqhVLxw7krtif7tNRgTxKVyk=; b=FknXWo/HlpQJWb35ln/g24fbrDm9P4YFHOQOg/dXCprMfaus9StzR5Ar 0Mixs857Gll0ryX5qbGvAeHH4yiYHQgPxHwkG03pAsQrs+bb/0JBQ0tXY mQcg/Gc3lT6Bb6x33zL7w/dtPceY2N/purW597v7+lui6BiLXehApxH+M 8=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0BvAQAj8TVY/5hdJa1eGgEBAQECAQEBA?= =?us-ascii?q?QgBAQEBgnNFAQEBAQEfWIECB405pm6FH4IHKogWPxQBAgEBAQEBAQFiHQuEbQI?= =?us-ascii?q?tXgGBACYBBBuIZQ6eHZIli1UBAQEBAQEEAQEBAQEBARsFjzQRAQaCYoMVBZpPA?= =?us-ascii?q?ZB3kDmRdQEeN142HoNlgUVyAYYWgSGBDQEBAQ?=
X-IronPort-AV: E=Sophos;i="5.31,539,1473120000";  d="scan'208,217";a="350776782"
Received: from rcdn-core-1.cisco.com ([173.37.93.152]) by alln-iport-2.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 23 Nov 2016 19:44:31 +0000
Received: from XCH-ALN-004.cisco.com (xch-aln-004.cisco.com [173.36.7.14]) by rcdn-core-1.cisco.com (8.14.5/8.14.5) with ESMTP id uANJiVpn026254 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=FAIL) for <dhcwg@ietf.org>; Wed, 23 Nov 2016 19:44:31 GMT
Received: from xch-aln-003.cisco.com (173.36.7.13) by XCH-ALN-004.cisco.com (173.36.7.14) with Microsoft SMTP Server (TLS) id 15.0.1210.3; Wed, 23 Nov 2016 13:44:30 -0600
Received: from xch-aln-003.cisco.com ([173.36.7.13]) by XCH-ALN-003.cisco.com ([173.36.7.13]) with mapi id 15.00.1210.000; Wed, 23 Nov 2016 13:44:30 -0600
From: "Bernie Volz (volz)" <volz@cisco.com>
To: "dhcwg@ietf.org" <dhcwg@ietf.org>
Thread-Topic: WG meeting follow-up - draft-ietf-dhc-rfc3315bis (1/3) - Raise objections by 12/1/2017
Thread-Index: AdJFwM5vhF36djpVRHyUWmOuS8VEHw==
Date: Wed, 23 Nov 2016 19:44:30 +0000
Message-ID: <b059e3c62d9b42eeb8a74a1e004e607d@XCH-ALN-003.cisco.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [10.98.1.195]
Content-Type: multipart/alternative; boundary="_000_b059e3c62d9b42eeb8a74a1e004e607dXCHALN003ciscocom_"
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/dhcwg/IqN7HRO1jW9qyfnrEmr38acO2s0>
Subject: [dhcwg] WG meeting follow-up - draft-ietf-dhc-rfc3315bis (1/3) - Raise objections by 12/1/2017
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: Wed, 23 Nov 2016 19:44:34 -0000

--_000_b059e3c62d9b42eeb8a74a1e004e607dXCHALN003ciscocom_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Hi:

At IETF-97 (Seoul) I presented several issues that had been raised by revie=
wers during the WGLC of draft-ietf-dhc-rfc3315bis-05.

The first was regarding RFC 7083 SOL_MAX_RT/INF_MAX_RT:

Here are the Etherpad notes taken by Tim Chown and others:

  Proposal is to use "smallest" legal value across the received options
  In principle, all servers should be configured the same.
Ted Lemon: good idea to take the smallest length that you hear, to avoid ba=
d guy sending long values.
Suresh: idea was to allow changes to default, including reducing traffic fr=
om it. Perhaps use default in cases of conflict?
Bernie: Sounds plausible.
Bernie: Also, when do you ever set it back to the default?  RFC 7083 doesn'=
t talk about that.  Should we address that?
Suresh: Do you keep track of which value comes from which server?
Tomek: Implementation-specific.
Tim Winters: We only see it in home gateways; most lose it when you reboot.=
 A couple keep it forever - interesting!  So might want to say something ab=
out this to avoid applying a value for ever.
Ted: I like Suresh's suggestion. Not likely to be a problem in typical use =
case; if cable modem sends a solicit, it's on the cable network, so unlikel=
y to get a 3rd party attack is slim.  So, good idea, but not a serious issu=
e. I suggest you discard values on link state transition.
Bernie: Should these options be allowed in confirm/rebind case?  Maybe does=
n't matter.

Action: will confirm on list (inc. Suresh's suggestion?)

So, this email is to confirm that we use Suresh's suggested mechanism which=
 is that when a Client is receiving responses for Solicits (or Information-=
Requests) it track the SOL_MAX_RT/INF_MAX_RT values that are received. If t=
he values returned DIFFER between responses, the client should then use the=
 default values.

Note: The assumption here is that only the values received while normally w=
aiting to receive a response for a transmitted request are compared; values=
 from previous attempts are ignored. If only one response is received, its =
value can be used.

We will assume that everyone supports this approach UNLESS someone raises a=
n objection. You have until 12/1/2017 to raise an objection.

See slide #4 at https://www.ietf.org/proceedings/97/slides/slides-97-dhc-dh=
cpv6bis-open-issues-discussion-01.pdf.


-          Bernie (for the bis team)

--_000_b059e3c62d9b42eeb8a74a1e004e607dXCHALN003ciscocom_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
<meta name=3D"Generator" content=3D"Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:Wingdings;
	panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:#0563C1;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:#954F72;
	text-decoration:underline;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
	{mso-style-priority:34;
	margin-top:0in;
	margin-right:0in;
	margin-bottom:0in;
	margin-left:.5in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri",sans-serif;}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Calibri",sans-serif;
	color:windowtext;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-family:"Calibri",sans-serif;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
/* List Definitions */
@list l0
	{mso-list-id:984698959;
	mso-list-type:hybrid;
	mso-list-template-ids:-1765274722 -838834508 67698691 67698693 67698689 67=
698691 67698693 67698689 67698691 67698693;}
@list l0:level1
	{mso-level-number-format:bullet;
	mso-level-text:-;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:"Calibri",sans-serif;
	mso-fareast-font-family:Calibri;
	mso-bidi-font-family:"Times New Roman";}
@list l0:level2
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:"Courier New";}
@list l0:level3
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Wingdings;}
@list l0:level4
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Symbol;}
@list l0:level5
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:"Courier New";}
@list l0:level6
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Wingdings;}
@list l0:level7
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Symbol;}
@list l0:level8
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:"Courier New";}
@list l0:level9
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Wingdings;}
ol
	{margin-bottom:0in;}
ul
	{margin-bottom:0in;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"EN-US" link=3D"#0563C1" vlink=3D"#954F72">
<div class=3D"WordSection1">
<p class=3D"MsoNormal">Hi:<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">At IETF-97 (Seoul) I presented several issues that h=
ad been raised by reviewers during the WGLC of draft-ietf-dhc-rfc3315bis-05=
.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">The first was regarding RFC 7083 SOL_MAX_RT/INF_MAX_=
RT:<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Here are the Etherpad notes taken by Tim Chown and o=
thers:<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">&nbsp; Proposal is to use &quot;smallest&quot; legal=
 value across the received options<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp; In principle, all servers should be configure=
d the same.<o:p></o:p></p>
<p class=3D"MsoNormal">Ted Lemon: good idea to take the smallest length tha=
t you hear, to avoid bad guy sending long values.<o:p></o:p></p>
<p class=3D"MsoNormal">Suresh: idea was to allow changes to default, includ=
ing reducing traffic from it. Perhaps use default in cases of conflict?<o:p=
></o:p></p>
<p class=3D"MsoNormal">Bernie: Sounds plausible. <o:p></o:p></p>
<p class=3D"MsoNormal">Bernie: Also, when do you ever set it back to the de=
fault?&nbsp; RFC 7083 doesn't talk about that.&nbsp; Should we address that=
?<o:p></o:p></p>
<p class=3D"MsoNormal">Suresh: Do you keep track of which value comes from =
which server?<o:p></o:p></p>
<p class=3D"MsoNormal">Tomek: Implementation-specific.<o:p></o:p></p>
<p class=3D"MsoNormal">Tim Winters: We only see it in home gateways; most l=
ose it when you reboot. A couple keep it forever - interesting!&nbsp; So mi=
ght want to say something about this to avoid applying a value for ever.<o:=
p></o:p></p>
<p class=3D"MsoNormal">Ted: I like Suresh's suggestion. Not likely to be a =
problem in typical use case; if cable modem sends a solicit, it's on the ca=
ble network, so unlikely to get a 3rd party attack is slim.&nbsp; So, good =
idea, but not a serious issue. I suggest
 you discard values on link state transition. <o:p></o:p></p>
<p class=3D"MsoNormal">Bernie: Should these options be allowed in confirm/r=
ebind case?&nbsp; Maybe doesn't matter.
<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Action: will confirm on list (inc. Suresh's suggesti=
on?)<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">So, this email is to confirm that we use Suresh&#821=
7;s suggested mechanism which is that when a Client is receiving responses =
for Solicits (or Information-Requests) it track the SOL_MAX_RT/INF_MAX_RT v=
alues that are received. If the values returned
 DIFFER between responses, the client should then use the default values.<o=
:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Note: The assumption here is that only the values re=
ceived while normally waiting to receive a response for a transmitted reque=
st are compared; values from previous attempts are ignored. If only one res=
ponse is received, its value can be
 used.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">We will assume that everyone supports this approach =
UNLESS someone raises an objection. You have until 12/1/2017 to raise an ob=
jection.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">See slide #4 at <a href=3D"https://www.ietf.org/proc=
eedings/97/slides/slides-97-dhc-dhcpv6bis-open-issues-discussion-01.pdf">
https://www.ietf.org/proceedings/97/slides/slides-97-dhc-dhcpv6bis-open-iss=
ues-discussion-01.pdf</a>.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoListParagraph" style=3D"text-indent:-.25in;mso-list:l0 level=
1 lfo1"><![if !supportLists]><span style=3D"mso-list:Ignore">-<span style=
=3D"font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;
</span></span><![endif]>Bernie (for the bis team)<o:p></o:p></p>
</div>
</body>
</html>

--_000_b059e3c62d9b42eeb8a74a1e004e607dXCHALN003ciscocom_--


From nobody Wed Nov 23 11:44:51 2016
Return-Path: <volz@cisco.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 705B2129E4A for <dhcwg@ietfa.amsl.com>; Wed, 23 Nov 2016 11:44:35 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -16.018
X-Spam-Level: 
X-Spam-Status: No, score=-16.018 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-1.497, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.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 BuU_zqVQtvM8 for <dhcwg@ietfa.amsl.com>; Wed, 23 Nov 2016 11:44:34 -0800 (PST)
Received: from rcdn-iport-3.cisco.com (rcdn-iport-3.cisco.com [173.37.86.74]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 12E20129E45 for <dhcwg@ietf.org>; Wed, 23 Nov 2016 11:44:34 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=7715; q=dns/txt; s=iport; t=1479930273; x=1481139873; h=from:to:subject:date:message-id:mime-version; bh=3uDrE6eKW5hrOsnbP51Gbl6ioCkMaXUiKyJ769hOcAE=; b=Bc3qJnY6ZdTIn1wiUBegv4k0dS8YVN28wMxFM0nWt1PlSxsLpj8P06ne C6iQ8S3r5ef5nL1QQ9HsTXD21U/D0X0XfvW0ztf6Y2xP3PI++4oQp4ZOw rKOmv8xQ/fUoFiBPsqNjSlDOczjYPOL4HsiYCHZ3ozOUQba130JSNw68d s=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0CuAQC28DVY/5xdJa1eGwEBAQMBAQEJA?= =?us-ascii?q?QEBgnNFAQEBAQEfWIECB405pm6FH4IHKogWPxQBAgEBAQEBAQFiHQuEbQItXgG?= =?us-ascii?q?BACYBBBuIZQ6eHJIli1UBAQEBAQEEAQEBAQEBARsFjzQRAYV9BZpPAZB3kDmRd?= =?us-ascii?q?QEeN142HoNlgUVyAYYWgSGBDQEBAQ?=
X-IronPort-AV: E=Sophos;i="5.31,539,1473120000";  d="scan'208,217";a="177198008"
Received: from rcdn-core-5.cisco.com ([173.37.93.156]) by rcdn-iport-3.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 23 Nov 2016 19:44:32 +0000
Received: from XCH-ALN-005.cisco.com (xch-aln-005.cisco.com [173.36.7.15]) by rcdn-core-5.cisco.com (8.14.5/8.14.5) with ESMTP id uANJiWsG005004 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=FAIL) for <dhcwg@ietf.org>; Wed, 23 Nov 2016 19:44:33 GMT
Received: from xch-aln-003.cisco.com (173.36.7.13) by XCH-ALN-005.cisco.com (173.36.7.15) with Microsoft SMTP Server (TLS) id 15.0.1210.3; Wed, 23 Nov 2016 13:44:32 -0600
Received: from xch-aln-003.cisco.com ([173.36.7.13]) by XCH-ALN-003.cisco.com ([173.36.7.13]) with mapi id 15.00.1210.000; Wed, 23 Nov 2016 13:44:32 -0600
From: "Bernie Volz (volz)" <volz@cisco.com>
To: "dhcwg@ietf.org" <dhcwg@ietf.org>
Thread-Topic: WG meeting follow-up - draft-ietf-dhc-rfc3315bis (2/3) - Raise objections by 12/1/2017
Thread-Index: AdJFwOneLbmOWoEDSua9Fbl0eAzttw==
Date: Wed, 23 Nov 2016 19:44:32 +0000
Message-ID: <b51ccf6aa01d4643bdece3a65683c7c9@XCH-ALN-003.cisco.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [10.98.1.195]
Content-Type: multipart/alternative; boundary="_000_b51ccf6aa01d4643bdece3a65683c7c9XCHALN003ciscocom_"
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/dhcwg/-cDLqTAebuk0VDHx0oCg-mb1AdI>
Subject: [dhcwg] WG meeting follow-up - draft-ietf-dhc-rfc3315bis (2/3) - Raise objections by 12/1/2017
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: Wed, 23 Nov 2016 19:44:35 -0000

--_000_b51ccf6aa01d4643bdece3a65683c7c9XCHALN003ciscocom_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Hi:

At IETF-97 (Seoul) I presented several issues that had been raised by revie=
wers during the WGLC of draft-ietf-dhc-rfc3315bis-05.

The second was regarding multiple state machines.

Here are the Etherpad notes taken by Tim Chown and others:

- Multiple state machines (81)
  Proposal to allow multiple independent state machines on one interface.  =
Hence the text is a SHOULD.
Bernie: Not sure we want to reword or remove.
Ted: If you have servers doing PD and NA, this will mean more work. But not=
 likely.
Bernie: Agree.

Action: will confirm on list

So, this email is to confirm that we will keep the text "as is" in section =
17.1.10.1 of draft-ietf-dhc-rfc3315bis-05.

We will assume that everyone supports this approach UNLESS someone raises a=
n objection. You have until 12/1/2017 to raise an objection.

See slide #5 at https://www.ietf.org/proceedings/97/slides/slides-97-dhc-dh=
cpv6bis-open-issues-discussion-01.pdf.


-          Bernie (for the bis team)


--_000_b51ccf6aa01d4643bdece3a65683c7c9XCHALN003ciscocom_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
<meta name=3D"Generator" content=3D"Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:Wingdings;
	panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:#0563C1;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:#954F72;
	text-decoration:underline;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
	{mso-style-priority:34;
	margin-top:0in;
	margin-right:0in;
	margin-bottom:0in;
	margin-left:.5in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri",sans-serif;}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Calibri",sans-serif;
	color:windowtext;}
.MsoChpDefault
	{mso-style-type:export-only;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
/* List Definitions */
@list l0
	{mso-list-id:984698959;
	mso-list-type:hybrid;
	mso-list-template-ids:-1765274722 -838834508 67698691 67698693 67698689 67=
698691 67698693 67698689 67698691 67698693;}
@list l0:level1
	{mso-level-number-format:bullet;
	mso-level-text:-;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:"Calibri",sans-serif;
	mso-fareast-font-family:Calibri;
	mso-bidi-font-family:"Times New Roman";}
@list l0:level2
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:"Courier New";}
@list l0:level3
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Wingdings;}
@list l0:level4
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Symbol;}
@list l0:level5
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:"Courier New";}
@list l0:level6
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Wingdings;}
@list l0:level7
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Symbol;}
@list l0:level8
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:"Courier New";}
@list l0:level9
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Wingdings;}
ol
	{margin-bottom:0in;}
ul
	{margin-bottom:0in;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"EN-US" link=3D"#0563C1" vlink=3D"#954F72">
<div class=3D"WordSection1">
<p class=3D"MsoNormal">Hi:<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">At IETF-97 (Seoul) I presented several issues that h=
ad been raised by reviewers during the WGLC of draft-ietf-dhc-rfc3315bis-05=
.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">The second was regarding multiple state machines.<o:=
p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Here are the Etherpad notes taken by Tim Chown and o=
thers:<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">- Multiple state machines (81)<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp; Proposal to allow multiple independent state =
machines on one interface.&nbsp; Hence the text is a SHOULD.<o:p></o:p></p>
<p class=3D"MsoNormal">Bernie: Not sure we want to reword or remove.<o:p></=
o:p></p>
<p class=3D"MsoNormal">Ted: If you have servers doing PD and NA, this will =
mean more work. But not likely.<o:p></o:p></p>
<p class=3D"MsoNormal">Bernie: Agree.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Action: will confirm on list<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">So, this email is to confirm that we will keep the t=
ext &#8220;as is&#8221; in section 17.1.10.1 of draft-ietf-dhc-rfc3315bis-0=
5.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">We will assume that everyone supports this approach =
UNLESS someone raises an objection. You have until 12/1/2017 to raise an ob=
jection.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">See slide #5 at <a href=3D"https://www.ietf.org/proc=
eedings/97/slides/slides-97-dhc-dhcpv6bis-open-issues-discussion-01.pdf">
https://www.ietf.org/proceedings/97/slides/slides-97-dhc-dhcpv6bis-open-iss=
ues-discussion-01.pdf</a>.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoListParagraph" style=3D"text-indent:-.25in;mso-list:l0 level=
1 lfo1"><![if !supportLists]><span style=3D"mso-list:Ignore">-<span style=
=3D"font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;
</span></span><![endif]>Bernie (for the bis team)<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</body>
</html>

--_000_b51ccf6aa01d4643bdece3a65683c7c9XCHALN003ciscocom_--


From nobody Wed Nov 23 11:44:54 2016
Return-Path: <volz@cisco.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 C5D90129E50 for <dhcwg@ietfa.amsl.com>; Wed, 23 Nov 2016 11:44:37 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -16.018
X-Spam-Level: 
X-Spam-Status: No, score=-16.018 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-1.497, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.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 m6RDbm62jkXB for <dhcwg@ietfa.amsl.com>; Wed, 23 Nov 2016 11:44:36 -0800 (PST)
Received: from rcdn-iport-8.cisco.com (rcdn-iport-8.cisco.com [173.37.86.79]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 2B01E129E4A for <dhcwg@ietf.org>; Wed, 23 Nov 2016 11:44:36 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=8371; q=dns/txt; s=iport; t=1479930276; x=1481139876; h=from:to:subject:date:message-id:mime-version; bh=GHMS6UNpLhzZuSEXyPl2ZQ0df9c69yVfJ4ueolRoBA0=; b=bzrZqP8KoY6x4nZOTiJFB3F30lVlEUQA/sDWoi0uCB69yKc1kDhUrFx9 c3yokF5KKBvVhaRa/lGROjPSsCOZG6MxqOyamzDlwvczHPug6tAdnPKsQ 8kib1H2hpxmxbbFalaqzWQqUo2JzSYwD+wjLWAA1NR2BlNo+JQNl1kQN5 A=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0BvAQC28DVY/4gNJK1eGgEBAQECAQEBA?= =?us-ascii?q?QgBAQEBgnNFAQEBAQEfWIECB405pm6FH4IHKogWPxQBAgEBAQEBAQFiHQuEbQI?= =?us-ascii?q?tXgGBACYBBBuIZQ6eHJIli1UBAQEBAQEEAQEBAQEBHAWPTIV3BZpPAYZGijGBe?= =?us-ascii?q?oR3g0GGB5F1AR43gRQehSpyAYc3gQ0BAQE?=
X-IronPort-AV: E=Sophos;i="5.31,539,1473120000";  d="scan'208,217";a="173165094"
Received: from alln-core-3.cisco.com ([173.36.13.136]) by rcdn-iport-8.cisco.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 23 Nov 2016 19:44:35 +0000
Received: from XCH-RCD-001.cisco.com (xch-rcd-001.cisco.com [173.37.102.11]) by alln-core-3.cisco.com (8.14.5/8.14.5) with ESMTP id uANJiZ1A012839 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=FAIL) for <dhcwg@ietf.org>; Wed, 23 Nov 2016 19:44:35 GMT
Received: from xch-aln-003.cisco.com (173.36.7.13) by XCH-RCD-001.cisco.com (173.37.102.11) with Microsoft SMTP Server (TLS) id 15.0.1210.3; Wed, 23 Nov 2016 13:44:34 -0600
Received: from xch-aln-003.cisco.com ([173.36.7.13]) by XCH-ALN-003.cisco.com ([173.36.7.13]) with mapi id 15.00.1210.000; Wed, 23 Nov 2016 13:44:34 -0600
From: "Bernie Volz (volz)" <volz@cisco.com>
To: "dhcwg@ietf.org" <dhcwg@ietf.org>
Thread-Topic: WG meeting follow-up - draft-ietf-dhc-rfc3315bis (3/3)
Thread-Index: AdJFwfaEIshKNwoRRL6wGPK8hTkAfg==
Date: Wed, 23 Nov 2016 19:44:34 +0000
Message-ID: <94fba5e167aa4806bcac4174581ee606@XCH-ALN-003.cisco.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [10.98.1.195]
Content-Type: multipart/alternative; boundary="_000_94fba5e167aa4806bcac4174581ee606XCHALN003ciscocom_"
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/dhcwg/O4U73n4YnonWWHzkGbUT3bTY6a4>
Subject: [dhcwg] WG meeting follow-up - draft-ietf-dhc-rfc3315bis (3/3)
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: Wed, 23 Nov 2016 19:44:38 -0000

--_000_94fba5e167aa4806bcac4174581ee606XCHALN003ciscocom_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Hi:

At IETF-97 (Seoul) I presented several issues that had been raised by revie=
wers during the WGLC of draft-ietf-dhc-rfc3315bis-05.

The third was regarding IPsec Encryption Protocol (section 19.1 of draft-ie=
tf-dhc-rfc3315bis-05).

Here are the Etherpad notes taken by Tim Chown and others:

- IPsec encryption protocol (136)
  Proposal: drop text in from draft-ietf-dhc-relay-server-security-01
  Only issue is that doc isn't done yet

Action: will again confirm the proposed action on the list.


Please read https://tools.ietf.org/html/draft-ietf-dhc-relay-server-securit=
y-01 (while technically the WGLC on this document was supposed to end on No=
v 9th, Tomek has not yet issued the results of that WGLC (most likely it wo=
uld not pass as there were no comments, other than from author, on this wor=
k). We would really like to use this text in draft-ietf-dhc-rfc3315bis.

In this case, the default action would be to leave it unspecified as to wha=
t encryption protocol to use, which likely will cause an issue during AD re=
view, IETF LC, or IESG review on draft-ietf-dhc-rfc3315bis.

See slide #6 at https://www.ietf.org/proceedings/97/slides/slides-97-dhc-dh=
cpv6bis-open-issues-discussion-01.pdf.


-          Bernie (for the bis team)


--_000_94fba5e167aa4806bcac4174581ee606XCHALN003ciscocom_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
<meta name=3D"Generator" content=3D"Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:Wingdings;
	panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:#0563C1;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:#954F72;
	text-decoration:underline;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
	{mso-style-priority:34;
	margin-top:0in;
	margin-right:0in;
	margin-bottom:0in;
	margin-left:.5in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri",sans-serif;}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Calibri",sans-serif;
	color:windowtext;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-family:"Calibri",sans-serif;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
/* List Definitions */
@list l0
	{mso-list-id:984698959;
	mso-list-type:hybrid;
	mso-list-template-ids:-1765274722 -838834508 67698691 67698693 67698689 67=
698691 67698693 67698689 67698691 67698693;}
@list l0:level1
	{mso-level-number-format:bullet;
	mso-level-text:-;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:"Calibri",sans-serif;
	mso-fareast-font-family:Calibri;
	mso-bidi-font-family:"Times New Roman";}
@list l0:level2
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:"Courier New";}
@list l0:level3
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Wingdings;}
@list l0:level4
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Symbol;}
@list l0:level5
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:"Courier New";}
@list l0:level6
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Wingdings;}
@list l0:level7
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Symbol;}
@list l0:level8
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:"Courier New";}
@list l0:level9
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Wingdings;}
ol
	{margin-bottom:0in;}
ul
	{margin-bottom:0in;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"EN-US" link=3D"#0563C1" vlink=3D"#954F72">
<div class=3D"WordSection1">
<p class=3D"MsoNormal">Hi:<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">At IETF-97 (Seoul) I presented several issues that h=
ad been raised by reviewers during the WGLC of draft-ietf-dhc-rfc3315bis-05=
.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">The third was regarding IPsec Encryption Protocol (s=
ection 19.1 of draft-ietf-dhc-rfc3315bis-05).<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Here are the Etherpad notes taken by Tim Chown and o=
thers:<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">- IPsec encryption protocol (136)<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp; Proposal: drop text in from draft-ietf-dhc-re=
lay-server-security-01<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp; Only issue is that doc isn't done yet<o:p></o=
:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Action: will again confirm the proposed action on th=
e list.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Please read <a href=3D"https://tools.ietf.org/html/d=
raft-ietf-dhc-relay-server-security-01">
https://tools.ietf.org/html/draft-ietf-dhc-relay-server-security-01</a> (wh=
ile technically the WGLC on this document was supposed to end on Nov 9<sup>=
th</sup>, Tomek has not yet issued the results of that WGLC (most likely it=
 would not pass as there were no
 comments, other than from author, on this work). We would really like to u=
se this text in draft-ietf-dhc-rfc3315bis.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">In this case, the default action would be to leave i=
t unspecified as to what encryption protocol to use, which likely will caus=
e an issue during AD review, IETF LC, or IESG review on draft-ietf-dhc-rfc3=
315bis.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">See slide #6 at <a href=3D"https://www.ietf.org/proc=
eedings/97/slides/slides-97-dhc-dhcpv6bis-open-issues-discussion-01.pdf">
https://www.ietf.org/proceedings/97/slides/slides-97-dhc-dhcpv6bis-open-iss=
ues-discussion-01.pdf</a>.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoListParagraph" style=3D"text-indent:-.25in;mso-list:l0 level=
1 lfo1"><![if !supportLists]><span style=3D"mso-list:Ignore">-<span style=
=3D"font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;
</span></span><![endif]>Bernie (for the bis team)<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</body>
</html>

--_000_94fba5e167aa4806bcac4174581ee606XCHALN003ciscocom_--


From nobody Wed Nov 23 18:02:18 2016
Return-Path: <lorenzo@google.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 EBEEB12965F for <dhcwg@ietfa.amsl.com>; Wed, 23 Nov 2016 18:02:13 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.197
X-Spam-Level: 
X-Spam-Status: No, score=-4.197 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RP_MATCHES_RCVD=-1.497, SPF_PASS=-0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=google.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 7_DTk9SogT74 for <dhcwg@ietfa.amsl.com>; Wed, 23 Nov 2016 18:02:11 -0800 (PST)
Received: from mail-io0-x22f.google.com (mail-io0-x22f.google.com [IPv6:2607:f8b0:4001:c06::22f]) (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 3BD5912952C for <dhcwg@ietf.org>; Wed, 23 Nov 2016 18:02:11 -0800 (PST)
Received: by mail-io0-x22f.google.com with SMTP id j65so56291749iof.0 for <dhcwg@ietf.org>; Wed, 23 Nov 2016 18:02:11 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:from:date:message-id:subject:to:cc; bh=lG7s4wb5b08K3Xldy2juJi9Ol3fgfFF//NL3UYr42uY=; b=oE1pxoi5QpdrERK5E+x0RGPuN3mq24yAc9h98Vs0k3OW0qrf+zfO3Sppb0xZmikzy/ h3IQrCYnbQ68VrNwjn6xmVjIlRhYwNDws8ZjEXVYUho3pNCNKOl4FQ8NVGI5j+GEMejV ykeLp3pkMjnm1qAtTZM9ZPke4S4SOWS5bnTApT6u6LFdasVMHNl6V85oM7anSf9C5jkx B1VU9x7dIAynh2U4k62nJHEYeejuwxwq6zjbaUCPUHa5cgJxk7h/1A9z1pbBBgtXgNOc 8yuXGAUJoSBdhW3iv39GYPQpMkoWv1gEqxRc/CvfIccbFyFucfKdwYVlx7fE9JVuoxXR FOkw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=lG7s4wb5b08K3Xldy2juJi9Ol3fgfFF//NL3UYr42uY=; b=Qyc5FTi8qZJz0g4Ph7tNYiKbg/R6DApxS75DDVz25u2gLAZ2BeY+vGy3wdAKxfmYBv 3qNeVQUOITZlcciOI/mJxZmgq+Sd+5Zj/sLfGH5Oli9gtsjj7qdkQNxFZpQX43swQhpp CV/iYI3ghY7ZGc/Xi4TiM6I2J9v+cNXMn/Dis64LLtWJxitBhcbIHhLd5CZSkSnZPuZn 2NUSkNqu1encZbZqYejozKDWizjUfatXhJN5weI01dLnWrj3lrKWxPCC5SxbCmGl9H7c 0ggzzRd5X/x9Dt1yDd4MvgdpqJR2j0MWhshFXJSLgA8SeH9gRrILFeNWdLXQhDEHO4Vd fn2w==
X-Gm-Message-State: AKaTC01VaBhcFdteFBS2SdTCsXHnmUuIhcRyydJ74LI5DqlzQ+jMwZI/B5J1+VgZmdZrJtVUzBPvfn1p0q9Ov8VJ
X-Received: by 10.36.253.137 with SMTP id m131mr11565ith.115.1479952930246; Wed, 23 Nov 2016 18:02:10 -0800 (PST)
MIME-Version: 1.0
Received: by 10.107.18.160 with HTTP; Wed, 23 Nov 2016 18:01:49 -0800 (PST)
From: Lorenzo Colitti <lorenzo@google.com>
Date: Wed, 23 Nov 2016 18:01:49 -0800
Message-ID: <CAKD1Yr0ZtfKOe9Ut7hGpr_f=ahOSEEB8VAxmUk+rRu5uPoC4+w@mail.gmail.com>
To: "Bernie Volz (volz)" <volz@cisco.com>
Content-Type: multipart/alternative; boundary=94eb2c11bf08b17ff00542026498
Archived-At: <https://mailarchive.ietf.org/arch/msg/dhcwg/LUGPqBiF_xyL5NAg61TZavg95Rs>
Cc: "dhcwg@ietf.org" <dhcwg@ietf.org>, "dhcpv6bis@ietf.org" <dhcpv6bis@ietf.org>, Ralph Droms <rdroms.ietf@gmail.com>
Subject: [dhcwg] 3315bis use of "requesting router" term
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: Thu, 24 Nov 2016 02:02:14 -0000

--94eb2c11bf08b17ff00542026498
Content-Type: text/plain; charset=UTF-8

On Mon, Oct 31, 2016 at 12:50 PM, Bernie Volz (volz) <volz@cisco.com> wrote:

> This version does NOT yet have ALL of the WGLC comments received over the
> summer addressed - there were almost 300 of the them and we are probably
> close to 3/4 done. (We also have a few issues in the issues tracker let to
> resolve - see https://trac.tools.ietf.org/group/dhcpv6bis/report/1.)


Hi,

(Apologies if this was mentioned in Seoul - I couldn't make it due to a
conflict.)

I looked at the open issues discussion slides
<https://www.ietf.org/proceedings/97/slides/slides-97-dhc-dhcpv6bis-open-issues-discussion-01.pdf>
and I saw it wasn't mentioned, so I thought I'd ask: what's the status
of ticket
#167 <https://wiki.tools.ietf.org/group/dhcpv6bis/ticket/167> to change the
term "requesting router" to "client"? Is this one of the issues the authors
were planning to resolve?

Since the ticket was opened, RFC 7934 was published as BCP and one of the
options it recommends is to use DHCPv6 PD to assign prefixes to hosts, so I
think this should be resolved before publication.

Cheers,
Lorenzo

--94eb2c11bf08b17ff00542026498
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_extra"><div class=3D"gmail_quote">On M=
on, Oct 31, 2016 at 12:50 PM, Bernie Volz (volz) <span dir=3D"ltr">&lt;<a h=
ref=3D"mailto:volz@cisco.com" target=3D"_blank">volz@cisco.com</a>&gt;</spa=
n> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;b=
order-left:1px #ccc solid;padding-left:1ex">This version does NOT yet have =
ALL of the WGLC comments received over the summer addressed - there were al=
most 300 of the them and we are probably close to 3/4 done. (We also have a=
 few issues in the issues tracker let to resolve - see <a href=3D"https://t=
rac.tools.ietf.org/group/dhcpv6bis/report/1" rel=3D"noreferrer" target=3D"_=
blank">https://trac.tools.ietf.org/<wbr>group/dhcpv6bis/report/1</a>.)</blo=
ckquote><div><br></div><div>Hi,</div><div><br></div><div>(Apologies if this=
 was mentioned in Seoul - I couldn&#39;t make it due to a conflict.)</div><=
div><br></div><div>I looked at the open issues discussion <a href=3D"https:=
//www.ietf.org/proceedings/97/slides/slides-97-dhc-dhcpv6bis-open-issues-di=
scussion-01.pdf">slides</a> and I saw it wasn&#39;t mentioned, so I thought=
 I&#39;d ask: what&#39;s the status of=C2=A0<a href=3D"https://wiki.tools.i=
etf.org/group/dhcpv6bis/ticket/167">ticket #167</a> to change the term &quo=
t;requesting router&quot; to &quot;client&quot;? Is this one of the issues =
the authors were planning to resolve?</div><div><br></div><div>Since the ti=
cket was opened, RFC 7934 was published as BCP and one of the options it re=
commends is to use DHCPv6 PD to assign prefixes to hosts, so I think this s=
hould be resolved before publication.</div><div><br></div><div>Cheers,</div=
><div>Lorenzo</div></div></div></div>

--94eb2c11bf08b17ff00542026498--


From nobody Wed Nov 23 19:47:23 2016
Return-Path: <volz@cisco.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 1292E12943A; Wed, 23 Nov 2016 19:47:21 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -16.018
X-Spam-Level: 
X-Spam-Status: No, score=-16.018 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-1.497, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.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 ZpidWE8noFD2; Wed, 23 Nov 2016 19:47:19 -0800 (PST)
Received: from rcdn-iport-6.cisco.com (rcdn-iport-6.cisco.com [173.37.86.77]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 42C2C126D73; Wed, 23 Nov 2016 19:47:19 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=3931; q=dns/txt; s=iport; t=1479959239; x=1481168839; h=from:to:cc:subject:date:message-id:references: in-reply-to:mime-version; bh=qCGEOK7w7SNQxhikDdBSxBUWoAcqr1u5cm/+hfByMiU=; b=SeUa9v/OUoMZO5urA37LTz0SRD5X0aFv8A2Gu4sRnOwIErAIVX/W+G9K ptoFfhP9vZ9qIZk2jiRA6iKU7IO18v0zMAtIDX1U392yx0UNmAU1t9Gr8 Vu8vM2uNM2prw4gT4rD9G49CyjJQHZB82m5ag+mKWinIX6XgwzF3G/uKP 8=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0C5AQBUYjZY/4wNJK1eGwEBAQMBAQEJA?= =?us-ascii?q?QEBgzgBAQEBAR9YgQKNQKZvhR+CCCqFdwKBfD8UAQIBAQEBAQEBYiiEaQEBAgJ?= =?us-ascii?q?5EAIBCAQxCgcyFBECBA4FiG0OsBeLWAEBAQEBAQEBAQEBAQEBAQEBAQEBARcFi?= =?us-ascii?q?DsIglaEOYNBgjAFmk8BhkaKOZAxjWqECwEeNy4NWSwBAYUacgGIRgEBAQ?=
X-IronPort-AV: E=Sophos;i="5.31,690,1473120000";  d="scan'208,217";a="175127062"
Received: from alln-core-7.cisco.com ([173.36.13.140]) by rcdn-iport-6.cisco.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 24 Nov 2016 03:47:18 +0000
Received: from XCH-RCD-004.cisco.com (xch-rcd-004.cisco.com [173.37.102.14]) by alln-core-7.cisco.com (8.14.5/8.14.5) with ESMTP id uAO3lIep031372 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=FAIL); Thu, 24 Nov 2016 03:47:18 GMT
Received: from xch-aln-003.cisco.com (173.36.7.13) by XCH-RCD-004.cisco.com (173.37.102.14) with Microsoft SMTP Server (TLS) id 15.0.1210.3; Wed, 23 Nov 2016 21:47:17 -0600
Received: from xch-aln-003.cisco.com ([173.36.7.13]) by XCH-ALN-003.cisco.com ([173.36.7.13]) with mapi id 15.00.1210.000; Wed, 23 Nov 2016 21:47:17 -0600
From: "Bernie Volz (volz)" <volz@cisco.com>
To: Lorenzo Colitti <lorenzo@google.com>
Thread-Topic: 3315bis use of "requesting router" term
Thread-Index: AQHSRfbGOHYDRK59ekarOL73Bal9q6DnfvlO
Date: Thu, 24 Nov 2016 03:47:17 +0000
Message-ID: <C1EA7398-C196-46F9-8339-4EA794A19298@cisco.com>
References: <CAKD1Yr0ZtfKOe9Ut7hGpr_f=ahOSEEB8VAxmUk+rRu5uPoC4+w@mail.gmail.com>
In-Reply-To: <CAKD1Yr0ZtfKOe9Ut7hGpr_f=ahOSEEB8VAxmUk+rRu5uPoC4+w@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-ms-exchange-transport-fromentityheader: Hosted
Content-Type: multipart/alternative; boundary="_000_C1EA7398C19646F983394EA794A19298ciscocom_"
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/dhcwg/kuus4YYjv2JkTd19urSoB6Eq7rw>
Cc: "dhcwg@ietf.org" <dhcwg@ietf.org>, "dhcpv6bis@ietf.org" <dhcpv6bis@ietf.org>, Ralph Droms <rdroms.ietf@gmail.com>
Subject: Re: [dhcwg] 3315bis use of "requesting router" term
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: Thu, 24 Nov 2016 03:47:21 -0000

--_000_C1EA7398C19646F983394EA794A19298ciscocom_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

See the 06 version. This ticket has been dealth with we believe.

- Bernie (from iPad)

On Nov 23, 2016, at 9:02 PM, Lorenzo Colitti <lorenzo@google.com<mailto:lor=
enzo@google.com>> wrote:

On Mon, Oct 31, 2016 at 12:50 PM, Bernie Volz (volz) <volz@cisco.com<mailto=
:volz@cisco.com>> wrote:
This version does NOT yet have ALL of the WGLC comments received over the s=
ummer addressed - there were almost 300 of the them and we are probably clo=
se to 3/4 done. (We also have a few issues in the issues tracker let to res=
olve - see https://trac.tools.ietf.org/group/dhcpv6bis/report/1.)

Hi,

(Apologies if this was mentioned in Seoul - I couldn't make it due to a con=
flict.)

I looked at the open issues discussion slides<https://www.ietf.org/proceedi=
ngs/97/slides/slides-97-dhc-dhcpv6bis-open-issues-discussion-01.pdf> and I =
saw it wasn't mentioned, so I thought I'd ask: what's the status of ticket =
#167<https://wiki.tools.ietf.org/group/dhcpv6bis/ticket/167> to change the =
term "requesting router" to "client"? Is this one of the issues the authors=
 were planning to resolve?

Since the ticket was opened, RFC 7934 was published as BCP and one of the o=
ptions it recommends is to use DHCPv6 PD to assign prefixes to hosts, so I =
think this should be resolved before publication.

Cheers,
Lorenzo

--_000_C1EA7398C19646F983394EA794A19298ciscocom_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
</head>
<body dir=3D"auto">
<div>See the 06 version. This ticket has been dealth with we believe.<br>
<br>
- Bernie (from iPad)</div>
<div><br>
On Nov 23, 2016, at 9:02 PM, Lorenzo Colitti &lt;<a href=3D"mailto:lorenzo@=
google.com">lorenzo@google.com</a>&gt; wrote:<br>
<br>
</div>
<blockquote type=3D"cite">
<div>
<div dir=3D"ltr">
<div class=3D"gmail_extra">
<div class=3D"gmail_quote">On Mon, Oct 31, 2016 at 12:50 PM, Bernie Volz (v=
olz) <span dir=3D"ltr">
&lt;<a href=3D"mailto:volz@cisco.com" target=3D"_blank">volz@cisco.com</a>&=
gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
This version does NOT yet have ALL of the WGLC comments received over the s=
ummer addressed - there were almost 300 of the them and we are probably clo=
se to 3/4 done. (We also have a few issues in the issues tracker let to res=
olve - see
<a href=3D"https://trac.tools.ietf.org/group/dhcpv6bis/report/1" rel=3D"nor=
eferrer" target=3D"_blank">
https://trac.tools.ietf.org/<wbr>group/dhcpv6bis/report/1</a>.)</blockquote=
>
<div><br>
</div>
<div>Hi,</div>
<div><br>
</div>
<div>(Apologies if this was mentioned in Seoul - I couldn't make it due to =
a conflict.)</div>
<div><br>
</div>
<div>I looked at the open issues discussion <a href=3D"https://www.ietf.org=
/proceedings/97/slides/slides-97-dhc-dhcpv6bis-open-issues-discussion-01.pd=
f">
slides</a> and I saw it wasn't mentioned, so I thought I'd ask: what's the =
status of&nbsp;<a href=3D"https://wiki.tools.ietf.org/group/dhcpv6bis/ticke=
t/167">ticket #167</a> to change the term &quot;requesting router&quot; to =
&quot;client&quot;? Is this one of the issues the authors were
 planning to resolve?</div>
<div><br>
</div>
<div>Since the ticket was opened, RFC 7934 was published as BCP and one of =
the options it recommends is to use DHCPv6 PD to assign prefixes to hosts, =
so I think this should be resolved before publication.</div>
<div><br>
</div>
<div>Cheers,</div>
<div>Lorenzo</div>
</div>
</div>
</div>
</div>
</blockquote>
</body>
</html>

--_000_C1EA7398C19646F983394EA794A19298ciscocom_--


From nobody Thu Nov 24 00:39:23 2016
Return-Path: <lorenzo@google.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 A08181299E6 for <dhcwg@ietfa.amsl.com>; Thu, 24 Nov 2016 00:39:21 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.197
X-Spam-Level: 
X-Spam-Status: No, score=-4.197 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RP_MATCHES_RCVD=-1.497, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=google.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 k7UC5_qVOieJ for <dhcwg@ietfa.amsl.com>; Thu, 24 Nov 2016 00:39:20 -0800 (PST)
Received: from mail-io0-x232.google.com (mail-io0-x232.google.com [IPv6:2607:f8b0:4001:c06::232]) (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 0DDF5129654 for <dhcwg@ietf.org>; Thu, 24 Nov 2016 00:39:20 -0800 (PST)
Received: by mail-io0-x232.google.com with SMTP id x94so68088255ioi.3 for <dhcwg@ietf.org>; Thu, 24 Nov 2016 00:39:20 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=g/F2OK81B4fY2ETUVqQv3r5i+pZ75wO5mKZlfysWQwg=; b=m/OVqbQ8S2lAWRo5mQppMSpyu4W5Pf0M7fJQLj7IuNdcw4GTt8o6t/VVZGGcbKYshV EmWcsGmiPBYKzctESmcN6GEb4mnMyZw+yF1Jm3ImKTpnY11TsPnq1iM3I3fPfVujM9CZ FR7NQ87uJV1j+lDTXnsrt4n+OMHX5RWD5wHdvGkEaSmf8Oo8wyk3w8u/gb4VNjipOdew 46jdXjEFjPrptXXJiHAs6x3l9kBPDNV9G/5IlseldcYKCXyLzLxM48/XIDjxuLJd/Ml/ f6vctb1eP88jHBvNcKsmEoGhTpwVnUd70PDWgxYtLGelpDhsFeqXRX3O9JQtCy+8taxB 55bQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=g/F2OK81B4fY2ETUVqQv3r5i+pZ75wO5mKZlfysWQwg=; b=FmaWL6R4n6iqqDIdiYnlaty1BBqjknrczwOMuDrS0/7MklEAIIjSa8i03Zrd2n6crx cMWtFI0JOHqq/tTldTQf5n41RxfUuSkFPhR/YZl1Jb0dmDTEFvO2u31plemrtkb0e+kP bDImb260k9XH3/QyCBoTnikn3s7HtLZrs9xtLzKtl6rRKtj9IJY47rqdW9im8cQujgu3 89BUN1U6s2vxaI2toI1ba5cFHGf4RZISee0w8Aunb+f72cvgZ9TSyRYjScSf+hN7+s1m TswJlmE43H0KsZsLLrq1V1ik3wQUt+Bv2VvqX+h50yheVfdjwP+u+GUjFAP8sBxgyf48 pDfA==
X-Gm-Message-State: AKaTC001T7CLQbRbhPG3hnqqGCgxV5WEnXkwFaUPlQcO3mJ8KxLav5ZZA3fPlARMPnJJiv8mBBpWW+dZ4mmgcX0q
X-Received: by 10.107.136.164 with SMTP id s36mr1009691ioi.214.1479976759059;  Thu, 24 Nov 2016 00:39:19 -0800 (PST)
MIME-Version: 1.0
Received: by 10.107.18.160 with HTTP; Thu, 24 Nov 2016 00:38:58 -0800 (PST)
In-Reply-To: <C1EA7398-C196-46F9-8339-4EA794A19298@cisco.com>
References: <CAKD1Yr0ZtfKOe9Ut7hGpr_f=ahOSEEB8VAxmUk+rRu5uPoC4+w@mail.gmail.com> <C1EA7398-C196-46F9-8339-4EA794A19298@cisco.com>
From: Lorenzo Colitti <lorenzo@google.com>
Date: Thu, 24 Nov 2016 00:38:58 -0800
Message-ID: <CAKD1Yr1ULpp-UHj8bx-0w2kwD32hOka5og=pQ_Dn=Qevbz1jTg@mail.gmail.com>
To: "Bernie Volz (volz)" <volz@cisco.com>
Content-Type: multipart/alternative; boundary=001a113eb2c2008cec054207f1fa
Archived-At: <https://mailarchive.ietf.org/arch/msg/dhcwg/Q_6lQ7i2lSgrqVu8jk-zolOQx9U>
Cc: "dhcwg@ietf.org" <dhcwg@ietf.org>, "dhcpv6bis@ietf.org" <dhcpv6bis@ietf.org>, Ralph Droms <rdroms.ietf@gmail.com>
Subject: Re: [dhcwg] 3315bis use of "requesting router" term
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: Thu, 24 Nov 2016 08:39:21 -0000

--001a113eb2c2008cec054207f1fa
Content-Type: text/plain; charset=UTF-8

I did look at -06. My browser says there are 26 occurrences of "requesting
router" in the draft, and most of section 6.3
<https://tools.ietf.org/html/draft-ietf-dhc-rfc3315bis-06#section-6.3>
("DHCP for Prefix Delegation") talks about "requesting router" instead of
client.

Now that I look again, I do now see this new text added to the end of
section 6.3 which is similar to the wording in RFC 7934:

   While [RFC3633] assumed that the DHCPv6 client is a router (hence use
   of "requesting router") and that the DHCPv6 server was a router
   (hence use of "delegating router"), DHCPv6 prefix delegation itself
   does not require that the client forward IPv6 packets not addressed
   to itself, and thus does not require that the client (or server) be
   an IPv6 router as defined in [RFC2460].  Also, in many cases (such as
   tethering or hosting virtual machines), hosts are already forwarding
   IPv6 packets and thus operating as IPv6 routers as defined in
   [RFC2460].  Therefore, this document mostly replaces "requesting
   router" with client and "delegating router" with server.

I suppose this will work, but it's not great. It does seem that the
document would be better served if 6.3 were reworded to say "client" in
some of the places where it now says "requesting router".

On Wed, Nov 23, 2016 at 7:47 PM, Bernie Volz (volz) <volz@cisco.com> wrote:

> See the 06 version. This ticket has been dealth with we believe.
>
> - Bernie (from iPad)
>
> On Nov 23, 2016, at 9:02 PM, Lorenzo Colitti <lorenzo@google.com> wrote:
>
> On Mon, Oct 31, 2016 at 12:50 PM, Bernie Volz (volz) <volz@cisco.com>
> wrote:
>
>> This version does NOT yet have ALL of the WGLC comments received over the
>> summer addressed - there were almost 300 of the them and we are probably
>> close to 3/4 done. (We also have a few issues in the issues tracker let to
>> resolve - see https://trac.tools.ietf.org/group/dhcpv6bis/report/1.)
>
>
> Hi,
>
> (Apologies if this was mentioned in Seoul - I couldn't make it due to a
> conflict.)
>
> I looked at the open issues discussion slides
> <https://www.ietf.org/proceedings/97/slides/slides-97-dhc-dhcpv6bis-open-issues-discussion-01.pdf>
> and I saw it wasn't mentioned, so I thought I'd ask: what's the status of ticket
> #167 <https://wiki.tools.ietf.org/group/dhcpv6bis/ticket/167> to change
> the term "requesting router" to "client"? Is this one of the issues the
> authors were planning to resolve?
>
> Since the ticket was opened, RFC 7934 was published as BCP and one of the
> options it recommends is to use DHCPv6 PD to assign prefixes to hosts, so I
> think this should be resolved before publication.
>
> Cheers,
> Lorenzo
>
>

--001a113eb2c2008cec054207f1fa
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">I did look at -06. My browser says there are 26 occurrence=
s of &quot;requesting router&quot; in the draft, and most of <a href=3D"htt=
ps://tools.ietf.org/html/draft-ietf-dhc-rfc3315bis-06#section-6.3">section =
6.3</a> (&quot;DHCP for Prefix Delegation&quot;) talks about &quot;requesti=
ng router&quot; instead of client.<div><br></div><div>Now that I look again=
, I do now see this new text added to the end of section 6.3 which is simil=
ar to the wording in RFC 7934:<div><br></div><div><div>=C2=A0 =C2=A0While [=
RFC3633] assumed that the DHCPv6 client is a router (hence use</div><div>=
=C2=A0 =C2=A0of &quot;requesting router&quot;) and that the DHCPv6 server w=
as a router</div><div>=C2=A0 =C2=A0(hence use of &quot;delegating router&qu=
ot;), DHCPv6 prefix delegation itself</div><div>=C2=A0 =C2=A0does not requi=
re that the client forward IPv6 packets not addressed</div><div>=C2=A0 =C2=
=A0to itself, and thus does not require that the client (or server) be</div=
><div>=C2=A0 =C2=A0an IPv6 router as defined in [RFC2460].=C2=A0 Also, in m=
any cases (such as</div><div>=C2=A0 =C2=A0tethering or hosting virtual mach=
ines), hosts are already forwarding</div><div>=C2=A0 =C2=A0IPv6 packets and=
 thus operating as IPv6 routers as defined in</div><div>=C2=A0 =C2=A0[RFC24=
60].=C2=A0 Therefore, this document mostly replaces &quot;requesting</div><=
div>=C2=A0 =C2=A0router&quot; with client and &quot;delegating router&quot;=
 with server.</div></div><div><br></div></div><div>I suppose this will work=
, but it&#39;s not great. It does seem that the document would be better se=
rved if 6.3 were reworded to say &quot;client&quot; in some of the places w=
here it now says &quot;requesting router&quot;.</div></div><div class=3D"gm=
ail_extra"><br><div class=3D"gmail_quote">On Wed, Nov 23, 2016 at 7:47 PM, =
Bernie Volz (volz) <span dir=3D"ltr">&lt;<a href=3D"mailto:volz@cisco.com" =
target=3D"_blank">volz@cisco.com</a>&gt;</span> wrote:<br><blockquote class=
=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padd=
ing-left:1ex">



<div dir=3D"auto">
<div>See the 06 version. This ticket has been dealth with we believe.<br>
<br>
- Bernie (from iPad)</div><div><div class=3D"h5">
<div><br>
On Nov 23, 2016, at 9:02 PM, Lorenzo Colitti &lt;<a href=3D"mailto:lorenzo@=
google.com" target=3D"_blank">lorenzo@google.com</a>&gt; wrote:<br>
<br>
</div>
<blockquote type=3D"cite">
<div>
<div dir=3D"ltr">
<div class=3D"gmail_extra">
<div class=3D"gmail_quote">On Mon, Oct 31, 2016 at 12:50 PM, Bernie Volz (v=
olz) <span dir=3D"ltr">
&lt;<a href=3D"mailto:volz@cisco.com" target=3D"_blank">volz@cisco.com</a>&=
gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
This version does NOT yet have ALL of the WGLC comments received over the s=
ummer addressed - there were almost 300 of the them and we are probably clo=
se to 3/4 done. (We also have a few issues in the issues tracker let to res=
olve - see
<a href=3D"https://trac.tools.ietf.org/group/dhcpv6bis/report/1" rel=3D"nor=
eferrer" target=3D"_blank">
https://trac.tools.ietf.org/gr<wbr>oup/dhcpv6bis/report/1</a>.)</blockquote=
>
<div><br>
</div>
<div>Hi,</div>
<div><br>
</div>
<div>(Apologies if this was mentioned in Seoul - I couldn&#39;t make it due=
 to a conflict.)</div>
<div><br>
</div>
<div>I looked at the open issues discussion <a href=3D"https://www.ietf.org=
/proceedings/97/slides/slides-97-dhc-dhcpv6bis-open-issues-discussion-01.pd=
f" target=3D"_blank">
slides</a> and I saw it wasn&#39;t mentioned, so I thought I&#39;d ask: wha=
t&#39;s the status of=C2=A0<a href=3D"https://wiki.tools.ietf.org/group/dhc=
pv6bis/ticket/167" target=3D"_blank">ticket #167</a> to change the term &qu=
ot;requesting router&quot; to &quot;client&quot;? Is this one of the issues=
 the authors were
 planning to resolve?</div>
<div><br>
</div>
<div>Since the ticket was opened, RFC 7934 was published as BCP and one of =
the options it recommends is to use DHCPv6 PD to assign prefixes to hosts, =
so I think this should be resolved before publication.</div>
<div><br>
</div>
<div>Cheers,</div>
<div>Lorenzo</div>
</div>
</div>
</div>
</div>
</blockquote>
</div></div></div>

</blockquote></div><br></div>

--001a113eb2c2008cec054207f1fa--


From nobody Thu Nov 24 22:29:49 2016
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 0D2FB129541 for <dhcwg@ietfa.amsl.com>; Thu, 24 Nov 2016 22:29:48 -0800 (PST)
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 z6TfhPb5OTHA for <dhcwg@ietfa.amsl.com>; Thu, 24 Nov 2016 22:29:43 -0800 (PST)
Received: from mail-qk0-x232.google.com (mail-qk0-x232.google.com [IPv6:2607:f8b0:400d:c09::232]) (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 2F9C012954D for <dhcwg@ietf.org>; Thu, 24 Nov 2016 22:29:43 -0800 (PST)
Received: by mail-qk0-x232.google.com with SMTP id n204so69213111qke.2 for <dhcwg@ietf.org>; Thu, 24 Nov 2016 22:29:43 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=3y/SURQ0lcHYqDA0psu9bFHUlNnC/JoCffVDVHwUOfg=; b=mdxdr5QPYLtppBGfJfVaJt+u1uqr/jgV7nVJFMdksJAKm4Rbj+z+1Lrtov7Pi13N/l rCodpIE4g1yWXGa9i6XjuNNrQjJ+dOu8Pxk1jxcB6bIQhAffZLrPPlneMFHCMT5vj6tP l/bcBfEtXt0j3nX5TzhiRWxXPmGCjtyK0RCy06Dbj2+GV7qmDgcBpXhkZ+CQWTex80hY /vZiPvy6RWXNptYoJTtGLUKcxqulXl5fDsmpOafQoORQjlR3Z/3aIJDUewepaHwFJYWg pEUhYaDZAvC0+oU0a8gWWWK3fEESdnruxXY/YyVsu2WV4N0+TjunUWh5doFtpKeEgIw+ 1zcw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=3y/SURQ0lcHYqDA0psu9bFHUlNnC/JoCffVDVHwUOfg=; b=K8EUcI9bMOHGq0fC5asHohdLBWfPbGQIOCI/XZWYG8hLtb+ZHVQ0hRzuPNzcwBua/i YzqpC+iAVMLQDb9/11jbpynRbKXvMsh+ka7Vus4JPP2uhi83TNp1hoynN1tT5DtGscXQ T0iItqLpoJKnoEOqXQIw2C/PzKBdIzLu7k4Sf/4+JMha4c6rfgHrEJpbgdbW24c+O9UA AIQjJ7M6SQicEhIS3Cma1q1Dl8Bp2JXTxVxwuSZza+IUEJz+wJp/w1Ss8uQqqA9qR7dw U7orgEA7ytZHhx7YflcWrsLKmdhAdRlnAiROGwBN6QvoE5793xjTI2LeQ7I7e8bAjR3T puFg==
X-Gm-Message-State: AKaTC01lFlyMWKpArVpWjuG0lKls+kTHX2D7yk51ByzAUaAIFNeCNPVLCVxXZ8WKVwrgR5DVGbPoGdRkMYhGlg==
X-Received: by 10.55.38.80 with SMTP id y77mr5120669qkg.51.1480055382278; Thu, 24 Nov 2016 22:29:42 -0800 (PST)
MIME-Version: 1.0
Received: by 10.237.62.242 with HTTP; Thu, 24 Nov 2016 22:29:41 -0800 (PST)
In-Reply-To: <CAJE_bqfFOhe26huAP8_BFKjnTXbG4F0vUfMYs5Xy=3RQigS7FA@mail.gmail.com>
References: <CAJE_bqebwr2WUUgaNgiYS4_8L77Gxj4Os+oPRG407B6ELMEhCQ@mail.gmail.com> <CAJ3w4Ndi5Gq63n5kZnanRhLM8nWE2wsWGh0kJJLJnq=VoXLuCg@mail.gmail.com> <CAJE_bqegh1DfWjfK2BxeC_fWa0cEk-KJNP0AT-TQuEa39w_wVQ@mail.gmail.com> <CAJ3w4NdM99nv4C19Xj=aosNme+_Ymyys=xQ3UWUfeZReZC4ckA@mail.gmail.com> <CAJE_bqdhGZnK16MooiyujDgthDNnR74EiwW0OevrN6uq4b4ANw@mail.gmail.com> <CAJE_bqfKUZe2yaW1sAq7rrib0M7wz28HHtPLqCHK=vXcN6amgg@mail.gmail.com> <CAJ3w4Nd3s+ZojjiotLkKwys6truhUgK6F-90UYjcpB9iw=fKKQ@mail.gmail.com> <m2r36nuqvn.wl%jinmei.tatuya@gmail.com> <CAJ3w4NeuNYTrX4p5rtZ6UceD5ydQ-B-vY6aqQzxWnXsrDOEFEA@mail.gmail.com> <CAJE_bqdh-bgk7BHZJnaFFBr3PDj4ZnSSGeGNdQ70F7dv91iQrA@mail.gmail.com> <CAJ3w4NfU9PrC9a+MGnJ=Es1yir_asHB3p1=9GfxZZ0iSe+At+Q@mail.gmail.com> <CAJE_bqfRBYkrniWQ+vtPULTURnvyV792QNGvr8JhhZpGQ0MSdA@mail.gmail.com> <CAJ3w4NerRzHYsRqcUAkAjHX23PYVF4Jv0wKcd33vXRRg+-0EAQ@mail.gmail.com> <CAJ3w4NekPk0TuAZW_jmTDYQHd8JP3GsrA0qrKYrnyqSSk3qwxw@mail.gmail.com> <CAJE_bqc8hkrc3dYefTPWi-mUCtZD+oYsrobCK1KjmVGRnNfMCw@mail.gmail.com> <CAJ3w4NejrFAT3RK7i0W46HkQNJjhPxbhzQiL=3fcrceidTzHNQ@mail.gmail.com> <CAJE_bqcCwZWPHuZ0UR8_jyCUsaTrYKzLD8zUKwChYaCL06yT9A@mail.gmail.com> <CAJ3w4NfS8PKOMHcP5s_Nsp5K5eWJfXWRF-vNEau_ekqTRwE=wA@mail.gmail.com> <CAJE_bqfqSXFR9R5wf1USg-zs+nvdohQFq99kQL2DiapXvUdEqA@mail.gmail.com> <CAJ3w4Ncj40JwrW6UB+TVFvymByU5Y9iFv5QroWhwUzkLrS2DTg@mail.gmail.com> <CAJE_bqd38grUh9q57a-H29GsMx5Dpv9VE0iBMO7v_-y97zZZUg@mail.gmail.com> <CAJ3w4Ne63cnqoeTZk=PDmAN9+i6jwzyxbK+up45wB9h+xUDSfw@mail.gmail.com> <CAJE_bqceK7YLpMqhgjqrFQh7641a+ZRcnO0F6p6BiM8EMKmA7w@mail.gmail.com> <CAJ3w4Nf65b1zo-smMguZBc_-RbFh2y8kk7Fnu__TKCQEVbs48w@mail.gmail.com> <CAJE_bqeVciLxS_q=deRKLBr12ZGXxx2wdFiztJxJjfS7aAV2Ag@mail.gmail.com> <CAJ3w4NcvyeuRWJatGGH7U4g413GQvr9LHtDiX13zSOz7kBGEhw@mail.gmail.com> <CAJE_bqfFOhe26huAP8_BFKjnTXbG4F0vUfMYs5Xy=3RQigS7FA@mail.gmail.com>
From: Lishan Li <lilishan48@gmail.com>
Date: Fri, 25 Nov 2016 14:29:41 +0800
Message-ID: <CAJ3w4Ne81LVsaznu_yck7fG7iJyGm=WY4=i2AF8gx39Tf59eMA@mail.gmail.com>
To: =?UTF-8?B?56We5piO6YGU5ZOJ?= <jinmei@wide.ad.jp>
Content-Type: multipart/alternative; boundary=001a11454c6c4f117d05421a3f51
Archived-At: <https://mailarchive.ietf.org/arch/msg/dhcwg/oQqhg5uvKum1AyZzqP9Tt5-SIrY>
Cc: "dhcwg@ietf.org" <dhcwg@ietf.org>
Subject: Re: [dhcwg] preliminary comments on draft-ietf-dhc-sedhcpv6-17
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: Fri, 25 Nov 2016 06:29:48 -0000

--001a11454c6c4f117d05421a3f51
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

2016-11-24 3:39 GMT+08:00 =E7=A5=9E=E6=98=8E=E9=81=94=E5=93=89 <jinmei@wide=
.ad.jp>:

> At Wed, 23 Nov 2016 16:28:54 +0800,
> Lishan Li <lilishan48@gmail.com> wrote:
>
> > > - Introduce a new DHCPv6 option named "encryption key tag option".
> > >   Its value is calculated from public key data (it's essentially a
> > >   fingerprint of a specific public key).
> > > - Encryption Query messages MUST include the encryption key tag
> > >   option.  The option data MUST be calculated for the public key that
> > >   the client uses to encrypt the encapsulated DHCPv6 message.
> > >
> > [LS]: I agreed. I have two questions:
> > 1. How does the client calculate the key tag? Maybe the hash
> > function can be used for the calculation.
>
> Anything that would generate reasonably different values for different
> keys (but it doesn't have to be guaranteed) is fine.  A simple
> "checksum" like the RRSIG key tag would probably suffice; using a
> commonly known modern hash is also fine.
>
[LS]: So it is mostly a implementation problem and don't need to specify
it. Because for the algorithm agility, we defines the algorithm negotiation
mechanism between the client and server. So I the key tag generation
algorithm may also need negotiation mechanism. And then, the generation
algorithm should also be defined in our document.
Looking forward to your guidance.

> 2. For the first received Encrypted-Query message, how does the
> > server identifies the corresponding private key through the acknowledge=
d
> > key tag?
> > one way is that: The server tries all the possible private key
> > and record the relation of key tag and the corresponding private key.
> > Another method is that: The server calculates the key tags of all the
> > private key and then finds the corresponding private key.
> > Looking forward to your further guidance.
>
> IMO this can be left to implementations.  But I expect most server
> implementations will calculate the tag value when it generates a key
> pair and maintain it with the key pair.  Note that if the server
> implementator and administrator don't care about the efficiency it
> could even calculate the tag value for its all public keys and compare
> it to the value specified in the "encryption key tag option".  Or it
> could even skip using the key tag and try all possible keys.  It's
> inefficient but will still work.
>
[LS]: Thanks a lot for your explanation. So we don't need to specify
this implementation problem in our document.

Best Regards,
Lishan

--001a11454c6c4f117d05421a3f51
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_extra"><div class=3D"gmail_quote">2016=
-11-24 3:39 GMT+08:00 =E7=A5=9E=E6=98=8E=E9=81=94=E5=93=89 <span dir=3D"ltr=
">&lt;<a href=3D"mailto:jinmei@wide.ad.jp" target=3D"_blank">jinmei@wide.ad=
.jp</a>&gt;</span>:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 =
0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">At Wed, 23 Nov 2016 1=
6:28:54 +0800,<br>
<span class=3D"">Lishan Li &lt;<a href=3D"mailto:lilishan48@gmail.com">lili=
shan48@gmail.com</a>&gt; wrote:<br>
<br>
&gt; &gt; - Introduce a new DHCPv6 option named &quot;encryption key tag op=
tion&quot;.<br>
&gt; &gt;=C2=A0 =C2=A0Its value is calculated from public key data (it&#39;=
s essentially a<br>
&gt; &gt;=C2=A0 =C2=A0fingerprint of a specific public key).<br>
&gt; &gt; - Encryption Query messages MUST include the encryption key tag<b=
r>
&gt; &gt;=C2=A0 =C2=A0option.=C2=A0 The option data MUST be calculated for =
the public key that<br>
&gt; &gt;=C2=A0 =C2=A0the client uses to encrypt the encapsulated DHCPv6 me=
ssage.<br>
&gt; &gt;<br>
&gt; [LS]: I agreed. I have two questions:<br>
&gt; 1. How does the client calculate the key tag? Maybe the hash<br>
&gt; function can be used for the calculation.<br>
<br>
</span>Anything that would generate reasonably different values for differe=
nt<br>
keys (but it doesn&#39;t have to be guaranteed) is fine.=C2=A0 A simple<br>
&quot;checksum&quot; like the RRSIG key tag would probably suffice; using a=
<br>
commonly known modern hash is also fine.<br></blockquote><div>[LS]: So it i=
s mostly a implementation problem and don&#39;t need to specify=C2=A0</div>=
<div>it. Because for the algorithm agility, we defines the algorithm negoti=
ation</div><div>mechanism between the client and server. So I the key tag g=
eneration=C2=A0</div><div>algorithm may also need negotiation mechanism. An=
d then, the generation</div><div>algorithm should also be defined in our do=
cument.</div><div>Looking forward to your guidance.</div><div><br></div><bl=
ockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #=
ccc solid;padding-left:1ex"><span class=3D"">
&gt; 2. For the first received Encrypted-Query message, how does the<br>
&gt; server identifies the corresponding private key through the acknowledg=
ed<br>
&gt; key tag?<br>
&gt; one way is that: The server tries all the possible private key<br>
&gt; and record the relation of key tag and the corresponding private key.<=
br>
&gt; Another method is that: The server calculates the key tags of all the<=
br>
&gt; private key and then finds the corresponding private key.<br>
&gt; Looking forward to your further guidance.<br>
<br>
</span>IMO this can be left to implementations.=C2=A0 But I expect most ser=
ver<br>
implementations will calculate the tag value when it generates a key<br>
pair and maintain it with the key pair.=C2=A0 Note that if the server<br>
implementator and administrator don&#39;t care about the efficiency it<br>
could even calculate the tag value for its all public keys and compare<br>
it to the value specified in the &quot;encryption key tag option&quot;.=C2=
=A0 Or it<br>
could even skip using the key tag and try all possible keys.=C2=A0 It&#39;s=
<br>
inefficient but will still work.<br></blockquote><div>[LS]: Thanks a lot fo=
r your explanation. So we don&#39;t need to specify=C2=A0</div><div>this im=
plementation problem in our document. =C2=A0</div><div><br></div><div>Best =
Regards,</div><div>Lishan</div></div></div></div>

--001a11454c6c4f117d05421a3f51--


From nobody Fri Nov 25 10:38:21 2016
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 29C3512964C for <dhcwg@ietfa.amsl.com>; Fri, 25 Nov 2016 10:38:20 -0800 (PST)
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 4ltcsGUGYV7Z for <dhcwg@ietfa.amsl.com>; Fri, 25 Nov 2016 10:38:18 -0800 (PST)
Received: from mail-qk0-x236.google.com (mail-qk0-x236.google.com [IPv6:2607:f8b0:400d:c09::236]) (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 3387F1294FD for <dhcwg@ietf.org>; Fri, 25 Nov 2016 10:38:18 -0800 (PST)
Received: by mail-qk0-x236.google.com with SMTP id x190so85697826qkb.0 for <dhcwg@ietf.org>; Fri, 25 Nov 2016 10:38:18 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=ECaY+TNmL9fumo6ZFnHU/OggJ3OPFb01b9S7dvVUQug=; b=p/VfoK3xOshA/Ip8J1Qds893q9diQq/L5GHCa61jwjjoyON/i1vbGZJ+ZE4KMx1epH HXeIiVweVp4YZrNRFfMnvwe4eIBmZjBOJ5TcH+EQ1+U7V2xczLY9r1/Ddh5JsDHjTVO0 ApzPgo/t4/j/1CKxSiVtF/Cg7iQxh4xCLkb4V/SZWSj3AaY8uN1MqM++mKmvkbj1+AzY PcfO3g5zf6WZXQKCHW+n2fqgmz+KVHdDPyEBqv+1AcwNWLrEyuQe0e3h4ARGymV+c7hB kta/IgmzlsIQJiUGgKxkz/82E5lZbHBBIXQilvsfiOC29cSGQfar5uBivhmte5Q8DgWC x1Vg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=ECaY+TNmL9fumo6ZFnHU/OggJ3OPFb01b9S7dvVUQug=; b=C7G8aL5UL/8ln2nW6XGo2Lc5lQTtykglOD17xUqAAaiuPM6X4TMlWlzS36S1/KmyqS LAN8lhvzr1sj3qTN/eSiozSuR6alOzQtO2iev8jeGeLWEAIvh/NORLAWLjOQmST7jzU0 EcDBXBeWXf0ndj06y/reqgF1uSskr2lbLFSDUMCJX7qw+AHSZUHPCRJAkEyD82m4uYxO o5ErWMTlSQgb5YGcCGav39TQQjI0Ks5x/RApFPTMUJcakmEedP0jjT6Wg1y41YTXxm4C qJ3zJ274hmcga780KUP5Ln2GdSsTXs58XMMLsOO//uVBhI27JoKALmG41vJrGrUXcwAH TjIg==
X-Gm-Message-State: AKaTC02U7n0ep3cZGO/RVQ4E9CSS0gU02wze05UsjDNG8O+IiECBXc4WTK4dU/oOA/O4X1njDfWv7iKcnpapmw==
X-Received: by 10.55.43.29 with SMTP id r29mr8136901qkh.211.1480099097360; Fri, 25 Nov 2016 10:38:17 -0800 (PST)
MIME-Version: 1.0
Received: by 10.237.62.242 with HTTP; Fri, 25 Nov 2016 10:38:16 -0800 (PST)
In-Reply-To: <CAJ3w4Ne81LVsaznu_yck7fG7iJyGm=WY4=i2AF8gx39Tf59eMA@mail.gmail.com>
References: <CAJE_bqebwr2WUUgaNgiYS4_8L77Gxj4Os+oPRG407B6ELMEhCQ@mail.gmail.com> <CAJ3w4Ndi5Gq63n5kZnanRhLM8nWE2wsWGh0kJJLJnq=VoXLuCg@mail.gmail.com> <CAJE_bqegh1DfWjfK2BxeC_fWa0cEk-KJNP0AT-TQuEa39w_wVQ@mail.gmail.com> <CAJ3w4NdM99nv4C19Xj=aosNme+_Ymyys=xQ3UWUfeZReZC4ckA@mail.gmail.com> <CAJE_bqdhGZnK16MooiyujDgthDNnR74EiwW0OevrN6uq4b4ANw@mail.gmail.com> <CAJE_bqfKUZe2yaW1sAq7rrib0M7wz28HHtPLqCHK=vXcN6amgg@mail.gmail.com> <CAJ3w4Nd3s+ZojjiotLkKwys6truhUgK6F-90UYjcpB9iw=fKKQ@mail.gmail.com> <m2r36nuqvn.wl%jinmei.tatuya@gmail.com> <CAJ3w4NeuNYTrX4p5rtZ6UceD5ydQ-B-vY6aqQzxWnXsrDOEFEA@mail.gmail.com> <CAJE_bqdh-bgk7BHZJnaFFBr3PDj4ZnSSGeGNdQ70F7dv91iQrA@mail.gmail.com> <CAJ3w4NfU9PrC9a+MGnJ=Es1yir_asHB3p1=9GfxZZ0iSe+At+Q@mail.gmail.com> <CAJE_bqfRBYkrniWQ+vtPULTURnvyV792QNGvr8JhhZpGQ0MSdA@mail.gmail.com> <CAJ3w4NerRzHYsRqcUAkAjHX23PYVF4Jv0wKcd33vXRRg+-0EAQ@mail.gmail.com> <CAJ3w4NekPk0TuAZW_jmTDYQHd8JP3GsrA0qrKYrnyqSSk3qwxw@mail.gmail.com> <CAJE_bqc8hkrc3dYefTPWi-mUCtZD+oYsrobCK1KjmVGRnNfMCw@mail.gmail.com> <CAJ3w4NejrFAT3RK7i0W46HkQNJjhPxbhzQiL=3fcrceidTzHNQ@mail.gmail.com> <CAJE_bqcCwZWPHuZ0UR8_jyCUsaTrYKzLD8zUKwChYaCL06yT9A@mail.gmail.com> <CAJ3w4NfS8PKOMHcP5s_Nsp5K5eWJfXWRF-vNEau_ekqTRwE=wA@mail.gmail.com> <CAJE_bqfqSXFR9R5wf1USg-zs+nvdohQFq99kQL2DiapXvUdEqA@mail.gmail.com> <CAJ3w4Ncj40JwrW6UB+TVFvymByU5Y9iFv5QroWhwUzkLrS2DTg@mail.gmail.com> <CAJE_bqd38grUh9q57a-H29GsMx5Dpv9VE0iBMO7v_-y97zZZUg@mail.gmail.com> <CAJ3w4Ne63cnqoeTZk=PDmAN9+i6jwzyxbK+up45wB9h+xUDSfw@mail.gmail.com> <CAJE_bqceK7YLpMqhgjqrFQh7641a+ZRcnO0F6p6BiM8EMKmA7w@mail.gmail.com> <CAJ3w4Nf65b1zo-smMguZBc_-RbFh2y8kk7Fnu__TKCQEVbs48w@mail.gmail.com> <CAJE_bqeVciLxS_q=deRKLBr12ZGXxx2wdFiztJxJjfS7aAV2Ag@mail.gmail.com> <CAJ3w4NcvyeuRWJatGGH7U4g413GQvr9LHtDiX13zSOz7kBGEhw@mail.gmail.com> <CAJE_bqfFOhe26huAP8_BFKjnTXbG4F0vUfMYs5Xy=3RQigS7FA@mail.gmail.com> <CAJ3w4Ne81LVsaznu_yck7fG7iJyGm=WY4=i2AF8gx39Tf59eMA@mail.gmail.com>
From: Lishan Li <lilishan48@gmail.com>
Date: Sat, 26 Nov 2016 02:38:16 +0800
Message-ID: <CAJ3w4NfMX+C9XVUNOsmvGmuiW5wBfyPAd=vbHgNdUuyARYHqBg@mail.gmail.com>
To: =?UTF-8?B?56We5piO6YGU5ZOJ?= <jinmei@wide.ad.jp>
Content-Type: multipart/alternative; boundary=001a1147e8e4ee40c00542246cb3
Archived-At: <https://mailarchive.ietf.org/arch/msg/dhcwg/ISQpRDixcpZAubZ9-ecCA7IdFkY>
Cc: "dhcwg@ietf.org" <dhcwg@ietf.org>
Subject: Re: [dhcwg] preliminary comments on draft-ietf-dhc-sedhcpv6-17
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: Fri, 25 Nov 2016 18:38:20 -0000

--001a1147e8e4ee40c00542246cb3
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Another problem is that: how the client identify which public/private key
pair is used for DHCPv6 configuration process when the client have multiple
key pairs. In most cases, the client communicate with only one DHCPv6
server. Then, the client only uses one public/private key pair for the
DHCPv6 configuration process. So there is no need to define the mechanism.
Could you please check whether my understanding correct?

Best Regards,
Lishan

2016-11-25 14:29 GMT+08:00 Lishan Li <lilishan48@gmail.com>:

> 2016-11-24 3:39 GMT+08:00 =E7=A5=9E=E6=98=8E=E9=81=94=E5=93=89 <jinmei@wi=
de.ad.jp>:
>
>> At Wed, 23 Nov 2016 16:28:54 +0800,
>> Lishan Li <lilishan48@gmail.com> wrote:
>>
>> > > - Introduce a new DHCPv6 option named "encryption key tag option".
>> > >   Its value is calculated from public key data (it's essentially a
>> > >   fingerprint of a specific public key).
>> > > - Encryption Query messages MUST include the encryption key tag
>> > >   option.  The option data MUST be calculated for the public key tha=
t
>> > >   the client uses to encrypt the encapsulated DHCPv6 message.
>> > >
>> > [LS]: I agreed. I have two questions:
>> > 1. How does the client calculate the key tag? Maybe the hash
>> > function can be used for the calculation.
>>
>> Anything that would generate reasonably different values for different
>> keys (but it doesn't have to be guaranteed) is fine.  A simple
>> "checksum" like the RRSIG key tag would probably suffice; using a
>> commonly known modern hash is also fine.
>>
> [LS]: So it is mostly a implementation problem and don't need to specify
> it. Because for the algorithm agility, we defines the algorithm negotiati=
on
> mechanism between the client and server. So I the key tag generation
> algorithm may also need negotiation mechanism. And then, the generation
> algorithm should also be defined in our document.
> Looking forward to your guidance.
>
> > 2. For the first received Encrypted-Query message, how does the
>> > server identifies the corresponding private key through the acknowledg=
ed
>> > key tag?
>> > one way is that: The server tries all the possible private key
>> > and record the relation of key tag and the corresponding private key.
>> > Another method is that: The server calculates the key tags of all the
>> > private key and then finds the corresponding private key.
>> > Looking forward to your further guidance.
>>
>> IMO this can be left to implementations.  But I expect most server
>> implementations will calculate the tag value when it generates a key
>> pair and maintain it with the key pair.  Note that if the server
>> implementator and administrator don't care about the efficiency it
>> could even calculate the tag value for its all public keys and compare
>> it to the value specified in the "encryption key tag option".  Or it
>> could even skip using the key tag and try all possible keys.  It's
>> inefficient but will still work.
>>
> [LS]: Thanks a lot for your explanation. So we don't need to specify
> this implementation problem in our document.
>
> Best Regards,
> Lishan
>

--001a1147e8e4ee40c00542246cb3
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Another problem is that: how the client identify which pub=
lic/private key pair is used for DHCPv6 configuration process when the clie=
nt have multiple key pairs. In most cases, the client communicate with only=
 one DHCPv6 server. Then, the client only uses one public/private key pair =
for the DHCPv6 configuration process. So there is no need to define the mec=
hanism. Could you please check whether my understanding correct?<div><br></=
div><div>Best Regards,</div><div>Lishan</div></div><div class=3D"gmail_extr=
a"><br><div class=3D"gmail_quote">2016-11-25 14:29 GMT+08:00 Lishan Li <spa=
n dir=3D"ltr">&lt;<a href=3D"mailto:lilishan48@gmail.com" target=3D"_blank"=
>lilishan48@gmail.com</a>&gt;</span>:<br><blockquote class=3D"gmail_quote" =
style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><di=
v dir=3D"ltr"><div class=3D"gmail_extra"><div class=3D"gmail_quote"><span c=
lass=3D"">2016-11-24 3:39 GMT+08:00 =E7=A5=9E=E6=98=8E=E9=81=94=E5=93=89 <s=
pan dir=3D"ltr">&lt;<a href=3D"mailto:jinmei@wide.ad.jp" target=3D"_blank">=
jinmei@wide.ad.jp</a>&gt;</span>:<br><blockquote class=3D"gmail_quote" styl=
e=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">At Wed,=
 23 Nov 2016 16:28:54 +0800,<br>
<span>Lishan Li &lt;<a href=3D"mailto:lilishan48@gmail.com" target=3D"_blan=
k">lilishan48@gmail.com</a>&gt; wrote:<br>
<br>
&gt; &gt; - Introduce a new DHCPv6 option named &quot;encryption key tag op=
tion&quot;.<br>
&gt; &gt;=C2=A0 =C2=A0Its value is calculated from public key data (it&#39;=
s essentially a<br>
&gt; &gt;=C2=A0 =C2=A0fingerprint of a specific public key).<br>
&gt; &gt; - Encryption Query messages MUST include the encryption key tag<b=
r>
&gt; &gt;=C2=A0 =C2=A0option.=C2=A0 The option data MUST be calculated for =
the public key that<br>
&gt; &gt;=C2=A0 =C2=A0the client uses to encrypt the encapsulated DHCPv6 me=
ssage.<br>
&gt; &gt;<br>
&gt; [LS]: I agreed. I have two questions:<br>
&gt; 1. How does the client calculate the key tag? Maybe the hash<br>
&gt; function can be used for the calculation.<br>
<br>
</span>Anything that would generate reasonably different values for differe=
nt<br>
keys (but it doesn&#39;t have to be guaranteed) is fine.=C2=A0 A simple<br>
&quot;checksum&quot; like the RRSIG key tag would probably suffice; using a=
<br>
commonly known modern hash is also fine.<br></blockquote></span><div>[LS]: =
So it is mostly a implementation problem and don&#39;t need to specify=C2=
=A0</div><div>it. Because for the algorithm agility, we defines the algorit=
hm negotiation</div><div>mechanism between the client and server. So I the =
key tag generation=C2=A0</div><div>algorithm may also need negotiation mech=
anism. And then, the generation</div><div>algorithm should also be defined =
in our document.</div><div>Looking forward to your guidance.</div><span cla=
ss=3D""><div><br></div><blockquote class=3D"gmail_quote" style=3D"margin:0 =
0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>
&gt; 2. For the first received Encrypted-Query message, how does the<br>
&gt; server identifies the corresponding private key through the acknowledg=
ed<br>
&gt; key tag?<br>
&gt; one way is that: The server tries all the possible private key<br>
&gt; and record the relation of key tag and the corresponding private key.<=
br>
&gt; Another method is that: The server calculates the key tags of all the<=
br>
&gt; private key and then finds the corresponding private key.<br>
&gt; Looking forward to your further guidance.<br>
<br>
</span>IMO this can be left to implementations.=C2=A0 But I expect most ser=
ver<br>
implementations will calculate the tag value when it generates a key<br>
pair and maintain it with the key pair.=C2=A0 Note that if the server<br>
implementator and administrator don&#39;t care about the efficiency it<br>
could even calculate the tag value for its all public keys and compare<br>
it to the value specified in the &quot;encryption key tag option&quot;.=C2=
=A0 Or it<br>
could even skip using the key tag and try all possible keys.=C2=A0 It&#39;s=
<br>
inefficient but will still work.<br></blockquote></span><div>[LS]: Thanks a=
 lot for your explanation. So we don&#39;t need to specify=C2=A0</div><div>=
this implementation problem in our document. =C2=A0</div><div><br></div><di=
v>Best Regards,</div><div>Lishan</div></div></div></div>
</blockquote></div><br></div>

--001a1147e8e4ee40c00542246cb3--


From nobody Mon Nov 28 10:01:07 2016
Return-Path: <jinmei.tatuya@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 9B09E129F8C for <dhcwg@ietfa.amsl.com>; Mon, 28 Nov 2016 10:00:42 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.7
X-Spam-Level: 
X-Spam-Status: No, score=-1.7 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.199, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.001, SPF_PASS=-0.001] autolearn=no 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 wp4vzEzt2gZU for <dhcwg@ietfa.amsl.com>; Mon, 28 Nov 2016 10:00:41 -0800 (PST)
Received: from mail-qk0-x229.google.com (mail-qk0-x229.google.com [IPv6:2607:f8b0:400d:c09::229]) (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 6E802129F89 for <dhcwg@ietf.org>; Mon, 28 Nov 2016 10:00:41 -0800 (PST)
Received: by mail-qk0-x229.google.com with SMTP id n21so148263853qka.3 for <dhcwg@ietf.org>; Mon, 28 Nov 2016 10:00:41 -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:from:date:message-id :subject:to:cc; bh=JHKR3/51xYEFB8TdEtcEvLwBNFA1Y9Lu5Kt101PHUmk=; b=r6gbk+lQp2RFonYI0Gf5i2QG5eR5TTJlQbHS8bQr0tykpqgIo80aKE5rYkr31DwwOu NoQTZZ+J8ADrfdc/2AfsfHVAfFHbIGod7d5Fvdim88ZIbFOTlNTyM/etDObTQyDxV/Be wo1UjajKTyXrLMce89yC9L+RGXDNY6eipFn7KhxVBEYhmUDvCZuXYE4fWPXmtEaj1IXv KRcQMzsaFx1g0eUuFStwX711MNHxakV252xDRY/81bkUqGL68OfelzJulShAJ+uhPG6f KKT/ZJC1TiTTnRSeMEpoQdnhakzcGMNDiM0YeMMe4MDYCzdVtm2DefG/XCmyhINq9epE M1Vw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=JHKR3/51xYEFB8TdEtcEvLwBNFA1Y9Lu5Kt101PHUmk=; b=FZNAO6sRupjli5abqvHEj/ByBaidudY9xgtf/eUprh6Q5d7D/FYnlNI/VZ8gJ37aWt ofQ1kteY6FA5gD/RC/kq28nXG0mKzPLxun85wmOyTXH9/IvTVj+vV1/XiKyXBClW35m2 cRET/ntwQ558eu5PGoylluUziuXMU6XycdLqVERAYvWhSJVlM/dXs9ro46aFXXhbomUB ji+oIEAd+tpEPd99AsOeAA4CI85g6ndSuRXGC5AoVVFbUrONKGMNmwwnf8I2fV2m28b7 IZmdWgF+9l46hhZozlzlv2UFQ9DLOrTO+IbJSzDjNXWRkOOsnv9CMvoOMTfR+3qAdoVx 9/9w==
X-Gm-Message-State: AKaTC00DEUlXBmvuAzccS5Crdxs8FU6ZXmTr4JHzdCeOlbA92O9H+gsdLBzKmBUNBFx357Btf96nOAJ8JiaRww==
X-Received: by 10.55.134.1 with SMTP id i1mr20133579qkd.219.1480356040413; Mon, 28 Nov 2016 10:00:40 -0800 (PST)
MIME-Version: 1.0
Sender: jinmei.tatuya@gmail.com
Received: by 10.237.53.155 with HTTP; Mon, 28 Nov 2016 10:00:39 -0800 (PST)
In-Reply-To: <CAJ3w4Ne81LVsaznu_yck7fG7iJyGm=WY4=i2AF8gx39Tf59eMA@mail.gmail.com>
References: <CAJE_bqebwr2WUUgaNgiYS4_8L77Gxj4Os+oPRG407B6ELMEhCQ@mail.gmail.com> <CAJ3w4Ndi5Gq63n5kZnanRhLM8nWE2wsWGh0kJJLJnq=VoXLuCg@mail.gmail.com> <CAJE_bqegh1DfWjfK2BxeC_fWa0cEk-KJNP0AT-TQuEa39w_wVQ@mail.gmail.com> <CAJ3w4NdM99nv4C19Xj=aosNme+_Ymyys=xQ3UWUfeZReZC4ckA@mail.gmail.com> <CAJE_bqdhGZnK16MooiyujDgthDNnR74EiwW0OevrN6uq4b4ANw@mail.gmail.com> <CAJE_bqfKUZe2yaW1sAq7rrib0M7wz28HHtPLqCHK=vXcN6amgg@mail.gmail.com> <CAJ3w4Nd3s+ZojjiotLkKwys6truhUgK6F-90UYjcpB9iw=fKKQ@mail.gmail.com> <m2r36nuqvn.wl%jinmei.tatuya@gmail.com> <CAJ3w4NeuNYTrX4p5rtZ6UceD5ydQ-B-vY6aqQzxWnXsrDOEFEA@mail.gmail.com> <CAJE_bqdh-bgk7BHZJnaFFBr3PDj4ZnSSGeGNdQ70F7dv91iQrA@mail.gmail.com> <CAJ3w4NfU9PrC9a+MGnJ=Es1yir_asHB3p1=9GfxZZ0iSe+At+Q@mail.gmail.com> <CAJE_bqfRBYkrniWQ+vtPULTURnvyV792QNGvr8JhhZpGQ0MSdA@mail.gmail.com> <CAJ3w4NerRzHYsRqcUAkAjHX23PYVF4Jv0wKcd33vXRRg+-0EAQ@mail.gmail.com> <CAJ3w4NekPk0TuAZW_jmTDYQHd8JP3GsrA0qrKYrnyqSSk3qwxw@mail.gmail.com> <CAJE_bqc8hkrc3dYefTPWi-mUCtZD+oYsrobCK1KjmVGRnNfMCw@mail.gmail.com> <CAJ3w4NejrFAT3RK7i0W46HkQNJjhPxbhzQiL=3fcrceidTzHNQ@mail.gmail.com> <CAJE_bqcCwZWPHuZ0UR8_jyCUsaTrYKzLD8zUKwChYaCL06yT9A@mail.gmail.com> <CAJ3w4NfS8PKOMHcP5s_Nsp5K5eWJfXWRF-vNEau_ekqTRwE=wA@mail.gmail.com> <CAJE_bqfqSXFR9R5wf1USg-zs+nvdohQFq99kQL2DiapXvUdEqA@mail.gmail.com> <CAJ3w4Ncj40JwrW6UB+TVFvymByU5Y9iFv5QroWhwUzkLrS2DTg@mail.gmail.com> <CAJE_bqd38grUh9q57a-H29GsMx5Dpv9VE0iBMO7v_-y97zZZUg@mail.gmail.com> <CAJ3w4Ne63cnqoeTZk=PDmAN9+i6jwzyxbK+up45wB9h+xUDSfw@mail.gmail.com> <CAJE_bqceK7YLpMqhgjqrFQh7641a+ZRcnO0F6p6BiM8EMKmA7w@mail.gmail.com> <CAJ3w4Nf65b1zo-smMguZBc_-RbFh2y8kk7Fnu__TKCQEVbs48w@mail.gmail.com> <CAJE_bqeVciLxS_q=deRKLBr12ZGXxx2wdFiztJxJjfS7aAV2Ag@mail.gmail.com> <CAJ3w4NcvyeuRWJatGGH7U4g413GQvr9LHtDiX13zSOz7kBGEhw@mail.gmail.com> <CAJE_bqfFOhe26huAP8_BFKjnTXbG4F0vUfMYs5Xy=3RQigS7FA@mail.gmail.com> <CAJ3w4Ne81LVsaznu_yck7fG7iJyGm=WY4=i2AF8gx39Tf59eMA@mail.gmail.com>
From: =?UTF-8?B?56We5piO6YGU5ZOJ?= <jinmei@wide.ad.jp>
Date: Mon, 28 Nov 2016 10:00:39 -0800
X-Google-Sender-Auth: lNfj_V5CeXhzJl03hM2xCgNAqEg
Message-ID: <CAJE_bqceRD2+vkfwR+Egr=CgyAT4wd1Wmxp1S=f3WRFGs9j4sg@mail.gmail.com>
To: Lishan Li <lilishan48@gmail.com>
Content-Type: text/plain; charset=UTF-8
Archived-At: <https://mailarchive.ietf.org/arch/msg/dhcwg/R4AuuZn8HCliFZzOMKc0S6ALwrs>
Cc: "dhcwg@ietf.org" <dhcwg@ietf.org>
Subject: Re: [dhcwg] preliminary comments on draft-ietf-dhc-sedhcpv6-17
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: Mon, 28 Nov 2016 18:00:42 -0000
X-List-Received-Date: Mon, 28 Nov 2016 18:00:42 -0000

At Fri, 25 Nov 2016 14:29:41 +0800,
Lishan Li <lilishan48@gmail.com> wrote:

> > Anything that would generate reasonably different values for different
> > keys (but it doesn't have to be guaranteed) is fine.  A simple
> > "checksum" like the RRSIG key tag would probably suffice; using a
> > commonly known modern hash is also fine.
> >
> [LS]: So it is mostly a implementation problem and don't need to specify
> it.

We need to describe it as part of the protocol as it's necessary for
interoperability.  It's similar to the fact that the calculation of
the DNS RRSIG key tag is part of the protocol standard.

> Another problem is that: how the client identify which public/private key
> pair is used for DHCPv6 configuration process when the client have multiple
> key pairs. In most cases, the client communicate with only one DHCPv6
> server. Then, the client only uses one public/private key pair for the
> DHCPv6 configuration process. So there is no need to define the mechanism.
> Could you please check whether my understanding correct?

In this case we can normally use the transaction ID (unlike the case
where the server needs to identify the key pair to decrypt the
received data)...except for Reconfigure.  So, in the end we probably
need to include the key tag option in the Encryption-Response
message.  Hmm, this leads to another question: which encryption
message should we use, Encryption-Query or Encryption-Response, to
encrypt a Reconfigure message?

--
JINMEI, Tatuya


From nobody Tue Nov 29 07:20:00 2016
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 9B103129BFA for <dhcwg@ietfa.amsl.com>; Tue, 29 Nov 2016 07:19:59 -0800 (PST)
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 KtamX8kNG3Jv for <dhcwg@ietfa.amsl.com>; Tue, 29 Nov 2016 07:19:57 -0800 (PST)
Received: from mail-qk0-x22a.google.com (mail-qk0-x22a.google.com [IPv6:2607:f8b0:400d:c09::22a]) (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 045241293FD for <dhcwg@ietf.org>; Tue, 29 Nov 2016 07:19:57 -0800 (PST)
Received: by mail-qk0-x22a.google.com with SMTP id q130so177513594qke.1 for <dhcwg@ietf.org>; Tue, 29 Nov 2016 07:19:56 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=/ilfE/XH4FYDOFE+i0es1JTNMKHzFzG7S7qoF5Py/KI=; b=XAqapr5cIx4nyXIVsPtX20wmjWovfk86tXc5soyuOK2UfR3/qlq8b5uDU2QD21HoCB buRG5ULKV9jEvJKSE0LjCsXtiA8U9l6qQ3wDID4VDI1wy9KMTKVadFX3KXnQxJqL2Sw7 WkMBOb0xuuX1SoWoW2gAt9UPi3DYgNyBZhbpgt+vKgAk1JMuRz5SU2M5ZRITdDIBqaz8 cXCU8S9W5XWqeioI9TFYsn43falhdO38wVGyGV99gouEybnDt9IooEIbvNxH/1ZKTRoG k5daXSPN1Lev+t8zf5wKqKvuwZOpQbAboG2us30ccqr2//j/ojTbtMDn9rrJhqy3cw36 hiyg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=/ilfE/XH4FYDOFE+i0es1JTNMKHzFzG7S7qoF5Py/KI=; b=PFk2S8ejoq9bPA0GT2mlohxeYwuRmLqUzFxg2ar7YaSt/lG0j+Op/ibB7FO9yzAmJO BrhQ9Utx7Vuw0vewFpWyGo7G3aNTvSrC4tqPhv4DhTVpaRD5VcCE7rW+BGhh+ebffuyr Xg9KbVhh5ifu7NH/n4verrIPf81zrSLJclwRP+JF4a4tQyIMTA2Zb7pF4jLiCW5KT2HQ HZ1fHrwp10dO2S6DbaQTuYjD9NQa5aHBM+EsY6ArnTGLCJe2wCLCQjD9tl6AuPOKb26Y kKRnPgHe+U+jreWBWROKUSo4PioodW/evkc8PeADYPVEs1clUpaC74US9HBylKfm87Jq w/cA==
X-Gm-Message-State: AKaTC01Di3KOhWexSxj3mY1XBT2H+96WskD3se/ZcHMY1+ZonVgApnang9CfErcH4J/14e9W3AcbwMSwUD5KGg==
X-Received: by 10.55.17.68 with SMTP id b65mr23985907qkh.60.1480432796003; Tue, 29 Nov 2016 07:19:56 -0800 (PST)
MIME-Version: 1.0
Received: by 10.237.36.211 with HTTP; Tue, 29 Nov 2016 07:19:55 -0800 (PST)
In-Reply-To: <CAJE_bqceRD2+vkfwR+Egr=CgyAT4wd1Wmxp1S=f3WRFGs9j4sg@mail.gmail.com>
References: <CAJE_bqebwr2WUUgaNgiYS4_8L77Gxj4Os+oPRG407B6ELMEhCQ@mail.gmail.com> <CAJ3w4Ndi5Gq63n5kZnanRhLM8nWE2wsWGh0kJJLJnq=VoXLuCg@mail.gmail.com> <CAJE_bqegh1DfWjfK2BxeC_fWa0cEk-KJNP0AT-TQuEa39w_wVQ@mail.gmail.com> <CAJ3w4NdM99nv4C19Xj=aosNme+_Ymyys=xQ3UWUfeZReZC4ckA@mail.gmail.com> <CAJE_bqdhGZnK16MooiyujDgthDNnR74EiwW0OevrN6uq4b4ANw@mail.gmail.com> <CAJE_bqfKUZe2yaW1sAq7rrib0M7wz28HHtPLqCHK=vXcN6amgg@mail.gmail.com> <CAJ3w4Nd3s+ZojjiotLkKwys6truhUgK6F-90UYjcpB9iw=fKKQ@mail.gmail.com> <m2r36nuqvn.wl%jinmei.tatuya@gmail.com> <CAJ3w4NeuNYTrX4p5rtZ6UceD5ydQ-B-vY6aqQzxWnXsrDOEFEA@mail.gmail.com> <CAJE_bqdh-bgk7BHZJnaFFBr3PDj4ZnSSGeGNdQ70F7dv91iQrA@mail.gmail.com> <CAJ3w4NfU9PrC9a+MGnJ=Es1yir_asHB3p1=9GfxZZ0iSe+At+Q@mail.gmail.com> <CAJE_bqfRBYkrniWQ+vtPULTURnvyV792QNGvr8JhhZpGQ0MSdA@mail.gmail.com> <CAJ3w4NerRzHYsRqcUAkAjHX23PYVF4Jv0wKcd33vXRRg+-0EAQ@mail.gmail.com> <CAJ3w4NekPk0TuAZW_jmTDYQHd8JP3GsrA0qrKYrnyqSSk3qwxw@mail.gmail.com> <CAJE_bqc8hkrc3dYefTPWi-mUCtZD+oYsrobCK1KjmVGRnNfMCw@mail.gmail.com> <CAJ3w4NejrFAT3RK7i0W46HkQNJjhPxbhzQiL=3fcrceidTzHNQ@mail.gmail.com> <CAJE_bqcCwZWPHuZ0UR8_jyCUsaTrYKzLD8zUKwChYaCL06yT9A@mail.gmail.com> <CAJ3w4NfS8PKOMHcP5s_Nsp5K5eWJfXWRF-vNEau_ekqTRwE=wA@mail.gmail.com> <CAJE_bqfqSXFR9R5wf1USg-zs+nvdohQFq99kQL2DiapXvUdEqA@mail.gmail.com> <CAJ3w4Ncj40JwrW6UB+TVFvymByU5Y9iFv5QroWhwUzkLrS2DTg@mail.gmail.com> <CAJE_bqd38grUh9q57a-H29GsMx5Dpv9VE0iBMO7v_-y97zZZUg@mail.gmail.com> <CAJ3w4Ne63cnqoeTZk=PDmAN9+i6jwzyxbK+up45wB9h+xUDSfw@mail.gmail.com> <CAJE_bqceK7YLpMqhgjqrFQh7641a+ZRcnO0F6p6BiM8EMKmA7w@mail.gmail.com> <CAJ3w4Nf65b1zo-smMguZBc_-RbFh2y8kk7Fnu__TKCQEVbs48w@mail.gmail.com> <CAJE_bqeVciLxS_q=deRKLBr12ZGXxx2wdFiztJxJjfS7aAV2Ag@mail.gmail.com> <CAJ3w4NcvyeuRWJatGGH7U4g413GQvr9LHtDiX13zSOz7kBGEhw@mail.gmail.com> <CAJE_bqfFOhe26huAP8_BFKjnTXbG4F0vUfMYs5Xy=3RQigS7FA@mail.gmail.com> <CAJ3w4Ne81LVsaznu_yck7fG7iJyGm=WY4=i2AF8gx39Tf59eMA@mail.gmail.com> <CAJE_bqceRD2+vkfwR+Egr=CgyAT4wd1Wmxp1S=f3WRFGs9j4sg@mail.gmail.com>
From: Lishan Li <lilishan48@gmail.com>
Date: Tue, 29 Nov 2016 23:19:55 +0800
Message-ID: <CAJ3w4NcnAe3Enhs6KVgBkpa+BivLGRw9SGJ1RmAq7q=HM8Ph6Q@mail.gmail.com>
To: =?UTF-8?B?56We5piO6YGU5ZOJ?= <jinmei@wide.ad.jp>
Content-Type: multipart/alternative; boundary=001a1146f106eb74ac0542721e48
Archived-At: <https://mailarchive.ietf.org/arch/msg/dhcwg/C9fFQsilXu44bRE-jBcPYOcdrAc>
Cc: "dhcwg@ietf.org" <dhcwg@ietf.org>
Subject: Re: [dhcwg] preliminary comments on draft-ietf-dhc-sedhcpv6-17
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, 29 Nov 2016 15:19:59 -0000

--001a1146f106eb74ac0542721e48
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

2016-11-29 2:00 GMT+08:00 =E7=A5=9E=E6=98=8E=E9=81=94=E5=93=89 <jinmei@wide=
.ad.jp>:

> At Fri, 25 Nov 2016 14:29:41 +0800,
> Lishan Li <lilishan48@gmail.com> wrote:
>
> > > Anything that would generate reasonably different values for differen=
t
> > > keys (but it doesn't have to be guaranteed) is fine.  A simple
> > > "checksum" like the RRSIG key tag would probably suffice; using a
> > > commonly known modern hash is also fine.
> > >
> > [LS]: So it is mostly a implementation problem and don't need to specif=
y
> > it.
>
> We need to describe it as part of the protocol as it's necessary for
> interoperability.  It's similar to the fact that the calculation of
> the DNS RRSIG key tag is part of the protocol standard.
>
[LS]: OK. So how about using the hash algorithm for the encryption
key tag calculation?
Maybe the server don't need to know the calculation method. For the
first Encrypted-Query message with the new encryption key tag, the
server tries all the possible private keys and record the relationship
between the key tag and the corresponding public/private key pair.
And the server does not need to calculate the key tag locally.

>
> > Another problem is that: how the client identify which public/private k=
ey
> > pair is used for DHCPv6 configuration process when the client have
> multiple
> > key pairs. In most cases, the client communicate with only one DHCPv6
> > server. Then, the client only uses one public/private key pair for the
> > DHCPv6 configuration process. So there is no need to define the
> mechanism.
> > Could you please check whether my understanding correct?
>
> In this case we can normally use the transaction ID (unlike the case
> where the server needs to identify the key pair to decrypt the
> received data)...except for Reconfigure.  So, in the end we probably
> need to include the key tag option in the Encryption-Response
> message.  Hmm, this leads to another question: which encryption
> message should we use, Encryption-Query or Encryption-Response, to
> encrypt a Reconfigure message?
>

[LS]: The Reconfigure message is sent from server to client. So sure,
it should be encrypted in Encrypted-Response message.

Firstly, I think there is no need to design such a mechanism for it.
The DHCPv6 server communicates with multiple DHCPv6 clients.
So there is need to define a mechanism to identify the used public/private
key pairs. However, the client always communicates with only one DHCPv6
server. For the whole DHCPv6 configuration process, only one public
key is informed of the server and the corresponding public key is used
for decryption.

Assume it is need to design a mechanism for this. There are three method:
1. Transaction id as the identifier: now work for Reconfigure message;
2. Encrypted-Response message contains key tag.
3. Server Identifier as the identifier.

--001a1146f106eb74ac0542721e48
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_extra"><div class=3D"gmail_quote">2016=
-11-29 2:00 GMT+08:00 =E7=A5=9E=E6=98=8E=E9=81=94=E5=93=89 <span dir=3D"ltr=
">&lt;<a href=3D"mailto:jinmei@wide.ad.jp" target=3D"_blank">jinmei@wide.ad=
.jp</a>&gt;</span>:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 =
0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">At Fri, 25 Nov 2016 1=
4:29:41 +0800,<br>
<span class=3D"">Lishan Li &lt;<a href=3D"mailto:lilishan48@gmail.com">lili=
shan48@gmail.com</a>&gt; wrote:<br>
<br>
&gt; &gt; Anything that would generate reasonably different values for diff=
erent<br>
&gt; &gt; keys (but it doesn&#39;t have to be guaranteed) is fine.=C2=A0 A =
simple<br>
&gt; &gt; &quot;checksum&quot; like the RRSIG key tag would probably suffic=
e; using a<br>
&gt; &gt; commonly known modern hash is also fine.<br>
&gt; &gt;<br>
&gt; [LS]: So it is mostly a implementation problem and don&#39;t need to s=
pecify<br>
&gt; it.<br>
<br>
</span>We need to describe it as part of the protocol as it&#39;s necessary=
 for<br>
interoperability.=C2=A0 It&#39;s similar to the fact that the calculation o=
f<br>
the DNS RRSIG key tag is part of the protocol standard.<br></blockquote><di=
v>[LS]: OK. So how about using the hash algorithm for the encryption=C2=A0<=
/div><div>key tag calculation?=C2=A0</div><div>Maybe the server don&#39;t n=
eed to know the calculation method. For the=C2=A0</div><div>first Encrypted=
-Query message with the new encryption key tag, the=C2=A0</div><div>server =
tries all the possible private keys and record the relationship</div><div>b=
etween the key tag and the corresponding public/private key pair.</div><div=
>And the server does not need to calculate the key tag locally.</div><block=
quote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc=
 solid;padding-left:1ex">
<span class=3D""><br>
&gt; Another problem is that: how the client identify which public/private =
key<br>
&gt; pair is used for DHCPv6 configuration process when the client have mul=
tiple<br>
&gt; key pairs. In most cases, the client communicate with only one DHCPv6<=
br>
&gt; server. Then, the client only uses one public/private key pair for the=
<br>
</span>&gt; DHCPv6 configuration process. So there is no need to define the=
 mechanism.<br>
<span class=3D"">&gt; Could you please check whether my understanding corre=
ct?<br>
<br>
</span>In this case we can normally use the transaction ID (unlike the case=
<br>
where the server needs to identify the key pair to decrypt the<br>
received data)...except for Reconfigure.=C2=A0 So, in the end we probably<b=
r>
need to include the key tag option in the Encryption-Response<br>
message.=C2=A0 Hmm, this leads to another question: which encryption<br>
message should we use, Encryption-Query or Encryption-Response, to<br>
encrypt a Reconfigure message?<br></blockquote><div>=C2=A0</div><div>[LS]: =
The Reconfigure message is sent from server to client. So sure,=C2=A0</div>=
<div>it should be encrypted in Encrypted-Response message.</div><div><br></=
div><div>Firstly, I think there is no need to design such a mechanism for i=
t.</div><div>The DHCPv6 server communicates with multiple DHCPv6 clients.</=
div><div>So there is need to define a mechanism to identify the used public=
/private</div><div>key pairs. However, the client always communicates with =
only one DHCPv6=C2=A0</div><div>server. For the whole DHCPv6 configuration =
process, only one public=C2=A0</div><div>key is informed of the server and =
the corresponding public key is used=C2=A0</div><div>for decryption.</div><=
div><br></div><div>Assume it is need to design a mechanism for this. There =
are three method:</div><div>1. Transaction id as the identifier: now work f=
or Reconfigure message;</div><div>2. Encrypted-Response message contains ke=
y tag.</div><div>3. Server Identifier as the identifier.</div><div><br></di=
v></div></div></div>

--001a1146f106eb74ac0542721e48--


From nobody Tue Nov 29 08:23:59 2016
Return-Path: <jinmei.tatuya@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 DB186129BF7 for <dhcwg@ietfa.amsl.com>; Tue, 29 Nov 2016 08:23:57 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.4
X-Spam-Level: 
X-Spam-Status: No, score=-2.4 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.199, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=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 B8bjrK45EC82 for <dhcwg@ietfa.amsl.com>; Tue, 29 Nov 2016 08:23:55 -0800 (PST)
Received: from mail-qk0-x231.google.com (mail-qk0-x231.google.com [IPv6:2607:f8b0:400d:c09::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 F412B129BFD for <dhcwg@ietf.org>; Tue, 29 Nov 2016 08:23:54 -0800 (PST)
Received: by mail-qk0-x231.google.com with SMTP id q130so179714636qke.1 for <dhcwg@ietf.org>; Tue, 29 Nov 2016 08:23:54 -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:from:date:message-id :subject:to:cc; bh=X86vUocgTjSvIBIUe2/1Ad/K9jEV0OlHh17gh+I4Ygc=; b=Zcqr6gIhJ0i0wkk5ub5v6nftjU9bMj3J0O8rOex2jpFaYGXz9+rVgeiXL+nAKhUTXC +HZC/Rhfh9WRJSbRZH0SGUi0nK/g0MxOm9fauk5G+EF5Y7K87OAj3o3elzKZuj0AomBX d8cQJdvZkEcpyP1tysaEJbYaElovJUCVlqxAKrrEuRuyPKr6mmyIZ/WfrGg3K4Q07yjI AbBNNFx4iFZZ5Yi3Lel6R8Ig5zIH0idsY4DkohhNRYNxFj4l1qiAs4vp6UOGIbxJTcsJ AHyZXELi0TlGD3SM+jfgl3WpEtYCQPylOtLEMyKN2ChyDFuftqRwPmDnA2R0rjwWlez4 D8Bw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=X86vUocgTjSvIBIUe2/1Ad/K9jEV0OlHh17gh+I4Ygc=; b=EL2Fp/BbVLsW7xrM273pdgLa/hiVj5Xg4dcI+MeeGU5wPY+G4CLDWzr7y0XP6cqupQ Xgqfe7EkFNU5lL7sWhQmmwZApJDgmRlNHn2MYG8u8Dagno8JLaBFP0ILCaX4it3rNgER Z/0kNwFGnWdvqh686wzTdk5NXu9o6LlYVYIit+YbPOz6YTT+gMuRR6vznQAKZQIUKbL3 Iph9RhRYvCvSRBDxYFlUoM3O6NflwTh20NYvysAczYz0pUT0aCwtIhMsjJhJ6IRUU081 xYqBmHE5Vc/1U/oNDra6rfwEpXisHnNzRxH/D+PLif38AbN/OnY5olMDC19yrrAvGAi+ mqXg==
X-Gm-Message-State: AKaTC03VAjvJCKuZxoRyvyOTUlxDZm931J8d5hJfrPIpUKy7GJ4m4/EzWNu8tXzLz6/kw8AIrOrPYP6BP2DO/g==
X-Received: by 10.55.20.164 with SMTP id 36mr23930306qku.86.1480436634049; Tue, 29 Nov 2016 08:23:54 -0800 (PST)
MIME-Version: 1.0
Sender: jinmei.tatuya@gmail.com
Received: by 10.237.53.155 with HTTP; Tue, 29 Nov 2016 08:23:53 -0800 (PST)
In-Reply-To: <CAJ3w4NcnAe3Enhs6KVgBkpa+BivLGRw9SGJ1RmAq7q=HM8Ph6Q@mail.gmail.com>
References: <CAJE_bqebwr2WUUgaNgiYS4_8L77Gxj4Os+oPRG407B6ELMEhCQ@mail.gmail.com> <CAJ3w4Ndi5Gq63n5kZnanRhLM8nWE2wsWGh0kJJLJnq=VoXLuCg@mail.gmail.com> <CAJE_bqegh1DfWjfK2BxeC_fWa0cEk-KJNP0AT-TQuEa39w_wVQ@mail.gmail.com> <CAJ3w4NdM99nv4C19Xj=aosNme+_Ymyys=xQ3UWUfeZReZC4ckA@mail.gmail.com> <CAJE_bqdhGZnK16MooiyujDgthDNnR74EiwW0OevrN6uq4b4ANw@mail.gmail.com> <CAJE_bqfKUZe2yaW1sAq7rrib0M7wz28HHtPLqCHK=vXcN6amgg@mail.gmail.com> <CAJ3w4Nd3s+ZojjiotLkKwys6truhUgK6F-90UYjcpB9iw=fKKQ@mail.gmail.com> <m2r36nuqvn.wl%jinmei.tatuya@gmail.com> <CAJ3w4NeuNYTrX4p5rtZ6UceD5ydQ-B-vY6aqQzxWnXsrDOEFEA@mail.gmail.com> <CAJE_bqdh-bgk7BHZJnaFFBr3PDj4ZnSSGeGNdQ70F7dv91iQrA@mail.gmail.com> <CAJ3w4NfU9PrC9a+MGnJ=Es1yir_asHB3p1=9GfxZZ0iSe+At+Q@mail.gmail.com> <CAJE_bqfRBYkrniWQ+vtPULTURnvyV792QNGvr8JhhZpGQ0MSdA@mail.gmail.com> <CAJ3w4NerRzHYsRqcUAkAjHX23PYVF4Jv0wKcd33vXRRg+-0EAQ@mail.gmail.com> <CAJ3w4NekPk0TuAZW_jmTDYQHd8JP3GsrA0qrKYrnyqSSk3qwxw@mail.gmail.com> <CAJE_bqc8hkrc3dYefTPWi-mUCtZD+oYsrobCK1KjmVGRnNfMCw@mail.gmail.com> <CAJ3w4NejrFAT3RK7i0W46HkQNJjhPxbhzQiL=3fcrceidTzHNQ@mail.gmail.com> <CAJE_bqcCwZWPHuZ0UR8_jyCUsaTrYKzLD8zUKwChYaCL06yT9A@mail.gmail.com> <CAJ3w4NfS8PKOMHcP5s_Nsp5K5eWJfXWRF-vNEau_ekqTRwE=wA@mail.gmail.com> <CAJE_bqfqSXFR9R5wf1USg-zs+nvdohQFq99kQL2DiapXvUdEqA@mail.gmail.com> <CAJ3w4Ncj40JwrW6UB+TVFvymByU5Y9iFv5QroWhwUzkLrS2DTg@mail.gmail.com> <CAJE_bqd38grUh9q57a-H29GsMx5Dpv9VE0iBMO7v_-y97zZZUg@mail.gmail.com> <CAJ3w4Ne63cnqoeTZk=PDmAN9+i6jwzyxbK+up45wB9h+xUDSfw@mail.gmail.com> <CAJE_bqceK7YLpMqhgjqrFQh7641a+ZRcnO0F6p6BiM8EMKmA7w@mail.gmail.com> <CAJ3w4Nf65b1zo-smMguZBc_-RbFh2y8kk7Fnu__TKCQEVbs48w@mail.gmail.com> <CAJE_bqeVciLxS_q=deRKLBr12ZGXxx2wdFiztJxJjfS7aAV2Ag@mail.gmail.com> <CAJ3w4NcvyeuRWJatGGH7U4g413GQvr9LHtDiX13zSOz7kBGEhw@mail.gmail.com> <CAJE_bqfFOhe26huAP8_BFKjnTXbG4F0vUfMYs5Xy=3RQigS7FA@mail.gmail.com> <CAJ3w4Ne81LVsaznu_yck7fG7iJyGm=WY4=i2AF8gx39Tf59eMA@mail.gmail.com> <CAJE_bqceRD2+vkfwR+Egr=CgyAT4wd1Wmxp1S=f3WRFGs9j4sg@mail.gmail.com> <CAJ3w4NcnAe3Enhs6KVgBkpa+BivLGRw9SGJ1RmAq7q=HM8Ph6Q@mail.gmail.com>
From: =?UTF-8?B?56We5piO6YGU5ZOJ?= <jinmei@wide.ad.jp>
Date: Tue, 29 Nov 2016 08:23:53 -0800
X-Google-Sender-Auth: ZeXMw6mcZGg_zSBne3o6AFsKzlE
Message-ID: <CAJE_bqcTpK0j_yfza3KPavEgdcpk2z+ZivZt8Hs1m2NrE7_scA@mail.gmail.com>
To: Lishan Li <lilishan48@gmail.com>
Content-Type: text/plain; charset=UTF-8
Archived-At: <https://mailarchive.ietf.org/arch/msg/dhcwg/l5YJv2bTAAaFCgIm1ZG6Qhg2vk4>
Cc: "dhcwg@ietf.org" <dhcwg@ietf.org>
Subject: Re: [dhcwg] preliminary comments on draft-ietf-dhc-sedhcpv6-17
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, 29 Nov 2016 16:23:58 -0000

At Tue, 29 Nov 2016 23:19:55 +0800,
Lishan Li <lilishan48@gmail.com> wrote:

> > We need to describe it as part of the protocol as it's necessary for
> > interoperability.  It's similar to the fact that the calculation of
> > the DNS RRSIG key tag is part of the protocol standard.
> >
> [LS]: OK. So how about using the hash algorithm for the encryption
> key tag calculation?

Do you mean the hash algorithm used for the signature option?  If so,
it doesn't sound like a reliable choice since it can be different for
different clients.

> Maybe the server don't need to know the calculation method. For the
> first Encrypted-Query message with the new encryption key tag, the
> server tries all the possible private keys and record the relationship
> between the key tag and the corresponding public/private key pair.
> And the server does not need to calculate the key tag locally.

This doesn't sound like reliable for the same reason.  While this can
certainly be designed in multiple different ways, I don't see why we
might want to allow the server to skip calculating the tag value for
its public keys.  It's a one-time operation for each key pair if the
server has a volatile storage and can store the value there (which
would be quite likely for middle-to-large scale servers).  Even if it
needs to calculate the tag value on every startup (and keep it in
memory throughout its runtime) it should be quite lightweight.

> > In this case we can normally use the transaction ID (unlike the case
> > where the server needs to identify the key pair to decrypt the
> > received data)...except for Reconfigure.  So, in the end we probably
> > need to include the key tag option in the Encryption-Response
> > message.  Hmm, this leads to another question: which encryption
> > message should we use, Encryption-Query or Encryption-Response, to
> > encrypt a Reconfigure message?
> >
>
> [LS]: The Reconfigure message is sent from server to client. So sure,
> it should be encrypted in Encrypted-Response message.
>
> Firstly, I think there is no need to design such a mechanism for it.
[...]
> key pairs. However, the client always communicates with only one DHCPv6
> server.

Is this guaranteed by the protocol specification?  If so, could you
provide specific text of an RFC (3315? or 3315bis?) that specifies
this restriction?  I agree that it's the most common way of DHCP(v6)
operation, but unless it's explicitly stated in the protocol
specification I think it's dangerous to design other protocols based
on such an implicit assumption.  I'm okay with the assumption itself,
but if it's an explicit restriction of the base protocol I'd suggest
explaining the assumption explicitly.

> For the whole DHCPv6 configuration process, only one public
> key is informed of the server and the corresponding public key is used
> for decryption.
>
> Assume it is need to design a mechanism for this. There are three method:
> 1. Transaction id as the identifier: now work for Reconfigure message;

I'm not sure if I understand this, but transaction-ID doesn't work in
the case of Reconfigure.

> 2. Encrypted-Response message contains key tag.

Yes, this can be one option.  Perhaps we might say:

- An Encrypted-Response message that encrypts a Reconfigure message
  SHOULD include Encryption Key Tag Option
- Encrypted-Response message MAY include Encryption Key Tag Option
  for other cases
- The client can use the key tag option (if included) or transaction
  ID (if non-0) to identify the private key to decrypt the data in a
  received Encrypted-Response message.  In practice, it's more likely
  that the client has only one possible key pair so the choice should
  be obvious.

> 3. Server Identifier as the identifier.

This can also work, but in that case we should update the spec so
Encrypted-Response messages can include the server identifier option.
It also relies on the assumption that there is only one DHCPv6 session
between the client with one particular server or if there are multiple
parallel DHCPv6 sessions the same key pair is used for all sessions.
As noted above, I'd be cautious to rely on implicit assumptions, so if
we choose this option I'd like to make the assumption explicit.

--
JINMEI, Tatuya


From nobody Wed Nov 30 01:58:50 2016
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 C672B129ED7 for <dhcwg@ietfa.amsl.com>; Wed, 30 Nov 2016 01:58:47 -0800 (PST)
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 jYTiJGL0DQAq for <dhcwg@ietfa.amsl.com>; Wed, 30 Nov 2016 01:58:45 -0800 (PST)
Received: from mail-qt0-x235.google.com (mail-qt0-x235.google.com [IPv6:2607:f8b0:400d:c0d::235]) (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 CD29A129EDE for <dhcwg@ietf.org>; Wed, 30 Nov 2016 01:55:01 -0800 (PST)
Received: by mail-qt0-x235.google.com with SMTP id p16so182179902qta.0 for <dhcwg@ietf.org>; Wed, 30 Nov 2016 01:55:01 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=k1M9QaEjrC1mxloADLvUWYWaV4m5ewR/LclymhuRcDE=; b=Muwut0fZwXtvHNoBl7Sdvtxd1uOqo7whCeZGLaxqb2k11JK4zR2X57gUYD3UzfW2nk 2/PFCufnC7g+Fewv2taI1EkV7LgwLDoK/qNhypiBj5cdRpTn4L9wiXe7oiosL1oobY+B q7SUZ1OBoQ2DKKztoeGvylpxMD/EbnHzpO9Z+Xv2SbavjRU2U1cU7Vvexx/9XgOXeKGK 5Sc7AY+CdiTsQ3+Fb/dzpsQF6/tcvAS+tgq89obw23lY3yz6qrcUbC6+nRbjR2w+u8g1 UKc9nyLIGJ4TliJZs2W02SwbeuquMwzFUiIMePFF4KHKgreMssCZW+5nhC1ZqT6F1Syx s/Xw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=k1M9QaEjrC1mxloADLvUWYWaV4m5ewR/LclymhuRcDE=; b=OwXirkIDuUuRx1gUdsDbBUCmNeQJdwx0KrBmEUAqutQKYcLVJIYQlDHCYxPwT2Tm7/ ZeYu7hZM3VZ9dimcfXwPxnPPyuTuvLSzQgGeH1iD+T9DGO4T7k1s+81WOWuFytMXwPs/ diB6qD7DDuIoND1w11AZurMW+QZhSvE4vpNec+5ygXKELQyhDt1+rOr44WbiA7T6aHyI TBOYU7t5RGVspjN/WD64TmmEhxmIV6rdnlEv6ZhqgYengOyHXFLeqM7gnQVd63ZyWaZD 9dvDMombf0/PZA9MNg0KSM3MHlDSiHUMzA2oLxt+CR3BRA8oOQmcYiHRS8VSHKrF+7pM 4qzQ==
X-Gm-Message-State: AKaTC02ngBWJIgZ++4Qn9JVPVvseQlpiN5kIFC6O1ClOzFrEyHAIlJdGXyuNBqfwCH0Q0AO/LxveA/40OcDbYA==
X-Received: by 10.200.34.108 with SMTP id p41mr31476865qtp.269.1480499700970;  Wed, 30 Nov 2016 01:55:00 -0800 (PST)
MIME-Version: 1.0
Received: by 10.237.36.211 with HTTP; Wed, 30 Nov 2016 01:55:00 -0800 (PST)
In-Reply-To: <CAJE_bqcTpK0j_yfza3KPavEgdcpk2z+ZivZt8Hs1m2NrE7_scA@mail.gmail.com>
References: <CAJE_bqebwr2WUUgaNgiYS4_8L77Gxj4Os+oPRG407B6ELMEhCQ@mail.gmail.com> <CAJ3w4Ndi5Gq63n5kZnanRhLM8nWE2wsWGh0kJJLJnq=VoXLuCg@mail.gmail.com> <CAJE_bqegh1DfWjfK2BxeC_fWa0cEk-KJNP0AT-TQuEa39w_wVQ@mail.gmail.com> <CAJ3w4NdM99nv4C19Xj=aosNme+_Ymyys=xQ3UWUfeZReZC4ckA@mail.gmail.com> <CAJE_bqdhGZnK16MooiyujDgthDNnR74EiwW0OevrN6uq4b4ANw@mail.gmail.com> <CAJE_bqfKUZe2yaW1sAq7rrib0M7wz28HHtPLqCHK=vXcN6amgg@mail.gmail.com> <CAJ3w4Nd3s+ZojjiotLkKwys6truhUgK6F-90UYjcpB9iw=fKKQ@mail.gmail.com> <m2r36nuqvn.wl%jinmei.tatuya@gmail.com> <CAJ3w4NeuNYTrX4p5rtZ6UceD5ydQ-B-vY6aqQzxWnXsrDOEFEA@mail.gmail.com> <CAJE_bqdh-bgk7BHZJnaFFBr3PDj4ZnSSGeGNdQ70F7dv91iQrA@mail.gmail.com> <CAJ3w4NfU9PrC9a+MGnJ=Es1yir_asHB3p1=9GfxZZ0iSe+At+Q@mail.gmail.com> <CAJE_bqfRBYkrniWQ+vtPULTURnvyV792QNGvr8JhhZpGQ0MSdA@mail.gmail.com> <CAJ3w4NerRzHYsRqcUAkAjHX23PYVF4Jv0wKcd33vXRRg+-0EAQ@mail.gmail.com> <CAJ3w4NekPk0TuAZW_jmTDYQHd8JP3GsrA0qrKYrnyqSSk3qwxw@mail.gmail.com> <CAJE_bqc8hkrc3dYefTPWi-mUCtZD+oYsrobCK1KjmVGRnNfMCw@mail.gmail.com> <CAJ3w4NejrFAT3RK7i0W46HkQNJjhPxbhzQiL=3fcrceidTzHNQ@mail.gmail.com> <CAJE_bqcCwZWPHuZ0UR8_jyCUsaTrYKzLD8zUKwChYaCL06yT9A@mail.gmail.com> <CAJ3w4NfS8PKOMHcP5s_Nsp5K5eWJfXWRF-vNEau_ekqTRwE=wA@mail.gmail.com> <CAJE_bqfqSXFR9R5wf1USg-zs+nvdohQFq99kQL2DiapXvUdEqA@mail.gmail.com> <CAJ3w4Ncj40JwrW6UB+TVFvymByU5Y9iFv5QroWhwUzkLrS2DTg@mail.gmail.com> <CAJE_bqd38grUh9q57a-H29GsMx5Dpv9VE0iBMO7v_-y97zZZUg@mail.gmail.com> <CAJ3w4Ne63cnqoeTZk=PDmAN9+i6jwzyxbK+up45wB9h+xUDSfw@mail.gmail.com> <CAJE_bqceK7YLpMqhgjqrFQh7641a+ZRcnO0F6p6BiM8EMKmA7w@mail.gmail.com> <CAJ3w4Nf65b1zo-smMguZBc_-RbFh2y8kk7Fnu__TKCQEVbs48w@mail.gmail.com> <CAJE_bqeVciLxS_q=deRKLBr12ZGXxx2wdFiztJxJjfS7aAV2Ag@mail.gmail.com> <CAJ3w4NcvyeuRWJatGGH7U4g413GQvr9LHtDiX13zSOz7kBGEhw@mail.gmail.com> <CAJE_bqfFOhe26huAP8_BFKjnTXbG4F0vUfMYs5Xy=3RQigS7FA@mail.gmail.com> <CAJ3w4Ne81LVsaznu_yck7fG7iJyGm=WY4=i2AF8gx39Tf59eMA@mail.gmail.com> <CAJE_bqceRD2+vkfwR+Egr=CgyAT4wd1Wmxp1S=f3WRFGs9j4sg@mail.gmail.com> <CAJ3w4NcnAe3Enhs6KVgBkpa+BivLGRw9SGJ1RmAq7q=HM8Ph6Q@mail.gmail.com> <CAJE_bqcTpK0j_yfza3KPavEgdcpk2z+ZivZt8Hs1m2NrE7_scA@mail.gmail.com>
From: Lishan Li <lilishan48@gmail.com>
Date: Wed, 30 Nov 2016 17:55:00 +0800
Message-ID: <CAJ3w4NfEqpZu+fYO_1A06bVT2Qzqc1qyTi_NkKrBjWGCJGwJVA@mail.gmail.com>
To: =?UTF-8?B?56We5piO6YGU5ZOJ?= <jinmei@wide.ad.jp>
Content-Type: multipart/alternative; boundary=001a11422baac43b92054281b20e
Archived-At: <https://mailarchive.ietf.org/arch/msg/dhcwg/nQsmE5hTbZYFxj2etX2EIJsXzNQ>
Cc: "dhcwg@ietf.org" <dhcwg@ietf.org>
Subject: Re: [dhcwg] preliminary comments on draft-ietf-dhc-sedhcpv6-17
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: Wed, 30 Nov 2016 09:58:48 -0000

--001a11422baac43b92054281b20e
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

2016-11-30 0:23 GMT+08:00 =E7=A5=9E=E6=98=8E=E9=81=94=E5=93=89 <jinmei@wide=
.ad.jp>:

> At Tue, 29 Nov 2016 23:19:55 +0800,
> Lishan Li <lilishan48@gmail.com> wrote:
>
> > > We need to describe it as part of the protocol as it's necessary for
> > > interoperability.  It's similar to the fact that the calculation of
> > > the DNS RRSIG key tag is part of the protocol standard.
> > >
> > [LS]: OK. So how about using the hash algorithm for the encryption
> > key tag calculation?
>
> Do you mean the hash algorithm used for the signature option?  If so,
> it doesn't sound like a reliable choice since it can be different for
> different clients.
>
> > Maybe the server don't need to know the calculation method. For the
> > first Encrypted-Query message with the new encryption key tag, the
> > server tries all the possible private keys and record the relationship
> > between the key tag and the corresponding public/private key pair.
> > And the server does not need to calculate the key tag locally.
>
> This doesn't sound like reliable for the same reason.  While this can
> certainly be designed in multiple different ways, I don't see why we
> might want to allow the server to skip calculating the tag value for
> its public keys.  It's a one-time operation for each key pair if the
> server has a volatile storage and can store the value there (which
> would be quite likely for middle-to-large scale servers).  Even if it
> needs to calculate the tag value on every startup (and keep it in
> memory throughout its runtime) it should be quite lightweight.
>
[LS]: It is not a one-time operation for each key pair. For different
clients, the key tag calculation method is different. For the multiple
calculation method, I don' t think it is lightweight.

Assume that the calculation method is needed, which method do
you suggested?

>
> > > In this case we can normally use the transaction ID (unlike the case
> > > where the server needs to identify the key pair to decrypt the
> > > received data)...except for Reconfigure.  So, in the end we probably
> > > need to include the key tag option in the Encryption-Response
> > > message.  Hmm, this leads to another question: which encryption
> > > message should we use, Encryption-Query or Encryption-Response, to
> > > encrypt a Reconfigure message?
> > >
> >
> > [LS]: The Reconfigure message is sent from server to client. So sure,
> > it should be encrypted in Encrypted-Response message.
> >
> > Firstly, I think there is no need to design such a mechanism for it.
> [...]
> > key pairs. However, the client always communicates with only one DHCPv6
> > server.
>
> Is this guaranteed by the protocol specification?  If so, could you
> provide specific text of an RFC (3315? or 3315bis?) that specifies
> this restriction?  I agree that it's the most common way of DHCP(v6)
> operation, but unless it's explicitly stated in the protocol
> specification I think it's dangerous to design other protocols based
> on such an implicit assumption.  I'm okay with the assumption itself,
> but if it's an explicit restriction of the base protocol I'd suggest
> explaining the assumption explicitly.
>
[LS]: In the case that multiple servers share one common certificate,
the Encrypted-Query message may be sent to multiple DHCPv6
servers. But they are informed of the same public key. And the
client also uses the same one private key for decryption.
So we can add the statement that: During the DHCPv6 configuration
process, the client MUST only use one certificate to establish the
encrypted communicate with the DHCPv6 server.

>
> > For the whole DHCPv6 configuration process, only one public
> > key is informed of the server and the corresponding public key is used
> > for decryption.
> >
> > Assume it is need to design a mechanism for this. There are three metho=
d:
> > 1. Transaction id as the identifier: now work for Reconfigure message;
>
> I'm not sure if I understand this, but transaction-ID doesn't work in
> the case of Reconfigure.
>
> > 2. Encrypted-Response message contains key tag.
>
> Yes, this can be one option.  Perhaps we might say:
>
> - An Encrypted-Response message that encrypts a Reconfigure message
>   SHOULD include Encryption Key Tag Option
> - Encrypted-Response message MAY include Encryption Key Tag Option
>   for other cases
> - The client can use the key tag option (if included) or transaction
>   ID (if non-0) to identify the private key to decrypt the data in a
>   received Encrypted-Response message.  In practice, it's more likely
>   that the client has only one possible key pair so the choice should
>   be obvious.
>
> > 3. Server Identifier as the identifier.
>
> This can also work, but in that case we should update the spec so
> Encrypted-Response messages can include the server identifier option.
> It also relies on the assumption that there is only one DHCPv6 session
> between the client with one particular server or if there are multiple
> parallel DHCPv6 sessions the same key pair is used for all sessions.
> As noted above, I'd be cautious to rely on implicit assumptions, so if
> we choose this option I'd like to make the assumption explicit.
>

--001a11422baac43b92054281b20e
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_extra"><div class=3D"gmail_quote">2016=
-11-30 0:23 GMT+08:00 =E7=A5=9E=E6=98=8E=E9=81=94=E5=93=89 <span dir=3D"ltr=
">&lt;<a href=3D"mailto:jinmei@wide.ad.jp" target=3D"_blank">jinmei@wide.ad=
.jp</a>&gt;</span>:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 =
0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">At Tue, 29 Nov 2016 2=
3:19:55 +0800,<br>
<span class=3D"">Lishan Li &lt;<a href=3D"mailto:lilishan48@gmail.com">lili=
shan48@gmail.com</a>&gt; wrote:<br>
<br>
&gt; &gt; We need to describe it as part of the protocol as it&#39;s necess=
ary for<br>
&gt; &gt; interoperability.=C2=A0 It&#39;s similar to the fact that the cal=
culation of<br>
&gt; &gt; the DNS RRSIG key tag is part of the protocol standard.<br>
&gt; &gt;<br>
&gt; [LS]: OK. So how about using the hash algorithm for the encryption<br>
&gt; key tag calculation?<br>
<br>
</span>Do you mean the hash algorithm used for the signature option?=C2=A0 =
If so,<br>
it doesn&#39;t sound like a reliable choice since it can be different for<b=
r>
different clients.<br>
<span class=3D""><br>
&gt; Maybe the server don&#39;t need to know the calculation method. For th=
e<br>
&gt; first Encrypted-Query message with the new encryption key tag, the<br>
&gt; server tries all the possible private keys and record the relationship=
<br>
&gt; between the key tag and the corresponding public/private key pair.<br>
&gt; And the server does not need to calculate the key tag locally.<br>
<br>
</span>This doesn&#39;t sound like reliable for the same reason.=C2=A0 Whil=
e this can<br>
certainly be designed in multiple different ways, I don&#39;t see why we<br=
>
might want to allow the server to skip calculating the tag value for<br>
its public keys.=C2=A0 It&#39;s a one-time operation for each key pair if t=
he<br>
server has a volatile storage and can store the value there (which<br>
would be quite likely for middle-to-large scale servers).=C2=A0 Even if it<=
br>
needs to calculate the tag value on every startup (and keep it in<br>
memory throughout its runtime) it should be quite lightweight.<br></blockqu=
ote><div>[LS]: It is not a one-time operation for each key pair. For differ=
ent=C2=A0</div><div>clients, the key tag calculation method is different. F=
or the multiple=C2=A0</div><div>calculation method, I don&#39; t think it i=
s lightweight.</div><div><br></div><div>Assume that the calculation method =
is needed, which method do=C2=A0</div><div>you suggested? =C2=A0</div><bloc=
kquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #cc=
c solid;padding-left:1ex">
<span class=3D""><br>
&gt; &gt; In this case we can normally use the transaction ID (unlike the c=
ase<br>
&gt; &gt; where the server needs to identify the key pair to decrypt the<br=
>
&gt; &gt; received data)...except for Reconfigure.=C2=A0 So, in the end we =
probably<br>
&gt; &gt; need to include the key tag option in the Encryption-Response<br>
&gt; &gt; message.=C2=A0 Hmm, this leads to another question: which encrypt=
ion<br>
&gt; &gt; message should we use, Encryption-Query or Encryption-Response, t=
o<br>
&gt; &gt; encrypt a Reconfigure message?<br>
&gt; &gt;<br>
&gt;<br>
&gt; [LS]: The Reconfigure message is sent from server to client. So sure,<=
br>
&gt; it should be encrypted in Encrypted-Response message.<br>
&gt;<br>
&gt; Firstly, I think there is no need to design such a mechanism for it.<b=
r>
</span>[...]<br>
<span class=3D"">&gt; key pairs. However, the client always communicates wi=
th only one DHCPv6<br>
&gt; server.<br>
<br>
</span>Is this guaranteed by the protocol specification?=C2=A0 If so, could=
 you<br>
provide specific text of an RFC (3315? or 3315bis?) that specifies<br>
this restriction?=C2=A0 I agree that it&#39;s the most common way of DHCP(v=
6)<br>
operation, but unless it&#39;s explicitly stated in the protocol<br>
specification I think it&#39;s dangerous to design other protocols based<br=
>
on such an implicit assumption.=C2=A0 I&#39;m okay with the assumption itse=
lf,<br>
but if it&#39;s an explicit restriction of the base protocol I&#39;d sugges=
t<br>
explaining the assumption explicitly.<br></blockquote><div>[LS]: In the cas=
e that multiple servers share one common certificate,</div><div>the Encrypt=
ed-Query message may be sent to multiple DHCPv6=C2=A0</div><div>servers. Bu=
t they are informed of the same public key. And the=C2=A0</div><div>client =
also uses the same one private key for decryption.</div><div>So we can add =
the statement that: During the DHCPv6 configuration=C2=A0</div><div>process=
, the client MUST only use one certificate to establish the=C2=A0</div><div=
>encrypted communicate with the DHCPv6 server.</div><blockquote class=3D"gm=
ail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-le=
ft:1ex">
<span class=3D""><br>
&gt; For the whole DHCPv6 configuration process, only one public<br>
&gt; key is informed of the server and the corresponding public key is used=
<br>
&gt; for decryption.<br>
&gt;<br>
&gt; Assume it is need to design a mechanism for this. There are three meth=
od:<br>
&gt; 1. Transaction id as the identifier: now work for Reconfigure message;=
<br>
<br>
</span>I&#39;m not sure if I understand this, but transaction-ID doesn&#39;=
t work in<br>
the case of Reconfigure.<br>
<span class=3D""><br>
&gt; 2. Encrypted-Response message contains key tag.<br>
<br>
</span>Yes, this can be one option.=C2=A0 Perhaps we might say:<br>
<br>
- An Encrypted-Response message that encrypts a Reconfigure message<br>
=C2=A0 SHOULD include Encryption Key Tag Option<br>
- Encrypted-Response message MAY include Encryption Key Tag Option<br>
=C2=A0 for other cases<br>
- The client can use the key tag option (if included) or transaction<br>
=C2=A0 ID (if non-0) to identify the private key to decrypt the data in a<b=
r>
=C2=A0 received Encrypted-Response message.=C2=A0 In practice, it&#39;s mor=
e likely<br>
=C2=A0 that the client has only one possible key pair so the choice should<=
br>
=C2=A0 be obvious.<br>
<span class=3D""><br>
&gt; 3. Server Identifier as the identifier.<br>
<br>
</span>This can also work, but in that case we should update the spec so<br=
>
Encrypted-Response messages can include the server identifier option.<br>
It also relies on the assumption that there is only one DHCPv6 session<br>
between the client with one particular server or if there are multiple<br>
parallel DHCPv6 sessions the same key pair is used for all sessions.<br>
As noted above, I&#39;d be cautious to rely on implicit assumptions, so if<=
br>
we choose this option I&#39;d like to make the assumption explicit.<br>
</blockquote></div><br></div></div>

--001a11422baac43b92054281b20e--


From nobody Wed Nov 30 07:34:44 2016
Return-Path: <jinmei.tatuya@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 50AE71295D2 for <dhcwg@ietfa.amsl.com>; Wed, 30 Nov 2016 07:34:43 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.4
X-Spam-Level: 
X-Spam-Status: No, score=-2.4 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.199, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=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 U8uJvmWivRX3 for <dhcwg@ietfa.amsl.com>; Wed, 30 Nov 2016 07:34:41 -0800 (PST)
Received: from mail-qk0-x230.google.com (mail-qk0-x230.google.com [IPv6:2607:f8b0:400d:c09::230]) (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 A8EB91295F9 for <dhcwg@ietf.org>; Wed, 30 Nov 2016 07:34:38 -0800 (PST)
Received: by mail-qk0-x230.google.com with SMTP id n21so213040636qka.3 for <dhcwg@ietf.org>; Wed, 30 Nov 2016 07:34:38 -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:from:date:message-id :subject:to:cc; bh=0GodQfkPbeEiKEw2RC1qjngEaG5ma8bhIiiOmNCr1hA=; b=MXoDSe9wggPQ4ZcFO4gl0/60PYnPGIDYXRmClIVclon2GYuadKSMDKzZM7I83zlSV7 HwtPwkdBLTAdvpJEaKBryESiT/4BlRZ5Cy9bMX/h9JfYDe1CveKWCugtXfkNVforFScX 7HvlqM2lHCS+ujUKNYnpncMrkVoN5spAfnzCn3PySw/Jno5N0W+CPkKt29Di9FO0rqY3 t8aezK7iUeHWAqKtWfMMMbbT96p9amGppg4Bmsl1WOWlMtOelNhrKOSX5LxNaYHvswj2 Les4+x8DbaS4EUeJtt5uaR3w9BnJXONCTdSkv6zziX7dPcd/9EJwyl+8O2dDTmvLrJzM mkkw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=0GodQfkPbeEiKEw2RC1qjngEaG5ma8bhIiiOmNCr1hA=; b=RuDdx9iAVtUGxQ/2bEw355s+9LmTZkBoXQ741clSqXjjHo+cbfIjNHc5EL3GqCIUS6 LY3ZKD2ReRuqjsc8DpvRVHtLikJ+q9UuMPE91A2QZ0IMnTAiVRY2BL/Bgy2yOo2StOgB GQgpVOMMOOOHLmRmyIsALbw+e1uY0DrzBvlgW2uAwBYCeZT/ZtdGin17e6WSchYQj20a ZancZ2lkBx/RwAeb3uq01wLXXYwnoqwneXVkC1+5Eh9AZkKVTK0otKOW6j9NxgORrzZl t428NfW4xWhrYsqbX6r4wa6da7mIyJbIe70hkF6uvjS/oX3kYMXJ2s+/1KqMu7YpIGQN b8uw==
X-Gm-Message-State: AKaTC036ucHqqhnWRkMtSQWNGvRwBUOaWkulknW4gH3QMjjlpZPZmZtNzWNizY+dLoU9jEX60+iK7wTrXbIl5A==
X-Received: by 10.55.64.69 with SMTP id n66mr28170163qka.20.1480520077705; Wed, 30 Nov 2016 07:34:37 -0800 (PST)
MIME-Version: 1.0
Sender: jinmei.tatuya@gmail.com
Received: by 10.237.53.155 with HTTP; Wed, 30 Nov 2016 07:34:36 -0800 (PST)
In-Reply-To: <CAJ3w4NfEqpZu+fYO_1A06bVT2Qzqc1qyTi_NkKrBjWGCJGwJVA@mail.gmail.com>
References: <CAJE_bqebwr2WUUgaNgiYS4_8L77Gxj4Os+oPRG407B6ELMEhCQ@mail.gmail.com> <CAJ3w4Ndi5Gq63n5kZnanRhLM8nWE2wsWGh0kJJLJnq=VoXLuCg@mail.gmail.com> <CAJE_bqegh1DfWjfK2BxeC_fWa0cEk-KJNP0AT-TQuEa39w_wVQ@mail.gmail.com> <CAJ3w4NdM99nv4C19Xj=aosNme+_Ymyys=xQ3UWUfeZReZC4ckA@mail.gmail.com> <CAJE_bqdhGZnK16MooiyujDgthDNnR74EiwW0OevrN6uq4b4ANw@mail.gmail.com> <CAJE_bqfKUZe2yaW1sAq7rrib0M7wz28HHtPLqCHK=vXcN6amgg@mail.gmail.com> <CAJ3w4Nd3s+ZojjiotLkKwys6truhUgK6F-90UYjcpB9iw=fKKQ@mail.gmail.com> <m2r36nuqvn.wl%jinmei.tatuya@gmail.com> <CAJ3w4NeuNYTrX4p5rtZ6UceD5ydQ-B-vY6aqQzxWnXsrDOEFEA@mail.gmail.com> <CAJE_bqdh-bgk7BHZJnaFFBr3PDj4ZnSSGeGNdQ70F7dv91iQrA@mail.gmail.com> <CAJ3w4NfU9PrC9a+MGnJ=Es1yir_asHB3p1=9GfxZZ0iSe+At+Q@mail.gmail.com> <CAJE_bqfRBYkrniWQ+vtPULTURnvyV792QNGvr8JhhZpGQ0MSdA@mail.gmail.com> <CAJ3w4NerRzHYsRqcUAkAjHX23PYVF4Jv0wKcd33vXRRg+-0EAQ@mail.gmail.com> <CAJ3w4NekPk0TuAZW_jmTDYQHd8JP3GsrA0qrKYrnyqSSk3qwxw@mail.gmail.com> <CAJE_bqc8hkrc3dYefTPWi-mUCtZD+oYsrobCK1KjmVGRnNfMCw@mail.gmail.com> <CAJ3w4NejrFAT3RK7i0W46HkQNJjhPxbhzQiL=3fcrceidTzHNQ@mail.gmail.com> <CAJE_bqcCwZWPHuZ0UR8_jyCUsaTrYKzLD8zUKwChYaCL06yT9A@mail.gmail.com> <CAJ3w4NfS8PKOMHcP5s_Nsp5K5eWJfXWRF-vNEau_ekqTRwE=wA@mail.gmail.com> <CAJE_bqfqSXFR9R5wf1USg-zs+nvdohQFq99kQL2DiapXvUdEqA@mail.gmail.com> <CAJ3w4Ncj40JwrW6UB+TVFvymByU5Y9iFv5QroWhwUzkLrS2DTg@mail.gmail.com> <CAJE_bqd38grUh9q57a-H29GsMx5Dpv9VE0iBMO7v_-y97zZZUg@mail.gmail.com> <CAJ3w4Ne63cnqoeTZk=PDmAN9+i6jwzyxbK+up45wB9h+xUDSfw@mail.gmail.com> <CAJE_bqceK7YLpMqhgjqrFQh7641a+ZRcnO0F6p6BiM8EMKmA7w@mail.gmail.com> <CAJ3w4Nf65b1zo-smMguZBc_-RbFh2y8kk7Fnu__TKCQEVbs48w@mail.gmail.com> <CAJE_bqeVciLxS_q=deRKLBr12ZGXxx2wdFiztJxJjfS7aAV2Ag@mail.gmail.com> <CAJ3w4NcvyeuRWJatGGH7U4g413GQvr9LHtDiX13zSOz7kBGEhw@mail.gmail.com> <CAJE_bqfFOhe26huAP8_BFKjnTXbG4F0vUfMYs5Xy=3RQigS7FA@mail.gmail.com> <CAJ3w4Ne81LVsaznu_yck7fG7iJyGm=WY4=i2AF8gx39Tf59eMA@mail.gmail.com> <CAJE_bqceRD2+vkfwR+Egr=CgyAT4wd1Wmxp1S=f3WRFGs9j4sg@mail.gmail.com> <CAJ3w4NcnAe3Enhs6KVgBkpa+BivLGRw9SGJ1RmAq7q=HM8Ph6Q@mail.gmail.com> <CAJE_bqcTpK0j_yfza3KPavEgdcpk2z+ZivZt8Hs1m2NrE7_scA@mail.gmail.com> <CAJ3w4NfEqpZu+fYO_1A06bVT2Qzqc1qyTi_NkKrBjWGCJGwJVA@mail.gmail.com>
From: =?UTF-8?B?56We5piO6YGU5ZOJ?= <jinmei@wide.ad.jp>
Date: Wed, 30 Nov 2016 07:34:36 -0800
X-Google-Sender-Auth: ei3ySHPVsABGFYkriP3hX3ujp9g
Message-ID: <CAJE_bqeXr02-9f5MrntfhmgQfNF=F9h+A62TBR-C4tAxcRDx-g@mail.gmail.com>
To: Lishan Li <lilishan48@gmail.com>
Content-Type: text/plain; charset=UTF-8
Archived-At: <https://mailarchive.ietf.org/arch/msg/dhcwg/_5xBTRDKHkuhczcTGzFrUXZL8nw>
Cc: "dhcwg@ietf.org" <dhcwg@ietf.org>
Subject: Re: [dhcwg] preliminary comments on draft-ietf-dhc-sedhcpv6-17
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: Wed, 30 Nov 2016 15:34:43 -0000

At Wed, 30 Nov 2016 17:55:00 +0800,
Lishan Li <lilishan48@gmail.com> wrote:

> > This doesn't sound like reliable for the same reason.  While this can
> > certainly be designed in multiple different ways, I don't see why we
> > might want to allow the server to skip calculating the tag value for
> > its public keys.  It's a one-time operation for each key pair if the
> > server has a volatile storage and can store the value there (which
> > would be quite likely for middle-to-large scale servers).  Even if it
> > needs to calculate the tag value on every startup (and keep it in
> > memory throughout its runtime) it should be quite lightweight.
> >
> [LS]: It is not a one-time operation for each key pair. For different
> clients, the key tag calculation method is different. For the multiple

I don't understand this.  Why is it different for different clients?
Perhaps you somehow assumed I was talking about the use of signature
hash algorithm (which can be different for different clients)?  I
wasn't; I said it didn't sound like reliable, and pointed out that if
we fix the calculation method it's a one time operation and the
overhead wouldn't be a big issue.  Maybe "if we fix the calculation
method" condition wasn't clear enough.

> calculation method, I don' t think it is lightweight.
>
> Assume that the calculation method is needed, which method do
> you suggested?

I have no specific suggestion or preference.  Perhaps just use the
same algorithm as RRSIG key tag?

> > >
> > > [LS]: The Reconfigure message is sent from server to client. So sure,
> > > it should be encrypted in Encrypted-Response message.
> > >
> > > Firstly, I think there is no need to design such a mechanism for it.
> > [...]
> > > key pairs. However, the client always communicates with only one DHCPv6
> > > server.
> >
> > Is this guaranteed by the protocol specification?  If so, could you
> > provide specific text of an RFC (3315? or 3315bis?) that specifies
> > this restriction? [...]
> >
> [LS]: In the case that multiple servers share one common certificate,
> the Encrypted-Query message may be sent to multiple DHCPv6
> servers. But they are informed of the same public key. And the
> client also uses the same one private key for decryption.
> So we can add the statement that: During the DHCPv6 configuration
> process, the client MUST only use one certificate to establish the
> encrypted communicate with the DHCPv6 server.

This didn't answer my question.  Could you first answer the question?
If there's no such restriction in the base protocol, we cannot assume
it and can't assume it in designing sedhcpv6.

--
JINMEI, Tatuya

