Re: [OPSAWG] Declaring something to be a controller in MUD

Eliot Lear <> Mon, 01 July 2019 08:49 UTC

Return-Path: <>
Received: from localhost (localhost []) by (Postfix) with ESMTP id 1A4FA120099; Mon, 1 Jul 2019 01:49:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at
X-Spam-Flag: NO
X-Spam-Score: -14.501
X-Spam-Status: No, score=-14.501 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, 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, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: (amavisd-new); dkim=pass (1024-bit key)
Received: from ([]) by localhost ( []) (amavisd-new, port 10024) with ESMTP id 2DIDrJzFi1mo; Mon, 1 Jul 2019 01:49:01 -0700 (PDT)
Received: from ( []) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by (Postfix) with ESMTPS id 2A27F1201FA; Mon, 1 Jul 2019 01:49:00 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple;;; l=33264; q=dns/txt; s=iport; t=1561970940; x=1563180540; h=from:message-id:mime-version:subject:date:in-reply-to:cc: to:references; bh=V7wCXl53GwzK3esxXK03rCOXnMscHAYmGO6J26Y2t9A=; b=MACGdU+Qxp5OyMZC9O17LG40PkCmtHPEIWotK+7yGjGpptbRZf5iuNX0 BMrUafGYzOYtj2HmdUfFI0odAIukFHEhGJMBNorqCqXIVqT/TMwWgIni5 xrlb3VQjc2tLrq+qIQT++TSUMTzM6UYY2RIMXMJlgI76ArO/+uUHz4Q02 k=;
X-Files: signature.asc : 195
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0BXAACfyBld/xbLJq1lGgEBAQEBAgE?= =?us-ascii?q?BAQEHAgEBAQGBZ4EVgWyBBCEHhB2Ie4tiJZkGgWcCBwEBAQkDAQEfEAEBhEA?= =?us-ascii?q?CgyU4EwEDAQEEAQECAQVtijcMhUoBAQEDASNRBQULCQIOCiABBgMCAkYRBhM?= =?us-ascii?q?bgwcBgXsPCIgNm2uBMoVHhGoQgTSBUYolgX+BOAwTgh4uPoJWgTImEjqCVDK?= =?us-ascii?q?CJgSMCodzWpVYCYIYgh+BC4MpjScbgxeKFIo+lBFYgXqCV4gQgwkCBAYFAhW?= =?us-ascii?q?BZyGBWDMaCBsVZQGCQQk1ggqDaopVPQMwjwkBAQ?=
X-IronPort-AV: E=Sophos;i="5.63,438,1557187200"; d="asc'?scan'208,217";a="13798515"
Received: from (HELO ([]) by with ESMTP/TLS/DHE-RSA-SEED-SHA; 01 Jul 2019 08:48:57 +0000
Received: from [] ([]) by (8.15.2/8.15.2) with ESMTPS id x618muHZ016656 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 1 Jul 2019 08:48:57 GMT
From: Eliot Lear <>
Message-Id: <>
Content-Type: multipart/signed; boundary="Apple-Mail=_65C116C0-416E-4A03-B51C-849B9FB665AB"; protocol="application/pgp-signature"; micalg=pgp-sha1
Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\))
Date: Mon, 1 Jul 2019 10:48:55 +0200
In-Reply-To: <>
Cc: "" <>, "" <>
To: Qin Wu <>
References: <>
X-Mailer: Apple Mail (2.3445.104.11)
X-Outbound-SMTP-Client:, []
Archived-At: <>
Subject: Re: [OPSAWG] Declaring something to be a controller in MUD
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: OPSA Working Group Mail List <>
List-Unsubscribe: <>, <>
List-Archive: <>
List-Post: <>
List-Help: <>
List-Subscribe: <>, <>
X-List-Received-Date: Mon, 01 Jul 2019 08:49:03 -0000

