<?xml version="1.0" encoding="US-ASCII"?>
<!DOCTYPE rfc SYSTEM "rfc2629.dtd" [
<!ENTITY rfc1191 PUBLIC "" "http://xml2rfc.tools.ietf.org/public/rfc/bibxml/reference.RFC.1191.xml">
<!ENTITY rfc4821 PUBLIC "" "http://xml2rfc.tools.ietf.org/public/rfc/bibxml/reference.RFC.4821.xml">
<!ENTITY rfc2119 PUBLIC "" "http://xml2rfc.tools.ietf.org/public/rfc/bibxml/reference.RFC.2119.xml">
<!ENTITY rfc1981 PUBLIC "" "http://xml2rfc.tools.ietf.org/public/rfc/bibxml/reference.RFC.1981.xml">
<!ENTITY rfc7530 PUBLIC "" "http://xml2rfc.tools.ietf.org/public/rfc/bibxml/reference.RFC.7530.xml">
<!ENTITY rfc8085 PUBLIC "" "http://xml2rfc.tools.ietf.org/public/rfc/bibxml/reference.RFC.8085.xml">
<!ENTITY rfc6691 PUBLIC "" "http://xml2rfc.tools.ietf.org/public/rfc/bibxml/reference.RFC.6691.xml">
<!ENTITY rfc4890 PUBLIC "" "http://xml2rfc.tools.ietf.org/public/rfc/bibxml/reference.RFC.4890.xml">
<!ENTITY rfc1122 PUBLIC "" "http://xml2rfc.tools.ietf.org/public/rfc/bibxml/reference.RFC.1122.xml">
<!ENTITY rfc2923 PUBLIC "" "http://xml2rfc.tools.ietf.org/public/rfc/bibxml/reference.RFC.2923.xml">

<!ENTITY rfc4960 PUBLIC "" "http://xml2rfc.tools.ietf.org/public/rfc/bibxml/reference.RFC.4960.xml">
<!ENTITY rfc4340 PUBLIC "" "http://xml2rfc.tools.ietf.org/public/rfc/bibxml/reference.RFC.4340.xml">

<!ENTITY I-D.ietf-6man-rfc2460bis SYSTEM "http://xml2rfc.ietf.org/public/rfc/bibxml3/reference.I-D.ietf-6man-rfc2460bis.xml">

]>

<?xml-stylesheet type="text/xsl" href="rfc2629.xslt" ?><?rfc strict="yes" ?>
<?rfc toc="yes"?>
<?rfc tocdepth="4"?>
<?rfc symrefs="yes"?>
<?rfc sortrefs="yes" ?>
<?rfc compact="yes" ?>
<?rfc subcompact="no" ?>

<rfc category="std" docName="draft-ietf-6man-rfc1981bis-08"
     obsoletes="1981" ipr="pre5378Trust200902"> 

<front>

<title abbrev="IPv6 Path MTU Discovery">Path MTU Discovery for IP version 6</title>
<author fullname="Jack McCann" initials="J"
            surname="McCann">
      <organization>Digital Equipment Corporation</organization>
      <address>
        <postal>
          <street></street>
          <!-- Reorder these if your country does things differently -->
          <city></city>
          <region></region>
          <code></code>
          <country></country>
        </postal>
        <phone></phone>
	<facsimile></facsimile>
        <email></email>
        <!-- uri and facsimile elements may also be added -->
      </address>
</author>

<author fullname="Stephen E. Deering" initials="S"
            surname="Deering">
      <organization>Retired</organization>
      <address>
        <postal>
          <street></street>
          <!-- Reorder these if your country does things differently -->
          <city>Vancouver</city>
          <region>British Columbia</region>
          <code></code>
          <country>Canada</country>
        </postal>
        <phone></phone>
	<facsimile></facsimile>
        <email></email>
        <!-- uri and facsimile elements may also be added -->
      </address>
</author>

<author fullname="Jeffrey Mogul" initials="J"
            surname="Mogul">
      <organization>Digital Equipment Corporation</organization>
      <address>
        <postal>
          <street></street>
          <!-- Reorder these if your country does things differently -->
          <city></city>
          <region></region>
          <code></code>
          <country></country>
        </postal>
        <phone></phone>
	<facsimile></facsimile>
        <email></email>
        <!-- uri and facsimile elements may also be added -->
      </address>
</author>

<author fullname="Robert M. Hinden" initials="R"
            surname="Hinden" role="editor">
      <organization>Check Point Software</organization>
      <address>
        <postal>
          <street>959 Skyway Road</street>
          <!-- Reorder these if your country does things differently -->
          <city>San Carlos</city>
          <region>CA</region>
          <code>94070</code>
          <country>USA</country>
        </postal>
        <phone></phone>
	<facsimile></facsimile>
        <email>bob.hinden@gmail.com</email>
        <!-- uri and facsimile elements may also be added -->
      </address>
</author>


<date day="" month="" year="" />

<abstract>

   <t>
   This document describes Path MTU Discovery for IP version 6.  It is
   largely derived from RFC 1191, which describes Path MTU Discovery for
   IP version 4.  It obsoletes RFC1981.</t>

</abstract>

</front>

<middle>

