<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE rfc SYSTEM "rfc2629.dtd">
<?xml-stylesheet type='text/xsl' href='rfc2629.xslt' ?>
    <!-- try to enforce the ID-nits conventions and DTD validity -->
<?rfc strict="no" ?>    <!-- items used when reviewing the document -->
<?rfc comments="no" ?>  <!-- controls display of <cref> elements -->
<?rfc inline="no" ?>    <!-- when no, put comments at end in comments section,
                                otherwise, put inline -->
<?rfc editing="no" ?>   <!-- when yes, insert editing marks -->

    <!-- create table of contents (set it options).
           Note the table of contents may be omitted
         for very short documents -->

<?rfc toc="yes"?><?rfc tocompact="yes"?>
<?rfc tocdepth="2"?>

    <!-- choose the options for the references. Some like
         symbolic tags in the references (and citations)
         and others prefer numbers. --> 
<?rfc symrefs="yes"?><?rfc sortrefs="yes" ?>
    <!-- these two save paper: start new paragraphs from the same page etc. -->
<?rfc compact="yes" ?><?rfc subcompact="no" ?>
<!-- end of list of processing instructions -->
    <!-- Information about the document.
         categories values: std, bcp, info, exp, and historic
         For Internet-Drafts, specify attribute "ipr".
         (ipr values are: full3667, noModification3667, noDerivatives3667),
         Also for Internet-Drafts, can specify values for
         attributes "iprExtract", and "docName".  Note
         that the value for iprExtract is the anchor attribute
         value of a section that can be extracted, and is only
         useful when the value of "ipr" is not "full3667". -->
    <!-- TODO: verify which attributes are specified only
            by the RFC editor.  It appears that attributes
            "number", "obsoletes", "updates", and "seriesNo"
            are specified by the RFC editor (and not by
            the document author). -->

<rfc    
    category="info"
    ipr="trust200902"
    docName="draft-ietf-opsec-ipv6-eh-filtering-09" >

<front>
    <title abbrev="Filtering of IPv6 packets with EHs">Recommendations on the Filtering of IPv6 Packets Containing IPv6 Extension Headers at Transit Routers</title>

    <!-- add 'role="editor"' below for the editors if appropriate -->    

    <author fullname="Fernando Gont" initials="F." surname="Gont">

      <organization abbrev="SI6 Networks">SI6 Networks</organization>
      <address>
        <postal>
          <street>Segurola y Habana 4310, 7mo Piso</street>
          <city>Villa Devoto</city>
          <region>Ciudad Autonoma de Buenos Aires</region>
          <country>Argentina</country>
        </postal>
        <email>fgont@si6networks.com</email>
        <uri>https://www.si6networks.com</uri>
       </address>
    </author>
     
     

<author fullname="Will (Shucheng) Liu" initials="W." surname="Liu">
      <organization>Huawei Technologies</organization>
      <address>
        <postal>
          <street>Bantian, Longgang District</street>
          <city>Shenzhen</city>
          <code>518129</code>
          <country>P.R. China</country>
        </postal>
        <email>liushucheng@huawei.com</email>
      </address>
</author>

<!--
    <author fullname="Ronald P. Bonica" initials="R." surname="Bonica">
      <organization>Juniper Networks</organization>

      <address>
        <postal>
          <street>2251 Corporate Park Drive</street>

          <city>Herndon</city>

          <region>VA</region>

          <code>20171</code>

          <country>US</country>
        </postal>

        <phone>571 250 5819</phone>

        <email>rbonica@juniper.net</email>
      </address>
    </author>
-->


<date /> 
<!-- month="May" is no longer necessary note also, day="30" is optional -->
    <area>Operations and Management (ops)</area>    <!-- WG name at the upperleft corner of the doc,
         IETF fine for individual submissions -->
    <workgroup>opsec</workgroup>

<abstract>
<t>
   This document analyzes the security implications of IPv6 Extension Headers and associated IPv6 options. Additionally, it discusses the operational and
   interoperability implications of discarding packets based on the
   IPv6 Extension Headers and IPv6 options they contain. Finally, it provides advice on the filtering of such IPv6
   packets at transit routers for traffic *not* directed to them, for those cases where such filtering is deemed as necessary.
</t>
</abstract>

</front>

<middle>

<section title="Introduction" anchor="intro">
<t>IPv6 Extension Headers (EHs) allow for the extension of the IPv6
   protocol, and provide support for core functionality such as IPv6
   fragmentation.  However, common implementation limitations suggest that EHs present a challenge for IPv6 packet routing equipment, particularly when the IPv6 header chain needs to be processed for e.g. enforcing ACLs or implementing other functions <xref target="RFC9098"/>.
</t>

<t>Recent studies (see e.g. <xref target="RFC7872"/>) suggest that there is widespread dropping of IPv6 packets that contain IPv6 Extension Headers (EHs). In some cases, such packet drops occur at transit routers. While some operators "officially" drop packets that contain IPv6 EHs, it is possible that some of the measured packet drops are the result of improper configuration defaults, or inappropriate advice in this area.</t>

<t>This document analyzes both the general security implications of
   IPv6 EHs, as well as the security implications of
   specific EH and Option types. It also provides advice on the
   filtering of IPv6 packets based on the IPv6 EHs and
   the IPv6 options they contain. Since
   various protocols may use IPv6 EHs (possibly with IPv6
   options), discarding packets based on the IPv6 EHs or
   IPv6 options they contain can have implications on the proper
   functioning of such protocols.  Thus, this document also attempts to
   discuss the operational and interoperability implications of such
   filtering policies.</t>

<t>The resulting packet filtering policy typically depends on where in the network such policy is enforced: when the policy is enforced in a transit network, the policy typically follows a "deny-list" approach, where only packets with clear negative implications are dropped. On the other hand, when the policy is enforced closer to the destination systems, the policy typically follows an "accept-list" approach, where only traffic that is expected to be received is allowed. The advice in this document is aimed only at transit routers that may need to enforce a filtering policy based on the EHs and IPv6 options a packet may contain, following a "deny-list" approach, and hence is likely to be much more permissive that a filtering policy to be employed at e.g. the edge of an enterprise network. The advice in this document is meant to improve the current situation of the dropping of packets with IPv6 EHs in the Internet <xref target="RFC7872"/> in such cases where packets are being dropped due to inappropriate or missing guidelines.</t>

<t>This document is similar in nature to
   <xref target="RFC7126"/>, which addresses the same problem for the IPv4 case. However, in IPv6, the problem space is compounded by the fact that IPv6 specifies a number of IPv6 EHs, and a number of IPv6 options which may be valid only when included in specific EH types.</t>


<t>This document completes and complements the considerations for protecting the control plane from packets containing IP options that can be found in <xref target="RFC6192"/>.</t>

<t><xref target="terms"/> of this document specifies the terminology and conventions employed throughout this document. <xref target="ipv6-extension-headers-discussion"/> of this document discusses IPv6 EHs and provides advice in the area of filtering IPv6 packets that contain such IPv6 EHs. <xref target="ipv6-options-discussion"/> of this document discusses IPv6 options and provides advice in the area of filtering IPv6 packets that contain such options.  <!-- <xref target="upper-layer"/> specifies the filtering of packets based on the upper-layer protocol. Specifically, it identifies upper-layer protocols that, for different reasons, should not be present in IPv6 packets. -->
</t>

<!--
<t>While this document is similar in structure and nature to <xref target="RFC7123"/>, we note that this document is aimed at firewall administrators, an hence tends to be more restrictive than what an IPv6-version of <xref target="RFC7123"/> would be.</t>
-->

</section>


