<?xml version='1.0' encoding='utf-8'?>
<rfc xmlns:xi="http://www.w3.org/2001/XInclude" version="3" category="std" consensus="true" docName="draft-ietf-capport-rfc7710bis-10" indexInclude="true" ipr="trust200902" number="8910" obsoletes="7710" prepTime="2020-09-21T20:47:07" scripts="Common,Latin" sortRefs="true" submissionType="IETF" symRefs="true" tocDepth="3" tocInclude="true" updates="3679" xml:lang="en">
  <link href="https://datatracker.ietf.org/doc/draft-ietf-capport-rfc7710bis-10" rel="prev"/>
  <link href="https://dx.doi.org/10.17487/rfc8910" rel="alternate"/>
  <link href="urn:issn:2070-1721" rel="alternate"/>
  <front>
    <title abbrev="DHCP Captive-Portal">Captive-Portal Identification in DHCP and Router Advertisements (RAs)</title>
    <seriesInfo name="RFC" value="8910" stream="IETF"/>
    <author fullname="Warren Kumari" initials="W." surname="Kumari">
      <organization showOnFrontPage="true">Google</organization>
      <address>
        <postal>
          <street>1600 Amphitheatre Parkway</street>
          <city>Mountain View</city>
          <region>CA</region>
          <code>94043</code>
          <country>United States of America</country>
        </postal>
        <email>warren@kumari.net</email>
      </address>
    </author>
    <author fullname="Erik Kline" initials="E." surname="Kline">
      <organization showOnFrontPage="true">Loon</organization>
      <address>
        <postal>
          <street>1600 Amphitheatre Parkway</street>
          <city>Mountain View</city>
          <region>CA</region>
          <code>94043</code>
          <country>United States of America</country>
        </postal>
        <phone/>
        <email>ek@loon.com</email>
      </address>
    </author>
    <date month="09" year="2020"/>
    <workgroup>Captive Portal Interaction</workgroup>
    <keyword>Captive Portal</keyword>
    <keyword>Walled Garden</keyword>
    <keyword>Coffee-shop</keyword>
    <keyword>Hotel</keyword>
    <abstract pn="section-abstract">
      <t indent="0" pn="section-abstract-1">In many environments offering short-term or temporary Internet access
      (such as coffee shops), it is common to start new connections in a
      captive portal mode. This highly restricts what the user can do
      until the user has satisfied the captive portal conditions.</t>
      <t indent="0" pn="section-abstract-2">This document describes a DHCPv4 and DHCPv6 option and a Router Advertisement
      (RA) option to inform clients that they are behind some sort of
      captive portal enforcement device, and that they will need to satisfy the
      Captive Portal conditions to get
      Internet access. It is not a full solution to address all of the issues
      that clients may have with captive portals; it is designed to be one
      component of a standardized approach for hosts to interact with such
      portals. While this document defines how the network operator may convey
      the captive portal API endpoint to hosts, the specific methods of
      satisfying and interacting with the captive portal are out of
      scope of this document.</t>
      <t indent="0" pn="section-abstract-3">This document replaces RFC 7710, which used DHCP code point 160.
      Due to a conflict, this document specifies 114.  Consequently, this
      document also updates RFC 3679.</t>
    </abstract>
    <boilerplate>
      <section anchor="status-of-memo" numbered="false" removeInRFC="false" toc="exclude" pn="section-boilerplate.1">
        <name slugifiedName="name-status-of-this-memo">Status of This Memo</name>
        <t indent="0" pn="section-boilerplate.1-1">
            This is an Internet Standards Track document.
        </t>
        <t indent="0" pn="section-boilerplate.1-2">
            This document is a product of the Internet Engineering Task Force
            (IETF).  It represents the consensus of the IETF community.  It has
            received public review and has been approved for publication by
            the Internet Engineering Steering Group (IESG).  Further
            information on Internet Standards is available in Section 2 of 
            RFC 7841.
        </t>
        <t indent="0" pn="section-boilerplate.1-3">
            Information about the current status of this document, any
            errata, and how to provide feedback on it may be obtained at
            <eref target="https://www.rfc-editor.org/info/rfc8910" brackets="none"/>.
        </t>
      </section>
      <section anchor="copyright" numbered="false" removeInRFC="false" toc="exclude" pn="section-boilerplate.2">
        <name slugifiedName="name-copyright-notice">Copyright Notice</name>
        <t indent="0" pn="section-boilerplate.2-1">
            Copyright (c) 2020 IETF Trust and the persons identified as the
            document authors. All rights reserved.
        </t>
        <t indent="0" pn="section-boilerplate.2-2">
            This document is subject to BCP 78 and the IETF Trust's Legal
            Provisions Relating to IETF Documents
            (<eref target="https://trustee.ietf.org/license-info" brackets="none"/>) in effect on the date of
            publication of this document. Please review these documents
            carefully, as they describe your rights and restrictions with
            respect to this document. Code Components extracted from this
            document must include Simplified BSD License text as described in
            Section 4.e of the Trust Legal Provisions and are provided without
            warranty as described in the Simplified BSD License.
        </t>
      </section>
    </boilerplate>
    <toc>
      <section anchor="toc" numbered="false" removeInRFC="false" toc="exclude" pn="section-toc.1">
        <name slugifiedName="name-table-of-contents">Table of Contents</name>
        <ul bare="true" empty="true" indent="2" spacing="compact" pn="section-toc.1-1">
          <li pn="section-toc.1-1.1">
            <t indent="0" keepWithNext="true" pn="section-toc.1-1.1.1"><xref derivedContent="1" format="counter" sectionFormat="of" target="section-1"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-introduction">Introduction</xref></t>
            <ul bare="true" empty="true" indent="2" spacing="compact" pn="section-toc.1-1.1.2">
              <li pn="section-toc.1-1.1.2.1">
                <t indent="0" keepWithNext="true" pn="section-toc.1-1.1.2.1.1"><xref derivedContent="1.1" format="counter" sectionFormat="of" target="section-1.1"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-requirements-notation">Requirements Notation</xref></t>
              </li>
            </ul>
          </li>
          <li pn="section-toc.1-1.2">
            <t indent="0" pn="section-toc.1-1.2.1"><xref derivedContent="2" format="counter" sectionFormat="of" target="section-2"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-the-captive-portal-option">The Captive-Portal Option</xref></t>
            <ul bare="true" empty="true" indent="2" spacing="compact" pn="section-toc.1-1.2.2">
              <li pn="section-toc.1-1.2.2.1">
                <t indent="0" keepWithNext="true" pn="section-toc.1-1.2.2.1.1"><xref derivedContent="2.1" format="counter" sectionFormat="of" target="section-2.1"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-ipv4-dhcp-option">IPv4 DHCP Option</xref></t>
              </li>
              <li pn="section-toc.1-1.2.2.2">
                <t indent="0" pn="section-toc.1-1.2.2.2.1"><xref derivedContent="2.2" format="counter" sectionFormat="of" target="section-2.2"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-ipv6-dhcp-option">IPv6 DHCP Option</xref></t>
              </li>
              <li pn="section-toc.1-1.2.2.3">
                <t indent="0" pn="section-toc.1-1.2.2.3.1"><xref derivedContent="2.3" format="counter" sectionFormat="of" target="section-2.3"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-the-captive-portal-ipv6-ra-">The Captive-Portal IPv6 RA Option</xref></t>
              </li>
            </ul>
          </li>
          <li pn="section-toc.1-1.3">
            <t indent="0" pn="section-toc.1-1.3.1"><xref derivedContent="3" format="counter" sectionFormat="of" target="section-3"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-precedence-of-api-uris">Precedence of API URIs</xref></t>
          </li>
          <li pn="section-toc.1-1.4">
            <t indent="0" pn="section-toc.1-1.4.1"><xref derivedContent="4" format="counter" sectionFormat="of" target="section-4"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-iana-considerations">IANA Considerations</xref></t>
            <ul bare="true" empty="true" indent="2" spacing="compact" pn="section-toc.1-1.4.2">
              <li pn="section-toc.1-1.4.2.1">
                <t indent="0" pn="section-toc.1-1.4.2.1.1"><xref derivedContent="4.1" format="counter" sectionFormat="of" target="section-4.1"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-captive-portal-unrestricted">Captive Portal Unrestricted Identifier</xref></t>
              </li>
              <li pn="section-toc.1-1.4.2.2">
                <t indent="0" pn="section-toc.1-1.4.2.2.1"><xref derivedContent="4.2" format="counter" sectionFormat="of" target="section-4.2"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-bootp-vendor-extensions-and">BOOTP Vendor Extensions and DHCP Options Code Change</xref></t>
              </li>
              <li pn="section-toc.1-1.4.2.3">
                <t indent="0" pn="section-toc.1-1.4.2.3.1"><xref derivedContent="4.3" format="counter" sectionFormat="of" target="section-4.3"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-update-dhcpv6-and-ipv6-nd-o">Update DHCPv6 and IPv6 ND Options Registries</xref></t>
              </li>
            </ul>
          </li>
          <li pn="section-toc.1-1.5">
            <t indent="0" pn="section-toc.1-1.5.1"><xref derivedContent="5" format="counter" sectionFormat="of" target="section-5"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-security-considerations">Security Considerations</xref></t>
          </li>
          <li pn="section-toc.1-1.6">
            <t indent="0" pn="section-toc.1-1.6.1"><xref derivedContent="6" format="counter" sectionFormat="of" target="section-6"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-references">References</xref></t>
            <ul bare="true" empty="true" indent="2" spacing="compact" pn="section-toc.1-1.6.2">
              <li pn="section-toc.1-1.6.2.1">
                <t indent="0" pn="section-toc.1-1.6.2.1.1"><xref derivedContent="6.1" format="counter" sectionFormat="of" target="section-6.1"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-normative-references">Normative References</xref></t>
              </li>
              <li pn="section-toc.1-1.6.2.2">
                <t indent="0" pn="section-toc.1-1.6.2.2.1"><xref derivedContent="6.2" format="counter" sectionFormat="of" target="section-6.2"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-informative-references">Informative References</xref></t>
              </li>
            </ul>
          </li>
          <li pn="section-toc.1-1.7">
            <t indent="0" pn="section-toc.1-1.7.1"><xref derivedContent="Appendix A" format="default" sectionFormat="of" target="section-appendix.a"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-changes-from-rfc-7710">Changes from RFC 7710</xref></t>
          </li>
          <li pn="section-toc.1-1.8">
            <t indent="0" pn="section-toc.1-1.8.1"><xref derivedContent="Appendix B" format="default" sectionFormat="of" target="section-appendix.b"/>.  <xref derivedContent="" format="title" sectionFormat="of" target="name-observations-from-ietf-106-">Observations from IETF 106 Network Experiment</xref></t>
          </li>
          <li pn="section-toc.1-1.9">
            <t indent="0" pn="section-toc.1-1.9.1"><xref derivedContent="" format="none" sectionFormat="of" target="section-appendix.c"/><xref derivedContent="" format="title" sectionFormat="of" target="name-acknowledgements">Acknowledgements</xref></t>
          </li>
          <li pn="section-toc.1-1.10">
            <t indent="0" pn="section-toc.1-1.10.1"><xref derivedContent="" format="none" sectionFormat="of" target="section-appendix.d"/><xref derivedContent="" format="title" sectionFormat="of" target="name-authors-addresses">Authors' Addresses</xref></t>
          </li>
        </ul>
      </section>
    </toc>
  </front>
  <middle>
    <section numbered="true" toc="include" removeInRFC="false" pn="section-1">
      <name slugifiedName="name-introduction">Introduction</name>
      <t indent="0" pn="section-1-1">In many environments, users need to connect to a captive portal
      device and agree to an Acceptable Use Policy (AUP) and/or provide
      billing information before they can access the Internet. Regardless of
      how that mechanism operates, this document provides functionality
      to allow the client to know when it is
      behind a captive portal and how to contact it.</t>
      <t indent="0" pn="section-1-2">In order to present users with the payment or AUP pages, a captive
      portal enforcement device presently has to intercept the user's connections and
      redirect the user to a captive portal server, using methods that are
      very similar to man-in-the-middle (MITM) attacks. As increasing focus is
      placed on security, and end nodes adopt a more secure stance, these
      interception techniques will become less effective and/or more
      intrusive.</t>
      <t indent="0" pn="section-1-3">This document describes a DHCPv4 <xref target="RFC2131" format="default" sectionFormat="of" derivedContent="RFC2131"/> and DHCPv6
      <xref target="RFC8415" format="default" sectionFormat="of" derivedContent="RFC8415"/> option (Captive-Portal) and an IPv6
      Router Advertisement (RA) <xref target="RFC4861" format="default" sectionFormat="of" derivedContent="RFC4861"/> option that informs
      clients that they are behind a captive portal enforcement device and
      the API endpoint that the host can contact for more information.</t>
      <t indent="0" pn="section-1-4">This document replaces RFC 7710 <xref target="RFC7710" format="default" sectionFormat="of" derivedContent="RFC7710"/>, which used DHCP code point 160. Due to a conflict,
      this document specifies 114.  Consequently, this document also updates
      <xref target="RFC3679" format="default" sectionFormat="of" derivedContent="RFC3679"/>.</t>
      <section numbered="true" toc="include" removeInRFC="false" pn="section-1.1">
        <name slugifiedName="name-requirements-notation">Requirements Notation</name>
        <t indent="0" pn="section-1.1-1">
    The key words "<bcp14>MUST</bcp14>", "<bcp14>MUST NOT</bcp14>", "<bcp14>REQUIRED</bcp14>", "<bcp14>SHALL</bcp14>", "<bcp14>SHALL NOT</bcp14>", "<bcp14>SHOULD</bcp14>", "<bcp14>SHOULD NOT</bcp14>", "<bcp14>RECOMMENDED</bcp14>", "<bcp14>NOT RECOMMENDED</bcp14>",
    "<bcp14>MAY</bcp14>", and "<bcp14>OPTIONAL</bcp14>" in this document are to be interpreted as
    described in BCP 14 <xref target="RFC2119" format="default" sectionFormat="of" derivedContent="RFC2119"/> <xref target="RFC8174" format="default" sectionFormat="of" derivedContent="RFC8174"/> 
    when, and only when, they appear in all capitals, as shown here.
        </t>
      </section>
    </section>
    <section anchor="option" numbered="true" toc="include" removeInRFC="false" pn="section-2">
      <name slugifiedName="name-the-captive-portal-option">The Captive-Portal Option</name>
      <t indent="0" pn="section-2-1">The Captive-Portal DHCP/RA Option informs the client that it may be
      behind a captive portal and provides the URI to access an API as defined
      by <xref target="RFC8908" format="default" sectionFormat="of" derivedContent="RFC8908"/>. This is primarily intended to improve the
      user experience by showing the user the captive portal information faster and more
      reliably. Note that, for the foreseeable future, captive portals will
      still need to implement interception techniques to serve legacy
      clients, and clients will need to perform probing to detect captive
      portals; nonetheless, the mechanism provided by this document provides
      a more reliable and performant way to do so, and is therefore the preferred
      mechanism for captive portal detection.</t>
      <t indent="0" pn="section-2-2">Clients that support the Captive Portal DHCP option <bcp14>SHOULD</bcp14> include the
      option in the Parameter Request List in DHCPREQUEST messages. DHCP servers
      <bcp14>MAY</bcp14> send the Captive Portal option without any explicit request.</t>
      <t indent="0" pn="section-2-3">In order to support multiple "classes" of clients (e.g., IPv4 only,
      IPv6 only with DHCPv6 (<xref target="RFC8415" format="default" sectionFormat="of" derivedContent="RFC8415"/>), and
      IPv6 only with RA), the captive network can provision the client with the
      URI via multiple methods (IPv4 DHCP, IPv6 DHCP, and IPv6 RA). The
      captive portal operator <bcp14>SHOULD</bcp14> ensure that the URIs
      provisioned by each method are identical to reduce the chance of
      operational problems.  As the maximum length of the URI that can be
      carried in IPv4 DHCP is 255 bytes, URIs longer than this <bcp14>SHOULD NOT</bcp14> be provisioned by any of the IPv6 options described in this
      document.  In IPv6-only environments, this restriction can be
      relaxed.</t>
      <t indent="0" pn="section-2-4">In all variants of this option, the URI <bcp14>MUST</bcp14> be that of the captive
      portal API endpoint (<xref target="RFC8908" format="default" sectionFormat="of" derivedContent="RFC8908"/>).
      </t>
      <t indent="0" pn="section-2-5">A captive portal <bcp14>MAY</bcp14> do content negotiation (<xref target="RFC7231" sectionFormat="of" section="3.4" format="default" derivedLink="https://rfc-editor.org/rfc/rfc7231#section-3.4" derivedContent="RFC7231"/>) and attempt to
      redirect clients querying without an explicit indication of support for
      the captive portal API content type (i.e., without
      application/capport+json listed explicitly anywhere within an Accept
      header field as described in <xref target="RFC7231" sectionFormat="of" section="5.3" format="default" derivedLink="https://rfc-editor.org/rfc/rfc7231#section-5.3" derivedContent="RFC7231"/>). In so doing, the captive portal <bcp14>SHOULD</bcp14>
      redirect the client to the value associated with the "user-portal-url"
      API key. When performing such content negotiation (<xref target="RFC7231" sectionFormat="of" section="3.4" format="default" derivedLink="https://rfc-editor.org/rfc/rfc7231#section-3.4" derivedContent="RFC7231"/>), implementors of
      captive portals need to keep in mind that such responses might be
      cached, and therefore <bcp14>SHOULD</bcp14> include an appropriate Vary
      header field (<xref target="RFC7231" sectionFormat="of" section="7.1.4" format="default" derivedLink="https://rfc-editor.org/rfc/rfc7231#section-7.1.4" derivedContent="RFC7231"/>) or set the Cache-Control header field in any
      responses to "private" or a more restrictive value such as "no-store"
      (<xref target="RFC7234" sectionFormat="of" section="5.2.2.3" format="default" derivedLink="https://rfc-editor.org/rfc/rfc7234#section-5.2.2.3" derivedContent="RFC7234"/>).
      </t>
      <t indent="0" pn="section-2-6">The URI <bcp14>SHOULD NOT</bcp14> contain an IP address literal. Exceptions to this
      might include networks with only one operational IP address family where
      DNS is either not available or not fully functional until the captive
      portal has been satisfied. Use of IP Address certificates (<xref target="RFC3779" format="default" sectionFormat="of" derivedContent="RFC3779"/>)
      adds considerations that are out of scope for this document.</t>
      <t indent="0" pn="section-2-7">Networks with no captive portals may explicitly indicate this
      condition by using this option with the IANA-assigned URI for this
      purpose. Clients observing the URI value
      "urn:ietf:params:capport:unrestricted" may forego time-consuming forms of
      captive portal detection.</t>
      <section anchor="dhcpv4opt" numbered="true" toc="include" removeInRFC="false" pn="section-2.1">
        <name slugifiedName="name-ipv4-dhcp-option">IPv4 DHCP Option</name>
        <t indent="0" pn="section-2.1-1">The format of the IPv4 Captive-Portal DHCP option is shown
        below.</t>
        <figure align="left" suppress-title="false" pn="figure-1">
          <name slugifiedName="name-captive-portal-dhcpv4-optio">Captive-Portal DHCPv4 Option Format</name>
          <artwork name="" type="" align="left" alt="" pn="section-2.1-2.1">
    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
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   | Code          | Len           | URI (variable length) ...     |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   .                   ...URI continued...                         .
   |                              ...                              |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
