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

<!DOCTYPE rfc SYSTEM "rfc2629.dtd" [
<!ENTITY RFC8029 SYSTEM "https://xml2rfc.tools.ietf.org/public/rfc/bibxml/reference.RFC.8029.xml">
<!ENTITY RFC6398 SYSTEM "https://xml2rfc.tools.ietf.org/public/rfc/bibxml/reference.RFC.6398.xml">
<!ENTITY RFC7506 SYSTEM "https://xml2rfc.tools.ietf.org/public/rfc/bibxml/reference.RFC.7506.xml">
<!ENTITY RFC2119 SYSTEM "https://xml2rfc.tools.ietf.org/public/rfc/bibxml/reference.RFC.2119.xml">
<!ENTITY RFC8174 SYSTEM "https://xml2rfc.tools.ietf.org/public/rfc/bibxml/reference.RFC.8174.xml">
]>

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

<rfc ipr="trust200902" docName="draft-kompella-mpls-lspping-norao-00" category="std" updates="7506, 8029">

  <front>
    <title abbrev="RAO-less LSP Ping">Deprecating the Use of Router Alert in LSP Ping</title>

    <author initials="K." surname="Kompella" fullname="Kireeti Kompella">
      <organization>Juniper Networks</organization>
      <address>
        <postal>
          <street>1133 Innovation Way</street>
          <city>Sunnyvale</city>
          <region>CA</region>
          <code>94089</code>
          <country>United States</country>
        </postal>
        <email>kireeti.ietf@gmail.com</email>
      </address>
    </author>
    <author initials="R." surname="Bonica" fullname="Ronald Bonica">
      <organization>Juniper Networks</organization>
      <address>
        <postal>
          <street>1133 Innovation Way</street>
          <city>Sunnyvale</city>
          <region>CA</region>
          <code>94089</code>
          <country>United States</country>
        </postal>
        <email>rbonica@juniper.net</email>
      </address>
    </author>

    <date year="2021" month="December" day="09"/>

    <area>Routing</area>
    <workgroup>MPLS WG</workgroup>
    <keyword>LSP ping, router alert</keyword>

    <abstract>


<t>LSP ping messages (RFC 8029) are encapsulated in IP headers that
include a Router Alert Option (RAO). The rationale for including an
RAO is questionable. Furthermore, RFC6398 identifies security
vulnerabilities associated with the RAO.</t>

<t>Therefore, this document removes the RAO from LSP ping message
encapsulations.  It updates RFCs 7506 and 8029.</t>



    </abstract>


  </front>

  <middle>


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

<t>LSP ping <xref target="RFC8029"/> detects data-plane failures in MPLS Label
Switched Paths (LSPs). It can operate in “ping mode” or “traceroute
mode”.  When operating in ping mode, it verifies end-to-end LSP
continuity.  When operating in traceroute mode, it can localize
failures to a particular node along an LSP.</t>

<t>LSP ping defines a probe message, called the “MPLS echo request”.  It
also defines a response message, called the “MPLS echo reply”. Both
messages are encapsulated in UDP and IP. The echo request message is
further encapsulated in an MPLS label stack.</t>

<t>When operating in ping mode, LSP ping sends a single echo request
message, with the MPLS TTL set to a high value (e.g., 255). This
message is intended to reach the egress Label Switching Router (LSR).
When operating in traceroute mode, MPLS ping sends multiple echo
request messages. It manipulates the MPLS TTL so that the first
message expires on the first LSR along the path and subsequent
messages expire on subsequent LSRs.</t>

<t>The IP header that encapsulates an echo request message must include a
Router Alert Option (RAO), while the IP header that encapsulates an
echo reply message may include an RAO. In both cases, the rationale
for including an RAO is questionable. Furthermore, <xref target="RFC6398"/>
identifies security vulnerabilities associated with the RAO and
recommends against its use outside of controlled environments.</t>

<t>Therefore, this document removes the RAO from both LSP ping message
encapsulations.  It updates RFCs 7506 <xref target="RFC7506"/> and 8029.</t>

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

<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 target="RFC8174"/> when, and only when, they
appear in all capitals, as shown here.</t>

<t><list style="hanging">
  <t hangText="LSP:">
  Label Switched Path</t>
  <t hangText="LSR:">
  Label Switching Router</t>
  <t hangText="RAO:">
  Router Alert Option</t>
</list></t>

</section>
</section>
<section anchor="router-alert-for-lsp-ping-rfc-8029" title="Router Alert for LSP Ping (RFC 8029)">

<section anchor="echo-request" title="Echo Request">

<t>While the MPLS echo request message must traverse every node in the
LSP under test, it must not traverse any other node. Specifically, the
message must not be forwarded beyond the egress Label Switching Router
(LSR).</t>