<section title="Terminology and Conventions Used in This Document" 
    anchor="terms">
<section title="Terminology">



<t>The terms "permit" (allow the traffic), "drop" (drop with no notification to sender), and "reject" (drop with appropriate notification to sender) are employed as defined in <xref target="RFC3871"/>. Throughout this document we also employ the term "discard" as a generic term to indicate the act of discarding a packet, irrespective of whether the sender is notified of such drops, and irrespective of whether the specific filtering action is logged.
</t>

<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>

</section>


<section title="Applicability Statement">
<t>This document provides advice on the filtering of IPv6 packets with EHs at transit routers for traffic *not* explicitly destined to them, for cases in which such filtering is deemed as necessary.</t>
</section>


<section title="Conventions">
<t>This document assumes that nodes comply with the requirements in <xref target="RFC7045"/>. Namely,
<list style="hanging">
<t>"If a forwarding node discards a packet containing a standard IPv6
   extension header, it MUST be the result of a configurable policy and
   not just the result of a failure to recognise such a header.  This
   means that the discard policy for each standard type of extension
   header MUST be individually configurable.  The default configuration
   SHOULD allow all standard extension headers."</t>
</list>

The advice provided in this document is only meant to guide an operator in configuring forwarding devices, and is *not* to be interpreted as advice regarding default configuration settings for network devices. That is, this document provides advice with respect to operational configurations, but does not change the implementation defaults required by <xref target="RFC7045"/><!--  and <xref target="draft-gont-6man-ipv6-opt-transmit"/>-->. <!--We note that the advice provided in this document is *not* meant to be employed by transit routers for transit traffic, since such devices should not enforce this type of filtering policy on traffic not directed to them. -->
</t>

<t>We recommend that configuration options are made available to govern the processing of each IPv6 EH type and each IPv6 option type. Such configuration options should include the following possible settings:
<list style="symbols">
<t>Permit this IPv6 EH or IPv6 Option type.</t>
<t>Drop (and log) packets containing this IPv6 EH or option type.</t>
<t>Reject (and log) packets containing this IPv6 EH or option type (where the packet drop is signaled with an ICMPv6 error message).</t>
<t>Rate-limit traffic containing this IPv6 EH or option type.</t>
<t>Ignore this IPv6 EH or option type (as if it was not present) and process the packet according the rules for the remaining headers. We note that if a packet carries forwarding information (e.g., in an IPv6 Routing Header) this might be an inappropriate or undesirable action.</t>
</list>
</t>

<t>We note that special care needs to be taken when devices log packet drops/rejects. Devices should count the number of packets dropped/rejected, but the logging of drop/reject events should be limited so as to not overburden device resources.</t>

<t>Finally, we note that when discarding packets, it is generally desirable that the sender be signaled of the packet drop, since this is of use for trouble-shooting purposes. However, throughout this document (when recommending that packets be discarded) we generically refer to the action as "discard" without specifying whether the sender is signaled of the packet drop.</t>
</section>
</section>

<section title="IPv6 Extension Headers" anchor="ipv6-extension-headers-discussion">
<section title="General Discussion">
<t>IPv6 <xref target="RFC8200"/> EHs allow for the extension of the IPv6 protocol. Since both IPv6 EHs and upper-layer protocols share the same namespace ("Next Header" registry/namespace), <xref target="RFC7045"/> identifies which of the currently assigned Internet Protocol numbers identify IPv6 EHs vs. upper-layer protocols. This document discusses the filtering of packets based on the IPv6 EHs (as specified by <xref target="RFC7045"/>) they contain. <!-- Filtering of IPv6 packets based on the upper-layer protocol is specified in <xref target="upper-layer"/>--></t>


<t>
<list style="hanging">
<t>
NOTE: <xref target="RFC8200"/> specifies that non-fragmented IPv6 datagrams and IPv6 First-Fragments must contain the entire IPv6 header chain <xref target="RFC7112"/>. Therefore, intermediate systems can enforce the filtering policies discussed in this document, or resort to simply discarding the offending packets when they fail to comply with the requirements in <xref target="RFC8200"/>. We note that, in order to implement filtering rules on the fast path, it may be necessary for the filtering device to limit the depth into the packet that can be inspected before giving up. In circumstances where such
      a limitation exists, it is recommended that implementations provide a
      configuration option that specifies whether to discard packets if
      the aforementioned limit is encountered.  Operators may then
      determine according to their own circumstances how such packets
      will be handled.
</t>
</list>
</t>
<!--
<t>When processing a non-fragmented IPv6 datagram or an IPv6 First-Fragment, the packet must contain the entire IPv6 header chain <xref target="RFC7112"/>. An intermediate system that processes a packet that fails to comply with this requirement should therefore drop the offending packets.
</t>
-->
</section>

<section title="General Security Implications" anchor="ipv6-eh-general-implications">
<t>In some device architectures, IPv6 packets that contain IPv6 EHs can cause the corresponding packets to be processed on the slow path, and hence may be leveraged for the purpose of Denial of Service (DoS) attacks <xref target="RFC9098"/> <xref target="Cisco-EH"/> <xref target="FW-Benchmark"/>.
</t>
<t>Operators are urged to consider the IPv6 EH and IPv6 options handling capabilities of their devices as they make deployment decisions in the future.</t>
</section>

<section title="Summary of Advice on the Handling of IPv6 Packets with Specific IPv6 Extension Headers">
<t>This section summarizes the advice provided in <xref target="advice-ehs"/>, providing references to the specific sections in which a detailed analysis can be found.</t>

    <texttable title="Summary of Advice on the Handling of IPv6 Packets with Specific IPv6 Extension Headers" style="all" anchor="eh-table">
        <ttcol align="center">EH type</ttcol>
        <ttcol align="center">Filtering policy</ttcol>
        <ttcol align="center">Reference</ttcol>
<c>IPv6 Hop-by-Hop Options (Proto=0)</c><c>Drop or Ignore</c><c><xref target="proto0"/></c>
<c>Routing Header for IPv6 (Proto=43)</c><c>Drop only RHT0 and RHT1. Permit other RH Types</c><c><xref target="proto43"/></c>
<c>Fragment Header for IPv6 (Proto=44)</c><c>Permit</c><c><xref target="proto44"/></c>
<c>Encapsulating Security Payload (Proto=50)</c><c>Permit</c><c><xref target="proto50"/></c>
<c>Authentication Header (Proto=51)</c><c>Permit</c><c><xref target="proto51"/></c>
<c>Destination Options for IPv6 (Proto=60)</c><c>Permit</c><c><xref target="proto60"/></c>
<c>Mobility Header (Proto=135)</c><c>Permit</c><c><xref target="proto135"/></c>
<c>Host Identity Protocol (Proto=139)</c><c>Permit</c><c><xref target="proto139"/></c>
<c>Shim6 Protocol (Proto=140)</c><c>Permit</c><c><xref target="proto140"/></c>
<c>Use for experimentation and testing (Proto=253 and
         254)</c><c>Drop</c><c><xref target="proto253254"/></c>
    </texttable>

</section>



<section title="Advice on the Handling of IPv6 Packets with Specific IPv6 Extension Headers" anchor="advice-ehs">

<section title="IPv6 Hop-by-Hop Options (Protocol Number=0)" anchor="proto0">
<section title="Uses">
<t>The Hop-by-Hop Options header is used to carry optional information that may be examined by every node along a packet's delivery path. It is expected that nodes will examine the Hop-by-Hop Options header if explicitly configured to do so.</t>