<section title="Introduction" anchor="Intro">
    
   <t>When one IPv6 node has a large amount of data to send to another
   node, the data is transmitted in a series of IPv6 packets.  These
   packets can have a size less than or equal to the Path MTU (PMTU).
   Alternatively, they can be larger packets that are fragmented into a
   series of fragments each with a size less than or equal to the PMTU.</t>

   <t>It is usually preferable that
   these packets be of the largest size that can successfully traverse
   the path from the source node to the destination node without the need
   for IPv6 fragmentation.  This packet size is referred to as the Path
   MTU, and it is equal to the minimum link MTU of all the links
   in a path.  This document defines a standard mechanism for a node to
   discover the PMTU of an arbitrary path.
   </t>
   
   <t>IPv6 nodes should implement Path MTU Discovery in order to discover
   and take advantage of paths with PMTU greater than the IPv6 minimum
   link MTU <xref target="I-D.ietf-6man-rfc2460bis"/>.  A minimal IPv6
   implementation (e.g., in a boot ROM) may choose to omit implementation
   of Path MTU Discovery.
   </t>
   
   <t>Nodes not implementing Path MTU Discovery must use the IPv6 minimum link
   MTU defined in <xref target="I-D.ietf-6man-rfc2460bis"/> as the
   maximum packet size.  In most cases, this will result in the use of
   smaller packets than necessary, because most paths have a PMTU greater
   than the IPv6 minimum link MTU.  A node sending packets much smaller
   than the Path MTU allows is wasting network resources and probably
   getting suboptimal throughput.
   </t>

   <t>Nodes implementing Path MTU Discovery and sending packets larger
   than the IPv6 minimum link MTU are susceptible to problematic
   connectivity if ICMPv6 <xref target="ICMPv6"/> messages are blocked or
   not transmitted.  For example, this will result in connections that
   complete the TCP three-way handshake correctly but then hang when data
   is transferred.  This state is referred to as a black hole connection
   <xref target="RFC2923"/>.  Path MTU Discovery relies on ICMPv6 Packet
   Too Big (PTB) to determine the MTU of the path.</t>

  <t>An extension to Path MTU Discovery defined in this document can be
  found in <xref target="RFC4821"/>.
  RFC4821 defines a method for Packetization Layer Path MTU Discovery
  (PLPMTUD) designed for use over paths where delivery of ICMPv6 messages
  to a host is not assured.</t>

  <t>Note: This document is an update to <xref target="RFC1981"/> that
  was published prior to <xref target="RFC2119"/> being
  published. Consequently although RFC1981 used the "should/must" style
  language in upper and lower case, this document does not cite the
  RFC2119 definitions and only uses lower case for these words.</t>
   
</section>

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

  <t><list hangIndent="20" style="hanging">

   <t hangText="node">a device that implements IPv6.</t>

   <t hangText="router">a node that forwards IPv6 packets not
   explicitly addressed to itself.</t>

   <t hangText="host">any node that is not a router.</t>

   <t hangText="upper layer">a protocol layer immediately above IPv6.
   Examples are transport protocols such as TCP and UDP, control
   protocols such as ICMPv6, routing protocols such as OSPF, and internet
   or lower-layer protocols being "tunneled" over (i.e., encapsulated in)
   IPv6 such as IPX, AppleTalk, or IPv6 itself.</t>

   <t hangText="link">a communication facility or medium over which nodes
   can communicate at the link layer, i.e., the layer immediately below
   IPv6.  Examples are Ethernets (simple or bridged); PPP links; X.25,
   Frame Relay, or ATM networks; and internet (or higher) layer
   "tunnels", such as tunnels over IPv4 or IPv6 itself.</t>

   <t hangText="interface">a node's attachment to a link.</t>

   <t hangText="address">an IPv6-layer identifier for an interface or a
   set of interfaces.</t>

   <t hangText="packet">an IPv6 header plus payload. The packet can have
   a size less than or equal to the PMTU.  Alternatively, this can be a
   larger packet that is fragmented into a series of fragments each with
   a size less than or equal to the PMTU.
   </t>

   <t hangText="link MTU">the maximum transmission unit, i.e., maximum
   packet size in octets, that can be conveyed in one piece over a
   link.</t>

   <t hangText="path">the set of links traversed by a packet between a
   source node and a destination node.</t>

   <t hangText="path MTU">the minimum link MTU of all the links in a path
   between a source node and a destination node.</t>

   <t hangText="PMTU">path MTU</t>

   <t hangText="Path MTU Discovery">process by which a node learns the
   PMTU of a path</t>

   <t hangText="EMTU_S">Effective MTU for sending, used by upper layer
   protocols to limit the size of IP packets they queue for sending
   <xref target="RFC6691"/> <xref target="RFC1122"/>.</t>

  <t hangText="EMTU_R">Effective MTU for receiving, the largest packet
  that can be reassembled at the receiver <xref target="RFC1122"/>.</t>

   <t hangText="flow">a sequence of packets sent from a particular source
   to a particular (unicast or multicast) destination for which the
   source desires special handling by the intervening routers.</t>

   <t hangText="flow id">a combination of a source address and a non-zero
   flow label.</t>

  </list></t>

</section>