<t>To achieve this, RFC 8029 proposes the following:</t>

<t><list style="numbers">
  <t>When the echo request message is encapsulated in IPv4, the 
IPv4 destination address must be chosen from the subnet
127/8. When the echo request message is encapsulated in IPv6, the 
IPv6 destination address must be chosen from the subnet
0:0:0:0:0:FFFF:7F00:0/104.</t>
  <t>When the echo request message is encapsulated in IPv4, the 
IPv4 TTL must be equal to 1. When the echo request message 
is encapsulated in IPv6, the IPv6 Hop Limit must be equal to 1.</t>
  <t>When the echo request message is encapsulated in IPv4, the 
IPv4 header must include an RAO. When the echo request message 
is encapsulated in IPv6, the IPv6 header chain must include a 
Hop-by-hop extension header and the Hop-by-hop extension header
must include an RAO.</t>
</list></t>

<t>Currently, ALL of these are required. However, any one is sufficient to 
prevent forwarding the packet beyond the egress LSR.</t>

<t>Therefore, this document RECOMMENDS removing Requirement 3 from RFC 8029.</t>

<t>The authors are not aware of any implementation that relies on the
RAO to prevent packets from being forwarded beyond the egress LSR.</t>

</section>
<section anchor="echo-reply" title="Echo Reply">

<t>An LSP ping replies to the MPLS echo message with an MPLS echo reply
message. It has four reply modes:</t>

<t><list style="numbers">
  <t>Do not reply</t>
  <t>Reply via an IPv4/IPv6 UDP packet</t>
  <t>Reply via an IPv4/IPv6 UDP packet with Router Alert</t>
  <t>Reply via application-level control channel</t>
</list></t>

<t>The rationale for mode 3 is questionable, if not wholly misguided.
According to RFC 8029, “If the normal IP return path is deemed
unreliable, one may use 3 (Reply via an IPv4/IPv6 UDP packet with
Router Alert).”</t>

<t>However, it is not clear that the use of the RAO increases the
reliability of the return path. In fact, one can argue it decreases
the reliability in many instances, due to the additional burden of
processing the RAO.  This document RECOMMENDS removing mode 3 from RFC
8029.</t>

<t>The authors are not aware of any implementations of mode 3.</t>

</section>
</section>
<section anchor="update-to-rfc-7506" title="Update to RFC 7506">

<t>RFC 7506 defines the IPv6 Router Alert Option for MPLS Operations,
Administration, and Management. This document RECOMMENDS that RFC 7506
be reclassified as Historic.</t>

</section>
<section anchor="backwards-compatibility" title="Backwards Compatibility">

<t>LSP Ping implementations SHOULD ignore RAO options when they arrive on
incoming echo request and echo reply messages.</t>

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

<t>If this document is approved, mark the IPv6 RAO value of MPLS OAM (69)
in <xref target="IANA-IPV6-RAO"/> as “Deprecated”.</t>

<t>Also, mark Reply Mode 3 (“Reply via an IPv4/IPv6 UDP packet with
Router Alert”) in <xref target="IANA-LSP-PING"/> as “Deprecated”.</t>

</section>
<section anchor="security-considerations" title="Security Considerations">

<t>The recommendations this document makes do not compromise security.</t>

</section>


  </middle>

  <back>

    <references title='Normative References'>

<reference anchor="IANA-IPV6-RAO" target="https://www.iana.org/assignments/ipv6-routeralert-values">
  <front>
    <title>IPv6 Router Alert Option Values</title>
    <author >
      <organization>IANA</organization>
    </author>
    <date year="n.d."/>
  </front>
</reference>
<reference anchor="IANA-LSP-PING" target="https://www.iana.org/assignments/mpls-lsp-ping-parameters/mpls-lsp-ping-parameters.xml">
  <front>
    <title>Multiprotocol Label Switching (MPLS) Label Switched Paths (LSPs) Ping Parameters</title>
    <author >
      <organization>IANA</organization>
    </author>
    <date year="n.d."/>
  </front>
</reference>
&RFC8029;
&RFC6398;
&RFC7506;
&RFC2119;
&RFC8174;


    </references>




  </back>

<!-- ##markdown-source:
H4sIAEfMsmEAA81Z23IbuRF9x1cg9ItUxRlJvsg2n5Yr2WvFujCktK5UKpUC
Z0AS0RCYADOkGZf/Jd+SL8vpxgwvMi17XX7Ibm1pOAD6evp0YzZJElGZqtA9
ea5LrzNVGTuV1UzLu6Clm8ihqyvtZb/QvpLGysvRQA6wR6jx2OtFTw77N0mh
Q9is5C6zag6RuVeTKrl381IXhUrmZRGSI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