</artwork>
        </figure>
        <ul empty="true" bare="false" indent="3" spacing="normal" pn="section-2.1-3">
          <li pn="section-2.1-3.1">
            <dl indent="3" newline="false" spacing="normal" pn="section-2.1-3.1.1">
              <dt pn="section-2.1-3.1.1.1">Code:
</dt>
              <dd pn="section-2.1-3.1.1.2">The Captive-Portal DHCPv4 Option (114) (one octet).
</dd>
              <dt pn="section-2.1-3.1.1.3">Len:
</dt>
              <dd pn="section-2.1-3.1.1.4">The length (one octet), in octets, of the URI.
</dd>
              <dt pn="section-2.1-3.1.1.5">URI:
</dt>
              <dd pn="section-2.1-3.1.1.6">The URI for the captive portal API endpoint to which the                             
            user should connect (encoded following the rules in <xref target="RFC3986" format="default" sectionFormat="of" derivedContent="RFC3986"/>).
</dd>
            </dl>
          </li>
        </ul>
        <t indent="0" pn="section-2.1-4">See <xref target="RFC2132" sectionFormat="of" section="2" format="default" derivedLink="https://rfc-editor.org/rfc/rfc2132#section-2" derivedContent="RFC2132"/> for more on the format
          of IPv4 DHCP options.</t>
        <t indent="0" pn="section-2.1-5">Note that the URI parameter is not null terminated.</t>
      </section>
      <section anchor="dhcpv6opt" numbered="true" toc="include" removeInRFC="false" pn="section-2.2">
        <name slugifiedName="name-ipv6-dhcp-option">IPv6 DHCP Option</name>
        <t indent="0" pn="section-2.2-1">The format of the IPv6 Captive-Portal DHCP option is shown below.
        </t>
        <figure align="left" suppress-title="false" pn="figure-2">
          <name slugifiedName="name-captive-portal-dhcpv6-optio">Captive-Portal DHCPv6 Option Format</name>
          <artwork name="" type="" align="left" alt="" pn="section-2.2-2.1">
    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-code          |          option-len           |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   .                      URI (variable length)                    .
   |                              ...                              |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