<section title="Protocol Overview" anchor="Overview"> 

   <t>This memo describes a technique to dynamically discover the PMTU of
   a path.  The basic idea is that a source node initially assumes that
   the PMTU of a path is the (known) MTU of the first hop in the path.
   If any of the packets sent on that path are too large to be forwarded
   by some node
   along the path, that node will discard them and return ICMPv6 Packet
   Too Big messages.
   Upon receipt of such a
   message, the source node reduces its assumed PMTU for the path based
   on the MTU of the constricting hop as reported in the Packet Too Big
   message.  The decreased PMTU causes the source to send smaller
   packets
   or change EMTU_S to cause upper layer to reduce the size of
   IP packets it sends.
   </t>

   <t>The Path MTU Discovery process ends when the source node's estimate
   of the PMTU is less than or equal to the actual PMTU.  Note that
   several iterations of the packet-sent/Packet-Too-Big-message-received
   cycle may occur before the Path MTU Discovery process ends, as there
   may be links with smaller MTUs further along the path.
   </t>
 
   <t>Alternatively, the node may elect to end the discovery process by
   ceasing to send packets larger than the IPv6 minimum link MTU.
   </t>
   
   <t>The PMTU of a path may change over time, due to changes in the
   routing topology.  Reductions of the PMTU are detected by Packet Too
   Big messages.  To detect increases in a path's PMTU, a node
   periodically increases its assumed PMTU.  This will almost always
   result in packets being discarded and Packet Too Big messages being
   generated, because in most cases the PMTU of the path will not have
   changed.  Therefore, attempts to detect increases in a path's PMTU
   should be done infrequently.
   </t>
   
   <t>Path MTU Discovery supports multicast as well as unicast
   destinations.  In the case of a multicast destination, copies of a
   packet may traverse many different paths to many different nodes.
   Each path may have a different PMTU, and a single multicast packet
   may result in multiple Packet Too Big messages, each reporting a
   different next-hop MTU.  The minimum PMTU value across the set of
   paths in use determines the size of subsequent packets sent to the
   multicast destination.
   </t>

   <t>Note that Path MTU Discovery must be performed even in cases where
   a node "thinks" a destination is attached to the same link as itself,
   it might have a PMTU lower than the link MTU.
   In a situation such as when a neighboring router acts as proxy <xref
   target="ND"/> for some destination, the destination can appear
   to be directly connected but it is in fact more than one hop away.
   </t>
   
</section>


<section title="Protocol Requirements" anchor="Req"> 

   <t>As discussed in <xref target="Intro"/>, IPv6 nodes are not required
   to implement Path MTU Discovery.  The requirements in this section
   apply only to those implementations that include Path MTU Discovery.
   </t>

   <t>Nodes should appropriately validate the payload of ICMPv6 PTB
   messages to ensure these are received in response to transmitted
   traffic (i.e., a reported error condition that corresponds to an IPv6
   packet actually sent by the application) per <xref
   target="ICMPv6"/>.</t>

   <t>If a node receives a Packet Too Big message reporting a next-hop
   MTU that is less than the IPv6 minimum link MTU, it must discard it.
   A node must not reduce its estimate of the Path MTU below the IPv6
   minimum link MTU on receipt of an Packet Too Big message.
   </t>

   <t>When a node receives a Packet Too Big message, it must reduce its
   estimate of the PMTU for the relevant path, based on the value of the
   MTU field in the message.  The precise behavior of a node in this
   circumstance is not specified, since different applications may have
   different requirements, and since different implementation
   architectures may favor different strategies.
   </t>
   
   <t>After receiving a Packet Too Big message, a node must attempt to
   avoid eliciting more such messages in the near future.  The node must
   reduce the size of the packets it is sending along the path.  Using a
   PMTU estimate larger than the IPv6 minimum link MTU may continue to
   elicit Packet Too Big messages.
   Because each of these messages (and the dropped packets they respond to)
   consume network resources, Nodes using
   Path MTU Discovery must detect decreases in PMTU as fast as possible.
   </t>

   <t>Nodes may detect increases in PMTU, but because doing
   so requires sending packets larger than the current estimated PMTU,
   and because the likelihood is that the PMTU will not have increased,
   this must be done at infrequent intervals.  An attempt to detect an
   increase (by sending a packet larger than the current estimate) must
   not be done less than 5 minutes after a Packet Too Big message has
   been received for the given path.  The recommended setting for this
   timer is twice its minimum value (10 minutes).
   </t>
      
   <t>A node must not increase its estimate of the Path MTU in response to
   the contents of a Packet Too Big message.  A message purporting to
   announce an increase in the Path MTU might be a stale packet that has
   been floating around in the network, a false packet injected as part
   of a denial-of-service attack, or the result of having multiple paths
   to the destination, each with a different PMTU.
   </t>
   
</section>

<section title="Implementation Issues" anchor="Implementation">

   <t>This section discusses a number of issues related to the
   implementation of Path MTU Discovery.  This is not a specification,
   but rather a set of notes provided as an aid for implementers.
   </t>
   
   <t>The issues include: </t>
 
   <t><list style="hanging" hangIndent="3">

   <t hangText="-">What layer or layers implement Path MTU Discovery?</t>

   <t hangText="-">How is the PMTU information cached?</t>

   <t hangText="-">How is stale PMTU information removed?</t>

   <t hangText="-">What must transport and higher layers do?</t>
   </list></t>

<section title="Layering" anchor="Layering">

   <t>In the IP architecture, the choice of what size packet to send is
   made by a protocol at a layer above IP.  This memo refers to such a
   protocol as a "packetization protocol".  Packetization protocols are
   usually transport protocols (for example, TCP) but can also be
   higher-layer protocols (for example, protocols built on top of UDP).
   </t>
   
   <t>Implementing Path MTU Discovery in the packetization layers
   simplifies some of the inter-layer issues, but has several drawbacks:
   the implementation may have to be redone for each packetization
   protocol, it becomes hard to share PMTU information between different
   packetization layers, and the connection-oriented state maintained by
   some packetization layers may not easily extend to save PMTU
   information for long periods.
   </t>
   
   <t>It is therefore suggested that the IP layer store PMTU information
   and that the ICMPv6 layer process received Packet Too Big messages.
   The packetization layers may respond to changes in the PMTU by
   changing the size of the messages they send.  To support this
   layering, packetization layers require a way to learn of changes in
   the value of MMS_S, the "maximum send transport-message size" <xref
   target="RFC1122"/>.
   </t>

   <t>MMS_S is a transport message size calculated by subtracting the
   size of the IPv6 header (including IPv6 extension headers) from the
   largest IP packet that can be sent, EMTU_S.  MMS_S is limited by a
   combination of factors, including the PMTU, support for packet
   fragmentation and reassembly, and the packet reassembly limit (see
   <xref target="I-D.ietf-6man-rfc2460bis"/> section "Fragment Header").
   When source fragmentation is available, EMTU_S is set to EMTU_R, as
   indicated by the receiver using an upper layer protocol or based on
   protocol requirements (1500 octets for IPv6). When a message larger
   than PMTU is to be transmitted, the source creates fragments, each
   limited by PMTU.  When source fragmentation is not desired, EMTU_S is
   set to PMTU, and the upper layer protocol is expected to either
   perform its own fragmentation and reassembly or otherwise limit the
   size of its messages accordingly.</t>

   <t>However, packetization layers are encouraged to avoid sending messages
   that will require source fragmentation (for the case against fragmentation,
   see <xref target="FRAG"/>).  
   </t>
   
