Re: [dhcwg] preliminary comments on draft-ietf-dhc-sedhcpv6-17
Lishan Li <lilishan48@gmail.com> Mon, 07 November 2016 08:43 UTC
Return-Path: <lilishan48@gmail.com>
X-Original-To: dhcwg@ietfa.amsl.com
Delivered-To: dhcwg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 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, 07 Nov 2016 16:43:40 +0800
Message-ID: <CAJ3w4NdwqcqQrdB1RM5-zk-gJEYqLP0OtT-qQ8zTO03WXUt8ng@mail.gmail.com>
To: 神明達哉 <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
Dear Jinmei, 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 神明達哉 <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 >> > >
- [dhcwg] preliminary comments on draft-ietf-dhc-se… 神明達哉
- Re: [dhcwg] preliminary comments on draft-ietf-dh… Lishan Li
- Re: [dhcwg] preliminary comments on draft-ietf-dh… 神明達哉
- Re: [dhcwg] preliminary comments on draft-ietf-dh… Lishan Li
- Re: [dhcwg] preliminary comments on draft-ietf-dh… 神明達哉
- Re: [dhcwg] preliminary comments on draft-ietf-dh… 神明達哉
- Re: [dhcwg] preliminary comments on draft-ietf-dh… Lishan Li
- Re: [dhcwg] preliminary comments on draft-ietf-dh… Lishan Li
- Re: [dhcwg] preliminary comments on draft-ietf-dh… Lishan Li
- Re: [dhcwg] preliminary comments on draft-ietf-dh… JINMEI Tatuya / 神明達哉
- Re: [dhcwg] preliminary comments on draft-ietf-dh… JINMEI Tatuya / 神明達哉
- Re: [dhcwg] preliminary comments on draft-ietf-dh… Lishan Li
- Re: [dhcwg] preliminary comments on draft-ietf-dh… 神明達哉
- Re: [dhcwg] preliminary comments on draft-ietf-dh… Lishan Li
- Re: [dhcwg] preliminary comments on draft-ietf-dh… 神明達哉
- Re: [dhcwg] preliminary comments on draft-ietf-dh… Lishan Li
- Re: [dhcwg] preliminary comments on draft-ietf-dh… Lishan Li
- Re: [dhcwg] preliminary comments on draft-ietf-dh… 神明達哉
- Re: [dhcwg] preliminary comments on draft-ietf-dh… Lishan Li
- Re: [dhcwg] preliminary comments on draft-ietf-dh… 神明達哉
- Re: [dhcwg] preliminary comments on draft-ietf-dh… Lishan Li
- Re: [dhcwg] preliminary comments on draft-ietf-dh… 神明達哉
- Re: [dhcwg] preliminary comments on draft-ietf-dh… Bernie Volz (volz)
- Re: [dhcwg] preliminary comments on draft-ietf-dh… Lishan Li
- Re: [dhcwg] preliminary comments on draft-ietf-dh… 神明達哉
- Re: [dhcwg] preliminary comments on draft-ietf-dh… Lishan Li
- Re: [dhcwg] preliminary comments on draft-ietf-dh… 神明達哉
- Re: [dhcwg] preliminary comments on draft-ietf-dh… Lishan Li
- Re: [dhcwg] preliminary comments on draft-ietf-dh… 神明達哉
- Re: [dhcwg] preliminary comments on draft-ietf-dh… Lishan Li
- Re: [dhcwg] preliminary comments on draft-ietf-dh… 神明達哉
- Re: [dhcwg] preliminary comments on draft-ietf-dh… Lishan Li
- Re: [dhcwg] preliminary comments on draft-ietf-dh… Lishan Li
- Re: [dhcwg] preliminary comments on draft-ietf-dh… 神明達哉
- Re: [dhcwg] preliminary comments on draft-ietf-dh… Lishan Li
- Re: [dhcwg] preliminary comments on draft-ietf-dh… 神明達哉
- Re: [dhcwg] preliminary comments on draft-ietf-dh… Lishan Li
- Re: [dhcwg] preliminary comments on draft-ietf-dh… 神明達哉
- Re: [dhcwg] preliminary comments on draft-ietf-dh… Lishan Li
- Re: [dhcwg] preliminary comments on draft-ietf-dh… 神明達哉
- Re: [dhcwg] preliminary comments on draft-ietf-dh… Lishan Li
- Re: [dhcwg] preliminary comments on draft-ietf-dh… Ted Lemon
- Re: [dhcwg] preliminary comments on draft-ietf-dh… Lishan Li