<t>NOTE: A previous revision of the IPv6 core specification, <xref target="RFC2460"/>, originally required that all nodes examined and processed the Hop-by-Hop Options header. However, even before the publication of <xref target="RFC8200"/> a number of implementations already provided the option of ignoring this header unless explicitly configured to examine it.
</t>

</section>

<section title="Specification">
<t>This EH is specified in <xref target="RFC8200"/>. At the time of this writing, the following options have been specified for the Hop-by-Hop Options EH:
</t>
<t>
<list style="symbols">
<t>Type 0x00: Pad1 <xref target="RFC8200"/></t>
<t>Type 0x01: PadN <xref target="RFC8200"/></t>
<t>Type 0x05: Router Alert <xref target="RFC2711"/></t>
<t>Type 0x07: CALIPSO <xref target="RFC5570"/></t>
<t>Type 0x08: SMF_DPD <xref target="RFC6621"/></t>
<t>Type 0x23: RPL Option <xref target="RFC9008"/></t>
<t>Type 0x26: Quick-Start <xref target="RFC4782"/></t>
<t>Type 0x4D: (Deprecated)</t>
<t>Type 0x63: RPL Option <xref target="RFC6553"/></t>
<t>Type 0x6D: MPL Option <xref target="RFC7731"/></t>
<!-- [fgont] THis one is deprecated... I guess no need to mention it, right? -->
<t>Type 0x8A: Endpoint Identification (Deprecated) <xref target="draft-ietf-nimrod-eid"/></t>
<t>Type 0xC2: Jumbo Payload <xref target="RFC2675"/></t>
<t>Type 0xEE: IPv6 DFF Header <xref target="RFC6971"/></t>

<t>Type 0x1E: RFC3692-style Experiment <xref target="RFC4727"/></t>
<t>Type 0x3E: RFC3692-style Experiment <xref target="RFC4727"/></t>
<t>Type 0x5E: RFC3692-style Experiment <xref target="RFC4727"/></t>
<t>Type 0x7E: RFC3692-style Experiment <xref target="RFC4727"/></t>
<t>Type 0x9E: RFC3692-style Experiment <xref target="RFC4727"/></t>
<t>Type 0xBE: RFC3692-style Experiment <xref target="RFC4727"/></t>
<t>Type 0xDE: RFC3692-style Experiment <xref target="RFC4727"/></t>
<t>Type 0xFE: RFC3692-style Experiment <xref target="RFC4727"/></t>
</list></t>
</section>

<section title="Specific Security Implications">
<t>Legacy nodes that process this extension header might be subject to Denial of Service attacks.</t>
<t>NOTE: While <xref target="RFC8200"/> has removed this requirement, the deployed base may still reflect the classical behavior for a while, and hence the potential security problems of this EH are still of concern.
</t>
</section> 

<section title="Operational and Interoperability Impact if Blocked">
<t>Discarding packets containing a Hop-by-Hop Options EH would break any of the protocols that rely on it for proper functioning. For example, it would break RSVP <xref target="RFC2205"/> and multicast deployments, and would cause IPv6 jumbograms to be discarded.</t>
</section>

<section title="Advice">
<t>Nodes implementing <xref target="RFC8200"/> would already ignore this extension header unless explicitly required to process it. For legacy (<xref target="RFC2460"/>) nodes, the recommended configuration for the processing of these packets depends on the features and capabilities of the underlying platform, the configuration of the platform, and also the deployment environment of the platform. On platforms that allow forwarding of packets with HBH Options on the fast path, we recommend that packets with a HBH Options EH be forwarded as normal. Otherwise, on platforms in which processing of packets with a IPv6 HBH Options EH is carried out in the slow path, and an option is provided to rate-limit these packets, we recommend that this option be selected. Finally, when packets containing a HBH Options EH are processed in the slow-path, and the underlying platform does not have any mitigation options available for attacks based on these packets, we recommend that such platforms discard packets containing IPv6 HBH Options EHs.</t>

<t>Finally, we note that RPL (Routing Protocol for Low-Power and Lossy Networks) routers <xref target="RFC6550"/>  must not discard packets based on the presence of an IPv6 Hop-by-Hop Options EH, as this would break RPL.</t>

</section>
</section>

<section title="Routing Header for IPv6 (Protocol Number=43)" anchor="proto43">
<section title="Uses">
<t>The Routing header is used by an IPv6 source to list one or more intermediate nodes to be "visited" on the way to a packet's destination. </t>
</section>

<section title="Specification">
<t>This EH is specified in <xref target="RFC8200"/>. <xref target="RFC2460"/> had originally specified the Routing Header Type 0, which was later obsoleted by <xref target="RFC5095"/>, and thus removed from <xref target="RFC8200"/>.</t>

<t>At the time of this writing, the following Routing Types have been specified:

<list style="symbols">
<t>Type 0: Source Route (DEPRECATED) <xref target="RFC2460"/> <xref target="RFC5095"/></t>
<t>Type 1: Nimrod (DEPRECATED)</t>
<t>Type 2: Type 2 Routing Header <xref target="RFC6275"/></t>
<t>Type 3: RPL Source Route Header <xref target="RFC6554"/></t>
<t>Type 4: Segment Routing Header (SRH) <xref target="RFC8754"/></t>
<t>Types 5-252: Unassigned </t>
<t>Type 253: RFC3692-style Experiment 1 <xref target="RFC4727"/></t>
<t>Type 254: RFC3692-style Experiment 2 <xref target="RFC4727"/></t>
<t>Type 255: Reserved</t>
</list>
</t>


</section>

<section title="Specific Security Implications">
<t>The security implications of RHT0 have been discussed in detail in <xref target="Biondi2007"/> and <xref target="RFC5095"/>. RHT1 was never widely implemented. The security implications of RHT2, RHT3, and RHT4 (SRH) are discussed in <xref target="RFC6275"/>,  <xref target="RFC6554"/>, and <xref target="RFC8754"/>, respectively.</t>
</section>

<section title="Operational and Interoperability Impact if Blocked">
<t>Blocking packets containing a RHT0 or RHT1 has no operational implications, since both have been deprecated. Blocking packets with a RHT2 would break Mobile IPv6. Packets with a RHT3 may be safely blocked at RPL domain boundaries, since RHT3 headers are employed within a single RPL domain. Blocking packets with a RHT4 (SRH) will break Segment Routing (SR) deployments, if the filtering policy is enforced on packets being forwarded within an SR domain.</t>

<!--<t>However, blocking packets employing other routing header types will break the protocols that rely on them.</t> -->
</section>

<section title="Advice">
<t>Intermediate systems should discard packets containing a RHT0, RHT1, or RHT3. Other routing header types should be permitted, as required by <xref target="RFC7045"/>.</t>
</section>
</section>

<section title="Fragment Header for IPv6 (Protocol Number=44)" anchor="proto44">
<section title="Uses">
<t>This EH provides the fragmentation functionality for IPv6.</t>
</section>

<section title="Specification">
<t>This EH is specified in <xref target="RFC8200"/>.</t>
</section>

<section title="Specific Security Implications">
<t>The security implications of the Fragment Header range from Denial of Service attacks (e.g. based on flooding a target with IPv6 fragments) to information leakage attacks <xref target="RFC7739"/>.</t>
</section>

<section title="Operational and Interoperability Impact if Blocked">
<t>Blocking packets that contain a Fragment Header will break any protocol that may rely on fragmentation (e.g., the DNS <xref target="RFC1034"/>). However, IP fragmentation is known to introduce fragility to Internet communication <xref target="RFC8900"/>.</t>
</section>

<section title="Advice">
<t>Intermediate systems should permit packets that contain a Fragment Header.</t>
</section>
</section>