</section>

<section title="Storing PMTU information" anchor="Storing">

   <t>Ideally, a PMTU value should be associated with a specific path
   traversed by packets exchanged between the source and destination
   nodes. However, in most cases a node will not have enough information
   to completely and accurately identify such a path. Rather, a node must
   associate a PMTU value with some local representation of a path. It is
   left to the implementation to select the local representation of a
   path.
   For nodes with multiple interfaces, Path MTU information should
   be maintained for each IPv6 link.
   </t>
   
   <t>In the case of a multicast destination address, copies of a packet
   may traverse many different paths to reach many different nodes.  The
   local representation of the "path" to a multicast destination must
   represent a potentially large set of paths.</t>

   <t>Minimally, an implementation could maintain a single PMTU value to
   be used for all packets originated from the node.  This PMTU value
   would be the minimum PMTU learned across the set of all paths in use
   by the node.  This approach is likely to result in the use of smaller
   packets than is necessary for many paths.  In the case of multipath
   routing (e.g., Equal Cost Multipath Routing (ECMP) ), a set of paths can
   exist even for a single source and destination pair.</t>

   <t>An implementation could use the destination address as the local
   representation of a path.  The PMTU value associated with a
   destination would be the minimum PMTU learned across the set of all
   paths in use to that destination.  This approach will result in the use of
   optimally sized packets on a per-destination basis.  This approach
   integrates nicely with the conceptual model of a host as described in
   <xref target="ND"/>: a PMTU value could be stored with the
   corresponding entry in the destination cache.</t>

   <t>If flows <xref target="I-D.ietf-6man-rfc2460bis"/> are in use, an
   implementation could use the flow id as the local representation of a
   path.  Packets sent to a particular destination but belonging to
   different flows may use different paths, as with ECMP, in which the
   choice of path might depending on the flow id.  This approach might
   result in the use of optimally sized packets on a per-flow basis,
   providing finer granularity than PMTU values maintained on a
   per-destination basis.</t>

   <t>For source routed packets (i.e. packets containing an IPv6 Routing
   header <xref target="I-D.ietf-6man-rfc2460bis"/>), the source route
   may further qualify the local representation of a path.</t>

   <t>Initially, the PMTU value for a path is assumed to be the (known) MTU
   of the first-hop link.</t>

   <t>When a Packet Too Big message is received, the node determines which
   path the message applies to based on the contents of the Packet Too
   Big message.  For example, if the destination address is used as the
   local representation of a path, the destination address from the
   original packet would be used to determine which path the message
   applies to.</t>

   <t><list>
   <t>Note: if the original packet contained a Routing header, the
      Routing header should be used to determine the location of the
      destination address within the original packet.  If Segments Left
      is equal to zero, the destination address is in the Destination
      Address field in the IPv6 header.  If Segments Left is greater
      than zero, the destination address is the last address
      (Address[n]) in the Routing header.</t>
   </list></t>

   <t>The node then uses the value in the MTU field in the Packet Too Big
   message as a tentative PMTU value or the IPv6 minimum link MTU
   if that is larger, and compares the tentative PMTU to
   the existing PMTU.  If the tentative PMTU is less than the existing
   PMTU estimate, the tentative PMTU replaces the existing PMTU as the
   PMTU value for the path.</t>

   <t>The packetization layers must be notified about decreases in the
   PMTU.  Any packetization layer instance (for example, a TCP
   connection) that is actively using the path must be notified if the
   PMTU estimate is decreased.</t>

   <t><list>

   <t>Note: even if the Packet Too Big message contains an Original
      Packet Header that refers to a UDP packet, the TCP layer must be
      notified if any of its connections use the given path.</t>

   </list></t>

   <t>Also, the instance that sent the packet that elicited the Packet Too
   Big message should be notified that its packet has been dropped, even
   if the PMTU estimate has not changed, so that it may retransmit the
   dropped data.</t>

   <t><list>
   <t>Note: An implementation can avoid the use of an asynchronous
      notification mechanism for PMTU decreases by postponing
      notification until the next attempt to send a packet larger than
      the PMTU estimate.  In this approach, when an attempt is made to
      SEND a packet that is larger than the PMTU estimate, the SEND
      function should fail and return a suitable error indication.  This
      approach may be more suitable to a connectionless packetization
      layer (such as one using UDP), which (in some implementations) may
      be hard to "notify" from the ICMPv6 layer.  In this case, the normal
      timeout-based retransmission mechanisms would be used to recover
      from the dropped packets.</t>

    </list></t>

   <t>It is important to understand that the notification of the
   packetization layer instances using the path about the change in the
   PMTU is distinct from the notification of a specific instance that a
   packet has been dropped.  The latter should be done as soon as
   practical (i.e., asynchronously from the point of view of the
   packetization layer instance), while the former may be delayed until
   a packetization layer instance wants to create a packet.
   </t>

