<?xml version="1.0" encoding="US-ASCII"?>
<!DOCTYPE rfc SYSTEM "rfc2629.dtd">
<?rfc toc="yes"?>
<?rfc tocompact="yes"?>
<?rfc tocdepth="3"?>
<?rfc tocindent="yes"?>
<?rfc symrefs="yes"?>
<?rfc sortrefs="yes"?>
<?rfc comments="yes"?>
<?rfc inline="yes"?>
<?rfc compact="yes"?>
<?rfc subcompact="no"?>
<rfc category="std" docName="draft-ietf-l2tpext-sbfd-discriminator-04"
     ipr="trust200902">
  <front>
    <title abbrev="S-BFD Discriminators in L2TPv3">Advertising Seamless Bidirectional Forwarding Detection (S-BFD) Discriminators in Layer 2 Tunneling Protocol, Version 3 (L2TPv3)</title>

    <author fullname="Vengada Prasad Govindan" initials="V."
            surname="Govindan">
      <organization abbrev="Cisco">Cisco Systems, Inc.</organization>
      <address>
        <email>venggovi@cisco.com</email>
      </address>
    </author>

    <author fullname="Carlos Pignataro" initials="C."
            surname="Pignataro">
      <organization abbrev="Cisco">Cisco Systems, Inc.</organization>
      <address>
        <email>cpignata@cisco.com</email>
      </address>
    </author>
 
    <date />

    <area>Routing Area</area>

    <workgroup>Networking Working Group</workgroup>

    <keyword>S-BFD</keyword>

    <abstract>
      <t>This document defines a new Attribute Value Pair (AVP) that allows L2TP Control Connection Endpoints
(LCCEs)
      to advertise one or more Seamless Bidirectional Forwarding Detection (S-BFD)
      Discriminator values using the Layer 2 Tunneling Protocol, Version 3 (L2TPv3).</t>
    </abstract>

    <note title="Requirements Language">
      <t>The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
      "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this
      document are to be interpreted as described in RFC 2119 <xref target="RFC2119"/>.</t>
    </note>
  </front>

  <middle>
    <section title="Introduction">
      <t><xref target="I-D.ietf-bfd-seamless-base"/> defines a simplified mechanism to use Bidirectional Forwarding Detection (BFD) <xref target="RFC5880"/>, referred to as Seamless Bidirectional Forwarding Detection (S-BFD). The S-BFD mechanisms depend on network nodes knowing the BFD discriminators which each node in the network has reserved for this purpose.
S-BFD requires the usage of unique discriminators within an administrative domain.

The use of 
Layer 2 Tunneling Protocol, Version 3 (L2TPv3)
<xref target="RFC3931"/> is one possible means of advertising these discriminators.
</t>
      <t>This document specifies the encoding to be used when S-BFD discriminators are advertised using L2TPv3.</t>

    <section title="Terminology">
<t>
   The reader is expected to be very familiar with the terminology and
   protocol constructs defined in S-BFD (see Section 2 of <xref target="I-D.ietf-bfd-seamless-base"/>) and L2TPv3 (see Section 1.3 of <xref target="RFC3931"/>).
</t>
</section>
    </section>

    <section title="S-BFD Target Discriminator ID AVP">
<t>
  The "S-BFD Target Discriminator ID" AVP is exchanged using the
ICRQ (Incoming-Call-Request), ICRP
   (Incoming-Call-Reply), OCRQ (Outgoing-Call-Request), and OCRP
   (Outgoing-Call-Reply) control messages
   during session negotiations.
</t>
    <section title=" Encoding Format">
      <t> The S-BFD Target Discriminator Identifier (ID) Attribute Value Pair (AVP), Attribute Type "TBA by IANA", is an identifier used to advertise the S-BFD Target Discriminator(s) supported by an LCCE for the S-BFD Reflector operation. This AVP indicates that the advertiser implements an S-BFD reflector supporting the specified target discriminator(s) and is ready for S-BFD Reflector operation. The receiving LCCE MAY use this AVP if it wants to monitor connectivity to the advertising LCCE using S-BFD.</t>
      <t>The Attribute Value field for this AVP has the following format:</t>

            <t>S-BFD Target Discriminator ID (ICRQ, ICRP, OCRQ, OCRP):</t>


      <t><figure>
          <artwork><![CDATA[                                       No. of octets
   +-----------------------------+
   | Discriminator Value(s)      |     4/Discriminator
   :                             :
   +-----------------------------+
]]></artwork>
        </figure></t>



      <t>An LCCE MAY include the S-BFD Discriminator Advertisement AVP in a L2TP Control Protocol message (ICRQ, ICRP, OCRQ, OCRP) <xref target="RFC3931"/>. 


