<?xml version="1.0" encoding="UTF-8"?>
<!-- This template is for creating an Internet Draft using xml2rfc,
which is available here: http://xml.resource.org. -->
<!DOCTYPE rfc SYSTEM "rfc2629.dtd" [
<!-- One method to get references from the online citation libraries.
There has to be one entity for each item to be referenced.
An alternate method (rfc include) is described in the references. -->

<!ENTITY RFC1982 SYSTEM "http://xml.resource.org/public/rfc/bibxml/reference.RFC.1982.xml">
<!ENTITY RFC2119 SYSTEM "http://xml.resource.org/public/rfc/bibxml/reference.RFC.2119.xml">
<!ENTITY RFC8174 SYSTEM "http://xml.resource.org/public/rfc/bibxml/reference.RFC.8174.xml">
<!ENTITY I-D.ietf-lisp-rfc6833bis SYSTEM "http://xml.resource.org/public/rfc/bibxml3/reference.I-D.ietf-lisp-rfc6833bis.xml">
<!ENTITY I-D.ietf-lisp-sec SYSTEM "http://xml.resource.org/public/rfc/bibxml3/reference.I-D.ietf-lisp-sec.xml">

]>
<?xml-stylesheet type='text/xsl' href='rfc2629.xslt' ?>
<!-- used by XSLT processors -->
<!-- For a complete list and description of processing instructions (PIs),
please see http://xml.resource.org/authoring/README.html. -->
<!-- Below are generally applicable Processing Instructions (PIs) that most I-Ds might want to use.
(Here they are set differently than their defaults in xml2rfc v1.32) -->
<?rfc strict="yes" ?>
<!-- give errors regarding ID-nits and DTD validation -->
<!-- control the table of contents (ToC) -->
<?rfc toc="yes"?>
<!-- generate a ToC -->
<?rfc tocdepth="3"?>
<!-- the number of levels of subsections in ToC. default: 3 -->
<!-- control references -->
<?rfc symrefs="yes"?>
<!-- use symbolic references tags, i.e, [RFC2119] instead of [1] -->
<?rfc sortrefs="yes" ?>
<!-- sort the reference entries alphabetically -->
<!-- control vertical white space
(using these PIs as follows is recommended by the RFC Editor) -->
<?rfc compact="yes" ?>
<!-- do not start each main section on a new page -->
<?rfc subcompact="no" ?>
<!-- keep one blank line between list items -->
<!-- end of list of popular I-D processing instructions -->
<rfc category="exp" docName="draft-ietf-lisp-pubsub-08" ipr="trust200902">
  <!-- category values: std, bcp, info, exp, and historic
  ipr values: full3667, noModification3667, noDerivatives3667
  you can add the attributes updates="NNNN" and obsoletes="NNNN"
  they will automatically be output with "(if approved)" -->

  <!-- ***** FRONT MATTER ***** -->

  <front>
    <!-- The abbreviated title is used in the page header - it is only necessary if the
    full title is longer than 39 characters -->

    <title abbrev="LISP-PubSub">Publish/Subscribe Functionality for LISP</title>

    <!-- add 'role="editor"' below for the editors if appropriate -->

    <!-- Another author who claims to be an editor -->

    <author fullname="Alberto Rodriguez-Natal" initials="A." surname="Rodriguez-Natal">
      <organization>Cisco</organization>
      <address>
        <postal>
          <street>170 Tasman Drive</street>
          <city>San Jose</city>
          <region>CA</region>
          <code></code>
          <country>USA</country>
        </postal>
        <phone></phone>
        <email>natal@cisco.com</email>
      </address>
    </author>

    <author fullname="Vina Ermagan" initials="V." surname="Ermagan">
      <organization>Google</organization>
      <address>
        <postal>
          <street></street>
          <city></city>
          <region></region>
          <code></code>
          <country>USA</country>
        </postal>
        <phone></phone>
        <email>ermagan@gmail.com</email>
      </address>
    </author>

    <author fullname="Albert Cabellos" initials="A." surname="Cabellos">
      <organization>UPC/BarcelonaTech</organization>
      <address>
        <postal>
          <street></street>
          <city>Barcelona</city>
          <region></region>
          <code></code>
          <country>Spain</country>
        </postal>
        <phone></phone>
        <email>acabello@ac.upc.edu</email>
      </address>
    </author>

    <author fullname="Sharon Barkai" initials="S." surname="Barkai">
      <organization>Nexar</organization>
      <address>
        <postal>
          <street></street>
          <city></city>
          <region></region>
          <code></code>
          <country></country>
        </postal>
        <phone></phone>
        <email>sharon.barkai@getnexar.com</email>
      </address>
    </author>

    <author fullname="Mohamed Boucadair" initials="M." surname="Boucadair">
      <organization>Orange</organization>
      <address>
        <postal>
          <street></street>
          <city>Rennes</city>
          <region></region>
          <code>35000</code>
          <country>France</country>
        </postal>
        <phone></phone>
        <email>mohamed.boucadair@orange.com</email>
      </address>
    </author>


    <date year="2021" />

    <area>Internet</area>

    <workgroup>LISP Working Group</workgroup>

    <keyword>lisp, publish, subscribe, subscription, sdn, nfv</keyword>

    <abstract>
      <t>This document specifies an extension to the use of Map-Request to enable Publish/Subscribe (PubSub) operation for LISP.</t>
    </abstract>
  </front>

  <middle>
    <section title="Introduction">

      <t>The Locator/ID Separation Protocol (LISP) <xref target="I-D.ietf-lisp-rfc6833bis"></xref> splits current IP addresses in two different namespaces, Endpoint Identifiers (EIDs) and Routing Locators (RLOCs). LISP uses a map-and-encap approach that relies on (1) a Mapping System (basically a distributed database) that stores and disseminates EID-RLOC mappings and on (2) LISP tunnel routers (xTRs) that encapsulate and decapsulate data packets based on the content of those mappings.</t>

      <t>Ingress Tunnel Routers (ITRs) / Re-encapsulating Tunnel Routers (RTRs) / Proxy Ingress Tunnel Routers (PITRs) pull EID-to-RLOC mapping information from the Mapping System by means of an explicit request message. Section 7.1 of <xref target="I-D.ietf-lisp-rfc6833bis"></xref> indicates how Egress Tunnel Routers (ETRs) can tell ITRs/RTRs/PITRs about mapping changes. This document presents a Publish/Subscribe (PubSub) extension in which the Mapping System can notify ITRs/RTRs/PITRs about mapping changes. When this mechanism is used, mapping changes can be notified faster and can be managed in the Mapping System versus the LISP sites.</t>

      <t>In general, when an ITR/RTR/PITR wants to be notified for mapping changes for a given EID-prefix, the following steps occur:</t>

      <t><list style="format (%d)">
        <t>The ITR/RTR/PITR sends a Map-Request for that EID-prefix.</t>
        <t>The ITR/RTR/PITR sets the Notification-Requested bit (N-bit) on the Map-Request and includes its xTR-ID and Site-ID.</t>
        <t>The Map-Request is forwarded to one of the Map-Servers that the EID-prefix is registered to.</t>
        <t>The Map-Server creates subscription state for the ITR/RTR/PITR on the EID-prefix.</t>
        <t>The Map-Server sends a Map-Notify to the ITR/RTR/PITR to acknowledge the successful subscription.</t>
        <t>When there is an RLOC-set change for the EID-prefix, the Map-Server sends a Map-Notify message to each ITR/RTR/PITR in the subscription list.</t>
        <t>Each ITR/RTR/PITR sends a Map-Notify-Ack to acknowledge the received Map-Notify.</t>
      </list></t>

      <t>This operation is repeated for all EID-prefixes for which ITR/RTR/PITR want to be notified. The ITR/RTR/PITR can set the N-bit for several EID-prefixes within a single Map-Request.</t>

    </section>

    <section title="Requirements Language">
      <t> The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in BCP 14 <xref target="RFC2119"></xref> <xref target="RFC8174"></xref> when, and only when, they appear in all capitals, as shown here.</t>

      </section>



      <section anchor="assumptions" title="Deployment Assumptions">

        <t> The specification described in this document makes the following deployment assumptions: </t>

        <t><list style="format (%d)">
          <t>A unique 128-bit xTR-ID (plus a 64-bit Site-ID) identifier is assigned to each xTR.</t>
          <t>Map-Servers are configured in proxy-reply mode, i.e., they are solicited to generate and send Map-Reply messages for the mappings they are serving.</t>
        </list></t>

        <t> The distribution of xTR-IDs (and Site-IDs) are out of the scope of this document. </t>

        <t><vspace blankLines="6"></vspace></t>

      </section>

      <section anchor="map-request" title="Map-Request PubSub Additions">

        <t>Figure 1 shows the format of the updated Map-Request to support the PubSub functionality.</t>


        <t><figure align="center"
          title="Figure 1: Map-Request with I-bit, N-bit, xTR-ID, and Site-ID">
          <artwork align="center"><![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
    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
    |Type=1 |A|M|P|S|p|s|R|I|  Rsvd   |L|D|   IRC   | Record Count  |
    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
    |                         Nonce . . .                           |
    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
    |                         . . . Nonce                           |
    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
    |         Source-EID-AFI        |   Source EID Address  ...     |
    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
    |         ITR-RLOC-AFI 1        |    ITR-RLOC Address 1  ...    |
    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
    |                              ...                              |
    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
    |         ITR-RLOC-AFI n        |    ITR-RLOC Address n  ...    |
    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  / |N|   Reserved  | EID mask-len  |        EID-Prefix-AFI         |
Rec +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  \ |                       EID-Prefix  ...                         |
    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
    |                   Map-Reply Record  ...                       |
    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
    |                                                               |
    +                                                               +
    |                                                               |
    +                            xTR-ID                             +
    |                                                               |
    +                                                               +
    |                                                               |
    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
    |                                                               |
    +                           Site-ID                             +
    |                                                               |
    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
            ]]></artwork>
          </figure></t>

          <t>The following is added to the Map-Request message defined in Section 5.2 of <xref target="I-D.ietf-lisp-rfc6833bis"></xref>:</t>

          <t><list style="hanging">
            <t>xTR-ID bit (I-bit): The I-bit of a Map-Request message is set to 1 to indicate that a 128 bit xTR-ID and a 64 bit Site-ID fields are present at the end of the Map-Request message. If an xTR is configured with an xTR-ID or Site-ID, it MUST set the I-bit to 1 and include its xTR-ID and Site-ID in the Map-Request messages it generates.  If either the xTR-ID or Site-ID is not configured, an unspecified value is encoded for whichever ID that is not configured.</t>

            <t>Notification-Requested bit (N-bit): The N-bit of an EID-record is set to 1 to specify that the xTR wants to be notified of updates for that mapping record.</t>

            <t>xTR-ID field: xTR-ID is a 128 bit field at the end of the Map-Request message, starting after the final Record in the message (or the Map-Reply Record, if present). The xTR-ID is used to uniquely identify the sender of a Map-Request message. The xTR-ID is defined in Section 5.6 of <xref target="I-D.ietf-lisp-rfc6833bis"></xref></t>

            <t>Site-ID field: Site-ID is a 64 bit field at the end of the Map-Request message, following the xTR-ID. Site-ID is used by the Map-Server receiving the Map-Request message to identify which xTRs belong to the same site. The Site-ID is defined in Section 5.6 of <xref target="I-D.ietf-lisp-rfc6833bis"></xref></t>
          </list></t>

        </section>

        <section anchor="sub" title="Mapping Request Subscribe Procedures">

          <t>The xTR subscribes for RLOC-set changes for a given EID-prefix by sending a Map-Request to the Mapping System with the N-bit set on the EID-Record. The xTR builds a Map-Request according to Section 5.3 of <xref target="I-D.ietf-lisp-rfc6833bis"></xref> but also does the following: </t>

          <t><list style="format (%d)">

            <t>The xTR MUST set the I-bit to 1 and append its xTR-ID and Site-ID to the Map-Request. The xTR-ID uniquely identifies the xTR.</t>
            <t>The xTR MUST set the N-bit to 1 for each EID-Record to which the xTR wants to subscribe.</t>

          </list></t>

          <t>The Map-Request is forwarded to the appropriate Map-Server through the Mapping System. This document does not assume that a Map-Server is pre-assigned to handle the subscription state for a given xTR. The Map-Server that receives the Map-Request will be the Map-Server responsible to notify that specific xTR about future mapping changes for the subscribed mapping records.</t>

          <t>Upon receipt of the Map-Request, the Map-Server processes it as described in Section 8.3 of <xref target="I-D.ietf-lisp-rfc6833bis"></xref>. Furthermore, upon processing, for each EID-Record that has the N-bit set to 1, the Map-Server proceeds adding the xTR-ID contained in the Map-Request to the list of xTR that have requested to be subscribed to that mapping record. </t>

          <t>If the xTR-ID is added to the list, the Map-Server MUST send a Map-Notify message back to the xTR to acknowledge the successful subscription. The Map-Server MUST follow the specification in Section 5.7 of <xref target="I-D.ietf-lisp-rfc6833bis"></xref> to build the Map-Notify with the following considerations:</t>

          <t><list style="format (%d)">

            <t>The Map-Server MUST use the nonce from the Map-Request as the nonce for the Map-Notify.</t>
            <t>The Map-Server MUST use its security association with the xTR (see <xref target="association"></xref>) to compute the authentication data of the Map-Notify.</t>
            <t>The Map-Server MUST send the Map-Notify to one of the ITR-RLOCs received in the Map-Request.</t>

          </list></t>

          <t>When the xTR receives a Map-Notify with a nonce that matches one in the list of outstanding Map-Request messages sent with an N-bit set, it knows that the Map-Notify is to acknowledge a successful subscription. The xTR processes this Map-Notify as described in Section 5.7 of <xref target="I-D.ietf-lisp-rfc6833bis"></xref> with the following considerations. The xTR MUST use its security association with the Map-Server (see <xref target="association"></xref>) to validate the authentication data on the Map-Notify. The xTR MUST use the Map-Notify to populate its map-cache with the returned EID-prefix and RLOC-set.</t>

          <t>The subscription of an xTR-ID to the list of subscribers for the EID-Record may fail for a number of reasons. For example, because of local configuration policies (such as accept and drop lists of subscribers), or because the Map-Server has exhausted the resources to dedicate to the subscription of that EID-Record (e.g., the number of subscribers excess the capacity of the Map-Server).</t>

          <t>If the subscription fails, the Map-Server MUST send a Map-Reply to the originator of the Map-Request, as described in Section 8.3 of <xref target="I-D.ietf-lisp-rfc6833bis"></xref>. The xTR processes the Map-Reply as specified in Section 8.1 of <xref target="I-D.ietf-lisp-rfc6833bis"></xref>.</t>

          <t>If an xTR-ID is successfully added to the list of subscribers for an EID-Record, the Map-Server MUST extract the nonce and ITR-RLOCs present in the Map-Request, and store the association between the EID-Record, xTR-ID, ITR-RLOCs and nonce. Any already present state regarding ITR-RLOCs and/or nonce for the same xTR-ID MUST be overwritten.</t>

          <t>The following specifies the procedure to remove a subscription. If the Map-Request only has one ITR-RLOC with AFI = 0 (i.e., Unknown Address), the Map-Server MUST remove the subscription state for that xTR-ID. In this case, the Map-Server MUST send the Map-Notify to the source RLOC of the Map-Request. When the TTL for the EID-record expires, the EID-prefix is removed from the Map-Server’s subscription cache. On EID-Record removal, the Map-Server notifies the subscribers via a Map-Notify with TTL equal 0.</t>

        </section>


        <section anchor="publish" title="Mapping Notification Publish Procedures">

          <t>The publish procedure is implemented via Map-Notify messages that the Map-Server sends to xTRs. The xTRs acknowledge the reception of Map-Notifies via sending Map-Notify-Ack messages back to the Map-Server. The complete mechanism works as follows. </t>

          <t> When a mapping stored in a Map-Server is updated (e.g., via a Map-Register from an ETR), the Map-Server MUST notify the subscribers of that mapping via sending Map-Notify messages with the most updated mapping information. The Map-Notify message sent to each of the subscribers as a result of an update event MUST follow the exact encoding and logic defined in Section 5.7 of <xref target="I-D.ietf-lisp-rfc6833bis"></xref> for Map-Notify, except for the following:</t>

          <t><list style="format (%d)">
            <t>The Map-Notify MUST be sent to one of the ITR-RLOCs associated with the xTR-ID of the subscriber.</t>
            <t>The Map-Server increments the nonce by one every time it sends a Map-Notify as publication to an xTR-ID for a particular EID-Record. The starting nonce is set as follows, if the subscription state at the Map-Server was created by a received Map-Request with the N-bit set, the starting nonce in the Map-Notify sent as publication MUST be the one used in the Map-Request that created the subscription state. If the subscription state was created by explicit configuration at the Map-Server, the starting nonce in the Map-Notify sent as publication MUST be randomly generated by the Map-Server.</t>
            <t>The Map-Server MUST use its security association with the xTR to compute the authentication data of the Map-Notify.</t>
          </list></t>

          <t>When the xTR receives a Map-Notify with an EID not local to the xTR, the xTR knows that the Map-Notify has been received to update an entry on its map-cache. Processing of unsolicited Map-Notify messages MUST be explicitly enabled via configuration at the xTR. The xTR MUST keep track of the last nonce seen in a Map-Notify received as a publication from the Map-Server for the EID-Record. If a Map-Notify received as a publication has a nonce value that is not greater than the saved nonce, the xTR drops the Map-Notify message and logs the fact a replay attack could have occurred. To compare two nonces, the xTR uses the serial number arithmetic defined in <xref target="RFC1982"></xref> with SERIAL_BITS = 64. The nonce field space (64 bits) is considered large enough to not be depleted during normal operation of the protocol (e.g., assuming a fast publication rate of one Map-Notify per EID-Record per Map-Server per second, the nonce field space will not be depleted in 0.5 trillion years). The same considerations discussed in Section 5.6 of <xref target="I-D.ietf-lisp-rfc6833bis"></xref> regarding storing Map-Register nonces apply here for Map-Notify nonces.</t>

          <t>The xTR processes the received Map-Notify as specified in Section 5.7 of <xref target="I-D.ietf-lisp-rfc6833bis"></xref>, with the following considerations. The xTR MUST use its security association with the Map-Server (see <xref target="association"></xref>) to validate the authentication data on the Map-Notify. The xTR MUST use the mapping information carried in the Map-Notify to update its internal map-cache. The xTR MUST acknowledge the Map-Notify by sending back a Map-Notify-Ack (specified in Section 5.7 of <xref target="I-D.ietf-lisp-rfc6833bis"></xref>), with the nonce from the Map-Notify, to the Map-Server. If after a configurable timeout, the Map-Server has not received back the Map-Notify-Ack, it can try to send the Map-Notify to a different ITR-RLOC for that xTR-ID.</t>

        </section>



        <section anchor="security" title="Security Considerations">
          <t>Generic security considerations related to LISP control messages are discussed in Section 9 of <xref target="I-D.ietf-lisp-rfc6833bis"></xref>.</t>

          <t>In the particular case of PubSub, cache poisoning via malicious Map-Notify messages is avoided by the use of nonce and the security association between the ITRs and the Map-Servers.</t>

          <section anchor="association" title="Security Association between ITR and MS">

            <t>Since Map-Notifies from the Map-Server to the ITR need to be authenticated, there is a need for a soft-state or hard-state security association (e.g. a PubSubKey) between the ITRs and the Map-Servers. For some controlled deployments, it might be possible to have a shared PubSubKey (or set of keys) between the ITRs and the Map-Servers. However, if pre-shared keys are not used in the deployment, LISP-SEC <xref target="I-D.ietf-lisp-sec"></xref> can be used as follows to create a security association between the ITR and the MS.</t>

            <t>First, when the ITR is sending a Map-Request with the N-bit set following <xref target="sub"></xref>, the ITR also performs the steps described in Section 5.4 of <xref target="I-D.ietf-lisp-sec"></xref>. The ITR can then generate a PubSubKey by deriving a key from the OTK as follows: PubSubKey = KDF( OTK ), where KDF is the Key Derivation Function indicated by the OTK Wrapping ID. If OTK Wrapping ID equals NULL-KEY-WRAP-128 then the PubSubKey is the OTK. Note that as opposed to the pre-shared PubSubKey, this generated PubSubKey is different per EID-Record the ITR subscribes to (since the ITR will use a different OTK per Map-Request).</t>

              <t>When the Map-Server receives the Map-Request it follows <xref target="sub"></xref>. If according to <xref target="sub"></xref> the Map-Server is to reply with a Map-Reply (e.g. due to PubSub not supported or subscription not accepted), then it follows normal LISP-SEC procedure described in Section 5.7 of <xref target="I-D.ietf-lisp-sec"></xref>. No PubSubKey or security association is created in this case.</t>

              <t>Otherwise, if, by following <xref target="sub"></xref>, the Map-Server is to reply with a Map-Notify (e.g. due to subscription accepted) to a received Map-Request, the following extra steps take place (note that if the MS replies with a Map-Notify, none of the regular LISP-SEC steps regarding Map-Reply described in Section 5.7 of <xref target="I-D.ietf-lisp-sec"></xref> takes place).
              <list style="symbols">
                <t>The MS extracts the OTK and OTK Wrapping ID from the LISP-SEC ECM Authentication Data.</t>
                <t>The MS generates a PubSubKey by deriving a key from the OTK as described before for the ITR. This is the same PubSubKey derived at the ITR which is used to establish a security association between the ITR and the MS.</t>
                <t>The PubSubKey can now be used to sign and authenticate any Map-Notify between the MS and the ITR for the subscribed EID-Record. This includes the Map-Notify sent as a confirmation to the subscription. When the ITR wants to update the security association for that MS and EID-Record, it follows again the procedure described in this section.</t>
              </list></t>

            </section>

          <section anchor="ddos" title="DDoS Attack Mitigation">

          <t>Misbehaving nodes may send massive subscription requests which may lead to exhaust the resources of Map-Servers.  Furthermore, frequently changing the state of a subscription may also be considered as an attack vector. To mitigate such issues, xTRs SHOULD rate-limit Map-Requests and Map-Servers SHOULD rate-limit Map-Notifies. Rate-limiting Map-Requests is discussed in Section 5.3 of <xref target="I-D.ietf-lisp-rfc6833bis"></xref> and the same guidelines apply here. To rate-limit Map-Notifies, a Map-Server MUST NOT send more than one Map-Notify per second to a particular xTR-ID. This parameter MUST be configurable. Note that when the Map-Notify rate-limit threshold is met for a particular xTR-ID, the Map-Server will silently discard additional subscription requests from that xTR-ID. Similarly, for pending mapping updates that need to be notified to that xTR-ID, the Map-Server will combine them into a single Map-Notify (with multiple EID-records) which it will send when the rate-limit mechanism allows it to transmit again Map-Notifies to that xTR-ID.</t>

        </section>

          </section>

        <section anchor="contrib" title="Contributors">

          <t><figure>
              <artwork><![CDATA[

    Dino Farinacci
    lispers.net
    San Jose, CA
    USA

    Email: farinacci@gmail.com


    Johnson Leong

    Email: johnsonleong@gmail.com


    Fabio Maino
    Cisco
    170 Tasman Drive
    San Jose, CA
    USA

    Email: fmaino@cisco.com


    Christian Jacquenet
    Orange
    Rennes  35000
    France

    Email: christian.jacquenet@orange.com


    Stefano Secci
    Cnam
    France

    Email: stefano.secci@cnam.fr

              ]]></artwork>
          </figure></t>
        </section>

        <section anchor="Acknowledgments" title="Acknowledgments">
          <t>This work is partly funded by the ANR LISP-Lab project #ANR-13-INFR-009 (https://www.lisp-lab.org).</t>
        </section>

        <section anchor="IANA" title="IANA Considerations">

          <t>This document is requesting bit allocations in the Map-Request message from the "LISP Control Plane Header Bits" registry introduced in Section 12.6 of <xref target="I-D.ietf-lisp-rfc6833bis"></xref>. In particular, this document requests allocating the following two bits from the sub-registry "Map-Request Header Bits". The position of these two bits in the Map-Request message can be found in Figure 1.</t>

          <texttable title="Table 1: Additions to the LISP Map-Request Header Bits Sub-Registry">
            <ttcol align='left'>Spec Name</ttcol>
            <ttcol align='left'>IANA Name</ttcol>
            <ttcol align='left'>Bit Position</ttcol>
            <ttcol align='left'>Description</ttcol>
            <c>I</c><c>map-request-I</c><c>11</c><c>xTR-ID Bit</c>
            <c>N</c><c>map-request-N</c><c>... + 0</c><c>Notification-Requested Bit</c>
          </texttable>

        </section>

      </middle>

      <back>

        <references title="Normative References">

          &RFC1982;

          &RFC2119;

          &RFC8174;

          &I-D.ietf-lisp-rfc6833bis;

          &I-D.ietf-lisp-sec;

        </references>

      </back>
    </rfc>