</section>

<section title="Purging stale PMTU information" anchor="Purging">

   <t>Internetwork topology is dynamic; routes change over time.  While the
   local representation of a path may remain constant, the actual
   path(s) in use may change.  Thus, PMTU information cached by a node
   can become stale.</t>

   <t>If the stale PMTU value is too large, this will be discovered
   almost immediately once a large enough packet is sent on the path.  No
   such mechanism exists for realizing that a stale PMTU value is too
   small, so an implementation should "age" cached values.  When a PMTU
   value has not been decreased for a while (on the order of 10 minutes),
   it should probe to find if a larger PMTU is supported.
   </t>

   <t><list>
   <t>Note: an implementation should provide a means for changing the
   timeout duration, including setting it to "infinity".  For example,
   nodes attached to a link with a large MTU which is then attached to
   the rest of the Internet via a link with a small MTU are never going
   to discover a new non-local PMTU, so they should not have to put up
   with dropped packets every 10 minutes.</t>
    </list></t>

</section>

<section title="Packetization layer actions" anchor="TCP">

  <t>
  A packetization layer (e.g., TCP) must use the PMTU for the path(s)
  in use by a connection; it should not send segments that would result
  in packets larger than the PMTU, except to probe during PMTU discovery
  (this probe packet must not be fragmented to the PMTU).  A simple
  implementation could ask the IP layer for this value each time it
  created a new segment, but this could be inefficient.  An
  implementation typically caches other values derived from the PMTU.  It
  may be simpler to receive asynchronous notification when the PMTU
  changes, so that these variables may be also updated.</t>

   <t>A TCP implementation must also store the Maximum Segment Size (MSS)
   value received from its peer, which represents the EMTU_R, the largest
   packet that can be reassembled by the receiver, and must not send any
   segment larger than this MSS, regardless of the PMTU.
   </t>

   <t>The value sent in the TCP MSS option is independent of the PMTU;
   it is determined by the receiver reassembly limit EMTU_R.   
   This MSS option value is used by the other end of the connection,
   which may be using an unrelated PMTU value.  See <xref
   target="I-D.ietf-6man-rfc2460bis"/> sections "Packet Size Issues" and
   "Maximum Upper-Layer Payload Size" for information on selecting a
   value for the TCP MSS option.</t>

   <t>Reception of a Packet Too Big message implies that a packet was
   dropped by the node that sent the ICMPv6 message.  A reliable upper
   layer protocol will detect this loss by its own means, and recover it
   by its normal retransmission methods.  The retransmission could result
   in delay, depending on the loss detection method used by the upper
   layer protocol.  If the Path MTU Discovery process requires several
   steps to find the PMTU of the full path, this could finally delay the
   retransmission by many round-trip times.</t>

   <t>Alternatively, the retransmission could be done in immediate
   response to a notification that the Path MTU was decreased, but only
   for the specific connection specified by the Packet Too Big message,
   but only based on the message and connection.  The packet size used in
   the retransmission should be no larger than the new PMTU.</t>

   <t><list>

  <t>Note: A packetization layer that determines a probe packet is lost, needs
  to adapt the segment size of the retransmission.  Using the reported
  size in the last Packet Too Big message, however, can lead to further
  losses as there might be smaller PMTU limits at the routers further
  along the path.  This would lead to loss of all retransmitted segments
  and therefore cause unnecessary congestion as well as additional
  packets to be sent each time a new router announces a smaller MTU.  Any
  packetization layer that uses retransmission is therefore also
  responsible for congestion control of its retransmissions <xref
  target="RFC8085"/>.</t>


    </list></t>

   <t>A loss caused by a PMTU probe indicated by the reception of a
   Packet Too Big message must not be considered as a congestion
   notification and hence the congestion window may not change.</t>
 
</section>

<section title="Issues for other transport protocols" anchor="Transport">

  <t>Some transport protocols
  are not allowed to repacketize when doing a retransmission.  That is,
  once an attempt is made to transmit a segment of a certain size, the
  transport cannot split the contents of the segment into smaller
  segments for retransmission.  In such a case, the original segment can
  be fragmented by the IP layer during retransmission.  Subsequent
  segments, when transmitted for the first time, should be no larger than
  allowed by the Path MTU.</t>

  <t>Path MTU Discovery for IPv4 <xref target="RFC1191"/> used NFS as an
  example of a UDP-based application that benefits from PMTU discovery.
  Since then <xref target="RFC7530"/>, states the supported transport
  layer between NFS and IP must be an IETF standardized transport
  protocol that is specified to avoid network congestion; such transports
  include TCP, Stream Control Transmission Protocol (SCTP) <xref
  target="RFC4960"/>, and the Datagram Congestion Control Protocol (DCCP)
  <xref target="RFC4340"/>.

   In this case, the transport is responsible for ensuring that
   transmitted segments (except probes) conform to the the Path MTU,
   including supporting PMTU discovery probe transmissions as needed.</t>

</section>

<section title="Management interface" anchor="Management">

   <t>It is suggested that an implementation provide a way for a system
   utility program to:</t>

   <t><list style="hanging" hangIndent="3">
   <t hangText="-">Specify that Path MTU Discovery not be done on a given path.</t>
   <t hangText="-">Change the PMTU value associated with a given path.</t>
   </list></t>

   <t>The former can be accomplished by associating a flag with the path;
   when a packet is sent on a path with this flag set, the IP layer does
   not send packets larger than the IPv6 minimum link MTU.</t>

   <t>These features might be used to work around an anomalous situation,
   or by a routing protocol implementation that is able to obtain Path
   MTU values.</t>

   <t>The implementation should also provide a way to change the timeout
   period for aging stale PMTU information.</t>

