<?xml version="1.0" encoding="UTF-8"?>
  <?xml-stylesheet type="text/xsl" href="rfc2629.xslt" ?>
  <!-- generated by https://github.com/cabo/kramdown-rfc2629 version 1.0.36 -->

<!DOCTYPE rfc SYSTEM "rfc2629.dtd" [
]>

<?rfc toc="yes"?>
<?rfc sortrefs="yes"?>
<?rfc symrefs="yes"?>

<rfc ipr="trust200902" docName="draft-ietf-opsawg-mud-02" category="std">

  <front>
    <title abbrev="MUD YANG Model">Manufacturer Usage Description Specification</title>

    <author initials="E." surname="Lear" fullname="Eliot Lear">
      <organization>Cisco Systems</organization>
      <address>
        <postal>
          <street>Richtistrasse 7</street>
          <city>Wallisellen</city>
          <code>CH-8304</code>
          <country>Switzerland</country>
        </postal>
        <phone>+41 44 878 9200</phone>
        <email>lear@cisco.com</email>
      </address>
    </author>
    <author initials="R." surname="Droms" fullname="Ralph Droms">
      <organization></organization>
      <address>
        <phone>+1 978 376 3731</phone>
        <email>rdroms@gmail.com</email>
      </address>
    </author>
    <author initials="D." surname="Romascanu" fullname="Dan Romascanu">
      <organization></organization>
      <address>
        <email>dromasca@gmail.com</email>
      </address>
    </author>

    <date year="2016" month="November" day="30"/>

    
    
    <keyword>Internet-Draft</keyword>

    <abstract>


<t>This memo specifies the necessary components to implement 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.</t>



    </abstract>


  </front>

  <middle>


<section anchor="introduction" title="Introduction">

<t>The Internet has largely been constructed on general purpose
computers; those devices that may be used for a purpose that is
specified by those who buy the device.  <xref target="RFC1984"/> presumed that an
end device would be most capable of protecting itself.  This made
sense when the typical device was a workstation or a mainframe, and it
continues to make sense for general purpose computing devices today,
including laptops, smart phones, and tablets.</t>

<t><xref target="RFC7452"/> discusses design patterns for, and poses questions about,
smart objects.  Let us then posit a group of objects that are
specifically not general purpose computers.  These devices therefore
have a purpose to their use.  By definition, therefore, all other
purposes are NOT intended.  The combination of these two statements
can be restated as a manufacturer usage description (MUD) that can
be applied at various points within a network.  Although this memo may
seem to stress access requirements, usage intent also consists of
quality of service needs a device may have.</t>

<t>We use the notion of “manufacturer” loosely in this context, to simply
mean the entity or organization that will state how a device is
intended to be used.  In the context of a lightbulb, this might indeed
be the lightbulb manufacturer.  In the context of a smarter device
that has a built in Linux stack, it might be integrator of that
device.  The key points are that the device itself is expected to
serve a limited purpose, and that there may exist an organization in
the supply chain of that device that will take responsibility for
informing the network about that purpose.</t>

<t>The converse statement holds that general computing systems will
benefit very little from MUD, as their manufacturers cannot envision a
specific communication pattern to describe.</t>

<t>The intent of MUD is to therefore solve for the following problems:</t>

<t><list style="symbols">
  <t>Substantially reduce the threat surface on a device entering a
network to those communications intended by the manufacturer.</t>
  <t>Provide for a means to scale network policies to the ever-increasing
number types of devices in the network.</t>
  <t>Provide a means to address at least some vulnerabilities in a way
that is faster than it might take to update systems.  This will be
particularly true for systems that are no longer supported by their
manufacturer.</t>
  <t>Keep the cost of implementation of such a system to the bare minimum.</t>
</list></t>

<t>No matter how good a MUD-enabled network is, it will never replace the
need for manufacturers to patch vulnerabilities.  It may, however,
provide network administrators with some additional protection when
those vulnerabilities exist.</t>

<section anchor="a-simple-example" title="A Simple Example">
<t>A light bulb is intended to light a room.  It may be remotely
controlled through the network; and it may make use of a rendezvous
service of some form that an app on smart phone accesses.  What we can
say about that light bulb, then, is that all other network access is
unwanted.  It will not contact a news service, nor speak to the
refrigerator, and it has no need of a printer or other devices.  It
has no Facebook friends.  Therefore, an access list applied to it that
states that it will only connect to the single rendezvous service will
not impede the light bulb in performing its function, while at the same
time allowing the network to provide both it and other devices an
additional layer of protection.</t>

</section>
<section anchor="determining-intended-use" title="Determining Intended Use">
<t>The notion of intended use is in itself not new.  Network
administrators apply access lists every day to allow for only such
use.  This notion of white listing was well described by Chapman and
Zwicky in <xref target="FW95"/>.  Programmatically profiling systems have existed
for years as well.  These systems make use of heuristics that take
at least some time to assert what a system is.</t>

<t>A system could just as easily tell the network what sort of protection
it requires without going into what sort of system it is.  This would,
in effect, be the converse of <xref target="RFC7488"/>.  In seeking a general
purpose solution, however, we assume that a device has so few
capabilities that it will implement the least necessary capabilities
to function properly.  This is a basic economic constraint.  Unless
the network would refuse access to such a device, its developers would
have no reason to implement such an approach.  To date, such an
assertion has held true.</t>

</section>
<section anchor="finding-a-policy-the-mud-url" title="Finding A Policy: The MUD URL">

<t>Our work begins, therefore, with the device emitting a Universal
Resource Locator (URL) <xref target="RFC3986"/>.  This URL may serves both to
classify the device type and to provide a means to locate a policy
file.</t>

<t>In this memo three means are defined to emit the MUD URL.  One is a
DHCP option<xref target="RFC2131"/>,<xref target="RFC3315"/> that the DHCP client uses to inform
the DHCP server.  The DHCP server may take further actions, such as
retrieve the URL or otherwise pass it along to network management
system or controller.  The other method defined is an X.509
constraint.  The IEEE has developed <xref target="IEEE8021AR"/> that provides a
certificate-based approach to communicate device characteristics,
which itself relies on <xref target="RFC5280"/>.  The MUD URL extension is
non-critical, as required by IEEE 802.1AR. Finally, an LLDP frame is
defined.</t>

</section>
<section anchor="types-of-policies" title="Types of Policies">

<t>When the MUD URL is resolved, the MUD controller retrieves a file that
describes what sort of communications a device is designed to have.
The manufacturer may specify either specific hosts for cloud based
services or certain classes for access within an operational network.
An example of a class might be “devices of a specified manufacturer
type”, where the manufacturer type itself is indicated simply by the
authority of the MUD URL.  Another example might to allow or disallow
local access.  Just like other policies, these may be combined.  For
example:</t>

<figure><artwork><![CDATA[
   Allow access to host controller.example.com with QoS AF11
   Allow access to devices of the same manufacturer
   Allow access to and from controllers who need to speak COAP
   Allow access to local DNS/DHCP
   Deny all other access
]]></artwork></figure>

<t>To add a bit more depth that should not be a stretch of anyone’s
imagination, one could also make use of port-based access lists.  Thus
a printer might have a description that states:</t>

<figure><artwork><![CDATA[
   Allow access for port IPP or port LPD
   Allow local access for port HTTP
   Deny all other access
]]></artwork></figure>

<t>In this way anyone can print to the printer, but local access would
be required for the management interface.</t>

<t>The files that are retrieved are intended to be closely aligned to
existing network architectures so that they are easy to deploy.  We
make use of YANG <xref target="RFC6020"/> because of the time and effort spent to
develop accurate and adequate models for use by network devices.  JSON
is used as a serialization for compactness and readability, relative
to XML.</t>

<t>The YANG modules specified here are extensions of
<xref target="I-D.ietf-netmod-acl-model"/>.  The extensions to this model allow for
a manufacturer to express classes of systems that a manufacturer would
find necessary for the proper function of the device.  Two modules are
specified. The first module specifies a means for domain names to be
used in ACLs so that devices that have their controllers in the cloud
may be appropriately authorized with domain names, where the mapping
of those names to addresses may rapidly change.</t>

<t>The second module abstracts away IP addresses into certain classes
that are instantiated into actual IP addresses through local
processing.  Through these classes, manufacturers can specify how the
device is designed to communicate, so that network elements can be
configured by local systems that have local topological knowledge.
That is, the deployment populates the classes that the manufacturer
specifies.</t>

<t>Because manufacturers do not know who will be using their devices, it
is important for functionality referenced in usage descriptions to be
relatively ubiquitous, and therefore, mature.  Therefore, only a
a limited subset YANG-based configuration of is permitted in a MUD file.</t>

</section>
<section anchor="terminology" title="Terminology">

<t><list style="hanging">
  <t hangText='MUD:'>
  manufacturer usage description.</t>
  <t hangText='MUD file:'>
  a file containing YANG-based JSON that describes a recommended behavior.</t>
  <t hangText='MUD file server:'>
  a web server that hosts a MUD file.</t>
  <t hangText='MUD controller:'>
  the system that requests and receives the MUD file from the MUD
server.  After it has processed a MUD file it may direct changes to
relevant network elements.</t>
  <t hangText='MUD URL:'>
  a URL that can be used by the MUD controller to receive the MUD file.</t>
</list></t>

<t>The key words “MUST”, “MUST NOT”, “REQUIRED”, “SHALL”, “SHALL
NOT”, “SHOULD”, “SHOULD NOT”, “RECOMMENDED”,  “MAY”, and
“OPTIONAL” in this document are to be interpreted as described in
<xref target="RFC2119"/>.</t>

</section>
<section anchor="the-manufacturer-usage-description-architecture" title="The Manufacturer Usage Description Architecture">

<t>With these components laid out we now have the basis for an
archicture.  This leads us to ASCII art.</t>

<figure title="MUD Architecture" anchor="fig1"><artwork><![CDATA[
 .........................................
 .                      ____________     .           _____________ 
 .                     |            |    .          |             |
 .                     |    MUD     |----->get URL->|   MUD       |
 .                     | Controller |    .(https)   | File Server |
 .  End system network |____________|<--MUD file<--<|_____________|
 .                             .         .
 .                             .         .
 . _______                 _________     .
 .|       |  (dhcp et al) | router  |    .
 .| Thing |---->MUD URL-->|   or    |    .
 .|_______|               | switch  |    .
 .                        |_________|    .
 .........................................
]]></artwork></figure>