<section title="Encapsulating Security Payload (Protocol Number=50)" anchor="proto50">
<section title="Uses">
<t>This EH is employed for the IPsec suite <xref target="RFC4303"/>.</t>
</section>

<section title="Specification">
<t>This EH is specified in <xref target="RFC4303"/>.</t>
</section>

<section title="Specific Security Implications">
<t>Besides the general implications of IPv6 EHs, this EH could be employed to potentially perform a DoS attack at the destination system by wasting CPU resources in validating the contents of the packet.</t>
</section>

<section title="Operational and Interoperability Impact if Blocked">
<t>Discarding packets that employ this EH would break IPsec deployments.</t>
</section>

<section title="Advice">
<t>Intermediate systems should permit packets containing the Encapsulating Security Payload EH.</t>
</section>
</section>


<section title="Authentication Header (Protocol Number=51)" anchor="proto51">
<section title="Uses">
<t>The Authentication Header can be employed for provide authentication services in
   IPv4 and IPv6.</t>
</section>

<section title="Specification">
<t>This EH is specified in <xref target="RFC4302"/>.</t>
</section>

<section title="Specific Security Implications">
<t>Besides the general implications of IPv6 EHs, this EH could be employed to potentially perform a DoS attack at the destination system by wasting CPU resources in validating the contents of the packet.</t>
</section>

<section title="Operational and Interoperability Impact if Blocked">
<t>Discarding packets that employ this EH would break IPsec deployments.</t>
</section>

<section title="Advice">
<t>Intermediate systems should permit packets containing an Authentication Header.</t>
</section>
</section>

<section title="Destination Options for IPv6 (Protocol Number=60)" anchor="proto60">
<section title="Uses">
<t>The Destination Options header is used to carry optional information that needs be examined only by a packet's destination node(s).</t>
</section>

<section title="Specification">
<t>This EH is specified in <xref target="RFC8200"/>. At the time of this writing, the following options have been specified for this EH:

<list style="symbols">
<t>Type 0x00: Pad1 <xref target="RFC8200"/></t>
<t>Type 0x01: PadN <xref target="RFC8200"/></t>
<t>Type 0x04: Tunnel Encapsulation Limit <xref target="RFC2473"/></t>

<t>Type 0x4D: (Deprecated)</t>


<t>Type 0xC9: Home Address <xref target="RFC6275"/></t>
<t>Type 0x8A: Endpoint Identification (Deprecated) <xref target="draft-ietf-nimrod-eid"/></t>

<t>Type 0x8B: ILNP Nonce <xref target="RFC6744"/></t>
<t>Type 0x8C: Line-Identification Option <xref target="RFC6788"/></t>
<t>Type 0x1E: RFC3692-style Experiment <xref target="RFC4727"/></t>
<t>Type 0x3E: RFC3692-style Experiment <xref target="RFC4727"/></t>
<t>Type 0x5E: RFC3692-style Experiment <xref target="RFC4727"/></t>
<t>Type 0x7E: RFC3692-style Experiment <xref target="RFC4727"/></t>
<t>Type 0x9E: RFC3692-style Experiment <xref target="RFC4727"/></t>
<t>Type 0xBE: RFC3692-style Experiment <xref target="RFC4727"/></t>
<t>Type 0xDE: RFC3692-style Experiment <xref target="RFC4727"/></t>
<t>Type 0xFE: RFC3692-style Experiment <xref target="RFC4727"/></t>
</list>
</t>
</section>

<section title="Specific Security Implications">
<t>No security implications are known, other than the general implications of IPv6 EHs. For a discussion of possible security implications of specific options specified for the DO header, please see the <xref target="opt-filtering"/>.</t>
</section>

<section title="Operational and Interoperability Impact if Blocked">
<t>Discarding packets that contain a Destination Options header would break protocols that rely on this EH type for conveying information, including protocols such as ILNP <xref target="RFC6740"/> and Mobile IPv6 <xref target="RFC6275"/>, and IPv6 tunnels that employ the Tunnel Encapsulation Limit option.</t>
</section>

<section title="Advice">
<t>Intermediate systems should permit packets that contain a Destination Options Header.</t>
</section>
</section>

<section title="Mobility Header (Protocol Number=135)" anchor="proto135">
<section title="Uses">
<t>The Mobility Header is an EH used by mobile nodes, correspondent nodes, and home agents in all messaging related to the creation and management of bindings in Mobile IPv6.</t>
</section>

<section title="Specification">
<t>This EH is specified in <xref target="RFC6275"/>.</t>
</section>

<section title="Specific Security Implications">
<t>A thorough security assessment of the security implications of the Mobility Header and related mechanisms can be found in Section 15 of <xref target="RFC6275"/>.</t>
</section>

<section title="Operational and Interoperability Impact if Blocked">
<t>Discarding packets containing this EH would break Mobile IPv6.</t>
</section>

<section title="Advice">
<t>Intermediate systems should permit packets containing this EH.</t>
</section>
</section>

<section title="Host Identity Protocol (Protocol Number=139)" anchor="proto139">
<section title="Uses">
<t>This EH is employed with the Host Identity Protocol (HIP), an experimental protocol that allows consenting hosts to securely establish and maintain shared IP-layer state, allowing separation of the identifier and locator roles of IP addresses, thereby enabling continuity of communications across IP address changes.</t>
</section>

<section title="Specification">
<t>This EH is specified in <xref target="RFC7401"/>.</t>
</section>

<section title="Specific Security Implications">
<t>The security implications of the HIP header are discussed in detail in Section 8 of <xref target="RFC6275"/>.</t>
</section>

<section title="Operational and Interoperability Impact if Blocked">
<t>Discarding packets that contain the Host Identity Protocol would break HIP deployments.</t>
</section>

<section title="Advice">
<t>Intermediate systems should permit packets that contain a Host Identity Protocol EH.</t>
</section>
</section>

<section title="Shim6 Protocol (Protocol Number=140)" anchor="proto140">
<section title="Uses">
<t>This EH is employed by the Shim6 <xref target="RFC5533"/> Protocol.</t>
</section>

<section title="Specification">
<t>This EH is specified in <xref target="RFC5533"/>.</t>
</section>

<section title="Specific Security Implications">
<t>The specific security implications are discussed in detail in Section 16 of <xref target="RFC5533"/>.</t>
</section>

<section title="Operational and Interoperability Impact if Blocked">
<t>Discarding packets that contain this EH will break Shim6.</t>
</section>

<section title="Advice">
<t>Intermediate systems should permit packets containing this EH.</t>
</section>
</section>


<section title="Use for experimentation and testing (Protocol Numbers=253 and 254)" anchor="proto253254">
<section title="Uses">
<t>These IPv6 EHs are employed for performing RFC3692-Style experiments (see <xref target="RFC3692"/> for details).</t>
</section>

<section title="Specification">
<t>These EHs are specified in <xref target="RFC3692"/> and <xref target="RFC4727"/>.</t>
</section>

<section title="Specific Security Implications">
<t>The security implications of these EHs will depend on their specific use.</t>
</section>

<section title="Operational and Interoperability Impact if Blocked">
<t>For obvious reasons, discarding packets that contain these EHs limits the ability to perform legitimate experiments across IPv6 routers.
</t>
</section>

<section title="Advice">
<t>Operators should determine according to their own circumstances whether to discard packets containing these EHs.</t>
<!--
<t>Intermediate systems should discard packets containing these EHs. Only in specific scenarios in which RFC3692-Style experiments are to be performed should these EHs be permitted.</t> -->
</section>
</section>

