Re: [mif] Comments on draft-ietf-mif-mpvd-id-01

Jouni Korhonen <jouni.nospam@gmail.com> Thu, 23 July 2015 11:31 UTC

Return-Path: <jouni.nospam@gmail.com>
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 20A001AC419 for <mif@ietfa.amsl.com>; Thu, 23 Jul 2015 04:31:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level:
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, SPF_PASS=-0.001] autolearn=ham
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 wb50Kos7SCQY for <mif@ietfa.amsl.com>; Thu, 23 Jul 2015 04:31:35 -0700 (PDT)
Received: from mail-wi0-x22d.google.com (mail-wi0-x22d.google.com [IPv6:2a00:1450:400c:c05::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 3A8FD1A8A3C for <mif@ietf.org>; Thu, 23 Jul 2015 04:31:34 -0700 (PDT)
Received: by wibud3 with SMTP id ud3so19743993wib.1 for <mif@ietf.org>; Thu, 23 Jul 2015 04:31:33 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-type:content-transfer-encoding; bh=rp9MGqUq58wTGl8qx8xQpfBWyf9Yr0/gH+2XJekVnIU=; b=cFpPzAJhZssoDnTxOD2tx4CRrTDQRFiGAnev+sjCveQSKwqh7szteaETXAvchcYuL5 AzaZ2u1fJJf0e99NTwV3YNC1+RYFLZHciRp1w1Yat4bTHWTbcxvXIJSRB2AhRhZ3MpFm dqCmnn5Pymp7Ra3SVpKeIwwLn9DmkT1rpTiqvtoddxYy/ZnJTIRcpWMD5f/tnI2/EqBw 89E+L1O+WKZh4HBVlPFZ2wJeOTXVedAh+b3kNZ1be0rbcN5Uq9hmTsVtDYbpC4EL81kn CeD5R6RCA58HuKRs6igQQmBePIeOlrEHV/d/66pTeowLJoGWRBaPqcLh7sviQKfV8p/C wozA==
X-Received: by 10.194.120.230 with SMTP id lf6mr16436423wjb.41.1437651092976; Thu, 23 Jul 2015 04:31:32 -0700 (PDT)
Received: from [31.133.161.174] (dhcp-a1ae.meeting.ietf.org. [31.133.161.174]) by smtp.googlemail.com with ESMTPSA id ck18sm940336wjb.47.2015.07.23.04.31.31 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 23 Jul 2015 04:31:32 -0700 (PDT)
To: Steven Barth <cyrus@openwrt.org>, mif@ietf.org
References: <55AF4226.8010803@openwrt.org> <55B07365.8080201@gmail.com> <55B09B1F.1030108@openwrt.org>
From: Jouni Korhonen <jouni.nospam@gmail.com>
Message-ID: <55B0D093.1010809@gmail.com>
Date: Thu, 23 Jul 2015 04:31:31 -0700
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0
MIME-Version: 1.0
In-Reply-To: <55B09B1F.1030108@openwrt.org>
Content-Type: text/plain; charset="windows-1252"; format="flowed"
Content-Transfer-Encoding: 7bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/mif/HY9ZorPKArzq8X8dULiIRA62CHI>
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 11:31:37 -0000

Hi Steven,

7/23/2015, 12:43 AM, Steven Barth kirjoitti:
>
>> 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.

Point taken. Thanks.

>>> 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?

I'll take a stab on this and will clarify. Should be "easy" if we end up 
to a single ID to be supported ;)

>>> 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.

Ok. NAIs and FQDNs are likely to be removed if we end up using only a 
single ID type.

>>> 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.

Okay. Thanks. Will take a look into this.

- Jouni

>
>
>
> Cheers,
>
> Steven
>
>
>