<t>In the above diagram, the switch or router collects MUD URLs and
forwards them to the network management system for processing.  This
happens in different ways, depending on how the URI is communicated.
For instance, in the case of DHCP, the DHCP server might receive the
URI and then process it.  In the case of IEEE 802.1X, the switch
would tunnel the URI to the authentication server, who would then
process it.</t>

<t>The information returned by the web site is valid for the duration of
the device’s connection, or as specified in the description.  Thus if the
device is mobile, when it moves on, any configuration in the switch is
removed.  Similarly, from time to time the description may be
refreshed, based on new capabilities or communication patterns or
vulnerabilities.</t>

<t>The web site is typically run by or on behalf of the manufacturer.
Its domain name is that of the authority found in the MUD URL.  For
legacy cases where Things cannot emit a URL, if the switch is able to
determine the appropriate URI, it may proxy it, the trivial cases
being a map between some registered device or port and a URL.</t>

</section>
</section>
<section anchor="the-mud-model-and-semantic-meaning" title="The MUD Model and Semantic Meaning">
<t>A MUD file consists of JSON based on a YANG model.  For purposes of
MUD, the elements that can be modified are access lists as augmented
by this model.  The MUD file is limited to the serialization of a
small number of YANG schema, including the models specified in the
following documents:</t>

<t><list style="symbols">
  <t><xref target="I-D.ietf-netmod-acl-model"/></t>
  <t><xref target="RFC6991"/></t>
</list></t>

<t>Publishers of MUD files MUST NOT include other elements except as
described in <xref target="extensions"/>, and MUST only contain information
relevant to the device being described.  Devices parsing MUD files
MUST cease processing if they find other elements.</t>

<t>This module is structured into three parts.  The first container holds
information that is relevant to retrieval and validity of the MUD file
itself.  The second container augments the access list to indicate
direction the ACL is to be applied.  The final container augments the
matching container of the ACL model to add several elements that are
relevant to the MUD URL, or other otherwise abstracted for use within
a local environment.</t>

<figure><artwork><![CDATA[
  module: ietf-mud
    +--rw meta-info
        +--rw last-update?         yang:date-and-time
        +--rw previous-mud-file?   yang:uri
        +--rw cache-validity?      uint32
        +--rw masa-server?         inet:uri
        +--rw is-supported?        boolean
  augment /acl:access-lists/acl:acl:
     +--rw packet-direction?   direction
  augment /acl:access-lists/acl:acl
          /acl:access-list-entries/acl:ace/acl:matches:
     +--rw manufacturer?          inet:host
     +--rw same-manufacturer?     empty
     +--rw model?                 string
     +--rw local-networks?        empty
     +--rw controller?            inet:uri
     +--rw direction-initiated?   direction
]]></artwork></figure>

</section>
<section anchor="element-definitions" title="Element Definitions">

<t>The following elements are defined.</t>

<section anchor="last-update" title="last-update">

<t>This is a date-and-time value of the last time the MUD file was
updated.  This is akin to a version number.  Its form is taken from
<xref target="RFC6991"/> which, for those keeping score, turn was taken from
Section 5.6 of <xref target="RFC3339"/>, which was taken from <xref target="ISO.8601.1988"/>.</t>

</section>
<section anchor="previous-mud-file" title="previous-mud-file">
<t>This is a URL that should point to the previous MUD URL for
auditing purposes.  Because it should not be necessary to resign a MUD
file when a new one is released, the archival location of a current
MUD file should be identified prior to its release.  Note the
signature file MUST also be available.  For example, if
previous-mud-file is set to “https://example.com/.mud/v1/xxx”, the
corresponding signature would be found at
“https://example.com/.mud/v1/xxx.p7s”.</t>

</section>
<section anchor="cache-validity" title="cache-validity">
<t>This uint32 is the period of time in hours that a network management
station MUST wait since its last retrieval before checking for an
update.  It is RECOMMENDED that this value be no less than 24 and no
more than 1440 for any device that is supported.</t>

</section>
<section anchor="masa-server" title="masa-server">
<t>This optional element refers to the URL that should be used to
resolve the location any MASA service, as specified in
<xref target="I-D.ietf-anima-bootstrapping-keyinfra"/>.</t>

</section>
<section anchor="is-supported" title="is-supported">
<t>This boolean is an indication from the manufacturer to the network
administrator as to whether or not the device is supported.  In this
context a device is said to be supported if the manufacturer might
issue an update to the device or if the manufacturer might update the
MUD file.</t>

</section>
<section anchor="systeminfo" title="systeminfo">
<t>This string contains a description of the device that this MUD file
supports.  Note that this is a hint, and not intended for consumption
by a computer.</t>

</section>
<section anchor="packet-direction" title="packet-direction">
<t><xref target="I-D.ietf-netmod-acl-model"/> describes access-lists but does not
attempt to indicate where they are applied as that is handled
elsewhere in a configuration.  However, in this case, a MUD
file must be explicit in describing the communcation pattern of a
device, and that includes indicating what is to be permitted or denied
in either direction of communication.  This element takes a single
value of either “to-device” or “from-device”, based on a typedef
“direction”.</t>

</section>
<section anchor="manufacturer" title="manufacturer">
<t>This element consists of a hostname that would be matched against the
authority section of another device’s MUD URL.</t>

</section>
<section anchor="same-manufacturer" title="same-manufacturer">
<t>This is an equivalent for when the manufacturer element is used
to indicate the authority that is found in another device’s MUD URL
matches that of the authority found in this device’s MUD URL.</t>

</section>
<section anchor="model" title="model">
<t>This string matches the one and only segment following the
authority section of the MUD URL.  It refers to a model that is unique
within the context of the authority.  It may also include product
version information.  Thus how this field is constructed is entirely a
local matter for the manufacturer.</t>

</section>
<section anchor="local-networks" title="local-networks">
<t>This null-valued element expands to include local networks.  Its
default expansion is that packets must not traverse toward a default
route that is received from the router.</t>

</section>
<section anchor="controller" title="controller">
<t>This URI specifies a value that a controller will register with the
network management station.  The element then is expanded to the set
of hosts that are so registered.  This element may also be a URN.  In
this case, the URN describes a well known service, such as DNS or NTP.</t>

<t>In addition, some meta information is defined in order to determine
when a usage description should be refreshed.</t>

</section>
<section anchor="direction-initiated" title="direction-initiated">
<t>When applied this matches packets when the flow was initiated in the
corresponding direction.  <xref target="RFC6092"/> provides guidance for IPv6 guidance
best practices.  While that document is scoped specifically to IPv6,
its contents are applicable for IPv4 as well.  When this flag is set,
and the system has no reason to believe a flow has been initiated it
MUST drop the packet.  This match SHOULD be applied with specific
transport parameters, such as protocol.</t>

</section>
</section>
<section anchor="processing-of-the-mud-file" title="Processing of the MUD file">
<t>To keep things relatively simple in addition to whatever definitions
exist, we also apply two additional default behaviors:</t>

<t><list style="symbols">
  <t>Anything not explicitly permitted is denied.</t>
  <t>Local DNS and NTP are, by default, permitted to and from the
device.</t>
</list></t>

<t>An explicit description of the defaults can be found in <xref target="defaults"/>.</t>

</section>
<section anchor="mudurl" title="What does a MUD URL look like?">

<t>To begin with, MUD takes full advantage of both the https: scheme and
the use of .well-known.  HTTPS is important in this case because a man
in the middle attack could otherwise harm the operation of a class of
devices.  .well-known is used because we wish to add additional
structure to the URL.  And so the URL appears as follows:</t>

<figure><artwork><![CDATA[
   mud-url   = "https://" authority  "/.well-known/mud/" mud-rev
               "/" model ( "?" extras )
               ; authority is from RFC3986
   mud-rev   = "v1"
   model     = segment  ; from RFC3986
   extras    = query    ; from RFC3986
   
]]></artwork></figure>

<t>mud-rev signifies the version of the manufacturer usage description
file.  This memo specifies “v1” of that file.  Later versions may
permit additional schemas or modify the format.  In order to provide
for the broadest compatibility for the various transmission
mechanisms, the length of the URL for v1 MUST NOT exceed 255 octets.</t>

<t>“model” represents a device model as the manufacturer wishes to
represent it.  It could be a brand name or something more specific.
It also may provide a means to indicate what version the product is.
Specifically if it has been updated in the field, this is the place
where evidence of that update would appear.  The field should be
changed when the intended communication patterns of a device change.
While from a controller standpoint, only comparison and matching
operations are safe, it is envisioned that updates will require some
administrative review.  Processing of this URL occurs as specified in
<xref target="RFC2818"/> and <xref target="RFC3986"/>.</t>

</section>
<section anchor="the-mud-yang-model" title="The MUD YANG Model">