</section>
<section title="Advice on the Handling of Packets with Unknown IPv6 Extension Headers" anchor="unknown-headers">
<t>We refer to IPv6 EHs that have not been assigned an Internet Protocol Number by IANA (and marked as such) in <xref target="IANA-PROTOCOLS"/> as "unknown IPv6 extension headers" ("unknown IPv6 EHs").
</t>

<section title="Uses">
<t>New IPv6 EHs may be specified as part of future extensions to the IPv6 protocol.
</t>

<t>Since IPv6 EHs and Upper-layer protocols employ the same namespace, it is impossible to tell whether an unknown "Internet Protocol Number" is being employed for an IPv6 EH or an Upper-Layer protocol.
</t>

</section>

<section title="Specification">
<t>The processing of unknown IPv6 EHs is specified in <xref target="RFC7045"/>.</t>
</section>

<section title="Specific Security Implications">
<t>For obvious reasons, it is impossible to determine specific security implications of unknown IPv6 EHs.</t>
</section>

<section title="Operational and Interoperability Impact if Blocked">
<t>As noted in <xref target="RFC7045"/>, discarding unknown IPv6 EHs may slow down the deployment of new IPv6 EHs and transport protocols. The corresponding IANA registry (<xref target="IANA-PROTOCOLS"/>) should be monitored such that filtering rules are updated as new IPv6 EHs are standardized.</t>

<t>We note that since IPv6 EHs and upper-layer protocols share the same numbering space, discarding unknown IPv6 EHs may result in packets encapsulating unknown upper-layer protocols being discarded.  
</t>
</section>

<section title="Advice">
<t>Operators should determine according to their own circumstances whether to discard packets containing unknown IPv6 EHs.</t>
</section>


</section>

</section>



<section title="IPv6 Options" anchor="ipv6-options-discussion">
<section title="General Discussion" anchor="ipv6-options-general-discussion">
<t>The following subsections describe specific security implications of different IPv6 options, and provide advice regarding filtering packets that contain such options.
</t>
</section>

<section title="General Security Implications of IPv6 Options" anchor="ipv6-options-general-implications">
<t>The general security implications of IPv6 options are closely related to those discussed in <xref target="ipv6-eh-general-implications"/> for IPv6 EHs. Essentially, packets that contain IPv6 options might need to be processed by an IPv6 router's general-purpose CPU,and hence could present a DDoS risk to that router's general-purpose CPU (and thus to the router itself). For some architectures, a possible mitigation would be to rate-limit the packets that are to be processed by the general-purpose CPU (see e.g. <xref target="Cisco-EH"/>).</t>
</section>

<section title="Advice on the Handling of Packets with Specific IPv6 Options" anchor="opt-filtering">
<t>The following subsections contain a description of each of the IPv6 options that have so far been specified, a summary of the security implications of each of such options, a discussion of possible 
    interoperability implications if packets containing such options are 
    discarded, and specific advice regarding whether packets containing these options should be permitted.</t>


<section title="Pad1 (Type=0x00)">
<section title="Uses">
<t>This option is used when necessary to align subsequent options and to pad out the containing header to a multiple of 8 octets in length.</t>
</section>

<section title="Specification">
<t>This option is specified in <xref target="RFC8200"/>.</t>
</section>

<section title="Specific Security Implications">
<t>None.</t>
</section>

<section title="Operational and Interoperability Impact if Blocked">
<t>Discarding packets that contain this option would potentially break any protocol that relies on IPv6 options.</t>
</section>

<section title="Advice">
<t>Intermediate systems should not discard packets based on the presence of this option.</t>
</section>
</section>

<section title="PadN (Type=0x01)">
<section title="Uses">
<t>This option is used when necessary to align subsequent options and to pad out the containing header to a multiple of 8 octets in length.</t>
</section>

<section title="Specification">
<t>This option is specified in <xref target="RFC8200"/>.</t>
</section>

<section title="Specific Security Implications">
<t>Because of the possible size of this option, it could be leveraged as a large-bandwidth covert channel.</t>
</section>

<section title="Operational and Interoperability Impact if Blocked">
<t>Discarding packets that contain this option would potentially break any protocol that relies on IPv6 options.</t>
</section>

<section title="Advice">
<t>Intermediate systems should not discard IPv6 packets based on the presence of this option.</t>
</section>
</section>



<section title="Jumbo Payload (Type=0XC2)">
<section title="Uses">
<t>The Jumbo payload option provides the means of specifying payloads larger than 65535 bytes.</t>
</section>

<section title="Specification">
<t>This option is specified in <xref target="RFC2675"/>.</t>
</section>

<section title="Specific Security Implications">
<t>There are no specific issues arising from this option, except for improper validity checks of the option and associated packet lengths.</t>
</section>

<section title="Operational and Interoperability Impact if Blocked">
<t>Discarding packets based on the presence of this option will cause IPv6 jumbograms to be discarded.</t>
</section>

<section title="Advice">
<t>An operator should permit this option only in specific scenarios in which support for IPv6 jumbograms is desired.
</t>
</section>
</section>



<section title="RPL Option (Type=0x63)">
<section title="Uses">
<t>The RPL Option provides a mechanism to include routing information with each datagram that an RPL router forwards.</t>
</section>

<section title="Specification">
<t>This option was originally specified in <xref target="RFC6553"/>. It has been deprecated by <xref target="RFC9008"/>.</t>
</section>

<section title="Specific Security Implications">
<t>Those described in <xref target="RFC9008"/>.</t>
</section>

<section title="Operational and Interoperability Impact if Blocked">
<t>This option is meant to be employed within an RPL instance. As a result, discarding packets based on the presence of this option outside of an RPL instance will not result in interoperability implications.</t>
</section>

<section title="Advice">
<t>Non-RPL routers should discard packets that contain an RPL option.</t>
</section>
</section>


<section title="RPL Option (Type=0x23)">
<section title="Uses">
<t>The RPL Option provides a mechanism to include routing information with each datagram that an RPL router forwards.</t>
</section>

<section title="Specification">
<t>This option is specified in <xref target="RFC9008"/>.</t>
</section>

<section title="Specific Security Implications">
<t>Those described in <xref target="RFC9008"/>.</t>
</section>

<section title="Operational and Interoperability Impact if Blocked">
<t>This option can survive outside of an RPL instance. As a result, discarding packets based on the presence of this option would break some use cases for RPL (see <xref target="RFC9008"/>).</t>
</section>

<section title="Advice">
<t>Intermediate systems should not discard IPv6 packets based on the presence of this option.</t>
</section>
</section>



<section title="Tunnel Encapsulation Limit (Type=0x04)">
<section title="Uses">
<t>The Tunnel Encapsulation Limit option can be employed to specify how many further levels of nesting the packet is permitted to undergo.</t>
</section>

<section title="Specification">
<t>This option is specified in <xref target="RFC2473"/>.</t>
</section>

<section title="Specific Security Implications">
<t>Those described in <xref target="RFC2473"/>.</t>
</section>

<section title="Operational and Interoperability Impact if Blocked">
<t>Discarding packets based on the presence of this option could result in tunnel traffic being discarded.</t>
</section>

<section title="Advice">
<t>Intermediate systems should not discard packets based on the presence of this option.</t>
</section>
</section>


<section title="Router Alert (Type=0x05)">
<section title="Uses">
<t>The Router Alert option <xref target="RFC2711"/> is employed by a number of protocols, including the Resource reSerVation Protocol (RSVP) <xref target="RFC2205"/>, Multicast Listener Discovery (MLD) <xref target="RFC2710"/> <xref target="RFC3810"/>, Multicast Router Discovery (MRD) <xref target="RFC4286"/>, and General Internet Signaling Transport (GIST) <xref target="RFC5971"/>. Its usage is discussed in detail in <xref target="RFC6398"/>.
</t>