</section>
</section>

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

   <t>This Path MTU Discovery mechanism makes possible two denial-of-
   service attacks, both based on a malicious party sending false Packet
   Too Big messages to a node.</t>

   <t><list>

   <t>In the first attack, the false message indicates a PMTU much
   smaller than reality.  In response, the victim node should never set
   its PMTU estimate below the IPv6 minimum link MTU. A sender that
   falsely reduces to this MTU would observe suboptimal performance.</t>

   <t>In the second attack, the false message indicates a PMTU larger
   than reality.  If believed, this could cause temporary blockage as the
   victim sends packets that will be dropped by some router.  Within one
   round-trip time, the node would discover its mistake (receiving Packet
   Too Big messages from that router), but frequent repetition of this
   attack could cause lots of packets to be dropped.  A node, however,
   must not raise its estimate of the PMTU based on a Packet Too Big
   message, so should not be vulnerable to this attack.</t>

   </list></t>

   <t>Both of these attacks can cause a black hole connection, that is,
   the TCP three-way handshake completes correctly but the connection
   hangs when data is transfered.</t>

   <t>A malicious party could also cause problems if it could stop a victim
   from receiving legitimate Packet Too Big messages, but in this case
   there are simpler denial-of-service attacks available.</t>

   <t>If ICMPv6 filtering prevents reception of ICMPv6 Packet Too Big
   messages, the source will not learn the actual path MTU. Packetization
   Layer Path MTU Discovery <xref target="RFC4821"/> does not rely upon
   network support for ICMPv6 messages and is therefore considered more
   robust than standard PMTUD.  It is not susceptible to "black holed"
   connections caused by filtering of ICMPv6 message. See <xref
   target="RFC4890"/> for recommendations regarding filtering ICMPv6
   messages.
   </t>


</section>

<section title="Acknowledgements" anchor="Ack">

   <t>We would like to acknowledge the authors of and contributors to
   <xref target="RFC1191"/>, from which the majority of this document was
   derived.  We would also like to acknowledge the members of the IPng
   working group for their careful review and constructive
   criticisms.</t>

   <t>We would also like to acknowledge the contributors to this update
   of "Path MTU Discovery for IP version 6".  This includes members of
   the 6MAN w.g., area directorate reviewers, the IESG, and especially to
   Joe Touch and Gorry Fairhurst.</t>

</section>


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

  <t>This document does not have any IANA actions</t>

</section>

</middle>

<back>

<references title="Normative References">

    &I-D.ietf-6man-rfc2460bis;

<reference anchor="ICMPv6" target="http://www.rfc-editor.org/info/rfc4443">
<front>
<title>
Internet Control Message Protocol (ICMPv6) for the Internet Protocol Version 6 (IPv6) Specification
</title>
<author initials="A." surname="Conta" fullname="A. Conta">
<organization/>
</author>
<author initials="S." surname="Deering" fullname="S. Deering">
<organization/>
</author>
<author initials="M." surname="Gupta" fullname="M. Gupta" role="editor">
<organization/>
</author>
<date year="2006" month="March"/>
<abstract>
<t>
This document describes the format of a set of control messages used in
ICMPv6 (Internet Control Message Protocol). ICMPv6 is the Internet
Control Message Protocol for Internet Protocol version 6
(IPv6). [STANDARDS-TRACK]
</t>
</abstract>
</front>
<seriesInfo name="RFC" value="4443"/>
<seriesInfo name="DOI" value="10.17487/RFC4443"/>
</reference>

</references>

<references title="Informative References">

    &rfc1191;
    &rfc4821;
    &rfc7530;

    &rfc8085;
    &rfc6691;
    &rfc4890;
    &rfc1122;
    &rfc2923;

    &rfc2119;
    &rfc1981;

    &rfc4960;
    &rfc4340;


    <reference anchor="FRAG">
    <front>
    <title>Fragmentation Considered Harmful</title>
    <author initials="C" surname="Kent" fullname="C. Kent"> </author>
    <author initials="J" surname="Mogul" fullname="Jeff Mogul"></author>
    <date month="August" year="1987" />
   </front>
   <seriesInfo name="In Proc. SIGCOMM '87 Workshop on Frontiers in
		     Computer Communications Technology" value=""/>
   </reference>

<reference anchor="ND" target="http://www.rfc-editor.org/info/rfc4861">
<front>
<title>Neighbor Discovery for IP version 6 (IPv6)</title>
<author initials="T." surname="Narten" fullname="T. Narten">
<organization/>
</author>
<author initials="E." surname="Nordmark" fullname="E. Nordmark">
<organization/>
</author>
<author initials="W." surname="Simpson" fullname="W. Simpson">
<organization/>
</author>
<author initials="H." surname="Soliman" fullname="H. Soliman">
<organization/>
</author>
<date year="2007" month="September"/>
<abstract>
<t>
This document specifies the Neighbor Discovery protocol for IP Version
6. IPv6 nodes on the same link use Neighbor Discovery to discover each
other's presence, to determine each other's link-layer addresses, to find
routers, and to maintain reachability information about the paths to
active neighbors. [STANDARDS-TRACK]
</t>
</abstract>
</front>
<seriesInfo name="RFC" value="4861"/>
<seriesInfo name="DOI" value="10.17487/RFC4861"/>
</reference>