> On 1 Jul 2019, at 10:23, Qin Wu < <>> wrote:
> 发件人: Eliot Lear [ <>]
> 发送时间: 2019年7月1日 15:52
> 收件人: Qin Wu < <>>
> 抄送: <>; <>
> 主题: Re: [OPSAWG] Declaring something to be a controller in MUD
> On 1 Jul 2019, at 09:20, Qin Wu < <>> wrote:
> 发件人: OPSAWG [ <>] 代表 Eliot Lear
> 发送时间: 2019年6月24日 17:48
> 收件人: <>; <>
> 主题: [OPSAWG] Declaring something to be a controller in MUD
> Hi everyone,
> A few of us are just trying to put out an initial draft that addresses one gap in MUD (there are several).  In a MUD file one can say that one wants to access a controller in two ways: either "my-controller” meaning a controller that services devices of a particular MUD URL or a “controller” class that services devices based on a particular class name of controller.
> In either case, right now the administrator has to manually know and populate information, to say - some device is a controller, either for MUD URL <> or a class <>.  That can be laborious.  To assist, we are examining ways to have a controller declare itself as a candidate controller.
> [Qin]: Since MUD in RFC8520 has already specify DNS extension and DHCP extension, why not configure MUD manager with controller’s declaration? So the RESTFUL interface can be defined between NMS and controller, if my understanding is correct.
> I believe this is network initiated solution, you might have client initiated solution, but probably more complicated than network initiated solution.
> Can you say a few more words?  I’m not sure I’m quite following you.
> [Qin]: What I am suggesting is NMS preconfigures the MUD manager with controller’s declaration information, during DHCP process or DNS process, the controller’s declaration can be returned
> To the router or switch between the thing and MUD manager or return to the thing, the router or the thing can access controller through controller delclartion.
> If the MUD manager also needs to be advertised to the thing, DHCP Discovery or DNS process can be leveraged. In this case, NMS needs to preconfigure DHCP server with MUD manager information.

I apologize, but I’m not quite following.  Let’s step through what I’m trying to solve, and then let’s step through your flow.

Device sends a MUD URL X that points to a MUD file that says to permit ip access to my-controller.

Now- how do we determine who “my-controller” for MUD URL X is?

Ways to do that:
Ask the administrator (pre-configuration)
Provide the administrator hints
Controller says who it can control (by MUD URLs, etc) or
Device says which controllers (by MUD URL) are good candidates

If it’s the controller, then we can do a RESTful interface.  If it’s the device, we already have a communication path.  Nothing stops us from doing both.

So now insert your approach.  What steps would you take?


> Eliot
>  That at least provides a hint to the administrator that this particular device is capable of serving in a particular role.
> To make that declaration, the device must-
> Form the declaration;
> Find the MUD manager; and
> Send it.
> Forming the declaration is easy: we can make this a YANG grouping and then place it in various spots.
> Finding the MUD manager depends on one question:
> Was the device built to be a controller or is it a general purpose device that has an app that is intended to be a controller?
> If the device was built to be a controller, we can simply cram the declaration into that devices own MUD file as an extension.  If the device is a general purpose computer, things get a bit more interesting.  In this case we have two choices:
> Either create a MUD file that points somewhere internally - this doesn’t seem very plug and play.
> Make the declaration directly to the MUD manager.
> I’m going to focus on the latter for the moment.  It is easy enough to create a RESTful interface for this purpose, but it requires a mechanism to discovered the MUD manager, which up until now has been an internal part of the network infrastructure.
> Let me call this out plainly: letting the app itself directly call the MUD manager requires that the MUD manager itself become exposed to the user infrastructure, which is a change.
> One possibility to address this is to incorporate the new RESTful endpoint into an ANIMA BRSKI join registrar, which may already be exposed.  But that requires that ANIMA BRSKI be in play, which it may not.
> My thinking is that we do this work in two stages.  First handle the easy case, which is the MUD file extension, and then figure out how to do the app version of this.
> Thoughts?
> Eliot