If the other LCCE does not wish to monitor connectivity using S-BFD, it MAY safely discard this AVP without affecting the rest of session negotiation.

While <xref target="I-D.ietf-bfd-seamless-base"/> concerns itself with the advertisement of only one discriminator unless the mapping to discriminators to entities is specified, the AVP encoding allows the specification of an arbitrary number of S-BFD Discriminators (at least one) for extensibility.

</t><t>
When an LCCE uses the S-BFD Target Discriminator ID AVP, multiple S-BFD Discriminators MAY be included, and at least one S-BFD Discriminator MUST be included.
When one S-BFD Discriminator is advertised, such S-BFD Discriminator is associated with the L2TPv3 Session.

When multiple S-BFD discriminators are
   advertised how a given discriminator is mapped to a specific use case
   is out of scope for this document.
</t>

<t>
     The S-BFD Target Discriminator ID AVP allows for advertising at least one S-BFD Discriminator value:</t>

      <t><figure>
          <artwork><![CDATA[
    0                   1                   2                   3
    0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |                         Discriminator 1                       |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |                    Discriminator 2 (Optional)                 |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |                               ...                             |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |                    Discriminator n (Optional)                 |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
]]></artwork>
        </figure></t>


      <t>The M bit of the L2TP Control Protocol Message (ICRQ, ICRP, OCRQ, OCRP) <xref target="RFC3931"/> MUST NOT be set inside the S-BFD Target Discriminator ID AVP advertisement.</t>

    </section>
    </section>

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

<t>
IANA maintains a sub-registry "Message Type AVP (Attribute Type 0)
Values" in the "Control Message Attribute Value Pairs" as per
<xref target="RFC3438"/>. IANA is requested to assign the first free value from this
sub-registry as the Message typ AVP for "S-BFD Target Discriminator ID".
</t>


      <t>A summary of the new AVPs requested for Attribute Type 0 follows:</t>
      <t>      Control Message Attribute Value Pairs</t>


      <figure>
        <artwork><![CDATA[ 
      Attribute
      Type          Description
      -----------   ------------------
      TBA by IANA   S-BFD Target Discriminator ID
   
]]></artwork>
      </figure>
    </section>

    <section anchor="Security" title="Security Considerations">
      <t>Security concerns for L2TP are addressed in <xref target="RFC3931"/>.
      Introduction of the S-BFD Discriminator Advertisement AVP introduces no new security risks for L2TP.</t>

      <t>Advertisement of the S-BFD discriminators does make it possible for
      attackers to initiate S-BFD sessions using the advertised information.
      The vulnerabilities this poses and how to mitigate them are discussed in
      the Security Considerations section of <xref target="I-D.ietf-bfd-seamless-base"/>.</t>
    </section>

    <section title="Acknowledgements">
    <t>Authors would like to thank Nobo Akiya, Stewart Bryant and Pawel Sowinski for providing core inputs for the document and for performing thorough reviews and providing number of comments. Authors would like to thank Nagendra Kumar for his reviews.</t>
    </section>

    <section title="Contributing Authors">

	<t>Mallik Mudigonda
    <vspace blankLines="0" />
	Cisco Systems, Inc.
    <vspace blankLines="0" />
    <vspace blankLines="0" />
    Email: mmudigon@cisco.com</t>

    </section>


  </middle>

  <back>
    <references title="Normative References">
      <?rfc include="reference.RFC.2119"?>
      <?rfc include="reference.RFC.3438"?>
      <?rfc include="reference.RFC.3931"?>
       <?rfc include="reference.I-D.ietf-bfd-seamless-base"?>
    </references>
    <references title="Informative References">
      <?rfc include='reference.RFC.5880'?>
    </references>
  </back>
</rfc>