<figure><artwork><![CDATA[
<CODE BEGINS>file "ietf-mud@2016-07-20.yang";

module ietf-mud {
  yang-version 1.1;
  namespace "urn:ietf:params:xml:ns:yang:ietf-mud";
  prefix "ietf-mud";
  
  import ietf-access-control-list {
    prefix "acl";
  }

  import ietf-yang-types {
    prefix "yang";
  }
  
  import ietf-inet-types {
    prefix "inet";
  }
  
  organization
    "IETF OPSAWG (Ops Area) Working Group";

  contact
       "WG Web: http://tools.ietf.org/wg/opsawg/
       WG List: opsawg@ietf.org
       WG Chair: Warren Kumari
       warren@kumari.net
       WG Chair: Zhou Tianran
       zhoutianran@huawei.com
       Editor: Eliot Lear
       lear@cisco.com
       Editor: Ralph Droms
       rdroms@cisco.com
    ";

  description
    "This YANG module defines a component that augments the
     IETF description of an access list.  This specific module
     focuses on additional filters that include local, model,
     and same-manufacturer.

    Copyright (c) 2016 IETF Trust and the persons identified as
    the document authors.  All rights reserved.
    Redistribution and use in source and binary forms, with or
    without modification, is permitted pursuant to, and subject
    to the license terms contained in, the Simplified BSD
    License set forth in Section 4.c of the IETF Trust's Legal
    Provisions Relating to IETF Documents
    (http://trustee.ietf.org/license-info).
    This version of this YANG module is part of RFC XXXX; see
    the RFC itself for full legal notices.";

  revision "2016-07-20"  {
    description "Base version of MUD extensions to ACL model";
    reference "RFC XXXX: Manufacturer Usage Description Specification";
  }

  typedef direction {
     type enumeration {
         enum to-device {
           description "packets or flows destined to the target device";
         }
         enum from-device {
           description "packets or flows destined from
                        the target device";
           }
         }
     description "Which way are we talking about?";
  }

  container metainfo  {
    
    description "Information about when support end(ed), and
                 when to refresh";
    
    leaf last-update {
      type yang:date-and-time;
      description "This is intended to be the time and date that
                   the MUD file was generated.";
    }

    leaf previous-mud-file {
       type inet:uri;
       description "Use to find the previous MUD file location
                    for auditing purposes.";
    }

    leaf cache-validity {
      type uint32;
      description "The information retrieved from the MUD server is
                 valid for these many hours, after which it should
                 be refreshed.";
    }

    leaf masa-server {
      type inet:uri;
      description "The URI of the MASA server that network
      elements should forward requests to for this device.";
    }      

    leaf is-supported {
      type boolean;
      description "The element is currently supported
                   by the manufacturer.";
    }
    leaf systeminfo {
      type string;
      description "A non-normative name and description of the device
                   this file is used for.";
    }
  }
  
  augment "/acl:access-lists/acl:acl"   {
    description "add inbound or outbound.  Normally access lists
                 are applied in an inbound or outbound direction
                 separately from their definition.  This is not
                 possible with MUD.";
    leaf packet-direction 
    {
      type direction;
      description "inbound or outbound ACL.";
    }
  }
  
    
  augment "/acl:access-lists/acl:acl/" +
     "acl:access-list-entries/acl:ace/" +
     "acl:matches" {
    description "adding abstractions to avoid need of IP addresses";

    leaf manufacturer {
      type inet:host;
      description "authority component of the manufacturer URI";
    }

    leaf same-manufacturer {
      type empty;
      description "expand to ACEs for each device
                   with the same origin";
    }

    leaf model {
        type string;
        description "specific model (including version) for a
                     given manufacturer";
    }

    leaf local-networks {
      type empty;
      description "this string is used to indicate networks
                   considered local in a given environment.";
    }
    leaf controller {
      type inet:uri;
      description "expands to one or more controllers for a
                   given service that is codified by inet:uri.";
    }              
    leaf direction-initiated {
      type direction;
      description "which direction a flow was initiated";
    }
  }
} 

<CODE ENDS>
]]></artwork></figure>

</section>
<section anchor="the-domain-name-extension-to-the-acl-model" title="The Domain Name Extension to the ACL Model">
<t>This module specifies an extension to IETF-ACL model such that domain
names may be referenced by augmenting the “matches” element.
Different implementations may deploy differing methods to maintain the
mapping between IP address and domain name, if indeed any are needed.
However, the intent is that resources that are referred to using a
name should be authorized (or not) within an access list.</t>

<t>The structure of the change is as follows:</t>

<figure><artwork><![CDATA[
   augment
   /acl:access-lists/acl:acl/acl:access-list-entries
      /acl:ace/acl:matches/acl:ace-type/acl:ace-ip:
      +--rw src-dnsname?        inet:host
      +--rw dst-dnsname?        inet:host
]]></artwork></figure>

<t>The choice of this particular point in the access-list model is based
on the assumption that we are in some way referring to IP-related
resources, as that is what the DNS returns.  A domain name in our
context is defined in <xref target="RFC6991"/>.</t>

<t>The following elements are defined.</t>

<section anchor="source-dnsname" title="source-dnsname">
<t>The argument corresponds to a domain name of a source as specified by
inet:host. Depending on how the model is used, it may or may not be
resolved, as required by the implementation and circumstances.</t>

</section>
<section anchor="destination-dnsname" title="destination-dnsname">
<t>The argument corresponds to a domain name of a destination as
specified by inet:host. Depending on how the model is used, it may or
may not be resolved, as required by the implementation and
circumstances.</t>

</section>
<section anchor="the-ietf-acldns-model" title="The ietf-acldns Model">
<figure><artwork><![CDATA[
<CODE BEGINS>file "ietf-acldns@2007-07020.yang";

module ietf-acldns {
  yang-version 1.1;
  namespace "urn:ietf:params:xml:ns:yang:ietf-acldns";
  prefix "ietf-acldns";
  
  import ietf-access-control-list {
    prefix "acl";
  }

  import ietf-inet-types {
    prefix "inet";
  }
  
  organization
    "IETF OPSAWG (Ops Area) Working Group";

  contact
       "WG Web: http://tools.ietf.org/wg/opsawg/
       WG List: opsawg@ietf.org
       WG Chair: Warren Kumari
       warren@kumari.net
       WG Chair: Zhou Tianran
       zhoutianran@huawei.com
       Editor: Eliot Lear
       lear@cisco.com
       Editor: Ralph Droms
       rdroms@cisco.com
    ";


  description
    "This YANG module defines a component that augments the
     IETF description of an access list to allow dns names
     as matching criteria.";

  revision "2016-07-20" {
    description "Base version of dnsname extension of ACL model";
    reference "RFC XXXX: Manufacturer Usage Description Specification";
  }

  augment "/acl:access-lists/acl:acl/" +
     "acl:access-list-entries/acl:ace/" +
     "acl:matches/acl:ace-type/acl:ace-ip" {
    description "adding domain names to matching";

    leaf src-dnsname {
      type inet:host;
      description "domain name to be matched against";
    }
    leaf dst-dnsname {
      type inet:host;
      description "domain name to be matched against";
    }
  }
}

<CODE ENDS>
]]></artwork></figure>

</section>
</section>
<section anchor="mud-file-example" title="MUD File Example">
<t>This example contains two access lists that are intended to provide
outbound access to a cloud service on TCP port 443.</t>

<figure><artwork><![CDATA[
{
   "ietf-mud:metainfo": {
      "last-update": "2016-05-18T20:00:50Z",
      "cache-validity": 1440
      },
   "ietf-access-control-list:access-lists":  {
     "acl": [ {
      "acl-name": "inbound-stuff",
      "acl-type" : "ipv4-acl",
      "ietf-mud:direction" : "to-device",
      "access-list-entries": {
         "ace": [
            {
               "rule-name": "access-cloud",
               "matches": {
                 "ietf-acldns:src-dnsname":
                     "lighting-system.example.com",
                  "protocol" : 6,
                  "source-port-range" : {
                     "lower-port" : 443,
                     "upper-port" : 443
                     }
                  },
               "actions" : {
                 "permit" : [null]
                 }
              }
            ]
           }
         },
         {
      "acl-name": "outbound-stuff",
      "acl-type" : "ipv4-acl",
      "ietf-mud:direction" : "from-device",
      "access-list-entries": {
         "ace": [
            {
               "rule-name": "access-cloud",
               "matches": {
                  "ietf-acldns:dst-dnsname":
                       "lighting-system.example.com",
                   "protocol" : 6,
                   "destination-port-range" : {
                     "lower-port" : 443,
                     "upper-port" : 443
                    }
                },
               "actions" : {
                   "permit" : [null]
                 }
              }
            ]
           }
         }
        ]
    }
}

]]></artwork></figure>

</section>
<section anchor="dhcpopt" title="The MUD URL DHCP Option">

<t>The IPv4 MUD URL client option has the following format:</t>

<figure><artwork><![CDATA[
  +------+-----+------------------------------
  | code | len |  MUD URL
  +------+-----+------------------------------

]]></artwork></figure>

<t>Code OPTION_MUD_URL_V4 (161) is assigned by IANA.  len is a single
octet that indicates the length of the URL in octets.  MUD URL is a
URL.  MUD URLs MUST NOT exceed 255 octets.</t>

<t>The IPv6 MUD URL client option has the following format:</t>

<figure><artwork><![CDATA[
   0                   1                   2                   3
   0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  |         OPTION_MUD_URL_V6     |        option-length          |
  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  |                            MUD URL                            |
  |                              ...                              |
  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

]]></artwork></figure>

<t>OPTION_MUD_URL_V6 (TBD; assigned by IANA).</t>

<t>option-length contains the length of the URL in octets.</t>

<t>The intent of this option is to provide both a new device classifier
to the network as well as some recommended configuration to the
routers that implement policy.  However, it is entirely the purview of
the network system as managed by the network administrator to decide
what to do with this information.  The key function of this option is
simply to identify the type of device to the network in a structured
way such that the policy can be easily found with existing toolsets.</t>

<section anchor="client-behavior" title="Client Behavior">
<t>A DHCPv4 client MAY emit a DHCPv4 option and a DHCPv6 client MAY emit
DHCPv6 option.  These options are singletons, as specified in
<xref target="RFC7227"/>.  Because clients are intended to have at most one MUD URL
associated with them, they may emit at most one MUD URL option via
DHCPv4 and one MUD URL option via DHCPv6. In the case where both v4
and v6 DHCP options are emitted, the same URL MUST be used.</t>

<t>Clients SHOULD log or otherwise report improper acknowledgments from
servers, but they MUST NOT modify their MUD URL configuration based on
a server’s response.  The server’s response is only an acknowledgment
that the server has processed the option, and promises no specific
network behavior to the client.  In particular, it may not be possible
for the server to retrieve the file associated with the MUD URL,
or the local network administration may not wish to use the usage
description.  Neither of these situations should be considered in any
way exceptional.</t>

</section>
<section anchor="server-behavior" title="Server Behavior">
<t>A DHCP server may ignore these options or take action based on receipt
of these options.  If a server successfully parses the option and the
URL, it MUST return the option with length field set to zero and a
corresponding null URL field as an acknowledgment.  Even in this
circumstance, no specific network behavior is guaranteed.  When a
server consumes this option, it will either forward the URL and
relevant client information to a network management system (such as
the giaddr), or it will retrieve the usage description by resolving
the URL.</t>

<t>DHCP servers may implement MUD functionality themselves or they may
pass along appropriate information to a network management system or
controller.  A DHCP server that does process the MUD URL MUST adhere
to the process specified in <xref target="RFC2818"/> and <xref target="RFC5280"/> to validate
the TLS certificate of the web server hosting the MUD file.  Those
servers will retrieve the file, process it, create and install the
necessary configuration on the relevant network element.  Servers
SHOULD monitor the gateway for state changes on a given interface.  A
DHCP server that does not provide MUD functionality and has forwarded
a MUD URL to a network management system MUST notify the network
management of any corresponding change to the DHCP state of the client
(such as expiration or explicit release of a network address lease).</t>

</section>
<section anchor="relay-requirements" title="Relay Requirements">
<t>There are no additional requirements for relays.</t>

</section>
</section>
<section anchor="mudx509" title="The Manufacturer Usage Description (MUD) URL X.509 Extension">

<t>This section defines an X.509 non-critical certificate extension that
contains a single Uniform Resource Identifier (URI) that points to an
on-line Manufacturer Usage Description concerning the certificate
subject.  URI must be represented as described in Section 7.4 of <xref target="RFC5280"/>.</t>

<t>Any Internationalized Resource Identifiers (IRIs) MUST be mapped to
URIs as specified in Section 3.1 of <xref target="RFC3987"/> before they are placed
in the certificate extension.</t>

<t>The semantics of the URI are defined <xref target="mudurl"/> of this document.</t>

<t>The choice of id-pe is based on guidance found in Section 4.2.2 of
<xref target="RFC5280"/>:</t>

<figure><artwork><![CDATA[
      These extensions may be used to direct applications to on-line
      information about the issuer or the subject.

]]></artwork></figure>

<t>The MUD URL is precisely that: online information about the particular subject.</t>

<t>The new extension is identified as follows:</t>

<figure><artwork><![CDATA[
  MUDURLExtnModule-2016 { iso(1) identified-organization(3) dod(6)
               internet(1) security(5) mechanisms(5) pkix(7) id-mod(0)
               id-mod-mudURLExtn2016(TBD1) }

  DEFINITIONS IMPLICIT TAGS ::= BEGIN

  -- EXPORTS ALL --

  IMPORTS
    EXTENSION
    FROM PKIX-CommonTypes-2009
            { iso(1) identified-organization(3) dod(6) internet(1)
              security(5) mechanisms(5) pkix(7) id-mod(0)
              id-mod-pkixCommon-02(57) }

    id-pe
    FROM PKIX1Explicit-2009
            { iso(1) identified-organization(3) dod(6) internet(1)
              security(5) mechanisms(5) pkix(7) id-mod(0)
              id-mod-pkix1-explicit-02(51) } ;
    MUDCertExtensions EXTENSION ::= { ext-MUDURL, ... }
    ext-MUDURL EXTENSION ::= { SYNTAX MUDURLSyntax
    IDENTIFIED BY id-pe-mud-url }

    id-pe-mud-url OBJECT IDENTIFIER ::= { id-pe TBD2 }

    MUDURLSyntax ::= IA5String

    END

]]></artwork></figure>

</section>
<section anchor="lldp" title="The Manufacturer Usage Description LLDP extension">

<t>The IEEE802.1AB Link Layer Discovery Protocol (LLDP) <xref target="IEEE8021AB"/> is a
one hop vendor-neutral link layer protocols used by end hosts network
devices for advertising their identity, capabilities, and neighbors on
an IEEE 802 local area network. Its Type-Length-Value (TLV) design
allows for ‘vendor-specific’ extensions to be defined. IANA has a
registered IEEE 802 organizationally unique identifier (OUI) defined
as documented in <xref target="RFC7042"/>. The MUD LLDP extension uses a subtype
defined in this document to carry the MUD URL.</t>

<t>The LLDP vendor specific frame has the following format:</t>

<figure><artwork><![CDATA[
+--------+--------+----------+---------+--------------
|TLV Type|  len   |   OUI    |subtype  | MUD URL
|  =127  |        |= 00 00 5E|  = 1    |
|(7 bits)|(9 bits)|(3 octets)|(1 octet)|(1-255 octets)
+--------+--------+----------+---------+--------------

]]></artwork></figure>

<t>where:</t>

<t><list style="symbols">
  <t>TLV Type = 127 indicates a vendor-specific TLV</t>
  <t>len – indicates the TLV string length</t>
  <t>OUI = 00 00 5E is the organizationally unique identifier of IANA</t>
  <t>subtype = 1 (to be assigned by IANA for the MUD URL)</t>
  <t>MUD URL – the length MUST NOT exceed 255 octets</t>
</list></t>

<t>The intent of this extension is to provide both a new device
classifier to the network as well as some recommended configuration to
the routers that implement policy.  However, it is entirely the
purview of the network system as managed by the network administrator
to decide what to do with this information.  The key function of this
extension is simply to identify the type of device to the network in a
structured way such that the policy can be easily found with existing
toolsets.</t>

<t>Hosts, routers, or other network devices that implement this option
are intended to have at most one MUD URL associated with them, so they
may transmit at most one MUD URL value.</t>

<t>Hosts, routers, or other network devices that implement this option
may ignore these options or take action based on receipt of these
options.  For example they may fill in information in the respective
extensions of the LLDP Management Information Base (LLDP MIB). LLDP
operates in a one-way direction. LLDPDUs are not exchanged as
information requests by one device and response sent by another
device. The other devices do not acknowledge LLDP information received
from a device. No specific network behavior is guaranteed.  When a
device consumes this extension, it may either forward the URL and
relevant remote device information to a network management system, or
it will retrieve the usage description by resolving the URL.</t>

</section>
<section anchor="creating-and-processing-of-signed-mud-files" title="Creating and Processing of Signed MUD Files">
<t>Because MUD files contain information that may be used to configure
network access lists, they are sensitive.  To insure that they have
not been tampered with, it is important that they be signed.  We make
use of DER-encoded Cryptographic Message Syntax (CMS) <xref target="RFC5652"/> for
this purpose.</t>

<section anchor="creating-a-mud-file-signature" title="Creating a MUD file signature">
<t>A MUD file MUST be signed using CMS as an opaque binary object.  In
order to make successful verification more likely, intermediate
certificates SHOULD be included.  The signature is stored at the same
location as the MUD URL but with the suffix of “.p7s”.  Signatures are
transferred using content-type “Application/pkcs7-signature”.</t>

<t>For example:</t>

<figure><artwork><![CDATA[
% openssl cms -sign -signer mancertfile -inkey mankey \
              -in mudfile -binary -outform DER - \
              -certfile intermediatecert -out mudfile.p7s
]]></artwork></figure>

<t>Note: A MUD file may need to be resigned if the signature expires.</t>

</section>
<section anchor="verifying-a-mud-file-signature" title="Verifying a MUD file signature">

<t>Prior to retrieving a MUD file the MUD controller SHOULD retrieve the
MUD signature file using the MUD URL with a suffix of “.p7s”.  For
example, if the MUD URL is
“https://example.com/.well-known/v1/modela”, the MUD signature URL
will be “https://example.com/.well-known/v1/modela.p7s”.</t>

<t>Upon retrieving a MUD file, a MUD controller MUST validate the
signature of the file before continuing with further processing.  A
MUD controller SHOULD produce an error and it MUST cease all
processing of that file if the signature cannot be validated.  It is
important that MUD controllers have some reason to trust the
certificates they are seeing.  Therefore, it is RECOMMENDED that new
signers be validated either directly by an administrator or by a
service that has some reason to believe that the signer is a good
actor.</t>

<t>For Example:</t>

<figure><artwork><![CDATA[
% openssl cms -verify -in mudfile.p7s -inform DER -content mudfile
]]></artwork></figure>

<t>Note the additional step of verifying the common trust root.</t>

</section>
</section>
<section anchor="extensions" title="Extensibility">

<t>One of our design goals is to see that MUD files are able to be
understood by as broad a cross-section of systems as is possible.
Coupled with the fact that we have also chosen to leverage existing
mechanisms, we are left with no ability to negotiate extensions and a
limited desire for those extensions in any event.  A such, a
two-tier extensibility framework is employed, as follows:</t>

<t><list style="numbers">
  <t>At a coarse grain, a protocol version is included in a MUD URL.
 This memo specifies MUD version 1.  Any and all changes are
 entertained when this version is bumped.  Transition approaches
 between versions would be a matter for discussion in future versions.</t>
  <t>At a finer grain, only extensions that would not incur additional
 risk to the device are permitted.  Specifically, augmenting of the
 metainfo container is permitted with the understanding that
 such additions may be ignored.  In addition, augmentation of the ACL
 model is permitted so long as it remains safe for a given ACE to be
 ignored by the MUD Controller or the network elements it configures.
 Most specifically, is is not permitted to include as an augmentation
 that modifies “deny” behavior without bumping the version.
 Furthermore, implementations that are not able to parse a component
 of the ACE array MUST ignore the entire array entry (e.g., not the
 entire array) and MAY ignore the entire MUD file.</t>
</list></t>

</section>
<section anchor="secon" title="Security Considerations">
<t>Based on the means a URL is procured, a device may be able to lie
about what it is, thus gaining additional network access.  There are
several means to limit risk in this case.  The most obvious is to only
believe devices that make use of certificate-based authentication such
as IEEE 802.1AR certificates.  When those certificates are not
present, devices claiming to be of a certain manufacturer SHOULD NOT
be included in that manufacturer grouping without additional
validation of some form.  This will occur when it makes use of
primitives such as “manufacturer” for the purpose of accessing devices
of a particular type.</t>

<t>Network management systems SHOULD NOT accept a usage description for a
device with the same MAC address that has indicated a change of
authority without some additional validation (such as review of the
class).  New devices that present some form of unauthenticated MUD URL
SHOULD be validated by some external means when they would be
otherwise be given increased network access.</t>

<t>It may be possible for a rogue manufacturer to inappropriately
exercise the MUD file parser, in order to exploit a vulnerability.
There are three recommended approaches to address this threat.  The
first is to validate the signature of the MUD file.  The second is to
have a system do a primary scan of the file to ensure that it is both
parseable and believable at some level.  MUD files will likely be
relatively small, to start with.  The number of ACEs used by any given
device should be relatively small as well.  Second, it may be useful
to limit retrieval of MUD URLs to only those sites that are known to
have decent web reputations.</t>

<t>Use of a URL necessitates the use of domain names.  If a domain name
changes ownership, the new owner of that domain may be able to provide
MUD files that MUD controllers would consider valid.  There are a few
approaches that can mitigate this attack.  First, MUD file servers
SHOULD cache certificates used by the MUD file server.  When a new
certificate is retrieved for whatever reason, the MUD controller
should check to see if ownership of the domain has changed.  A fair
programmatic approximation of this is when the name servers for the
domain have changed.  If the actual MUD file has changed, the
controller MAY check the WHOIS database to see if registration
ownership of a domain has changed.  If a change has occured, or if for
some reason it is not possible to determine whether ownership has
changed, further review may be warranted.  Note, this remediation does
not take into account the case of a device that was produced long ago
and only recently fielded, or the case where a new MUD controller has
been installed.</t>

<t>The release of a MUD URL by a device reveals what the device is, and
provides an attacker with guidance on what vulnerabilities may be
present.  This is a security consideration.</t>

<t>While the MUD URL itself is not intended to be unique to a specific
device, the release of the URL may aid an observer in identifying
individuals when combined with other information.  This is a privacy
consideration.</t>

<t>In addressing both of these concerns, implementors should take into
account what other information they are advertising through mechanisms
such as mDNS<xref target="RFC6872"/>, how a device might otherwise be identified, perhaps
through how it behaves when it is connected to the network, whether a
device is intended to be used by individuals or carry personal
identifying information, and then apply appropriate data minimization
techniques.  One approach is to make use of EAP-TLS (cited above) as
the means to share information with the network.  Network devices may
also assist in limiting access to the MUD-URL through the use of
mechanisms such as DHCPv6-Shield <xref target="RFC7610"/>.</t>

</section>
<section anchor="iana-considerations" title="IANA Considerations">

<section anchor="dhcpv4-and-dhcpv6-options" title="DHCPv4 and DHCPv6 Options">

<t>The IANA has allocated option 161 in the Dynamic Host Configuration
Protocol (DHCP) and Bootstrap Protocol (BOOTP) Parameters registry for
the MUD DHCPv4 option.</t>

<t>IANA is requested to allocated the DHCPv4 and v6 options as specified
in <xref target="dhcpopt"/>.</t>

</section>
<section anchor="pkix-extensions" title="PKIX Extensions">

<t>IANA is kindly requested to make the   following assignments for:</t>

<t>o The MUDURLExtnModule-2016 ASN.1 module in the “SMI Security for
   PKIX Module Identifier” registry (1.3.6.1.5.5.7.0).</t>

<t>o id-pe-mud-url object identifier from the “SMI Security for PKIX
   Certificate Extension” registry (1.3.6.1.5.5.7.1).</t>

<t>The use fo these values is specified in <xref target="mudx509"/>.</t>

</section>
<section anchor="well-known-uri-suffix" title="Well Known URI Suffix">

<t>The IANA has allocated the URL suffix of “mud” as follows:</t>

<t>o URI Suffix: “mud”
 o Specification documents: this document
 o Related information: n/a</t>

</section>
<section anchor="mime-media-type-registration-for-mud-files" title="MIME Media-type Registration for MUD files">

<t>The following media-type is defined for transfer of MUD file:</t>

<figure><artwork><![CDATA[
 o Type name: application
 o Subtype name: mud+json
 o Required parameters: n/a
 o Optional parameters: n/a
 o Encoding considerations: 8bit; application/mud+json values
   are represented as a JSON object; UTF-8 encoding SHOULD be
   employed.
 o Security considerations: See {{secon}} of this document.
 o Interoperability considerations: n/a
 o Published specification: this document
 o Applications that use this media type: MUD controllers as
   specified by this document.
 o Fragment identifier considerations: n/a
 o Additional information:

     Magic number(s): n/a
     File extension(s): n/a
     Macintosh file type code(s): n/a

 o Person & email address to contact for further information:
   Eliot Lear <lear@cisco.com>, Ralph Droms <rdroms@cisco.com>
 o Intended usage: COMMON
 o Restrictions on usage: none

 o Author: Eliot Lear <lear@cisco.com>, Ralph Droms <rdroms@cisco.com>
 o Change controller: IESG
 o Provisional registration? (standards tree only): No.

]]></artwork></figure>

</section>
<section anchor="lldp-iana-tlv-subtype-registry" title="LLDP IANA TLV Subtype Registry">

<t>IANA is requested to create a new registry for IANA Link Layer
Discovery Protocol (LLDP) TLV subtype values. The recommended policy
for this registry is Expert Review. The maximum number of entries in
the registry is 256.</t>

<t>IANA is required to populate the initial registry with the value:</t>

<t>LLDP subtype value = 1
(All the other 255 values should be initially marked as ‘Unassigned’.)</t>

<t>Description = the Manufacturer Usage Description (MUD) Uniform Resource Locator (URL)</t>

<t>Reference = &lt; this document &gt;</t>

</section>
<section anchor="the-mud-well-known-universal-resource-name-urns" title="The MUD Well Known Universal Resource Name (URNs)">
<t>The following parameter registry is requested to be added in
accordance with <xref target="RFC3553"/></t>

<figure><artwork><![CDATA[
   Registry name: "urn:ietf:params:mud" is requested.
   Specification: this document
   Repository: this document
   Index value:  Encoded identically to a TCP/UDP port service name, as
                 specified in Section 5.1 of [RFC6335]
]]></artwork></figure>

<t>The following entries should be added to the “urn:ietf:params:mud” name space:</t>

<t>“urn:ietf:params:mud:dns” refers to the service specified by <xref target="RFC1123"/>.
“urn:ietf:params:mud:ntp” refers to the service specified by <xref target="RFC5905"/>.</t>

</section>
</section>
<section anchor="acknowledgments" title="Acknowledgments">

<t>The authors would like to thank Einar Nilsen-Nygaard, Bernie Volz, Tom
Gindin, Brian Weis, Sandeep Kumar, Thorsten Dahm, John Bashinski,
Steve Rich, Jim Bieda, and Dan Wing for their valuable advice and
reviews.  Russ Housley entirely rewrote <xref target="mudx509"/> to be a complete
module.  Adrian Farrel provided the basis for privacy considerations
text.  The remaining errors in this work are entirely the
responsibility of the author.</t>

</section>


  </middle>

  <back>

    <references title='Normative References'>





<reference  anchor='RFC1123' target='http://www.rfc-editor.org/info/rfc1123'>
<front>
<title>Requirements for Internet Hosts - Application and Support</title>
<author initials='R.' surname='Braden' fullname='R. Braden' role='editor'><organization /></author>
<date year='1989' month='October' />
<abstract><t>This RFC is an official specification for the Internet community.  It incorporates by reference, amends, corrects, and supplements the primary protocol standards documents relating to hosts.  [STANDARDS-TRACK]</t></abstract>
</front>
<seriesInfo name='STD' value='3'/>
<seriesInfo name='RFC' value='1123'/>
<seriesInfo name='DOI' value='10.17487/RFC1123'/>
</reference>



<reference  anchor='RFC2119' target='http://www.rfc-editor.org/info/rfc2119'>
<front>
<title>Key words for use in RFCs to Indicate Requirement Levels</title>
<author initials='S.' surname='Bradner' fullname='S. Bradner'><organization /></author>
<date year='1997' month='March' />
<abstract><t>In many standards track documents several words are used to signify the requirements in the specification.  These words are often capitalized. This document defines these words as they should be interpreted in IETF documents.  This document specifies an Internet Best Current Practices for the Internet Community, and requests discussion and suggestions for improvements.</t></abstract>
</front>
<seriesInfo name='BCP' value='14'/>
<seriesInfo name='RFC' value='2119'/>
<seriesInfo name='DOI' value='10.17487/RFC2119'/>
</reference>



<reference  anchor='RFC3986' target='http://www.rfc-editor.org/info/rfc3986'>
<front>
<title>Uniform Resource Identifier (URI): Generic Syntax</title>
<author initials='T.' surname='Berners-Lee' fullname='T. Berners-Lee'><organization /></author>
<author initials='R.' surname='Fielding' fullname='R. Fielding'><organization /></author>
<author initials='L.' surname='Masinter' fullname='L. Masinter'><organization /></author>
<date year='2005' month='January' />
<abstract><t>A Uniform Resource Identifier (URI) is a compact sequence of characters that identifies an abstract or physical resource.  This specification defines the generic URI syntax and a process for resolving URI references that might be in relative form, along with guidelines and security considerations for the use of URIs on the Internet.  The URI syntax defines a grammar that is a superset of all valid URIs, allowing an implementation to parse the common components of a URI reference without knowing the scheme-specific requirements of every possible identifier.  This specification does not define a generative grammar for URIs; that task is performed by the individual specifications of each URI scheme.  [STANDARDS-TRACK]</t></abstract>
</front>
<seriesInfo name='STD' value='66'/>
<seriesInfo name='RFC' value='3986'/>
<seriesInfo name='DOI' value='10.17487/RFC3986'/>
</reference>



<reference  anchor='RFC3987' target='http://www.rfc-editor.org/info/rfc3987'>
<front>
<title>Internationalized Resource Identifiers (IRIs)</title>
<author initials='M.' surname='Duerst' fullname='M. Duerst'><organization /></author>
<author initials='M.' surname='Suignard' fullname='M. Suignard'><organization /></author>
<date year='2005' month='January' />
<abstract><t>This document defines a new protocol element, the Internationalized  Resource Identifier (IRI), as a complement of the Uniform Resource  Identifier (URI). An IRI is a sequence of characters from the  Universal Character Set (Unicode/ISO 10646). A mapping from IRIs to   URIs is defined, which means that IRIs can be used instead of URIs,  where appropriate, to identify resources.</t><t> The approach of defining a new protocol element was chosen instead of extending or changing the definition of URIs.  This was done in order  to allow a clear distinction and to avoid incompatibilities with  existing software. Guidelines are provided for the use and deployment of IRIs in various protocols, formats, and software components that currently deal with URIs.</t></abstract>
</front>
<seriesInfo name='RFC' value='3987'/>
<seriesInfo name='DOI' value='10.17487/RFC3987'/>
</reference>



<reference  anchor='RFC6020' target='http://www.rfc-editor.org/info/rfc6020'>
<front>
<title>YANG - A Data Modeling Language for the Network Configuration Protocol (NETCONF)</title>
<author initials='M.' surname='Bjorklund' fullname='M. Bjorklund' role='editor'><organization /></author>
<date year='2010' month='October' />
<abstract><t>YANG is a data modeling language used to model configuration and state data manipulated by the Network Configuration Protocol (NETCONF), NETCONF remote procedure calls, and NETCONF notifications. [STANDARDS-TRACK]</t></abstract>
</front>
<seriesInfo name='RFC' value='6020'/>
<seriesInfo name='DOI' value='10.17487/RFC6020'/>
</reference>



<reference anchor='I-D.ietf-netmod-acl-model'>
<front>
<title>Network Access Control List (ACL) YANG Data Model</title>

<author initials='D' surname='Bogdanovic' fullname='Dean Bogdanovic'>
    <organization />
</author>

<author initials='K' surname='Koushik' fullname='Kiran Koushik'>
    <organization />
</author>

<author initials='L' surname='Huang' fullname='Lisa Huang'>
    <organization />
</author>

<author initials='D' surname='Blair' fullname='Dana Blair'>
    <organization />
</author>

<date month='October' day='13' year='2016' />

<abstract><t>This document describes a data model of Access Control List (ACL) basic building blocks.  Editorial Note (To be removed by RFC Editor)  This draft contains many placeholder values that need to be replaced with finalized values at the time of publication.  This note summarizes all of the substitutions that are needed.  Please note that no other RFC Editor instructions are specified anywhere else in this document.  Artwork in this document contains shorthand references to drafts in progress.  Please apply the following replacements  o  "XXXX" --> the assigned RFC value for this draft.  o  Revision date in model (Oct 12, 2016) needs to get updated with the date the draft gets approved.  The date also needs to get reflected on the line with &lt;CODE BEGINS>.</t></abstract>

</front>

<seriesInfo name='Internet-Draft' value='draft-ietf-netmod-acl-model-09' />
<format type='TXT'
        target='http://www.ietf.org/internet-drafts/draft-ietf-netmod-acl-model-09.txt' />
</reference>



<reference anchor='I-D.ietf-anima-bootstrapping-keyinfra'>
<front>
<title>Bootstrapping Remote Secure Key Infrastructures (BRSKI)</title>

<author initials='M' surname='Pritikin' fullname='Max Pritikin'>
    <organization />
</author>

<author initials='M' surname='Richardson' fullname='Michael Richardson'>
    <organization />
</author>

<author initials='M' surname='Behringer' fullname='Michael Behringer'>
    <organization />
</author>

<author initials='S' surname='Bjarnason' fullname='Steinthor Bjarnason'>
    <organization />
</author>

<author initials='K' surname='Watsen' fullname='Kent Watsen'>
    <organization />
</author>

<date month='October' day='31' year='2016' />

<abstract><t>This document specifies automated bootstrapping of a remote secure key infrastructure (BRSKI) using vendor installed X.509 certificate, in combination with a vendor authorized service on the Internet. Bootstrapping a new device can occur using a routable address and a cloud service, or using only link-local connectivity, or on limited/ disconnected networks.  Support for lower security models, including devices with minimal identity, is described for legacy reasons but not encouraged.  Bootstrapping is complete when the cryptographic identity of the new key infrastructure is successfully deployed to the device but the established secure connection can be used to deploy a locally issued certificate to the device as well.</t></abstract>

</front>

<seriesInfo name='Internet-Draft' value='draft-ietf-anima-bootstrapping-keyinfra-04' />
<format type='TXT'
        target='http://www.ietf.org/internet-drafts/draft-ietf-anima-bootstrapping-keyinfra-04.txt' />
</reference>



<reference  anchor='RFC2818' target='http://www.rfc-editor.org/info/rfc2818'>
<front>
<title>HTTP Over TLS</title>
<author initials='E.' surname='Rescorla' fullname='E. Rescorla'><organization /></author>
<date year='2000' month='May' />
<abstract><t>This memo describes how to use Transport Layer Security (TLS) to secure Hypertext Transfer Protocol (HTTP) connections over the Internet.  This memo provides information for the Internet community.</t></abstract>
</front>
<seriesInfo name='RFC' value='2818'/>
<seriesInfo name='DOI' value='10.17487/RFC2818'/>
</reference>



<reference  anchor='RFC5905' target='http://www.rfc-editor.org/info/rfc5905'>
<front>
<title>Network Time Protocol Version 4: Protocol and Algorithms Specification</title>
<author initials='D.' surname='Mills' fullname='D. Mills'><organization /></author>
<author initials='J.' surname='Martin' fullname='J. Martin' role='editor'><organization /></author>
<author initials='J.' surname='Burbank' fullname='J. Burbank'><organization /></author>
<author initials='W.' surname='Kasch' fullname='W. Kasch'><organization /></author>
<date year='2010' month='June' />
<abstract><t>The Network Time Protocol (NTP) is widely used to synchronize computer clocks in the Internet.  This document describes NTP version 4 (NTPv4), which is backwards compatible with NTP version 3 (NTPv3), described in RFC 1305, as well as previous versions of the protocol. NTPv4 includes a modified protocol header to accommodate the Internet Protocol version 6 address family.  NTPv4 includes fundamental improvements in the mitigation and discipline algorithms that extend the potential accuracy to the tens of microseconds with modern workstations and fast LANs.  It includes a dynamic server discovery scheme, so that in many cases, specific server configuration is not required.  It corrects certain errors in the NTPv3 design and implementation and includes an optional extension mechanism.   [STANDARDS-TRACK]</t></abstract>
</front>
<seriesInfo name='RFC' value='5905'/>
<seriesInfo name='DOI' value='10.17487/RFC5905'/>
</reference>



<reference  anchor='RFC6991' target='http://www.rfc-editor.org/info/rfc6991'>
<front>
<title>Common YANG Data Types</title>
<author initials='J.' surname='Schoenwaelder' fullname='J. Schoenwaelder' role='editor'><organization /></author>
<date year='2013' month='July' />
<abstract><t>This document introduces a collection of common data types to be used with the YANG data modeling language.  This document obsoletes RFC 6021.</t></abstract>
</front>
<seriesInfo name='RFC' value='6991'/>
<seriesInfo name='DOI' value='10.17487/RFC6991'/>
</reference>



<reference  anchor='RFC2131' target='http://www.rfc-editor.org/info/rfc2131'>
<front>
<title>Dynamic Host Configuration Protocol</title>
<author initials='R.' surname='Droms' fullname='R. Droms'><organization /></author>
<date year='1997' month='March' />
<abstract><t>The Dynamic Host Configuration Protocol (DHCP) provides a framework for passing configuration information to hosts on a TCPIP network.  DHCP is based on the Bootstrap Protocol (BOOTP), adding the capability of automatic allocation of reusable network addresses and additional configuration options.  [STANDARDS-TRACK]</t></abstract>
</front>
<seriesInfo name='RFC' value='2131'/>
<seriesInfo name='DOI' value='10.17487/RFC2131'/>
</reference>



<reference  anchor='RFC3315' target='http://www.rfc-editor.org/info/rfc3315'>
<front>
<title>Dynamic Host Configuration Protocol for IPv6 (DHCPv6)</title>
<author initials='R.' surname='Droms' fullname='R. Droms' role='editor'><organization /></author>
<author initials='J.' surname='Bound' fullname='J. Bound'><organization /></author>
<author initials='B.' surname='Volz' fullname='B. Volz'><organization /></author>
<author initials='T.' surname='Lemon' fullname='T. Lemon'><organization /></author>
<author initials='C.' surname='Perkins' fullname='C. Perkins'><organization /></author>
<author initials='M.' surname='Carney' fullname='M. Carney'><organization /></author>
<date year='2003' month='July' />
</front>
<seriesInfo name='RFC' value='3315'/>
<seriesInfo name='DOI' value='10.17487/RFC3315'/>
</reference>



<reference  anchor='RFC7227' target='http://www.rfc-editor.org/info/rfc7227'>
<front>
<title>Guidelines for Creating New DHCPv6 Options</title>
<author initials='D.' surname='Hankins' fullname='D. Hankins'><organization /></author>
<author initials='T.' surname='Mrugalski' fullname='T. Mrugalski'><organization /></author>
<author initials='M.' surname='Siodelski' fullname='M. Siodelski'><organization /></author>
<author initials='S.' surname='Jiang' fullname='S. Jiang'><organization /></author>
<author initials='S.' surname='Krishnan' fullname='S. Krishnan'><organization /></author>
<date year='2014' month='May' />
<abstract><t>This document provides guidance to prospective DHCPv6 option developers to help them create option formats that are easily adoptable by existing DHCPv6 software.  It also provides guidelines for expert reviewers to evaluate new registrations.  This document updates RFC 3315.</t></abstract>
</front>
<seriesInfo name='BCP' value='187'/>
<seriesInfo name='RFC' value='7227'/>
<seriesInfo name='DOI' value='10.17487/RFC7227'/>
</reference>



<reference  anchor='RFC7610' target='http://www.rfc-editor.org/info/rfc7610'>
<front>
<title>DHCPv6-Shield: Protecting against Rogue DHCPv6 Servers</title>
<author initials='F.' surname='Gont' fullname='F. Gont'><organization /></author>
<author initials='W.' surname='Liu' fullname='W. Liu'><organization /></author>
<author initials='G.' surname='Van de Velde' fullname='G. Van de Velde'><organization /></author>
<date year='2015' month='August' />
<abstract><t>This document specifies a mechanism for protecting hosts connected to a switched network against rogue DHCPv6 servers.  It is based on DHCPv6 packet filtering at the layer 2 device at which the packets are received.  A similar mechanism has been widely deployed in IPv4 networks ('DHCP snooping'); hence, it is desirable that similar functionality be provided for IPv6 networks.  This document specifies a Best Current Practice for the implementation of DHCPv6-Shield.</t></abstract>
</front>
<seriesInfo name='BCP' value='199'/>
<seriesInfo name='RFC' value='7610'/>
<seriesInfo name='DOI' value='10.17487/RFC7610'/>
</reference>



<reference  anchor='RFC5280' target='http://www.rfc-editor.org/info/rfc5280'>
<front>
<title>Internet X.509 Public Key Infrastructure Certificate and Certificate Revocation List (CRL) Profile</title>
<author initials='D.' surname='Cooper' fullname='D. Cooper'><organization /></author>
<author initials='S.' surname='Santesson' fullname='S. Santesson'><organization /></author>
<author initials='S.' surname='Farrell' fullname='S. Farrell'><organization /></author>
<author initials='S.' surname='Boeyen' fullname='S. Boeyen'><organization /></author>
<author initials='R.' surname='Housley' fullname='R. Housley'><organization /></author>
<author initials='W.' surname='Polk' fullname='W. Polk'><organization /></author>
<date year='2008' month='May' />
<abstract><t>This memo profiles the X.509 v3 certificate and X.509 v2 certificate revocation list (CRL) for use in the Internet.  An overview of this approach and model is provided as an introduction.  The X.509 v3 certificate format is described in detail, with additional information regarding the format and semantics of Internet name forms.  Standard certificate extensions are described and two Internet-specific extensions are defined.  A set of required certificate extensions is specified.  The X.509 v2 CRL format is described in detail along with standard and Internet-specific extensions.  An algorithm for X.509 certification path validation is described.  An ASN.1 module and examples are provided in the appendices.  [STANDARDS-TRACK]</t></abstract>
</front>
<seriesInfo name='RFC' value='5280'/>
<seriesInfo name='DOI' value='10.17487/RFC5280'/>
</reference>



<reference  anchor='RFC5652' target='http://www.rfc-editor.org/info/rfc5652'>
<front>
<title>Cryptographic Message Syntax (CMS)</title>
<author initials='R.' surname='Housley' fullname='R. Housley'><organization /></author>
<date year='2009' month='September' />
<abstract><t>This document describes the Cryptographic Message Syntax (CMS).  This syntax is used to digitally sign, digest, authenticate, or encrypt arbitrary message content.  [STANDARDS-TRACK]</t></abstract>
</front>
<seriesInfo name='STD' value='70'/>
<seriesInfo name='RFC' value='5652'/>
<seriesInfo name='DOI' value='10.17487/RFC5652'/>
</reference>



<reference  anchor='RFC6092' target='http://www.rfc-editor.org/info/rfc6092'>
<front>
<title>Recommended Simple Security Capabilities in Customer Premises Equipment (CPE) for Providing Residential IPv6 Internet Service</title>
<author initials='J.' surname='Woodyatt' fullname='J. Woodyatt' role='editor'><organization /></author>
<date year='2011' month='January' />
<abstract><t>This document identifies a set of recommendations for the makers of devices and describes how to provide for &quot;simple security&quot; capabilities at the perimeter of local-area IPv6 networks in Internet-enabled homes and small offices.  This document is not  an Internet Standards Track specification; it is published for  informational purposes.</t></abstract>
</front>
<seriesInfo name='RFC' value='6092'/>
<seriesInfo name='DOI' value='10.17487/RFC6092'/>
</reference>



<reference  anchor='RFC6335' target='http://www.rfc-editor.org/info/rfc6335'>
<front>
<title>Internet Assigned Numbers Authority (IANA) Procedures for the Management of the Service Name and Transport Protocol Port Number Registry</title>
<author initials='M.' surname='Cotton' fullname='M. Cotton'><organization /></author>
<author initials='L.' surname='Eggert' fullname='L. Eggert'><organization /></author>
<author initials='J.' surname='Touch' fullname='J. Touch'><organization /></author>
<author initials='M.' surname='Westerlund' fullname='M. Westerlund'><organization /></author>
<author initials='S.' surname='Cheshire' fullname='S. Cheshire'><organization /></author>
<date year='2011' month='August' />
<abstract><t>This document defines the procedures that the Internet Assigned Numbers Authority (IANA) uses when handling assignment and other requests related to the Service Name and Transport Protocol Port Number registry.  It also discusses the rationale and principles behind these procedures and how they facilitate the long-term sustainability of the registry.</t><t>This document updates IANA's procedures by obsoleting the previous UDP and TCP port assignment procedures defined in Sections 8 and 9.1 of the IANA Allocation Guidelines, and it updates the IANA service name and port assignment procedures for UDP-Lite, the Datagram Congestion Control Protocol (DCCP), and the Stream Control Transmission Protocol (SCTP).  It also updates the DNS SRV specification to clarify what a service name is and how it is registered.  This memo documents an Internet Best Current Practice.</t></abstract>
</front>
<seriesInfo name='BCP' value='165'/>
<seriesInfo name='RFC' value='6335'/>
<seriesInfo name='DOI' value='10.17487/RFC6335'/>
</reference>


<reference anchor="IEEE8021AB" >
  <front>
    <title>IEEE Standard for Local and  Metropolitan Area Networks-- Station and Media Access Control Connectivity Discovery</title>
    <author >
      <organization>Institute for Electrical and Electronics Engineers</organization>
    </author>
    <date year="n.d."/>
  </front>
</reference>


    </references>

    <references title='Informative References'>





<reference  anchor='RFC1984' target='http://www.rfc-editor.org/info/rfc1984'>
<front>
<title>IAB and IESG Statement on Cryptographic Technology and the Internet</title>
<author><organization>IAB</organization></author>
<author><organization>IESG</organization></author>
<date year='1996' month='August' />
<abstract><t>The Internet Architecture Board (IAB) and the Internet Engineering Steering Group (IESG), the bodies which oversee architecture and standards for the Internet, are concerned by the need for increased protection of international commercial transactions on the Internet, and by the need to offer all Internet users an adequate degree of privacy. This memo provides information for the Internet community.  This memo does not specify an Internet standard of any kind.</t></abstract>
</front>
<seriesInfo name='BCP' value='200'/>
<seriesInfo name='RFC' value='1984'/>
<seriesInfo name='DOI' value='10.17487/RFC1984'/>
</reference>



<reference  anchor='RFC3339' target='http://www.rfc-editor.org/info/rfc3339'>
<front>
<title>Date and Time on the Internet: Timestamps</title>
<author initials='G.' surname='Klyne' fullname='G. Klyne'><organization /></author>
<author initials='C.' surname='Newman' fullname='C. Newman'><organization /></author>
<date year='2002' month='July' />
</front>
<seriesInfo name='RFC' value='3339'/>
<seriesInfo name='DOI' value='10.17487/RFC3339'/>
</reference>



<reference  anchor='RFC3553' target='http://www.rfc-editor.org/info/rfc3553'>
<front>
<title>An IETF URN Sub-namespace for Registered Protocol Parameters</title>
<author initials='M.' surname='Mealling' fullname='M. Mealling'><organization /></author>
<author initials='L.' surname='Masinter' fullname='L. Masinter'><organization /></author>
<author initials='T.' surname='Hardie' fullname='T. Hardie'><organization /></author>
<author initials='G.' surname='Klyne' fullname='G. Klyne'><organization /></author>
<date year='2003' month='June' />
<abstract><t>This document describes a new sub-delegation for the 'ietf' URN namespace for registered protocol items.  The 'ietf' URN namespace is defined in RFC 2648 as a root for persistent URIs that refer to IETF- defined resources.  This document specifies an Internet Best Current Practices for the Internet Community, and requests discussion and suggestions for improvements.</t></abstract>
</front>
<seriesInfo name='BCP' value='73'/>
<seriesInfo name='RFC' value='3553'/>
<seriesInfo name='DOI' value='10.17487/RFC3553'/>
</reference>



<reference  anchor='RFC6872' target='http://www.rfc-editor.org/info/rfc6872'>
<front>
<title>The Common Log Format (CLF) for the Session Initiation Protocol (SIP): Framework and Information Model</title>
<author initials='V.' surname='Gurbani' fullname='V. Gurbani' role='editor'><organization /></author>
<author initials='E.' surname='Burger' fullname='E. Burger' role='editor'><organization /></author>
<author initials='T.' surname='Anjali' fullname='T. Anjali'><organization /></author>
<author initials='H.' surname='Abdelnur' fullname='H. Abdelnur'><organization /></author>
<author initials='O.' surname='Festor' fullname='O. Festor'><organization /></author>
<date year='2013' month='February' />
<abstract><t>Well-known web servers such as Apache and web proxies like Squid support event logging using a common log format.  The logs produced using these de facto standard formats are invaluable to system administrators for troubleshooting a server and tool writers to craft tools that mine the log files and produce reports and trends. Furthermore, these log files can also be used to train anomaly detection systems and feed events into a security event management system.  The Session Initiation Protocol (SIP) does not have a common log format, and, as a result, each server supports a distinct log format that makes it unnecessarily complex to produce tools to do trend analysis and security detection.  This document describes a framework, including requirements and analysis of existing approaches, and specifies an information model for development of a SIP common log file format that can be used uniformly by user agents, proxies, registrars, and redirect servers as well as back-to-back user agents.</t></abstract>
</front>
<seriesInfo name='RFC' value='6872'/>
<seriesInfo name='DOI' value='10.17487/RFC6872'/>
</reference>



<reference  anchor='RFC7042' target='http://www.rfc-editor.org/info/rfc7042'>
<front>
<title>IANA Considerations and IETF Protocol and Documentation Usage for IEEE 802 Parameters</title>
<author initials='D.' surname='Eastlake 3rd' fullname='D. Eastlake 3rd'><organization /></author>
<author initials='J.' surname='Abley' fullname='J. Abley'><organization /></author>
<date year='2013' month='October' />
<abstract><t>Some IETF protocols make use of Ethernet frame formats and IEEE 802 parameters.  This document discusses several uses of such parameters in IETF protocols, specifies IANA considerations for assignment of points under the IANA OUI (Organizationally Unique Identifier), and provides some values for use in documentation. This document obsoletes RFC 5342.</t></abstract>
</front>
<seriesInfo name='BCP' value='141'/>
<seriesInfo name='RFC' value='7042'/>
<seriesInfo name='DOI' value='10.17487/RFC7042'/>
</reference>



<reference  anchor='RFC7452' target='http://www.rfc-editor.org/info/rfc7452'>
<front>
<title>Architectural Considerations in Smart Object Networking</title>
<author initials='H.' surname='Tschofenig' fullname='H. Tschofenig'><organization /></author>
<author initials='J.' surname='Arkko' fullname='J. Arkko'><organization /></author>
<author initials='D.' surname='Thaler' fullname='D. Thaler'><organization /></author>
<author initials='D.' surname='McPherson' fullname='D. McPherson'><organization /></author>
<date year='2015' month='March' />
<abstract><t>The term &quot;Internet of Things&quot; (IoT) denotes a trend where a large number of embedded devices employ communication services offered by Internet protocols.  Many of these devices, often called &quot;smart                    objects&quot;, are not directly operated by humans but exist as components in buildings or vehicles, or are spread out in the environment. Following the theme &quot;Everything that can be connected will be                      connected&quot;, engineers and researchers designing smart object networks need to decide how to achieve this in practice.</t><t>This document offers guidance to engineers designing Internet- connected smart objects.</t></abstract>
</front>
<seriesInfo name='RFC' value='7452'/>
<seriesInfo name='DOI' value='10.17487/RFC7452'/>
</reference>



<reference  anchor='RFC7488' target='http://www.rfc-editor.org/info/rfc7488'>
<front>
<title>Port Control Protocol (PCP) Server Selection</title>
<author initials='M.' surname='Boucadair' fullname='M. Boucadair'><organization /></author>
<author initials='R.' surname='Penno' fullname='R. Penno'><organization /></author>
<author initials='D.' surname='Wing' fullname='D. Wing'><organization /></author>
<author initials='P.' surname='Patil' fullname='P. Patil'><organization /></author>
<author initials='T.' surname='Reddy' fullname='T. Reddy'><organization /></author>
<date year='2015' month='March' />
<abstract><t>This document specifies the behavior to be followed by a Port Control Protocol (PCP) client to contact its PCP server(s) when one or several PCP server IP addresses are configured.</t><t>This document updates RFC 6887.</t></abstract>
</front>
<seriesInfo name='RFC' value='7488'/>
<seriesInfo name='DOI' value='10.17487/RFC7488'/>
</reference>



<reference anchor="ISO.8601.1988">
<front>
<title>Data elements and interchange formats - Information interchange - Representation of dates and times</title>
<author>
<organization>International Organization for Standardization</organization>
</author>
<date month="June" year="1988" />
</front>

<seriesInfo name="ISO" value="Standard 8601" />

</reference>


<reference anchor="IEEE8021AR" >
  <front>
    <title>Secure Device Identity</title>
    <author >
      <organization>Institute for Electrical and Electronics Engineers</organization>
    </author>
    <date year="1998"/>
  </front>
</reference>
<reference anchor="FW95" >
  <front>
    <title>Building Internet Firewalls</title>
    <author initials="D.B." surname="Chapman" fullname="D. Brent Chapman">
      <organization></organization>
    </author>
    <author initials="E." surname="Zwicky" fullname="Elizabeth Zwicky">
      <organization></organization>
    </author>
    <date year="1995" month="January"/>
  </front>
</reference>


    </references>


<section anchor="changes-from-earlier-versions" title="Changes from Earlier Versions">

<t>RFC Editor to remove this section prior to publication.</t>

<t>Draft -01 to -02:
 * Update IANA considerations
 * Accept Russ Housley rewrite of X.509 text
 * Include privacy considerations text
 * Redo the URL limit.  Still 255 bytes, but now stated in the URL definition.
 * Change URI registration to be under urn:ietf:params</t>

<t>Draft -00 to -01:
 * Fix cert trust text.
 * change supportInformation to meta-info
 * Add an informaitonal element in.
 * add urn registry and create first entry
 * add default elements</t>

</section>
<section anchor="defaults" title="Default MUD elements">

<t>What follows is a MUD file that permits DNS traffic to a controller
that is registered with the URN “urn:ietf:params:mud:dns” and traffic NTP to a
controller that is registered “urn:ietf:params:mud:ntp”.  This is considered
the default behavior and the ACEs are in effect appended to whatever
other ACEs.  To block DNS or NTP one repeats the matching statement but
replace “permit” with deny. Because ACEs are processed in the order
they are received, the defaults would not be reached.  A MUD
controller might further decide to optimize to simply not include the
defaults when they are overriden.</t>

<t>A complete MUD entry is included below.</t>

<figure><artwork><![CDATA[
{
  "ietf-mud:meta-info": {
    "lastUpdate": "2016-09-27T15:10:24+02:00",
    "cacheValidity": 1440
  },
  "ietf-acl:access-lists": {
    "ietf-acl:access-list": [
      {
        "acl-name": "mud-53134-v4in",
        "acl-type": "ipv4-acl",
        "ietf-mud:packet-direction": "to-device",
        "access-list-entries": {
          "ace": [
            {
              "rule-name": "entout0-in",
              "matches": {
                "ietf-mud:controller": "urn:ietf:params:mud:dns",
                "protocol": 17,
                "source-port-range": {
                  "lower-port": 53,
                  "upper-port": 53
                }
              },
              "actions": {
                "permit": [
                  null
                ]
              }
            },
            {
              "rule-name": "entout1-in",
              "matches": {
                "ietf-mud:controller": "urn:ietf:params:mud:dns",
                "protocol": 6,
                "source-port-range": {
                  "lower-port": 53,
                  "upper-port": 53
                }
              },
              "actions": {
                "permit": [
                  null
                ]
              }
            },
            {
              "rule-name": "entout2-in",
              "matches": {
                "ietf-mud:controller": "urn:ietf:params:mud:ntp",
                "protocol": 17,
                "source-port-range": {
                  "lower-port": 123,
                  "upper-port": 123
                }
              },
              "actions": {
                "permit": [
                  null
                ]
              }
            }
          ]
        }
      },
      {
        "acl-name": "mud-53134-v4out",
        "acl-type": "ipv4-acl",
        "ietf-mud:packet-direction": "from-device",
        "access-list-entries": {
          "ace": [
            {
              "rule-name": "entout0-in",
              "matches": {
                "ietf-mud:controller": "urn:ietf:params:mud:dns",
                "protocol": 17,
                "source-port-range": {
                  "lower-port": 53,
                  "upper-port": 53
                }
              },
              "actions": {
                "permit": [
                  null
                ]
              }
            },
            {
              "rule-name": "entout1-in",
              "matches": {
                "ietf-mud:controller": "urn:ietf:params:mud:dns",
                "protocol": 6,
                "source-port-range": {
                  "lower-port": 53,
                  "upper-port": 53
                }
              },
              "actions": {
                "permit": [
                  null
                ]
              }
            },
            {
              "rule-name": "entout2-in",
              "matches": {
                "ietf-mud:controller": "urn:ietf:params:mud:ntp",
                "protocol": 17,
                "source-port-range": {
                  "lower-port": 123,
                  "upper-port": 123
                }
              },
              "actions": {
                "permit": [
                  null
                ]
              }
            }
          ]
        }
      },
      {
        "acl-name": "mud-53134-v6in",
        "acl-type": "ipv6-acl",
        "ietf-mud:packet-direction": "to-device",
        "access-list-entries": {
          "ace": [
            {
              "rule-name": "entout0-in",
              "matches": {
                "ietf-mud:controller": "urn:ietf:params:mud:dns",
                "protocol": 17,
                "source-port-range": {
                  "lower-port": 53,
                  "upper-port": 53
                }
              },
              "actions": {
                "permit": [
                  null
                ]
              }
            },
            {
              "rule-name": "entout1-in",
              "matches": {
                "ietf-mud:controller": "urn:params:mud:dns",
                "protocol": 6,
                "source-port-range": {
                  "lower-port": 53,
                  "upper-port": 53
                }
              },
              "actions": {
                "permit": [
                  null
                ]
              }
            },
            {
              "rule-name": "entout2-in",
              "matches": {
                "ietf-mud:controller": "urn:ietf:params:mud:ntp",
                "protocol": 17,
                "source-port-range": {
                  "lower-port": 123,
                  "upper-port": 123
                }
              },
              "actions": {
                "permit": [
                  null
                ]
              }
            }
          ]
        }
      },
      {
        "acl-name": "mud-53134-v6out",
        "acl-type": "ipv6-acl",
        "ietf-mud:packet-direction": "from-device",
        "access-list-entries": {
          "ace": [
            {
              "rule-name": "entout0-in",
              "matches": {
                "ietf-mud:controller": "urn:ietf:params:mud:dns",
                "protocol": 17,
                "source-port-range": {
                  "lower-port": 53,
                  "upper-port": 53
                }
              },
              "actions": {
                "permit": [
                  null
                ]
              }
            },
            {
              "rule-name": "entout1-in",
              "matches": {
                "ietf-mud:controller": "urn:ietf:params:mud:dns",
                "protocol": 6,
                "source-port-range": {
                  "lower-port": 53,
                  "upper-port": 53
                }
              },
              "actions": {
                "permit": [
                  null
                ]
              }
            },
            {
              "rule-name": "entout2-in",
              "matches": {
                "ietf-mud:controller": "urn:ietf:params:mud:ntp",
                "protocol": 17,
                "source-port-range": {
                  "lower-port": 123,
                  "upper-port": 123
                }
              },
              "actions": {
                "permit": [
                  null
                ]
              }
            }
          ]
        }
      }
    ]
  }
}
]]></artwork></figure>

</section>


  </back>
</rfc>

