Re: [OPSAWG] I-D Action: draft-ietf-opsawg-mud-08.txt

Eliot Lear <lear@cisco.com> Mon, 14 August 2017 20:07 UTC

Return-Path: <lear@cisco.com>
X-Original-To: opsawg@ietfa.amsl.com
Delivered-To: opsawg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D4685132391 for <opsawg@ietfa.amsl.com>; Mon, 14 Aug 2017 13:07:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -12.986
X-Spam-Level:
X-Spam-Status: No, score=-12.986 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, SPF_PASS=-0.001, URIBL_RHS_DOB=1.514, 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 GjmYsoHMXtb1 for <opsawg@ietfa.amsl.com>; Mon, 14 Aug 2017 13:07:17 -0700 (PDT)
Received: from aer-iport-4.cisco.com (aer-iport-4.cisco.com [173.38.203.54]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 5990B126E64 for <opsawg@ietf.org>; Mon, 14 Aug 2017 13:07:16 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=20812; q=dns/txt; s=iport; t=1502741236; x=1503950836; h=subject:to:cc:references:from:message-id:date: mime-version:in-reply-to; bh=q4i5V/i2X4yDEuxTXv0K5tInMnJoGMqkOGsrSauRr94=; b=GUbkSRBji5YpUEieuP5knaRn+l1x77VU/jFH7tS1ySimt9WMASkzdKaO P3ej0YuK2By+1QGy6BC1enTRikgQUUoaa5yM1bG8toWZ19QpsEugQQsPR gDGP9Hxw0mmk/CkWthjf0OABZT4A7Oq0vG0xCZIu7yYL8rST28lsNQCol E=;
X-Files: signature.asc : 481
X-IronPort-AV: E=Sophos;i="5.41,374,1498521600"; d="asc'?scan'208,217";a="656776351"
Received: from aer-iport-nat.cisco.com (HELO aer-core-3.cisco.com) ([173.38.203.22]) by aer-iport-4.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 14 Aug 2017 20:07:14 +0000
Received: from [10.61.167.177] ([10.61.167.177]) by aer-core-3.cisco.com (8.14.5/8.14.5) with ESMTP id v7EK7Ebh027765; Mon, 14 Aug 2017 20:07:14 GMT
To: Joe Clarke <jclarke@cisco.com>
Cc: opsawg@ietf.org
References: <150248175729.24498.16927681607334663849@ietfa.amsl.com> <9956db24-0a43-c739-d729-c580ff037cc7@cisco.com> <0994d0ba-714d-3b5c-8542-06ee19dceef1@cisco.com>
From: Eliot Lear <lear@cisco.com>
Message-ID: <d5792b03-266f-5d93-d9db-f39d2605869d@cisco.com>
Date: Mon, 14 Aug 2017 21:07:15 +0100
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.2.1
MIME-Version: 1.0
In-Reply-To: <0994d0ba-714d-3b5c-8542-06ee19dceef1@cisco.com>
Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="t1bO8cRX6GXK9IbLkoPmq4qIvc5Ro3xLu"
Archived-At: <https://mailarchive.ietf.org/arch/msg/opsawg/lgO6Stv1sUdjrsg3qIecpMUHPtE>
Subject: Re: [OPSAWG] I-D Action: draft-ietf-opsawg-mud-08.txt
X-BeenThere: opsawg@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: OPSA Working Group Mail List <opsawg.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/opsawg>, <mailto:opsawg-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/opsawg/>
List-Post: <mailto:opsawg@ietf.org>
List-Help: <mailto:opsawg-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/opsawg>, <mailto:opsawg-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 14 Aug 2017 20:07:20 -0000

Hi Joe,

Thanks for your thoughtful review.  Please now see below.

<individual-not-editor-or author>


On 8/14/17 7:41 PM, Joe Clarke wrote:
> Hello, Eliot and MUD authors.  I first want to chime in as a working
> group member and provide a review of this latest revision.  Please see
> below.
>
> Section 1:
>
> OLD:
>
> In this specification we specify each of these building blocks and
> how they are intended to be used together
>
> NEW:
>
> In this specification we describe each of these building blocks and
> how they are intended to be used together
>
> It's a nit, but specification and specify sound awkward together.  So
> I chose a different word.

+1.  Nice catch.

>
> ===
>
> Section 1.2:
>
> I love the readability of this in general, but maybe replace
> "Facebook" with "social network" or something a bit more generic.

Ok.

>
> ===
>
> Section 1.4:
>
> You state that the memo describes three ways to emit a MUD URL.  You
> ultimately list three, but this reads strangely:
>
> The other method defined is an X.509 constraint...
>
> This is the second method (the first being DHCP).  So maybe you should
> state, "An other method" or "The second method".

Right.

>
> ===
>
> Section 1.6:
>
> A MUD file is more than just a behavior.  It lists details about a
> Thing such as whether or not it's supported, details about it from a
> reference URL, etc.  Perhaps the definition of a MUD file should be
> "...JSON that describes a Thing and its required network behavior."

I would prefer to run with "suggested" than "required".  The analogy has
always been an indications label that comes with medicine.  You can go
off label if you want, Mme. Administrator, even if it isn't recommended.


>
> ===
>
> Section 1.7:
>
> You mix the use of URL and URI.  While a URL is a URI, I think it
> would be good to keep the use of URL as that is what you define in
> section 1.6.

Righto.  There are a handful of places where URI is still appropriate
(registrations, internationalization).
>
> ===
>
> Section 1.8:
>
> While you call out a reputation system check, would an important step
> here be to verify the overall veracity of the MUD file itself?  That
> is, verify the MUD files signature.  You talk about this below, but I
> think it's worth calling out here as well.

Good point.
>
> ===
>
> Section 2:
>
> You state that "Devices parsing MUD files..."  I think you should
> refer to your terminology here and say "MUD controllers parsing MUD
> files..."
>
Right.

> Additionally, you say that upon seeing "other" elements in the MUD
> file, the controller should cease processing.  What exactly happens,
> then, to the data already parsed?  Does that get applied, or must the
> controller reject the entire file?  IMHO, the controller should
> disregard a file that violates the spec.  But in any case, I think you
> should be explicit here in the text.

Made explicit.

>
> ===
>
> Section 6:
>
> Should the timers for last-update and cache-validity be mandatory?  As
> it stands now, nothing in metainfo is mandatory, and I think some
> things (like the timers) should be.  I also think is-supported is key.

That's a good question and I like the list that you identified.  I think
this requires some additional discussion, though, just to confirm model
structure.  I'll come back to you on this.


>
> ===
>
> Section 7:
>
> Typo: replicated across IPv4 and IPv6 to allow MUD file autjors the
> ability
>
> I think you mean "authors".
>
Corrected.

> ===
>
> Sections 7.1 and 7.2:
>
> I would imagine at some level these names would have to be resolved.
> Perhaps what you mean as to when they are resolved is left to the
> implementation?  That is to say, some vendors may resolve at the time
> of configuration whereas others may resolve more dynamically.

I think I want to say more than that.

What I'm thinking about is as follows:

> A number of    means may be used to resolve hosts.  What is
> important is that such resolutions be consistent with ACLs required by
> devices  to properly operate.

>
> ===
>
> Appendix B and Section 8:
>
> These are out of date with the current schema.  For example, you have
> lastUpdate instead of last-update, cacheValidity instead of
> cache-validity.
>
Oh nertz!  That's a mudmaker bug.  Fixed!

Thanks!

Eliot 

> Joe
>

> On 8/11/17 16:10, Eliot Lear wrote:
> > Hi everyone,
>
> > As promised, this update corrects all examples (we just didn't have
> > time to do that for the IETF) and adds a bit more wording around
> > the abstractions so as to give some guidance on how to translate
> > abstractions.  In addition, some guidance is given relating to how
> > to instantiate the ACL model, given the use of features.
>
> > Finally, the MUD file maker has been updated, and can now be
> > reached at mudmaker.org.
>
> > With this, I would ask that we start  the various YANG doctor and
> > other directorate reviews.
>
> > Eliot
>
>
> > On 8/11/17 1:02 PM, internet-drafts@ietf.org wrote:
> >> A New Internet-Draft is available from the on-line
> >> Internet-Drafts directories. This draft is a work item of the
> >> Operations and Management Area Working Group WG of the IETF.
> >>
> >> Title           : Manufacturer Usage Description Specification
> >> Authors         : Eliot Lear Ralph Droms Dan Romascanu Filename
> >> : draft-ietf-opsawg-mud-08.txt Pages           : 48 Date
> >> : 2017-08-11
> >>
> >> Abstract: This memo specifies a component-based architecture for
> >> manufacturer usage descriptions (MUD).  This includes two YANG
> >> modules, IPv4 and IPv6 DHCP options, an LLDP TLV, a URL suffix
> >> specification, an X.509 certificate extension and a means to sign
> >> and verify the descriptions.
> >>
> >>
> >> The IETF datatracker status page for this draft is:
> >> https://datatracker.ietf.org/doc/draft-ietf-opsawg-mud/
> >>
> >> There are also htmlized versions available at:
> >> https://tools.ietf.org/html/draft-ietf-opsawg-mud-08
> >> https://datatracker.ietf.org/doc/html/draft-ietf-opsawg-mud-08
> >>
> >> A diff from the previous version is available at:
> >> https://www.ietf.org/rfcdiff?url2=draft-ietf-opsawg-mud-08
> >>
> >>
> >> 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/
> >>
> >> _______________________________________________ OPSAWG mailing
> >> list OPSAWG@ietf.org
> >> https://www.ietf.org/mailman/listinfo/opsawg
> >>
>
>
>
>
> > _______________________________________________ OPSAWG mailing
> > list OPSAWG@ietf.org https://www.ietf.org/mailman/listinfo/opsawg
>
>
>