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

Jouni Korhonen <jouni.nospam@gmail.com> Thu, 23 July 2015 04:54 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 061171A1A9F for <mif@ietfa.amsl.com>; Wed, 22 Jul 2015 21:54:03 -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 WDf8NhWY371b for <mif@ietfa.amsl.com>; Wed, 22 Jul 2015 21:54:01 -0700 (PDT)
Received: from mail-wi0-x22e.google.com (mail-wi0-x22e.google.com [IPv6:2a00:1450:400c:c05::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 2EE401A00E1 for <mif@ietf.org>; Wed, 22 Jul 2015 21:54:01 -0700 (PDT)
Received: by wibud3 with SMTP id ud3so6935035wib.1 for <mif@ietf.org>; Wed, 22 Jul 2015 21:54:00 -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=H6gM/RT5xCAUgI2OE6yaWXExMl5sZqS2b+KOAirET1A=; b=zXiipKKDvNcbfWJ7uEYf2vapSyKiiMjafC+uhCWsdCzUe5FwToAyYm5+FIND+Erpsr IFmD2nPEQ7W6UWbzm+Ck1DIGgS3T0zk8hZ60RpWiBGCLQnDAFOQiM5lvmJJIlOD349Xi Z90P4205mbRiaM1+TlWFA5orYU1IXmzb6M6VegV8nuLJCO+VIvNlcQ5w680oFHTgmK74 mMPfhYcvs+9wsiLsgDOKuQDzsOD4VGXWy39lNvI2Dklw/6N3aLxHhy5w3wIcguxtlyFn LP5V86WW2FUcxf92c5+LdVt8z1szdho4Ojn1/jqEdEnvz5Sfz1CtsPSqwPobAOx2pnjD 2hog==
X-Received: by 10.180.79.10 with SMTP id f10mr48055045wix.1.1437627240013; Wed, 22 Jul 2015 21:54:00 -0700 (PDT)
Received: from ?IPv6:2001:67c:370:136:85e5:7d83:1632:2e30? ([2001:67c:370:136:85e5:7d83:1632:2e30]) by smtp.googlemail.com with ESMTPSA id iy4sm6533429wic.24.2015.07.22.21.53.58 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 22 Jul 2015 21:53:59 -0700 (PDT)
To: Steven Barth <cyrus@openwrt.org>, mif@ietf.org
References: <55AF4226.8010803@openwrt.org>
From: Jouni Korhonen <jouni.nospam@gmail.com>
Message-ID: <55B07365.8080201@gmail.com>
Date: Wed, 22 Jul 2015 21:53:57 -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: <55AF4226.8010803@openwrt.org>
Content-Type: text/plain; charset="windows-1252"; format="flowed"
Content-Transfer-Encoding: 7bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/mif/s2MH8WAgzW0X5m2OPxrhmEDLV8c>
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 04:54:03 -0000

Steven,

Thanks for the review. See my initial comments inline.

7/22/2015, 12:11 AM, Steven Barth kirjoitti:
> Hello everyone,
>
> below a few comments for the MPVD ID draft.
>
>
> 3 I'm unsure about the id-length field. It seems entirely redundant for e.g.
> DHCP(v6) purposes and even considering e.g. RAs it is redundant for half of
> the given id-types. Should this be type-specfic instead?

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.

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

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


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

>
> 0x06: This looks overly specific to me. Why not have a generic (unicast) prefix type,
> so people could also use their RIPE / ARIN / ... assigned UC addresses? E.g. prefix
> length followed by arbitrary length ipv6 prefix.

Good point. Will consider that.

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

- Jouni

>
>
>
> Cheers,
>
> Steven
>
>
>
>
>
> _______________________________________________
> mif mailing list
> mif@ietf.org
> https://www.ietf.org/mailman/listinfo/mif
>