</section>

<section title="Specification">
<t>This option is specified in <xref target="RFC2711"/>.</t>
</section>

<section title="Specific Security Implications" anchor="ra-usage">
<t>Since this option causes the contents of the packet to be inspected by the handling device, this option could be leveraged for performing DoS attacks. The security implications of the Router Alert option are discussed in detail in <xref target="RFC6398"/>.</t>
</section>

<section title="Operational and Interoperability Impact if Blocked">
<t>Discarding packets that contain this option would break any protocols that rely on them, such as RSVP and multicast deployments. Please see <xref target="ra-usage"/> for further details.</t>
</section>

<section title="Advice">
<t>Packets containing this option should be permitted in environments where support for RSVP, multicast routing, or similar protocols is desired.</t>
</section>
</section>


<section title="Quick-Start (Type=0x26)">
<section title="Uses">
          <t>This IP Option is used in the specification of Quick-Start for
          TCP and IP, which is an experimental mechanism that allows transport
          protocols, in cooperation with routers, to determine an allowed
          sending rate at the start and, at times, in the middle of a data
          transfer (e.g., after an idle period) <xref target="RFC4782"/>.</t>
</section>

<section title="Specification">
<t>This option is specified in <xref target="RFC4782"/>, on the "Experimental" track.</t>
</section>

<section title="Specific Security Implications">
          <t>Section 9.6 of <xref target="RFC4782"/> notes that Quick-Start is
          vulnerable to two kinds of attacks: <list style="symbols">
              <t>attacks to increase the routers' processing and state load,
              and,</t>

              <t>attacks with bogus Quick-Start Requests to temporarily tie up
              available Quick-Start bandwidth, preventing routers from
              approving Quick-Start Requests from other connections.</t>
            </list></t>

<t>We note that if routers in a given environment do not implement and enable the Quick-Start mechanism, only the general security 
implications of IP options (discussed in <xref target="ipv6-options-general-implications"/>) would apply.</t>

</section>

<section title="Operational and Interoperability Impact if Blocked">
          <t>The Quick-Start functionality would be disabled, and additional
          delays in TCP's connection establishment (for example) could be introduced.
          (Please see Section 4.7.2 of <xref target="RFC4782"/>.) We note,
          however, that Quick-Start has been proposed as a mechanism that could
          be of use in controlled environments, and not as a mechanism that
          would be intended or appropriate for ubiquitous deployment in the
          global Internet <xref target="RFC4782"/>.</t>
</section>

<section title="Advice">
          <t>Intermediate systems should not discard IPv6 packets based on the presence of this option.</t>

</section>
</section>

<section title="CALIPSO (Type=0x07)">
<section title="Uses">
<t>This option is used for encoding explicit packet Sensitivity Labels on IPv6 packets.  It is intended for use only within Multi-Level Secure (MLS) networking environments that are both trusted and trustworthy.</t>
</section>

<section title="Specification">
<t>This option is specified in <xref target="RFC5570"/>.</t>
</section>

<section title="Specific Security Implications">
          <t>Presence of this option in a packet does not by itself create any
          specific new threat. Packets with this option ought not normally be
          seen on the global public Internet.</t>
</section>

<section title="Operational and Interoperability Impact if Blocked">
          <t>If packets with this option are discarded or if the option is
          stripped from the packet during transmission from source to
          destination, then the packet itself is likely to be discarded by the
          receiver because it is not properly labeled. In some cases, the
          receiver might receive the packet but associate an incorrect
          sensitivity label with the received data from the packet whose CALIPSO
          was stripped by an intermediate router or firewall. Associating an
          incorrect sensitivity label can cause the received information
          either to be handled as more sensitive than it really is
          ("upgrading") or as less sensitive than it really is
          ("downgrading"), either of which is problematic. As noted in <xref target="RFC5570"/>, IPsec <xref target="RFC4301"/> <xref target="RFC4302"/> <xref target="RFC4303"/> can be employed to protect the CALIPSO option.</t>
</section>

<section title="Advice">
<t>
Recommendations for handling the CALIPSO option depend on the deployment environment, rather than whether an intermediate system 
  happens to be deployed as a transit device (e.g., IPv6 transit router).</t>

<t>Explicit configuration is the only method via which an intermediate system
 can know whether that particular intermediate system has been 
 deployed within a Multi-Level Secure (MLS) environment.  In many cases, 
 ordinary commercial intermediate systems (e.g., IPv6 routers and firewalls) 
 are the majority of the deployed intermediate systems inside an MLS 
 network environment. </t>

<t>For Intermediate systems that DO NOT implement <xref target="RFC5570"/>, there 
 should be a configuration option to EITHER (a) drop packets containing 
 the CALIPSO option OR  (b) to ignore the presence of the CALIPSO option
 and forward the packets normally.  In non-MLS environments, such
 intermediate systems should have this configuration option set to (a)
 above.  In MLS environments, such intermediate systems should
 have this option set to (b) above.  The default setting for this configuration
 option should be set to (a) above, because MLS environments are much
 less common than non-MLS environments.
</t>

<t>For Intermediate systems that DO implement <xref target="RFC5570"/>, there should 
 be configuration options (a) and (b) from the preceding paragraph and 
 also a third configuration option (c) to process packets containing
 a CALIPSO option as per <xref target="RFC5570"/>.  When deployed in non-MLS
 environments, such intermediate systems should have this configuration
 option set to (a) above.  When deployed in MLS environments, such
 intermediate systems should have this set to (c).  The default setting
 for this configuration option MAY be set to (a) above, because MLS 
 environments are much less common than non-MLS environments.
</t>
</section>
</section>

<section title="SMF_DPD (Type=0x08)">
<section title="Uses">
<t>This option is employed in the (experimental) Simplified Multicast Forwarding (SMF) for unique packet identification for IPv6 I-DPD, and as a mechanism to guarantee non-collision of hash values for different packets when H-DPD is used.</t>
</section>

<section title="Specification">
<t>This option is specified in <xref target="RFC6621"/>.</t>
</section>

<section title="Specific Security Implications">
<t>None. The use of transient numeric identifiers is subject to the security and privacy considerations discussed in <xref target="I-D.irtf-pearg-numeric-ids-generation"/>.</t>
</section>

<section title="Operational and Interoperability Impact if Blocked">
<t>Dropping packets containing this option within a MANET domain would break SMF. However, dropping such packets at the border of such domain would have no negative impact.</t>
</section>

<section title="Advice">
<t>Intermediate systems that are not within a MANET domain should discard packets that contain this option.</t>
</section>
</section>

<section title="Home Address (Type=0xC9)">
<section title="Uses">
<t>The Home Address option is used by a Mobile IPv6 node while away from home, to inform the recipient of the mobile node's home address.</t>
</section>

<section title="Specification">
<t>This option is specified in <xref target="RFC6275"/>.</t>
</section>

<section title="Specific Security Implications">
<t>No (known) additional security implications than those described in <xref target="RFC6275"/>.</t>
</section>

<section title="Operational and Interoperability Impact if Blocked">
<t>Discarding IPv6 packets based on the presence of this option will break Mobile IPv6.</t>
</section>

<section title="Advice">
<t>Intermediate systems should not discard IPv6 packets based on the presence of this option.</t>
</section>
</section>

<section title="Endpoint Identification (Type=0x8A)">
<section title="Uses">
<t>The Endpoint Identification option was meant to be used with the Nimrod routing architecture <xref target="NIMROD-DOC"/>, but has never seen widespread deployment.</t>
</section>

<section title="Specification">
<t>This option is specified in <xref target="NIMROD-DOC"/>.</t>
</section>

