Re: [mif] Comments on draft-ietf-mif-mpvd-id-01
Steven Barth <cyrus@openwrt.org> Thu, 23 July 2015 07:43 UTC
Return-Path: <cyrus@openwrt.org>
X-Original-To: mif@ietfa.amsl.com
Delivered-To: mif@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 513831A8892 for <mif@ietfa.amsl.com>; Thu, 23 Jul 2015 00:43:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.55
X-Spam-Level:
X-Spam-Status: No, score=-1.55 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HELO_EQ_DE=0.35] autolearn=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GOKRCSjXOo4k for <mif@ietfa.amsl.com>; Thu, 23 Jul 2015 00:43:36 -0700 (PDT)
Received: from mail.core-networks.de (mx1.core-networks.de [IPv6:2001:1bc0:d::4:8]) (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 7EAE21A8903 for <mif@ietf.org>; Thu, 23 Jul 2015 00:43:36 -0700 (PDT)
Received: from localhost ([127.0.0.1]) by mail.core-networks.de id 1ZIBAE-00046d-9Q with ESMTPSA (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) for ; Thu, 23 Jul 2015 09:43:34 +0200
To: Jouni Korhonen <jouni.nospam@gmail.com>, mif@ietf.org
References: <55AF4226.8010803@openwrt.org> <55B07365.8080201@gmail.com>
From: Steven Barth <cyrus@openwrt.org>
Message-ID: <55B09B1F.1030108@openwrt.org>
Date: Thu, 23 Jul 2015 09:43:27 +0200
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0
MIME-Version: 1.0
In-Reply-To: <55B07365.8080201@gmail.com>
Content-Type: text/plain; charset="windows-1252"
Content-Transfer-Encoding: 7bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/mif/btItsEtecL0-Dk2OJdqjQGzuSjg>
Subject: Re: [mif] Comments on draft-ietf-mif-mpvd-id-01
X-BeenThere: mif@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Multiple Interface Discussion List <mif.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/mif>, <mailto:mif-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/mif/>
List-Post: <mailto:mif@ietf.org>
List-Help: <mailto:mif-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/mif>, <mailto:mif-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 23 Jul 2015 07:43:38 -0000
> We need the length information for NDP case where the option carrying the ID has the length expressed in the units of 8. I do not like the idea of having different encodings based on the type. The "optimization" would be not be big enough to justivy that imho. Yes, understood, makes sense. > >> 3 I'm unsure if cross references to the draft that in turn references this >> one are wise, also wrt. informative / normative reference sections. > > Referencing will explain the context better. Informative reference ensures that the document won't be blocked if the two referenced documents are not ready yet.. Okay, not that important I suppose, personal feelings is just that circular references are bit uncomfortable, but feel free to ignore. > >> >> >> 3 id-type >> Encoding and / or allowed lengths are entirely unclear for most types you declare. >> Are they supposed to be strings, BE integers, ...? How big are they supposed to be? >> Shall I be able to use 16, 32 or maybe even 24bit numbers for representing the OID? > > Will check the OID case. Most of the identifier formats have their "natural" encoding explained in their respective RFCs but having exact text here regarding coding would be good to avoid confussion. Thanks for pointing it. Yeah, e.g. for UUID it wasn't clear to me if it refers to binary or string notation. FQDN basically the same and it didn't even reference any RFCs. I suppose RFC 1035 without "compression" was your intention here? > > >> >> 0x04: RFC 4282 specifies the assignment of NAI Realms to be tied to domain names, >> so this type seems mostly redundant since you alreay have FQDN. > > NAIs are different to FQDNs. Tieing NAIs to DNS administration is an "easy" way to guarantee they come from a managed nameespace. This is typical for example with AAA protocols. I was mostly basing this comment on the IANA Considerations Section in RFC 4282, but if there is legitimate reason I guess its fine. > >> 4 What if I want to use this outside a configuration protocol? > > You just do it. The PVD-ID is not explicitly tied to MPVD configuration protocols (two of those at the moment). > >> >> 4 Undefined reference to "PVD container option" > > What do you mean? > >> >> In general 4 seems awkward / misplaced here, since you are defining an abstract identifier. > > 4 meaning option type 0x04? The 3 comments above were all intended to refer to Security Considerations (= Section 4). Maybe to elaborate a bit more: You are only talking about Security Considerations in connection with configuration protocols, therefore my first question. You also mention the "container option" the first and only time in that section and it seems to be not really obvious what you are referring to. All in all (comment 3) I think since this is just an abstract ID format that should be used in many different usecases, maybe just mentioning that instead of a security considerations which applies to some example usecases like NDP and DHCPv6. Cheers, Steven
- [mif] Comments on draft-ietf-mif-mpvd-id-01 Steven Barth
- Re: [mif] Comments on draft-ietf-mif-mpvd-id-01 Steven Barth
- Re: [mif] Comments on draft-ietf-mif-mpvd-id-01 Jouni Korhonen
- Re: [mif] Comments on draft-ietf-mif-mpvd-id-01 Steven Barth
- Re: [mif] Comments on draft-ietf-mif-mpvd-id-01 Jouni Korhonen