</artwork>
        </figure>
        <ul empty="true" bare="false" indent="3" spacing="normal" pn="section-2.2-3">
          <li pn="section-2.2-3.1">
            <dl indent="3" newline="false" spacing="normal" pn="section-2.2-3.1.1">
              <dt pn="section-2.2-3.1.1.1">option-code:
</dt>
              <dd pn="section-2.2-3.1.1.2">The Captive-Portal DHCPv6 Option (103) (two octets).
</dd>
              <dt pn="section-2.2-3.1.1.3">option-len:
</dt>
              <dd pn="section-2.2-3.1.1.4">The unsigned 16-bit length, in octets, of the URI.
</dd>
              <dt pn="section-2.2-3.1.1.5">URI:
</dt>
              <dd pn="section-2.2-3.1.1.6">The URI for the captive portal API endpoint to which the user should
connect (encoded following the rules in <xref target="RFC3986" format="default" sectionFormat="of" derivedContent="RFC3986"/>).
</dd>
            </dl>
          </li>
        </ul>
        <t indent="0" pn="section-2.2-4">See <xref target="RFC7227" sectionFormat="of" section="5.7" format="default" derivedLink="https://rfc-editor.org/rfc/rfc7227#section-5.7" derivedContent="RFC7227"/> for
        more examples of DHCP Options with URIs. See <xref target="RFC8415" sectionFormat="of" section="21.1" format="default" derivedLink="https://rfc-editor.org/rfc/rfc8415#section-21.1" derivedContent="RFC8415"/> for more on the format of IPv6
        DHCP options.</t>
        <t indent="0" pn="section-2.2-5">Note that the URI parameter is not null terminated.</t>
        <t indent="0" pn="section-2.2-6">As the maximum length of the URI that can be carried in IPv4 DHCP is
        255 bytes, URIs longer than this <bcp14>SHOULD NOT</bcp14> be provisioned via
        IPv6 DHCP options.</t>
      </section>
      <section anchor="v6ndopt" numbered="true" toc="include" removeInRFC="false" pn="section-2.3">
        <name slugifiedName="name-the-captive-portal-ipv6-ra-">The Captive-Portal IPv6 RA Option</name>
        <t indent="0" pn="section-2.3-1">This section describes the Captive-Portal Router Advertisement
        option.</t>
        <figure align="left" suppress-title="false" pn="figure-3">
          <name slugifiedName="name-captive-portal-ra-option-fo">Captive-Portal RA Option Format</name>
          <artwork name="" type="" align="left" alt="" pn="section-2.3-2.1">
    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
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |     Type      |     Length    |              URI              .
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+                               .
   .                                                               .
   .                                                               .
   .                                                               .
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
</artwork>
        </figure>
        <ul empty="true" bare="false" indent="3" spacing="normal" pn="section-2.3-3">
          <li pn="section-2.3-3.1">
            <dl newline="false" spacing="normal" indent="3" pn="section-2.3-3.1.1">
              <dt pn="section-2.3-3.1.1.1">Type:</dt>
              <dd pn="section-2.3-3.1.1.2">37</dd>
              <dt pn="section-2.3-3.1.1.3">Length:</dt>
              <dd pn="section-2.3-3.1.1.4">8-bit unsigned integer. The length of the
            option (including the Type and Length fields) in units of 8
            bytes.</dd>
              <dt pn="section-2.3-3.1.1.5">URI:</dt>
              <dd pn="section-2.3-3.1.1.6">The URI for the captive portal API endpoint to
            which the user should connect. This <bcp14>MUST</bcp14> be padded with NUL
            (0x00) to make the total option length (including the Type and
            Length fields) a multiple of 8 bytes.</dd>
            </dl>
          </li>
        </ul>
        <t indent="0" pn="section-2.3-4">Note that the URI parameter is not guaranteed to be null terminated.</t>
        <t indent="0" pn="section-2.3-5">As the maximum length of the URI that can be carried in IPv4 DHCP is
        255 bytes, URIs longer than this <bcp14>SHOULD NOT</bcp14> be provisioned via
        IPv6 RA options.</t>
      </section>
    </section>
    <section anchor="precedence" numbered="true" toc="include" removeInRFC="false" pn="section-3">
      <name slugifiedName="name-precedence-of-api-uris">Precedence of API URIs</name>
      <t indent="0" pn="section-3-1">A device may learn about Captive Portal API URIs through more than
      one of (or indeed all of) the above options. Implementations can select
      their own precedence order (e.g., prefer one of the IPv6 options before
      the DHCPv4 option, or vice versa, et cetera).</t>
      <t indent="0" pn="section-3-2">If the URIs learned via more than one option described in <xref target="option" format="default" sectionFormat="of" derivedContent="Section 2"/> are not all identical, this condition should be logged
      for the device owner or administrator; it is a network configuration error
      if the learned URIs are not all identical.</t>
    </section>
    <section anchor="iana" numbered="true" toc="include" removeInRFC="false" pn="section-4">
      <name slugifiedName="name-iana-considerations">IANA Considerations</name>
      <t indent="0" pn="section-4-1">IANA has registered a new IETF URN protocol parameter (<xref target="RFC3553" format="default" sectionFormat="of" derivedContent="RFC3553"/>). IANA has also reallocated two
      DHCPv4 option codes (see <xref target="exp106" format="default" sectionFormat="of" derivedContent="Appendix B"/> for
      background) and updated the references for previously registered DHCPv6
      and IPv6 ND options.</t>
      <section anchor="iana-urn" numbered="true" toc="include" removeInRFC="false" pn="section-4.1">
        <name slugifiedName="name-captive-portal-unrestricted">Captive Portal Unrestricted Identifier</name>
        <t indent="0" pn="section-4.1-1">IANA has registered a new entry in the "IETF URN Sub-namespace
	for Registered Protocol Parameter Identifiers" registry defined in 
        <xref target="RFC3553" format="default" sectionFormat="of" derivedContent="RFC3553"/>:</t>
        <dl newline="false" spacing="compact" indent="3" pn="section-4.1-2">
          <dt pn="section-4.1-2.1">Registered Parameter Identifier:</dt>
          <dd pn="section-4.1-2.2">capport:unrestricted</dd>
          <dt pn="section-4.1-2.3">Reference:</dt>
          <dd pn="section-4.1-2.4">RFC 8910</dd>
          <dt pn="section-4.1-2.5">IANA Registry Reference:</dt>
          <dd pn="section-4.1-2.6">RFC 8910</dd>
        </dl>
        <t indent="0" pn="section-4.1-3">Only one value is defined (see URN above). No hierarchy is defined
        and, therefore, no sub-namespace registrations are possible.</t>
      </section>
      <section anchor="ietf_dhcpv4_option_code_change" numbered="true" toc="include" removeInRFC="false" pn="section-4.2">
        <name slugifiedName="name-bootp-vendor-extensions-and">BOOTP Vendor Extensions and DHCP Options Code Change</name>
        <t indent="0" pn="section-4.2-1">IANA has updated the "BOOTP Vendor Extensions and DHCP
        Options" registry (<eref target="https://www.iana.org/assignments/bootp-dhcp-parameters" brackets="none"/>)
	as follows.</t>
        <dl spacing="compact" indent="3" newline="false" pn="section-4.2-2">
          <dt pn="section-4.2-2.1">Tag:</dt>
          <dd pn="section-4.2-2.2">114</dd>
          <dt pn="section-4.2-2.3">Name:</dt>
          <dd pn="section-4.2-2.4">DHCP Captive-Portal</dd>
          <dt pn="section-4.2-2.5">Data Length:</dt>
          <dd pn="section-4.2-2.6">N</dd>
          <dt pn="section-4.2-2.7">Meaning:</dt>
          <dd pn="section-4.2-2.8">DHCP Captive-Portal</dd>
          <dt pn="section-4.2-2.9">Reference:</dt>
          <dd pn="section-4.2-2.10">RFC 8910</dd>
        </dl>
        <dl spacing="compact" indent="3" newline="false" pn="section-4.2-3">
          <dt pn="section-4.2-3.1">Tag:</dt>
          <dd pn="section-4.2-3.2">160</dd>
          <dt pn="section-4.2-3.3">Name:</dt>
          <dd pn="section-4.2-3.4">Unassigned</dd>
          <dt pn="section-4.2-3.5">Data Length:</dt>
          <dd pn="section-4.2-3.6"/>
          <dt pn="section-4.2-3.7">Meaning:</dt>
          <dd pn="section-4.2-3.8">Previously assigned by <xref target="RFC7710" format="default" sectionFormat="of" derivedContent="RFC7710"/>; known to also be used by Polycom.</dd>
          <dt pn="section-4.2-3.9">Reference:</dt>
          <dd pn="section-4.2-3.10">
            <xref target="RFC7710" format="default" sectionFormat="of" derivedContent="RFC7710"/> RFC 8910</dd>
        </dl>
      </section>
      <section anchor="iana_update_dhcv6_and_icmpv6" numbered="true" toc="include" removeInRFC="false" pn="section-4.3">
        <name slugifiedName="name-update-dhcpv6-and-ipv6-nd-o">Update DHCPv6 and IPv6 ND Options Registries</name>
        <t indent="0" pn="section-4.3-1">IANA has updated the DHCPv6 (103 - DHCP Captive-Portal) and IPv6 ND
	(37 - DHCP Captive-Portal) options previously
        registered in <xref target="RFC7710" format="default" sectionFormat="of" derivedContent="RFC7710"/> to reference this
        document.</t>
      </section>
    </section>
    <section anchor="security" numbered="true" toc="include" removeInRFC="false" pn="section-5">
      <name slugifiedName="name-security-considerations">Security Considerations</name>
      <t indent="0" pn="section-5-1">By removing or reducing the need for captive portals to perform
      MITM hijacking, this mechanism improves security by
      making the portal and its actions visible, rather than hidden, and
      reduces the likelihood that users will disable useful security
      safeguards like DNSSEC validation, VPNs, etc. in order to interact with
      the captive portal.  In addition, because the system knows that it is
      behind a captive portal, it can know not to send cookies, credentials,
      etc.  By handing out a URI that is protected with TLS, the captive
      portal operator can attempt to reassure the user that the captive portal
      is not malicious.</t>
      <t indent="0" pn="section-5-2">Clients processing these options <bcp14>SHOULD</bcp14> validate that the option's
      contents conform to the validation requirements for URIs, including
      those described in 
      <xref target="RFC3986" format="default" sectionFormat="of" derivedContent="RFC3986"/>.</t>
      <t indent="0" pn="section-5-3">Each of the options described in this document is presented to a
      node using the same protocols used to provision other information
      critical to the node's successful configuration on a network. The
      security considerations applicable to each of these provisioning
      mechanisms also apply when the node is attempting to learn the
      information conveyed in these options. In the absence of security
      measures like RA-Guard (<xref target="RFC6105" format="default" sectionFormat="of" derivedContent="RFC6105"/>, <xref target="RFC7113" format="default" sectionFormat="of" derivedContent="RFC7113"/>) or DHCPv6-Shield <xref target="RFC7610" format="default" sectionFormat="of" derivedContent="RFC7610"/>, an attacker could inject, modify,
      or block DHCP messages or RAs.</t>
      <t indent="0" pn="section-5-4">An attacker with the ability to inject DHCP messages or RAs
      could include an option from this document to force users to contact
      an address of the attacker's choosing. An attacker with this capability could
      simply list themselves as the default gateway (and so intercept all the
      victim's traffic); this does not provide them with significantly more
      capabilities, but because this document removes the need for
      interception, the attacker may have an easier time performing the
      attack.</t>
      <t indent="0" pn="section-5-5">However, as the operating systems and application(s) that make use of
      this information know that they are connecting to a captive portal
      device (as opposed to intercepted connections where the OS/application
      may not know that they are connecting to a captive portal or hostile
      device), they can render the page in a sandboxed environment and take
      other precautions such as clearly labeling the page as untrusted. The
      means of sandboxing and a user interface presenting this information is
      not covered in this document; by its nature, it is implementation
      specific and best left to the application and user interface
      designers.</t>
      <t indent="0" pn="section-5-6">Devices and systems that automatically connect to an open network
      could potentially be tracked using the techniques described in this
      document (forcing the user to continually resatisfy the Captive Portal
      conditions or exposing their browser fingerprint). However,
      similar tracking can already be performed with the presently common
      captive portal mechanisms, so this technique does not give the attackers
      more capabilities.</t>
      <t indent="0" pn="section-5-7">Captive portals are increasingly hijacking TLS connections to force
      browsers to talk to the portal. Providing the portal's URI via a DHCP or
      RA option is a cleaner technique, and reduces user expectations of being
      hijacked; this may improve security by making users more reluctant to
      accept TLS hijacking, which can be performed from beyond the network
      associated with the captive portal.</t>
    </section>
  </middle>
  <back>
    <references pn="section-6">
      <name slugifiedName="name-references">References</name>
      <references pn="section-6.1">
        <name slugifiedName="name-normative-references">Normative References</name>
        <reference anchor="RFC2119" target="https://www.rfc-editor.org/info/rfc2119" quoteTitle="true" derivedAnchor="RFC2119">
          <front>
            <title>Key words for use in RFCs to Indicate Requirement Levels</title>
            <author initials="S." surname="Bradner" fullname="S. Bradner">
              <organization showOnFrontPage="true"/>
            </author>
            <date year="1997" month="March"/>
            <abstract>
              <t indent="0">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="RFC2131" target="https://www.rfc-editor.org/info/rfc2131" quoteTitle="true" derivedAnchor="RFC2131">
          <front>
            <title>Dynamic Host Configuration Protocol</title>
            <author initials="R." surname="Droms" fullname="R. Droms">
              <organization showOnFrontPage="true"/>
            </author>
            <date year="1997" month="March"/>
            <abstract>
              <t indent="0">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="RFC2132" target="https://www.rfc-editor.org/info/rfc2132" quoteTitle="true" derivedAnchor="RFC2132">
          <front>
            <title>DHCP Options and BOOTP Vendor Extensions</title>
            <author initials="S." surname="Alexander" fullname="S. Alexander">
              <organization showOnFrontPage="true"/>
            </author>
            <author initials="R." surname="Droms" fullname="R. Droms">
              <organization showOnFrontPage="true"/>
            </author>
            <date year="1997" month="March"/>
            <abstract>
              <t indent="0">This document specifies the current set of DHCP options.  Future options will be specified in separate RFCs.  The current list of valid options is also available in ftp://ftp.isi.edu/in-notes/iana/assignments. [STANDARDS-TRACK]</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="2132"/>
          <seriesInfo name="DOI" value="10.17487/RFC2132"/>
        </reference>
        <reference anchor="RFC3553" target="https://www.rfc-editor.org/info/rfc3553" quoteTitle="true" derivedAnchor="RFC3553">
          <front>
            <title>An IETF URN Sub-namespace for Registered Protocol Parameters</title>
            <author initials="M." surname="Mealling" fullname="M. Mealling">
              <organization showOnFrontPage="true"/>
            </author>
            <author initials="L." surname="Masinter" fullname="L. Masinter">
              <organization showOnFrontPage="true"/>
            </author>
            <author initials="T." surname="Hardie" fullname="T. Hardie">
              <organization showOnFrontPage="true"/>
            </author>
            <author initials="G." surname="Klyne" fullname="G. Klyne">
              <organization showOnFrontPage="true"/>
            </author>
            <date year="2003" month="June"/>
            <abstract>
              <t indent="0">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="RFC3986" target="https://www.rfc-editor.org/info/rfc3986" quoteTitle="true" derivedAnchor="RFC3986">
          <front>
            <title>Uniform Resource Identifier (URI): Generic Syntax</title>
            <author initials="T." surname="Berners-Lee" fullname="T. Berners-Lee">
              <organization showOnFrontPage="true"/>
            </author>
            <author initials="R." surname="Fielding" fullname="R. Fielding">
              <organization showOnFrontPage="true"/>
            </author>
            <author initials="L." surname="Masinter" fullname="L. Masinter">
              <organization showOnFrontPage="true"/>
            </author>
            <date year="2005" month="January"/>
            <abstract>
              <t indent="0">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="RFC4861" target="https://www.rfc-editor.org/info/rfc4861" quoteTitle="true" derivedAnchor="RFC4861">
          <front>
            <title>Neighbor Discovery for IP version 6 (IPv6)</title>
            <author initials="T." surname="Narten" fullname="T. Narten">
              <organization showOnFrontPage="true"/>
            </author>
            <author initials="E." surname="Nordmark" fullname="E. Nordmark">
              <organization showOnFrontPage="true"/>
            </author>
            <author initials="W." surname="Simpson" fullname="W. Simpson">
              <organization showOnFrontPage="true"/>
            </author>
            <author initials="H." surname="Soliman" fullname="H. Soliman">
              <organization showOnFrontPage="true"/>
            </author>
            <date year="2007" month="September"/>
            <abstract>
              <t indent="0">This document specifies the Neighbor Discovery protocol for IP Version 6.  IPv6 nodes on the same link use Neighbor Discovery to discover each other's presence, to determine each other's link-layer addresses, to find routers, and to maintain reachability information about the paths to active neighbors.  [STANDARDS-TRACK]</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="4861"/>
          <seriesInfo name="DOI" value="10.17487/RFC4861"/>
        </reference>
        <reference anchor="RFC7227" target="https://www.rfc-editor.org/info/rfc7227" quoteTitle="true" derivedAnchor="RFC7227">
          <front>
            <title>Guidelines for Creating New DHCPv6 Options</title>
            <author initials="D." surname="Hankins" fullname="D. Hankins">
              <organization showOnFrontPage="true"/>
            </author>
            <author initials="T." surname="Mrugalski" fullname="T. Mrugalski">
              <organization showOnFrontPage="true"/>
            </author>
            <author initials="M." surname="Siodelski" fullname="M. Siodelski">
              <organization showOnFrontPage="true"/>
            </author>
            <author initials="S." surname="Jiang" fullname="S. Jiang">
              <organization showOnFrontPage="true"/>
            </author>
            <author initials="S." surname="Krishnan" fullname="S. Krishnan">
              <organization showOnFrontPage="true"/>
            </author>
            <date year="2014" month="May"/>
            <abstract>
              <t indent="0">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="RFC7231" target="https://www.rfc-editor.org/info/rfc7231" quoteTitle="true" derivedAnchor="RFC7231">
          <front>
            <title>Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content</title>
            <author initials="R." surname="Fielding" fullname="R. Fielding" role="editor">
              <organization showOnFrontPage="true"/>
            </author>
            <author initials="J." surname="Reschke" fullname="J. Reschke" role="editor">
              <organization showOnFrontPage="true"/>
            </author>
            <date year="2014" month="June"/>
            <abstract>
              <t indent="0">The Hypertext Transfer Protocol (HTTP) is a stateless \%application- level protocol for distributed, collaborative, hypertext information systems.  This document defines the semantics of HTTP/1.1 messages, as expressed by request methods, request header fields, response status codes, and response header fields, along with the payload of messages (metadata and body content) and mechanisms for content negotiation.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="7231"/>
          <seriesInfo name="DOI" value="10.17487/RFC7231"/>
        </reference>
        <reference anchor="RFC7234" target="https://www.rfc-editor.org/info/rfc7234" quoteTitle="true" derivedAnchor="RFC7234">
          <front>
            <title>Hypertext Transfer Protocol (HTTP/1.1): Caching</title>
            <author initials="R." surname="Fielding" fullname="R. Fielding" role="editor">
              <organization showOnFrontPage="true"/>
            </author>
            <author initials="M." surname="Nottingham" fullname="M. Nottingham" role="editor">
              <organization showOnFrontPage="true"/>
            </author>
            <author initials="J." surname="Reschke" fullname="J. Reschke" role="editor">
              <organization showOnFrontPage="true"/>
            </author>
            <date year="2014" month="June"/>
            <abstract>
              <t indent="0">The Hypertext Transfer Protocol (HTTP) is a stateless \%application- level protocol for distributed, collaborative, hypertext information systems.  This document defines HTTP caches and the associated header fields that control cache behavior or indicate cacheable response messages.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="7234"/>
          <seriesInfo name="DOI" value="10.17487/RFC7234"/>
        </reference>
        <reference anchor="RFC8174" target="https://www.rfc-editor.org/info/rfc8174" quoteTitle="true" derivedAnchor="RFC8174">
          <front>
            <title>Ambiguity of Uppercase vs Lowercase in RFC 2119 Key Words</title>
            <author initials="B." surname="Leiba" fullname="B. Leiba">
              <organization showOnFrontPage="true"/>
            </author>
            <date year="2017" month="May"/>
            <abstract>
              <t indent="0">RFC 2119 specifies common key words that may be used in protocol  specifications.  This document aims to reduce the ambiguity by clarifying that only UPPERCASE usage of the key words have the  defined special meanings.</t>
            </abstract>
          </front>
          <seriesInfo name="BCP" value="14"/>
          <seriesInfo name="RFC" value="8174"/>
          <seriesInfo name="DOI" value="10.17487/RFC8174"/>
        </reference>
        <reference anchor="RFC8415" target="https://www.rfc-editor.org/info/rfc8415" quoteTitle="true" derivedAnchor="RFC8415">
          <front>
            <title>Dynamic Host Configuration Protocol for IPv6 (DHCPv6)</title>
            <author initials="T." surname="Mrugalski" fullname="T. Mrugalski">
              <organization showOnFrontPage="true"/>
            </author>
            <author initials="M." surname="Siodelski" fullname="M. Siodelski">
              <organization showOnFrontPage="true"/>
            </author>
            <author initials="B." surname="Volz" fullname="B. Volz">
              <organization showOnFrontPage="true"/>
            </author>
            <author initials="A." surname="Yourtchenko" fullname="A. Yourtchenko">
              <organization showOnFrontPage="true"/>
            </author>
            <author initials="M." surname="Richardson" fullname="M. Richardson">
              <organization showOnFrontPage="true"/>
            </author>
            <author initials="S." surname="Jiang" fullname="S. Jiang">
              <organization showOnFrontPage="true"/>
            </author>
            <author initials="T." surname="Lemon" fullname="T. Lemon">
              <organization showOnFrontPage="true"/>
            </author>
            <author initials="T." surname="Winters" fullname="T. Winters">
              <organization showOnFrontPage="true"/>
            </author>
            <date year="2018" month="November"/>
            <abstract>
              <t indent="0">This document describes the Dynamic Host Configuration Protocol for IPv6 (DHCPv6): an extensible mechanism for configuring nodes with network configuration parameters, IP addresses, and prefixes. Parameters can be provided statelessly, or in combination with stateful assignment of one or more IPv6 addresses and/or IPv6 prefixes.  DHCPv6 can operate either in place of or in addition to stateless address autoconfiguration (SLAAC).</t>
              <t indent="0">This document updates the text from RFC 3315 (the original DHCPv6 specification) and incorporates prefix delegation (RFC 3633), stateless DHCPv6 (RFC 3736), an option to specify an upper bound for how long a client should wait before refreshing information (RFC 4242), a mechanism for throttling DHCPv6 clients when DHCPv6 service is not available (RFC 7083), and relay agent handling of unknown messages (RFC 7283).  In addition, this document clarifies the interactions between models of operation (RFC 7550).  As such, this document obsoletes RFC 3315, RFC 3633, RFC 3736, RFC 4242, RFC 7083, RFC 7283, and RFC 7550.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="8415"/>
          <seriesInfo name="DOI" value="10.17487/RFC8415"/>
        </reference>
      </references>
      <references pn="section-6.2">
        <name slugifiedName="name-informative-references">Informative References</name>
        <reference anchor="RFC3679" target="https://www.rfc-editor.org/info/rfc3679" quoteTitle="true" derivedAnchor="RFC3679">
          <front>
            <title>Unused Dynamic Host Configuration Protocol (DHCP) Option Codes</title>
            <author initials="R." surname="Droms" fullname="R. Droms">
              <organization showOnFrontPage="true"/>
            </author>
            <date year="2004" month="January"/>
            <abstract>
              <t indent="0">Prior to the publication of RFC 2489 (which was updated by RFC 2939), several option codes were assigned to proposed Dynamic Host Configuration Protocol (DHCP) options that were subsequently never used.  This document lists those unused option codes and directs IANA to make these option codes available for assignment to other DHCP options in the future.  The document also lists several option codes that are not currently documented in an RFC but should not be made available for reassignment to future DHCP options.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="3679"/>
          <seriesInfo name="DOI" value="10.17487/RFC3679"/>
        </reference>
        <reference anchor="RFC3779" target="https://www.rfc-editor.org/info/rfc3779" quoteTitle="true" derivedAnchor="RFC3779">
          <front>
            <title>X.509 Extensions for IP Addresses and AS Identifiers</title>
            <author initials="C." surname="Lynn" fullname="C. Lynn">
              <organization showOnFrontPage="true"/>
            </author>
            <author initials="S." surname="Kent" fullname="S. Kent">
              <organization showOnFrontPage="true"/>
            </author>
            <author initials="K." surname="Seo" fullname="K. Seo">
              <organization showOnFrontPage="true"/>
            </author>
            <date year="2004" month="June"/>
            <abstract>
              <t indent="0">This document defines two X.509 v3 certificate extensions.  The first binds a list of IP address blocks, or prefixes, to the subject of a certificate.  The second binds a list of autonomous system identifiers to the subject of a certificate.  These extensions may be used to convey the authorization of the subject to use the IP addresses and autonomous system identifiers contained in the extensions.  [STANDARDS-TRACK]</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="3779"/>
          <seriesInfo name="DOI" value="10.17487/RFC3779"/>
        </reference>
        <reference anchor="RFC6105" target="https://www.rfc-editor.org/info/rfc6105" quoteTitle="true" derivedAnchor="RFC6105">
          <front>
            <title>IPv6 Router Advertisement Guard</title>
            <author initials="E." surname="Levy-Abegnoli" fullname="E. Levy-Abegnoli">
              <organization showOnFrontPage="true"/>
            </author>
            <author initials="G." surname="Van de Velde" fullname="G. Van de Velde">
              <organization showOnFrontPage="true"/>
            </author>
            <author initials="C." surname="Popoviciu" fullname="C. Popoviciu">
              <organization showOnFrontPage="true"/>
            </author>
            <author initials="J." surname="Mohacsi" fullname="J. Mohacsi">
              <organization showOnFrontPage="true"/>
            </author>
            <date year="2011" month="February"/>
            <abstract>
              <t indent="0">Routed protocols are often susceptible to spoof attacks.  The canonical solution for IPv6 is Secure Neighbor Discovery (SEND), a solution that is non-trivial to deploy.  This document proposes a light-weight alternative and complement to SEND based on filtering in the layer-2 network fabric, using a variety of filtering criteria, including, for example, SEND status.  This document is not an Internet Standards Track specification; it is published for informational purposes.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="6105"/>
          <seriesInfo name="DOI" value="10.17487/RFC6105"/>
        </reference>
        <reference anchor="RFC7113" target="https://www.rfc-editor.org/info/rfc7113" quoteTitle="true" derivedAnchor="RFC7113">
          <front>
            <title>Implementation Advice for IPv6 Router Advertisement Guard (RA-Guard)</title>
            <author initials="F." surname="Gont" fullname="F. Gont">
              <organization showOnFrontPage="true"/>
            </author>
            <date year="2014" month="February"/>
            <abstract>
              <t indent="0">The IPv6 Router Advertisement Guard (RA-Guard) mechanism is commonly employed to mitigate attack vectors based on forged ICMPv6 Router Advertisement messages.  Many existing IPv6 deployments rely on RA-Guard as the first line of defense against the aforementioned attack vectors.  However, some implementations of RA-Guard have been found to be prone to circumvention by employing IPv6 Extension Headers. This document describes the evasion techniques that affect the aforementioned implementations and formally updates RFC 6105, such that the aforementioned RA-Guard evasion vectors are eliminated.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="7113"/>
          <seriesInfo name="DOI" value="10.17487/RFC7113"/>
        </reference>
        <reference anchor="RFC7610" target="https://www.rfc-editor.org/info/rfc7610" quoteTitle="true" derivedAnchor="RFC7610">
          <front>
            <title>DHCPv6-Shield: Protecting against Rogue DHCPv6 Servers</title>
            <author initials="F." surname="Gont" fullname="F. Gont">
              <organization showOnFrontPage="true"/>
            </author>
            <author initials="W." surname="Liu" fullname="W. Liu">
              <organization showOnFrontPage="true"/>
            </author>
            <author initials="G." surname="Van de Velde" fullname="G. Van de Velde">
              <organization showOnFrontPage="true"/>
            </author>
            <date year="2015" month="August"/>
            <abstract>
              <t indent="0">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="RFC7710" target="https://www.rfc-editor.org/info/rfc7710" quoteTitle="true" derivedAnchor="RFC7710">
          <front>
            <title>Captive-Portal Identification Using DHCP or Router Advertisements (RAs)</title>
            <author initials="W." surname="Kumari" fullname="W. Kumari">
              <organization showOnFrontPage="true"/>
            </author>
            <author initials="O." surname="Gudmundsson" fullname="O. Gudmundsson">
              <organization showOnFrontPage="true"/>
            </author>
            <author initials="P." surname="Ebersman" fullname="P. Ebersman">
              <organization showOnFrontPage="true"/>
            </author>
            <author initials="S." surname="Sheng" fullname="S. Sheng">
              <organization showOnFrontPage="true"/>
            </author>
            <date year="2015" month="December"/>
            <abstract>
              <t indent="0">In many environments offering short-term or temporary Internet access (such as coffee shops), it is common to start new connections in a captive-portal mode.  This highly restricts what the customer can do until the customer has authenticated.</t>
              <t indent="0">This document describes a DHCP option (and a Router Advertisement (RA) extension) to inform clients that they are behind some sort of captive-portal device and that they will need to authenticate to get Internet access.  It is not a full solution to address all of the issues that clients may have with captive portals; it is designed to be used in larger solutions.  The method of authenticating to and interacting with the captive portal is out of scope for this document.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="7710"/>
          <seriesInfo name="DOI" value="10.17487/RFC7710"/>
        </reference>
        <reference anchor="RFC8908" target="https://www.rfc-editor.org/info/rfc8908" quoteTitle="true" derivedAnchor="RFC8908">
          <front>
            <title>Captive Portal API</title>
            <author initials="T" surname="Pauly" fullname="Tommy Pauly" role="editor">
              <organization showOnFrontPage="true"/>
            </author>
            <author initials="D" surname="Thakore" fullname="Darshak Thakore" role="editor">
              <organization showOnFrontPage="true"/>
            </author>
            <date month="September" year="2020"/>
          </front>
          <seriesInfo name="RFC" value="8908"/>
          <seriesInfo name="DOI" value="10.17487/RFC8908"/>
        </reference>
      </references>
    </references>
    <section anchor="diff7710" numbered="true" toc="include" removeInRFC="false" pn="section-appendix.a">
      <name slugifiedName="name-changes-from-rfc-7710">Changes from RFC 7710</name>
      <t indent="0" pn="section-appendix.a-1">This document incorporates the following changes from <xref target="RFC7710" format="default" sectionFormat="of" derivedContent="RFC7710"/>.</t>
      <ol spacing="normal" type="1" indent="adaptive" start="1" pn="section-appendix.a-2">
        <li pn="section-appendix.a-2.1" derivedCounter="1.">Clarified that IP string literals are <bcp14>NOT RECOMMENDED</bcp14>.</li>
        <li pn="section-appendix.a-2.2" derivedCounter="2.">Clarified that the option URI <bcp14>MUST</bcp14> be that of the captive portal
          API endpoint.</li>
        <li pn="section-appendix.a-2.3" derivedCounter="3.">Clarified that captive portals <bcp14>MAY</bcp14> do content negotiation.</li>
        <li pn="section-appendix.a-2.4" derivedCounter="4.">Added text about Captive Portal API URI precedence in the event
          of a network configuration error.</li>
        <li pn="section-appendix.a-2.5" derivedCounter="5.">Added urn:ietf:params:capport:unrestricted URN.</li>
        <li pn="section-appendix.a-2.6" derivedCounter="6.">Noted that the DHCPv4 Option Code changed from 160 to 114.</li>
      </ol>
    </section>
    <section anchor="exp106" numbered="true" toc="include" removeInRFC="false" pn="section-appendix.b">
      <name slugifiedName="name-observations-from-ietf-106-">Observations from IETF 106 Network Experiment</name>
      <t indent="0" pn="section-appendix.b-1">During IETF 106 in Singapore, an <eref target="https://tickets.meeting.ietf.org/wiki/IETF106network#Experiments" brackets="none">experiment</eref>
      enabling clients compatible with the Captive Portal API to discover a
      venue-info-url (see <eref target="https://tickets.meeting.ietf.org/wiki/CAPPORT" brackets="none">experiment
      description</eref> for more detail) revealed that some Polycom devices
      on the same network made use of DHCPv4 option code 160 for <eref target="https://community.polycom.com/t5/VoIP-SIP-Phones/DHCP-Standardization-160-vs-66/td-p/72577" brackets="none">other
      purposes</eref>.</t>
      <t indent="0" pn="section-appendix.b-2">The presence of DHCPv4 Option code 160 holding a value indicating the
      Captive Portal API URL caused these devices to not function as desired.
      For this reason, IANA has deprecated option code 160 and
      allocated a different value to be used for the Captive Portal API URL.</t>
    </section>
    <section numbered="false" toc="include" removeInRFC="false" pn="section-appendix.c">
      <name slugifiedName="name-acknowledgements">Acknowledgements</name>
      <t indent="0" pn="section-appendix.c-1">This document is a -bis of RFC 7710. Thanks to all of the original
      authors (<contact fullname="Warren Kumari"/>, <contact fullname="Olafur       Gudmundsson"/>, <contact fullname="Paul Ebersman"/>, and <contact fullname="Steve Sheng"/>)
      and original contributors.</t>
      <t indent="0" pn="section-appendix.c-2">Also thanks to the CAPPORT WG for all of the discussion and
      improvements, including contributions and review from <contact fullname="Joe Clarke"/>,
      <contact fullname="Lorenzo Colitti"/>, <contact fullname="Dave       Dolson"/>, <contact fullname="Hans Kuhn"/>, <contact fullname="Kyle       Larose"/>, <contact fullname="Clemens Schimpe"/>,
      <contact fullname="Martin Thomson"/>, <contact fullname="Michael Richardson"/>,
      <contact fullname="Remi Nguyen Van"/>, <contact fullname="Subash       Tirupachur Comerica"/>, <contact fullname="Bernie Volz"/>,
      and <contact fullname="Tommy Pauly"/>.</t>
    </section>
    <section anchor="authors-addresses" numbered="false" removeInRFC="false" toc="include" pn="section-appendix.d">
      <name slugifiedName="name-authors-addresses">Authors' Addresses</name>
      <author fullname="Warren Kumari" initials="W." surname="Kumari">
        <organization showOnFrontPage="true">Google</organization>
        <address>
          <postal>
            <street>1600 Amphitheatre Parkway</street>
            <city>Mountain View</city>
            <region>CA</region>
            <code>94043</code>
            <country>United States of America</country>
          </postal>
          <email>warren@kumari.net</email>
        </address>
      </author>
      <author fullname="Erik Kline" initials="E." surname="Kline">
        <organization showOnFrontPage="true">Loon</organization>
        <address>
          <postal>
            <street>1600 Amphitheatre Parkway</street>
            <city>Mountain View</city>
            <region>CA</region>
            <code>94043</code>
            <country>United States of America</country>
          </postal>
          <phone/>
          <email>ek@loon.com</email>
        </address>
      </author>
    </section>
  </back>
</rfc>