<section title="Specific Security Implications">
<t>Undetermined.</t>
</section>

<section title="Operational and Interoperability Impact if Blocked">
<t>None.</t>
</section>

<section title="Advice">
<t>Intermediate systems should discard packets that contain this option.</t>
</section>
</section>

<section title="ILNP Nonce (Type=0x8B)">
<section title="Uses">
<t>This option is employed by Identifier-Locator Network Protocol for IPv6 (ILNPv6) for providing protection against off-path attacks for packets when ILNPv6 is in use, and as a signal during initial network-layer session creation that ILNPv6 is proposed for use with this network-layer session, rather than classic IPv6.</t>
</section>

<section title="Specification">
<t>This option is specified in <xref target="RFC6744"/>.</t>
</section>

<section title="Specific Security Implications">
<t>Those described in <xref target="RFC6744"/>.</t>
</section>

<section title="Operational and Interoperability Impact if Blocked">
<t>Discarding packets that contain this option will break INLPv6 deployments.</t>
</section>

<section title="Advice">
<t>Intermediate systems should not discard packets based on the presence of this option.</t>
</section>
</section>

<section title="Line-Identification Option (Type=0x8C)">
<section title="Uses">
<t>This option is used by an Edge Router to identify the subscriber premises in scenarios where several subscriber premises may be logically connected to the same interface of an Edge Router.</t>

<!-- 
   The Line-Identification Option (LIO) is a destination option that can
   be included in IPv6 datagrams that tunnel Router Solicitation and
   Router Advertisement messages.  The use of the Line-ID option in any
   other IPv6 datagrams is not defined by this document.  Multiple Line-
   ID destination options MUST NOT be present in the same IPv6 datagram.
   The LIO has no alignment requirement.
-->
</section>

<section title="Specification">
<t>This option is specified in <xref target="RFC6788"/>.</t>
</section>

<section title="Specific Security Implications">
<t>Those described in <xref target="RFC6788"/>.</t>
</section>

<section title="Operational and Interoperability Impact if Blocked">
<t>Since this option is meant to be employed in Router Solicitation messages, discarding packets based on the presence of this option at intermediate systems will result in no interoperability implications.</t>
</section>

<section title="Advice">
<t>Intermediate devices should discard packets that contain this option.</t>
</section>
</section>

<section title="Deprecated (Type=0x4D)">
<section title="Uses">
<t>No information has been found about this option type.</t>
</section>

<section title="Specification">
<t>No information has been found about this option type.</t>
</section>

<section title="Specific Security Implications">
<t>No information has been found about this option type, and hence it has been impossible to perform the corresponding security assessment.</t>
</section>

<section title="Operational and Interoperability Impact if Blocked">
<t>Unknown.</t>
</section>

<section title="Advice">
<t>Intermediate systems should discard packets that contain this option.</t>
</section>
</section>

<section title="MPL Option (Type=0x6D)">
<section title="Uses">
<t>This option is used with the Multicast Protocol for Low power and Lossy Networks (MPL), that provides IPv6 multicast forwarding in
   constrained networks.</t>
</section>

<section title="Specification">
<t>This option is specified in <xref target="RFC7731"/>, and is meant to be included only in Hop-by-Hop Option headers.</t>
</section>

<section title="Specific Security Implications">
<t>Those described in <xref target="RFC7731"/>.</t>
</section>

<section title="Operational and Interoperability Impact if Blocked">
<t>Dropping packets that contain an MPL option within an MPL network would break the Multicast Protocol for Low power and Lossy Networks (MPL). However, dropping such packets at the border of such networks will have no negative impact.</t>
</section>

<section title="Advice">
<t>Intermediate systems should not discard packets based on the presence of this option. However, since this option has been specified for the Hop-by-Hop Options, such systems should consider the discussion in <xref target="proto0"/>.</t>
</section>
</section>
	
<section title="IP_DFF (Type=0xEE)">
<section title="Uses">
<t>This option is employed with the (Experimental) Depth-First Forwarding (DFF) in Unreliable Networks.</t>
</section>

<section title="Specification">
<t>This option is specified in <xref target="RFC6971"/>.</t>
</section>

<section title="Specific Security Implications">
<t>Those specified in <xref target="RFC6971"/>.</t>
</section>

<section title="Operational and Interoperability Impact if Blocked">
<t>Dropping packets containing this option within a routing domain that is running DFF would break DFF. However, dropping such packets at the border of such domains will have no security implications.</t>
</section>

<section title="Advice">
<t>Intermediate systems that do not operate within a routing domain that is running DFF should discard packets containing this option.</t>
</section>
</section>

<section title="RFC3692-style Experiment (Types = 0x1E, 0x3E, 0x5E, 0x7E, 0x9E, 0xBE, 0xDE, 0xFE)">
<section title="Uses">
          <t>These options can be employed for performing RFC3692-style experiments. It is only appropriate to use these values in
          explicitly configured experiments; they must not be shipped as defaults in implementations.</t>
</section>

<section title="Specification">
         <t>Specified in RFC 4727 <xref target="RFC4727"/> in the context of
          RFC3692-style experiments.</t>
</section>

<section title="Specific Security Implications">
 <t>The specific security implications will depend on the specific use of these options.</t>
</section>

<section title="Operational and Interoperability Impact if Blocked">
<t>For obvious reasons, discarding packets that contain these options limits the ability to perform legitimate experiments across IPv6 routers.</t>
</section>

<section title="Advice">
<t>Operators should determine according to their own circumstances whether to discard packets containing these IPv6 options.</t>
<!--
<t>Intermediate systems should discard packets that contain these options. Only in specific environments where RFC3692-style experiments are meant to be performed should these options be permitted.</t> -->
</section>
</section>


</section>

<section title="Advice on the handling of Packets with Unknown IPv6 Options">

<t>We refer to IPv6 options that have not been assigned an IPv6 option type in the corresponding registry (<xref target="IANA-IPV6-PARAM"/>) as "unknown IPv6 options".</t>

<section title="Uses">
          <t>New IPv6 options may be specified as part of future protocol work.</t>
</section>

<section title="Specification">
<t>The processing of unknown IPv6 options is specified in <xref target="RFC8200"/>.</t>
</section>

<section title="Specific Security Implications">
 <t>For obvious reasons, it is impossible to determine specific security implications of unknown IPv6 options.</t>
</section>