</references>


  <section title="Comparison to RFC 1191" anchor="Comparison_RFC1191">

   <t>This document is based in large part on RFC 1191, which describes
   Path MTU Discovery for IPv4.  Certain portions of RFC 1191 were not
   needed in this document:</t>

   <t><list style="hanging" hangIndent="22">

   <t hangText="router specification">Packet Too Big messages and
   corresponding router behavior are defined in <xref target="ICMPv6"/></t>

   <t hangText="Don't Fragment bit">there is no DF bit in IPv6
   packets</t>

   <t hangText="TCP MSS discussion">selecting a value to send in the TCP
   MSS option is discussed in <xref target="I-D.ietf-6man-rfc2460bis"/></t>

   <t hangText="old-style messages">all Packet Too Big messages report
   the MTU of the constricting link</t>

   <t hangText="MTU plateau tables">not needed because there are no
   old-style messages</t>
  </list></t>

  </section>

  <section title="Changes Since RFC 1981" anchor="Changes_RFC1981">


   <t>This document is based on RFC1981 has the following changes from
   RFC1981:</t>

     <t><list hangIndent="3" style="hanging">

     <t hangText="o">Clarified <xref target="Intro"/> "Introduction" that
     the purpose of PMTUD is to reduce the need for IPv6
     fragmentation.</t>

     <t hangText="o">Added text to <xref target="Intro"/> "Introduction"
     about the effects on PMTUD when ICMPv6 messages are blocked.</t>

    <t hangText="o">Added Note to Introduction that document that this
     document doesn't cite RFC2119 and only uses lower case "should/must"
     language.  Changed all upper case "should/must" to lower case.</t>

     <t hangText="o">Added a short summary to the <xref target="Intro"/>
     "Introduction" of Packetization Layer Path MTU Discovery ((PLPMTUD)
     and a reference to RFC4821 that defines it.</t>

     <t hangText="o">Aligned text in <xref target="Term"/> "Terminology"
     to match current packetization layer terminology.</t>

     <t hangText="o">Added clarification in <xref target="Req"/>
     "Protocol Requirements" that nodes should validate the payload of
     ICMP PTB message per RFC4443, and that nodes should detect decreases
     in PMTU as fast as possible.</t>

     <t hangText="o">Remove Note from <xref target="Req"/> "Protocol
     Requirements" about a Packet Too Big message reporting a next-hop
     MTU that is less than the IPv6 minimum link MTU because this was
     removed from <xref target="I-D.ietf-6man-rfc2460bis"/>.</t>

     <t hangText="o">Added clarification in <xref target="Storing"/>
     "Storing PMTU information" to discard an ICMPv6 Packet Too Big
     message if it contains a MTU less than the IPv6 minimum link
     MTU.</t>

     <t hangText="o">Added clarification <xref target="Storing"/>
     "Storing PMTU information" that nodes with multiple interface, Path
     MTU information should be stored for each link.</t>

     <t hangText="o">Removed text in <xref target="Storing"/> "Storing
     PMTU information" about the RH0 routing header because it was
     deprecated by RFC5095.</t>

     <t hangText="o">Removed text about obsolete security classification
     from <xref target="Storing"/> "Storing PMTU information".</t>

     <t hangText="o">Changed title of <xref target="TCP"/> to
     "Packetization Layer actions" and changed to text in the first
     paragraph to to generalize this section to cover all packetization
     layers, not just TCP.</t>

     <t hangText="o">Clarified text in <xref target="TCP"/>
     "Packetization Layer actions" to use normal packetization layer
     retransmission methods.</t>

     <t hangText="o">Removed text in <xref target="TCP"/> "Packetization
     Layer actions" that described 4.2 BSD because it is obsolete, and
     removed reference to TP4.</t>

     <t hangText="o">Updated text in <xref target="Transport"/> "Issues
     for other transport protocols" about NFS including adding a current
     reference to NFS and removing obsolete text.</t>

     <t hangText="o">Added paragraph to <xref target="Security"/>
     "Security Considerations" about black hole connections if PTB
     messages are not received, and comparison to PLPMTD.</t>

    <t hangText="o">Updated <xref target="Ack"/> "Acknowledgements".</t>

     <t hangText="o">Editorial Changes.</t>

    </list></t>

 <section title="Change History Since RFC1981" anchor="ID_Changes">
  
   <t>NOTE TO RFC EDITOR:  Please remove this subsection prior to RFC
      Publication</t>

    <t>This section describes change history made in each Internet Draft
    that went into producing this version.  The numbers identify the
    Internet-Draft version in which the change was made.</t>
   
    <t>Working Group Internet Drafts</t>

   <t><list>

   <t><list hangIndent="5" style="hanging">

     <t hangText="08)">Based on IESG comments, cleaned up text in <xref
     target="Purging"/> regarding suggested action when PMTU value has
     not been decreased recently.</t>

     <t hangText="08)">Revision of Note in <xref target="TCP"/> to make
     text clearer.</t>

     <t hangText="08)">Updated <xref target="Ack"/> "Acknowledgements".</t>

     <t hangText="08)">Editorial Changes.</t>

     <t hangText="07)">Changes from the IESG Discuss comments from IESG
     reviews.  The changes include:</t>

     <t><list hangIndent="3" style="hanging">

     <t hangText="o">Added Note to Introduction that document that this
     document doesn't cite RFC2119 and only uses lower case "should/must"
     language.  Changed all upper case "should/must" to lower case.</t>

     <t hangText="o">Added references for EMTU_S and EMTU_R.</t>

     <t hangText="o">Added clarification to <xref target="Req"/>
     "Protocol Requirements" that nodes should detect decreases in PMTU
     as fast as possible.</t>

     <t hangText="o">Added clarification <xref target="Storing"/>
     "Storing PMTU information" that nodes with multiple interface, Path
     MTU information should be stored for each link.</t>

     <t hangText="o">Removed text in <xref target="Storing"/> about
     Retransmission because it was unneeded.</t>

     <t hangText="o">Removed text in <xref target="Purging"/> about
     Retransmission because it was unneeded.</t>

     <t hangText="o">Rewrote text in <xref target="TCP"/> "Packetization
     Layer actions" regarding reception to make it clearer.</t>

     <t hangText="o">Rewrote the text at the end of <xref target="TCP"/>
     to remove unnecessary details and clarify not change congestion
     window.</t>
     
     <t hangText="o">Added references in <xref target="Transport"/> for SCTP
     and added DCCP (and reference) the list of examples.</t>

     <t hangText="o">Added paragraph to <xref target="Transport"/>
     "Security Considerations" about black hole connections if PTB
     messages are not received, and comparison to PLPMTD.</t>

    </list></t>

     <t hangText="07)">Editorial changes.</t>

     <t hangText="06)">Revised <xref target="Changes_RFC1981"/> "Changes
     since RFC1981" to have a summary of changes since RFC1981 and a
     separate subsection with a change history of each Internet Draft.
     This subsection will be removed when the RFC is published.</t>

    <t hangText="06)">Editorial changes based on comments received after
    publishing the -05 draft.</t>

     <t hangText="05)">Changes based on IETF last call reviews by
     Gorry Fairhurst, Joe Touch, Susan Hares, Stewart Bryant, Rifaat
     Shekh-Yusef, and Donald Eastlake.  This includes includes:</t>

     <t><list hangIndent="3" style="hanging">

     <t hangText="o">Clarify that the purpose of PMTUD is to reduce the
     need for IPv6 Fragmentation.</t>

     <t hangText="o">Added text to Introduction about effects on PMTUD
     when ICMPv6 messages are blocked.</t>
     
     <t hangText="o">Clarified in Section 4. that nodes should validate
     the payload of ICMPv6 PTB messages per RFC4443.</t>

     <t hangText="o">Removed text in Section 5.2 about the number of
     paths to a destination.</t>

     <t hangText="o">Changed title of Section 5.4 to "Packetization layer
     actions".</t>

     <t hangText="o">Clarified first paragraph in Section 5.4 to to cover
     all packetization layers, not just TCP.</t>

     <t hangText="o">Clarified text in Section 5.4 to use normal
     retransmission methods.</t>
     
     <t hangText="o">Add clarification to Note in Section 5.4 about
     retransmissions.</t>
     
     <t hangText="o">Removed text in Section 5.4 that described 4.2BSD as
     it is now obsolete.</t>

     <t hangText="o">Removed reference to TP4 in Section 5.5.</t>
     
     <t hangText="o">Updated text in Section 5.5 about NFS including
     adding a current reference to NFS and removing obsolete text.</t>
     
     <t hangText="o">Revised text in Section 6 to clarify first attack response.</t>
     
     <t hangText="o">Added new text in Section 6 to clarify the effect of ICMPv6
     filtering on PMTUD.</t>

     <t hangText="o">Aligned terminology for the packetization layer terminology.</t>

     <t hangText="o">Editorial changes.</t>

   </list></t>

   <t hangText="04)">Changes based on AD Evaluation including removing
   details about RFC4821 algorithm in <xref target="Intro"/>, remove text
   about decrementing hop limit from <xref target="Overview"/>, and
   removed text about obsolete security classifications from <xref
   target="Storing"/>.
   </t>

   <t hangText="04)">Editorial changes and clarification in Section 5.2
   based on IP Directorate review by Donald Eastlake</t>

    <t hangText="03)">Remove text in <xref target="Purging"/>
    regarding RH0 since it was deprecated by RFC5095</t>

    <t hangText="02)">Clarified in <xref target="Overview"/> that ICMPv6
    Packet Too Big should be sent even if the node doesn't decrement the
    hop limit</t>

    <t hangText="01)">Revised the text about PLPMTUD to use the word "path".</t>

    <t hangText="01)">Editorial changes.</t>

    <t hangText="00)">Added text to discard an ICMPv6 Packet Too Big
    message containing an MTU less than the IPv6 minimum link MTU.</t>

    <t hangText="00)">Revision of text regarding RFC4821.</t>

    <t hangText="00)">Added R. Hinden as Editor to facilitate ID submission.</t>

    <t hangText="00)">Editorial changes.</t>


    </list></t>
    </list></t>

   <t>Individual Internet Drafts</t>

   <t><list>

   <t><list hangIndent="5" style="hanging">

   <t hangText="01)">Remove Note about a Packet Too Big message
   reporting a next-hop MTU that is less than the IPv6 minimum link MTU.
   This was removed from <xref target="I-D.ietf-6man-rfc2460bis"/>.
   </t>

   <t hangText="01)">Include a link to RFC4821 along with a short summary
   of what it does.</t>

   <t hangText="01)">Assigned references to informative and
   normative.</t>

   <t hangText="01)">Editorial changes.</t>

   <t hangText="00)">Establish a baseline from RFC1981.  The only
   intended changes are formatting (XML is slightly different from
   .nroff), differences between an RFC and Internet Draft, fixing a few
   ID Nits, updating references, and updates to the authors information.
   There should not be any content changes to the specification.</t>

    </list></t>

  </list></t>

  </section>
  </section>

</back>

</rfc>
<!-- Created by hand from RFC4291bis by Bob Hinden, November 2015 -->