<section title="Operational and Interoperability Impact if Blocked">
<t>Discarding unknown IPv6 options may slow down the deployment of new IPv6 options. As noted in <xref target="draft-gont-6man-ipv6-opt-transmit"/>, the corresponding IANA registry (<xref target="IANA-IPV6-PARAM"/> should be monitored such that IPv6 option filtering rules are updated as new IPv6 options are standardized.</t>
</section>

<section title="Advice">

<t>Operators should determine according to their own circumstances whether to discard packets containing unknown IPv6 options.</t>

</section>
</section>

</section>

<section anchor="IANA" title="IANA Considerations">
    <t>This document has no actions for IANA.</t>
</section>

<section title="Privacy Considerations" anchor="Privacy" >
<t>
There are no privacy considerations associated with this document.
</t>
</section>


<section title="Security Considerations" anchor="Security" >
<t>
This document provides advice on the filtering of IPv6 packets that contain IPv6 EHs (and possibly IPv6 options) at IPv6 transit routers. It is meant to improve the current situation of widespread dropping of such IPv6 packets in those cases where the drops result from improper configuration defaults, or inappropriate advice in this area.
</t>


</section>


<section title="Acknowledgements">
<t>The authors would like to thank Ron Bonica for his work on earlier versions of this document.</t>
<t>The authors of this document would like to thank (in alphabetical order) Mikael Abrahamsson, Brian Carpenter, Darren Dukes, Lars Eggert, David Farmer, Mike Heard, Bob Hinden, Christian Huitema, Benjamin Kaduk, Erik Kline, Jen Linkova, Carlos Pignataro, Alvaro Retana, Maria Ines Robles, Donald Smith, Pascal Thubert, Ole Troan, Gunter Van De Velde, and Eric Vyncke, for providing valuable comments on earlier versions of this document.</t>
<t>This document borrows some text and analysis from <xref target="RFC7126"/>, authored by Fernando Gont, Randall Atkinson, and Carlos Pignataro.</t>

<t>The authors would like to thank Eric Vyncke for his guidance during the publication process of this document.</t>

<t>Fernando would also like to thank Brian Carpenter and Ran Atkinson who, over the years, have answered many questions and provided valuable comments that have benefited his protocol-related work (including the present document).</t>
</section>


</middle>

<back>
<references title="Normative References">
    <?rfc include="reference.RFC.1034" ?>
    <?rfc include="reference.RFC.5570" ?>
    <?rfc include="reference.RFC.2119" ?>
    <?rfc include="reference.RFC.8174" ?>

    <?rfc include="reference.RFC.2205" ?>

    <?rfc include="reference.RFC.2675" ?>
    <?rfc include="reference.RFC.4301" ?>
    <?rfc include="reference.RFC.4302" ?>
    <?rfc include="reference.RFC.4303" ?>

    <?rfc include="reference.RFC.6275" ?>
    <?rfc include="reference.RFC.7401" ?>
    <?rfc include="reference.RFC.5533" ?>
    <?rfc include="reference.RFC.3692" ?>
    <?rfc include="reference.RFC.4727" ?>
    <?rfc include="reference.RFC.2710" ?>
    <?rfc include="reference.RFC.3810" ?> 
    <?rfc include="reference.RFC.4286" ?>     
    <?rfc include="reference.RFC.5971" ?>       
    <?rfc include="reference.RFC.2711" ?>
    <?rfc include="reference.RFC.5095" ?>
    <?rfc include="reference.RFC.6550" ?>
    <?rfc include="reference.RFC.6621" ?>
    <?rfc include="reference.RFC.6971" ?>
    <?rfc include="reference.RFC.7045" ?>    
    <?rfc include="reference.RFC.7112" ?>
    <?rfc include="reference.RFC.4782" ?>
    <?rfc include="reference.RFC.6788" ?>
    <?rfc include="reference.RFC.6740" ?>
    <?rfc include="reference.RFC.6744" ?>    
    <?rfc include="reference.RFC.2473" ?>
    <?rfc include="reference.RFC.6553" ?>
    <?rfc include="reference.RFC.6554" ?>
    <?rfc include="reference.RFC.6398" ?>
    <?rfc include="reference.RFC.8754" ?>

    <?rfc include="reference.RFC.9008" ?>

    <?rfc include="reference.RFC.7731" ?>
    <?rfc include="reference.RFC.8200" ?>
    <?rfc include="reference.RFC.8900" ?>
</references>

<references title="Informative References">
    <?rfc include="reference.RFC.2460" ?>
    <?rfc include="reference.RFC.3871" ?>
    <?rfc include="reference.RFC.6192" ?>
    <?rfc include="reference.RFC.7126" ?>
    <?rfc include="reference.RFC.7739" ?>

    <?rfc include="reference.I-D.irtf-pearg-numeric-ids-generation" ?>

    <?rfc include="reference.RFC.9098" ?>


    <?rfc include="reference.RFC.7872" ?>


      <reference anchor="draft-ietf-nimrod-eid">
        <front>
          <title>Endpoint Identifier Destination Option</title>

          <author fullname="Charles Lynn" initials="C.L." surname="Lynn">
            <organization>BBN Systems and Technologies</organization>
          </author>

          <date month="November" year="1995"/>
        </front>

        <seriesInfo name=""
                    value="IETF Internet Draft, draft-ietf-nimrod-eid-00.txt"/>
      </reference>

	<reference anchor="NIMROD-DOC">
		<front>
			<title>http://ana-3.lcs.mit.edu/~jnc/nimrod/</title>
			<author initials="" surname="Nimrod Documentation Page" fullname="Nimrod Documentation Page">
				<organization></organization>
			</author>
			<date year=""/>
		</front>
	</reference>

      <reference anchor="Biondi2007" target="http://www.secdev.org/conf/IPv6_RH_security-csw07.pdf">
        <front>
          <title>IPv6 Routing Header Security</title>

          <author fullname="P. Biondi" initials="P." surname="Biondi">
            <organization/>
          </author>

          <author fullname="A. Ebalard" initials="A." surname="Ebalard">
            <organization/>
          </author>

          <date year="2007"/>
        </front>

        <seriesInfo name="CanSecWest 2007"
                    value="Security Conference"/>
      </reference>

      <reference anchor="IANA-PROTOCOLS"
                 target="https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml">
        <front>
          <title>Protocol Numbers</title>

          <author fullname="">
            <organization>Internet Assigned Numbers Authority</organization>
          </author>

          <date year="2014"/>
        </front>

        <format target="https://www.iana.org/assignments/protocol-numbers/protocol-numbers.txt"
                type="TXT"/>
      </reference>

      <reference anchor="IANA-IPV6-PARAM"
                 target="https://www.iana.org/assignments/ipv6-parameters/ipv6-parameters.xhtml">
        <front>
          <title>Internet Protocol Version 6 (IPv6) Parameters</title>

          <author fullname="">
            <organization>Internet Assigned Numbers Authority</organization>
          </author>

          <date month="December" year="2013"/>
        </front>
	</reference>

    <reference anchor="FW-Benchmark" target="https://www.ipv6hackers.org/files/meetings/ipv6-hackers-1/zack-ipv6hackers1-firewall-security-assessment-and-benchmarking.pdf">
  <front>
  <title abbrev="Firewall Benchmarking">Firewall Security Assessment and Benchmarking IPv6 Firewall Load Tests</title>
  <author initials="E." surname="Zack" fullname="Eldad Zack">
  </author>
  <date year=""/>
  </front>
		<seriesInfo name="" value="IPv6 Hackers Meeting #1, Berlin, Germany. June 30, 2013"/>
<!-- July 27 - August 1 -->
  </reference>


    <reference anchor="Cisco-EH" target="https://www.cisco.com/en/US/technologies/tk648/tk872/technologies_white_paper0900aecd8054d37d.pdf">
  <front>
  <title abbrev="Cisco IPv6 EH">IPv6 Extension Headers Review and Considerations</title>
  <author initials="" surname="Cisco Systems" fullname="Cisco Systems">
  </author>
  <date year=""/>
  </front>
		<seriesInfo name="" value="Whitepaper. October 2006"/>
<!-- July 27 - August 1 -->
  </reference>

      <reference anchor="draft-gont-6man-ipv6-opt-transmit">
        <front>
          <title>Transmission and Processing of IPv6 Options</title>

          <author fullname="Fernando Gont" initials="F." surname="Gont">
            <organization>SI6 Networks / UTN-FRH</organization>
          </author>
          <author fullname="Will Liu" initials="W." surname="Liu">
            <organization></organization>
          </author>
          <author fullname="Ron Bonica" initials="R." surname="Bonica">
            <organization></organization>
          </author>
          <date month="August" year="2014"/>
        </front>

        <seriesInfo name=""
                    value="IETF Internet Draft, work in progress"/>
      </reference>
      
</references>

</back>
</rfc>
