<?xml version='1.0' encoding='utf-8'?>
<!DOCTYPE rfc [
  <!ENTITY nbsp    "&#160;">
  <!ENTITY zwsp   "&#8203;">
  <!ENTITY nbhy   "&#8209;">
  <!ENTITY wj     "&#8288;">
]>
<?xml-stylesheet type="text/xsl" href="rfc2629.xslt" ?>
<!-- generated by https://github.com/cabo/kramdown-rfc version 1.7.43 (Ruby 3.4.9) -->
<rfc xmlns:xi="http://www.w3.org/2001/XInclude" ipr="trust200902" docName="draft-ietf-dtn-btpu-fec-02" category="std" consensus="true" submissionType="IETF" tocInclude="true" sortRefs="true" symRefs="true" version="3">
  <!-- xml2rfc v2v3 conversion 3.34.0 -->
  <front>
    <title abbrev="BTPU-FEC">Forward Error Correction for the Bundle Transfer Protocol</title>
    <seriesInfo name="Internet-Draft" value="draft-ietf-dtn-btpu-fec-02"/>
    <author fullname="Rick Taylor">
      <organization>Aalyria Technologies</organization>
      <address>
        <email>rtaylor@aalyria.com</email>
      </address>
    </author>
    <date year="2026" month="September" day="07"/>
    <area>INT</area>
    <workgroup>Delay/Disruption Tolerant Networking</workgroup>
    <keyword>DTN</keyword>
    <keyword>BPv7</keyword>
    <keyword>Bundle Protocol</keyword>
    <keyword>BTPU</keyword>
    <keyword>FEC</keyword>
    <abstract>
      <?line 43?>

<t>This document defines an optional extension to the Bundle Transfer Protocol - Unidirectional, as described in <xref target="BTPU"/>, to enable forward error correction (FEC) coding to be applied selectively to the transfer of individual bundles on a case by case basis.</t>
      <t>The definition and use of FEC follows the FECFRAME framework defined in <xref target="RFC6363"/>, and this document introduces new Message types to BTPU in order to carry the FEC information as defined in the framework.</t>
    </abstract>
    <note removeInRFC="true">
      <name>About This Document</name>
      <t>
        The latest revision of this draft can be found at <eref target="https://ricktaylor.github.io/btpu-fec/draft-ietf-dtn-btpu-fec.html"/>.
        Status information for this document may be found at <eref target="https://datatracker.ietf.org/doc/draft-ietf-dtn-btpu-fec/"/>.
      </t>
      <t>
        Discussion of this document takes place on the
        Delay/Disruption Tolerant Networking Working Group mailing list (<eref target="mailto:dtn@ietf.org"/>),
        which is archived at <eref target="https://mailarchive.ietf.org/arch/browse/dtn/"/>.
        Subscribe at <eref target="https://www.ietf.org/mailman/listinfo/dtn/"/>.
      </t>
      <t>Source for this draft and an issue tracker can be found at
        <eref target="https://github.com/ricktaylor/btpu-fec"/>.</t>
    </note>
  </front>
  <middle>
    <?line 49?>

<section anchor="introduction">
      <name>Introduction</name>
      <t>There are a number of use-cases of the Bundle Transfer Protocol - Unidirectional <xref target="BTPU"/>, where the use of transfer segment repetition as a mechanism to protect against the loss of frames can be considered sub-optimal.  This document describes an alternate mechanism based on forward error correction (FEC) coding, that requires increased computational complexity but fewer transmitted bits.</t>
      <t>Rather than defining novel formats and registries for the variety of standardized FEC mechanisms, this document reuses the primitives and best practices of the FECFRAME framework, defined in <xref target="RFC6363"/>.</t>
      <t>Just as in core BTPU, a Bundle is split into a series of octet sequences that are emitted into Messages by the sender to be transported to receivers by the underlying link-layer protocol; but when FEC is desired, the Bundle is divided into FECFRAME Application Data Units (ADUs), and the mechanisms defined in the FECFRAME framework are used to produce Repair Symbols that are placed into new Messages, rather than just sub-slices of the original Bundle.  The new Messages are used to distinguish FEC Source and Repair data from core BTPU Segments.</t>
      <t>Although the content and processing of the new Messages differs from existing BTPU Messages, the rules around the emission and replication of the Messages are identical to the rules applicable to the core BTPU Segment Messages, and they follow the common BTPU Message format, allowing implementations that do not support this extension to efficiently detect and ignore the new Messages.</t>
      <section anchor="applicability">
        <name>Applicability</name>
        <t>Note that when FEC is available at the link-layer it is generally more effective than applying it at the Transfer layer, and ought to be used when it is available.  This extension is designed to provide FEC capabilities when the underlying link-layer protocol does not have native support for FEC, or when per-Transfer FEC is desired by a deployment.</t>
      </section>
    </section>
    <section anchor="conventions-and-definitions">
      <name>Conventions and Definitions</name>
      <t>The key words "<bcp14>MUST</bcp14>", "<bcp14>MUST NOT</bcp14>", "<bcp14>REQUIRED</bcp14>", "<bcp14>SHALL</bcp14>", "<bcp14>SHALL
NOT</bcp14>", "<bcp14>SHOULD</bcp14>", "<bcp14>SHOULD NOT</bcp14>", "<bcp14>RECOMMENDED</bcp14>", "<bcp14>NOT RECOMMENDED</bcp14>",
"<bcp14>MAY</bcp14>", and "<bcp14>OPTIONAL</bcp14>" 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>
      <?line -18?>

<section anchor="terminology">
        <name>Terminology</name>
        <t>This document uses FEC terminology from <xref target="RFC6363"/>.  In particular, the term "Application Data Unit" (ADU) refers to the unit of source data as defined in <xref section="2" sectionFormat="of" target="RFC6363"/>, not the Application Data Unit defined in <xref target="RFC9171"/>.  In the context of this document, an ADU is a chunk of a Bundle that is provided to the FEC scheme for encoding.</t>
      </section>
    </section>
    <section anchor="protocol-overview">
      <name>Protocol Overview</name>
      <t>Rather than updating the Segment Messages defined in BTPU, this extension introduces two new pairs of Messages to carry the source and repair symbols of a BTPU Bundle protected with FEC.  The use of new types allows a deployment to select the use of FEC as appropriate on a per-transfer basis, perhaps associated with some upper layer concept of reliability for a particular transfer, or change in transmission environment.</t>
      <t>In the language of <xref section="2" sectionFormat="of" target="RFC6363"/>, the FEC Source Messages act as FEC Source Packets, and the FEC Repair Messages as FEC Repair Packets.  Within the context of a particular Transfer, the sequence of FEC Source Messages is considered the Source Flow, and the sequence of FEC Repair Messages the Repair Flow.</t>
      <t>The source and repair Messages are grouped into two pairs:</t>
      <dl>
        <dt>Pre-agreed FEC:</dt>
        <dd>
          <t>The <xref target="pre-agreed-source">Pre-agreed FEC Source</xref> and <xref target="pre-agreed-repair">Pre-agreed FEC Repair</xref> Messages provide a wire-efficient format, for use when the FEC Framework Configuration Information <xref section="5.5" sectionFormat="of" target="RFC6363"/> has been pre-agreed via some a-priori configuration or out-of-band mechanism.  Each Message carries an 8-bit FEC Instance ID that references pre-configured FEC scheme information.</t>
        </dd>
        <dt>Explicit FEC:</dt>
        <dd>
          <t>The <xref target="explicit-source">Explicit FEC Source</xref> and <xref target="explicit-repair">Explicit FEC Repair</xref> Messages include the FEC-Scheme-Specific Information (FSSI) in the Message content, allowing for the ad-hoc use of different FEC schemes and configuration, given underlying implementation support.  Each Message carries an 8-bit FEC Encoding ID and the FSSI elements required by the FEC scheme.</t>
        </dd>
      </dl>
      <t>The following table summarizes the differences between the two approaches:</t>
      <table align="left" anchor="tab-fec-comparison">
        <name>Comparison of Pre-agreed and Explicit FEC</name>
        <thead>
          <tr>
            <th align="left">Aspect</th>
            <th align="left">Pre-agreed FEC</th>
            <th align="left">Explicit FEC</th>
          </tr>
        </thead>
        <tbody>
          <tr>
            <td align="left">Configuration</td>
            <td align="left">Out-of-band or a-priori</td>
            <td align="left">Self-describing</td>
          </tr>
          <tr>
            <td align="left">FEC Identifier</td>
            <td align="left">FEC Instance ID (8-bit)</td>
            <td align="left">FEC Encoding ID (8-bit)</td>
          </tr>
          <tr>
            <td align="left">Per-Message Overhead</td>
            <td align="left">Lower (no FSSI)</td>
            <td align="left">Higher (includes FSSI)</td>
          </tr>
        </tbody>
      </table>
      <t>Irrespective of whether Pre-agreed or Explicit FEC is in use for a Transfer, the FEC Framework Configuration Information <bcp14>MUST NOT</bcp14> change mid-transfer.  If a receiver detects a change in FEC Framework Configuration Information during a Transfer, it <bcp14>MUST</bcp14> consider any incomplete Transfer affected by the change as cancelled, as defined in <xref section="4.2" sectionFormat="of" target="BTPU"/>.</t>
      <section anchor="instance-id">
        <name>Pre-agreed FEC Instance ID</name>
        <t>When pre-agreed FEC is desired, a lookup table <bcp14>MUST</bcp14> be configured at the sender and all receivers that maps a unique identifier, the FEC Instance ID, to a particular FEC scheme and corresponding FSSI, such that each <xref target="pre-agreed-source">Pre-agreed FEC Source</xref> and <xref target="pre-agreed-repair">Pre-agreed FEC Repair</xref> Message can refer to the FEC mechanism in use by referencing the FEC Instance ID, rather than including all the FEC configuration information in each Message.</t>
        <t>The FEC Instance ID is an unsigned integer in the range 0..255 inclusive, and is carried in the respective FEC Messages encoded in the FEC Instance ID field.  Just like the FEC scheme and configuration, the FEC Instance ID <bcp14>MUST</bcp14> be the same for all Messages concerned with an individual Transfer.  If a receiver detects a change in FEC Instance ID during a Transfer, it <bcp14>MUST</bcp14> consider the Transfer cancelled, as defined in <xref section="4.2" sectionFormat="of" target="BTPU"/>.</t>
        <t>Configuration of the mapping of FEC Instance ID to FEC scheme information <bcp14>MUST</bcp14> be performed out-of-band, or via an a-priori configuration mechanism.</t>
      </section>
      <section anchor="fec-transfer-operation">
        <name>FEC Transfer Operation</name>
        <t>FEC Messages share the same Transfer Number space as the core BTPU Transfer Messages, and the Transfer Window algorithm defined in <xref target="BTPU"/> applies to FEC Transfers.  However, a sender <bcp14>MUST NOT</bcp14> mix FEC Messages and core BTPU Transfer Messages (Transfer Segment or Transfer End) within the same Transfer.  If a receiver detects such mixing, it <bcp14>MUST</bcp14> consider the Transfer cancelled, as defined in <xref section="4.2" sectionFormat="of" target="BTPU"/>.  The Transfer Cancel Message, as defined in <xref target="BTPU"/>, <bcp14>MAY</bcp14> be used to cancel an FEC Transfer.</t>
        <t>Unlike core BTPU, FEC Transfers do not use an explicit Transfer End Message to signal completion.  Instead, the FEC scheme determines when sufficient ADUs and Repair Symbols have been received to reconstruct the original bundle.  The Transfer Window algorithm provides the receiver with an upper bound on how long to wait for FEC Messages associated with a given Transfer before considering it complete or failed.  The Bundle Length Hint, if present, can be used to verify that the reconstructed bundle has the expected size.</t>
      </section>
    </section>
    <section anchor="message-definitions">
      <name>Message Definitions</name>
      <t>All new Messages introduced in this document follow the common message format as defined in <xref section="7" sectionFormat="of" target="BTPU"/>, and Hint Items <bcp14>MAY</bcp14> be included in these Messages.  The Bundle Length Hint, as defined in <xref target="BTPU"/>, <bcp14>MAY</bcp14> be included in FEC Source and FEC Repair Messages to signal the total length of the bundle being transferred.</t>
      <t>This specification deviates from the recommendation in <xref section="5.3" sectionFormat="of" target="RFC6363"/> by placing the Explicit Source FEC Payload ID before the Source Data, as BTPU has no capability analogous to common header compression, as found in Robust Header Compression (ROHC) <xref target="RFC3095"/>, and therefore to maintain consistency with other BTPU messages, the metadata precedes the data.</t>
      <t>Unlike the Transfer Segment and Transfer End Messages defined in <xref target="BTPU"/>, FEC Messages do not include a Segment Index field.  The FEC Payload IDs, as defined by the FEC scheme in use, serve the equivalent role of identifying and ordering source blocks and repair symbols for reassembly.</t>
      <section anchor="pre-agreed-source">
        <name>Pre-agreed FEC Source Message</name>
        <t>The Pre-agreed FEC Source Message is used to encapsulate an Application Data Unit (ADU), as defined in <xref section="2" sectionFormat="of" target="RFC6363"/>, of a Bundle Transfer that uses FEC with a pre-agreed configuration.  Multiple ADUs together form a Source Block for FEC encoding.</t>
        <t>A Pre-agreed FEC Source Message has a type of TBD1. The Message Content field is formatted as follows:</t>
        <artwork><![CDATA[
 0                   1                   2                   3
 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Transfer Number                                               |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| FEC Inst. ID  |   Explicit Source FEC Payload ID ...          :
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                       ... Source Data ...                     :
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
]]></artwork>
        <dl>
          <dt>Transfer Number:</dt>
          <dd>
            <t>The numeric identifier of the Transfer that this ADU is part of, encoded as a 32-bit unsigned integer in network byte order.</t>
          </dd>
          <dt>FEC Instance ID:</dt>
          <dd>
            <t>The <xref target="instance-id">FEC Instance ID</xref> of the pre-agreed FEC scheme and configuration in use for the Transfer, encoded as an 8-bit unsigned integer in network byte order.</t>
          </dd>
          <dt>Explicit Source FEC Payload ID:</dt>
          <dd>
            <t>The Explicit Source FEC Payload ID, with the format defined by the FEC scheme.  It is <bcp14>RECOMMENDED</bcp14> that FEC schemes support the Generic Explicit Source FEC Payload ID format defined in <xref section="5.3.1" sectionFormat="of" target="RFC6363"/>.</t>
          </dd>
          <dt>Source Data:</dt>
          <dd>
            <t>The octets of the ADU, with the length calculated as the Message content length excluding the length of the Transfer Number, FEC Instance ID, and Explicit Source FEC Payload ID.</t>
          </dd>
        </dl>
      </section>
      <section anchor="explicit-source">
        <name>Explicit FEC Source Message</name>
        <t>The Explicit FEC Source Message is used to encapsulate an Application Data Unit (ADU), as defined in <xref section="2" sectionFormat="of" target="RFC6363"/>, of a Bundle Transfer that uses FEC with an explicit FEC scheme and configuration.  Multiple ADUs together form a Source Block for FEC encoding.</t>
        <t>An Explicit FEC Source Message has a type of TBD2. The Message Content field is formatted as follows:</t>
        <artwork><![CDATA[
 0                   1                   2                   3
 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Transfer Number                                               |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| FEC Enc. ID   | FEC-Scheme-Specific Information elements ...  :
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Explicit Source FEC Payload ID ...                            :
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                       ... Source Data ...                     :
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
]]></artwork>
        <dl>
          <dt>Transfer Number:</dt>
          <dd>
            <t>The numeric identifier of the Transfer that this ADU is part of, encoded as a 32-bit unsigned integer in network byte order.</t>
          </dd>
          <dt>FEC Encoding ID:</dt>
          <dd>
            <t>A FEC Encoding ID, as defined in <xref section="5.6" sectionFormat="of" target="RFC6363"/>, encoded as an 8-bit unsigned integer in network byte order.</t>
          </dd>
          <dt>FEC-Scheme-Specific Information elements:</dt>
          <dd>
            <t>Zero or more FEC-Scheme-Specific Information elements as defined in <xref section="5.5" sectionFormat="of" target="RFC6363"/>.  The binary encoding format and length of these elements is defined by the FEC scheme identified by the FEC Encoding ID.</t>
          </dd>
          <dt>Explicit Source FEC Payload ID:</dt>
          <dd>
            <t>The Explicit Source FEC Payload ID, with the format defined by the FEC scheme.  It is <bcp14>RECOMMENDED</bcp14> that FEC schemes support the Generic Explicit Source FEC Payload ID format defined in <xref section="5.3.1" sectionFormat="of" target="RFC6363"/>.</t>
          </dd>
          <dt>Source Data:</dt>
          <dd>
            <t>The octets of the ADU, with the length calculated as the Message content length excluding the length of the Transfer Number, FEC Encoding ID, FEC-Scheme-Specific Information elements, and Explicit Source FEC Payload ID.</t>
          </dd>
        </dl>
      </section>
      <section anchor="pre-agreed-repair">
        <name>Pre-agreed FEC Repair Message</name>
        <t>The Pre-agreed FEC Repair Message is used to encapsulate the Repair Symbols (<xref section="2" sectionFormat="of" target="RFC6363"/>) of a Bundle Transfer that uses FEC with a pre-agreed configuration.</t>
        <t>A Pre-agreed FEC Repair Message has a type of TBD3. The Message Content field is formatted as follows:</t>
        <artwork><![CDATA[
 0                   1                   2                   3
 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Transfer Number                                               |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| FEC Inst. ID  |            Repair FEC Payload ID ...          :
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                  ... Repair Symbol Data ...                   :
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
]]></artwork>
        <dl>
          <dt>Transfer Number:</dt>
          <dd>
            <t>The numeric identifier of the Transfer that these repair symbols are part of, encoded as a 32-bit unsigned integer in network byte order.</t>
          </dd>
          <dt>FEC Instance ID:</dt>
          <dd>
            <t>The <xref target="instance-id">FEC Instance ID</xref> of the pre-agreed FEC scheme and configuration in use for the Transfer, encoded as an 8-bit unsigned integer in network byte order.</t>
          </dd>
          <dt>Repair FEC Payload ID:</dt>
          <dd>
            <t>The Repair FEC Payload ID as defined in <xref section="5.4" sectionFormat="of" target="RFC6363"/>, with the format specified by the FEC scheme.</t>
          </dd>
          <dt>Repair Symbol Data:</dt>
          <dd>
            <t>The octets of the repair symbols, with the length calculated as the Message content length excluding the length of the Transfer Number, FEC Instance ID, and Repair FEC Payload ID.</t>
          </dd>
        </dl>
      </section>
      <section anchor="explicit-repair">
        <name>Explicit FEC Repair Message</name>
        <t>The Explicit FEC Repair Message is used to encapsulate the Repair Symbols (<xref section="2" sectionFormat="of" target="RFC6363"/>) of a Bundle Transfer that uses FEC with an explicit FEC scheme and configuration.</t>
        <t>An Explicit FEC Repair Message has a type of TBD4. The Message Content field is formatted as follows:</t>
        <artwork><![CDATA[
 0                   1                   2                   3
 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Transfer Number                                               |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| FEC Enc. ID   | FEC-Scheme-Specific Information elements ...  :
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Repair FEC Payload ID ...                                     :
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                  ... Repair Symbol Data ...                   :
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
]]></artwork>
        <dl>
          <dt>Transfer Number:</dt>
          <dd>
            <t>The numeric identifier of the Transfer that these repair symbols are part of, encoded as a 32-bit unsigned integer in network byte order.</t>
          </dd>
          <dt>FEC Encoding ID:</dt>
          <dd>
            <t>A FEC Encoding ID, as defined in <xref section="5.6" sectionFormat="of" target="RFC6363"/>, encoded as an 8-bit unsigned integer in network byte order.</t>
          </dd>
          <dt>FEC-Scheme-Specific Information elements:</dt>
          <dd>
            <t>Zero or more FEC-Scheme-Specific Information elements as defined in <xref section="5.5" sectionFormat="of" target="RFC6363"/>.  The binary encoding format and length of these elements is defined by the FEC scheme identified by the FEC Encoding ID.</t>
          </dd>
          <dt>Repair FEC Payload ID:</dt>
          <dd>
            <t>The Repair FEC Payload ID as defined in <xref section="5.4" sectionFormat="of" target="RFC6363"/>, with the format specified by the FEC scheme.</t>
          </dd>
          <dt>Repair Symbol Data:</dt>
          <dd>
            <t>The octets of the repair symbols, with the length calculated as the Message content length excluding the length of the Transfer Number, FEC Encoding ID, FEC-Scheme-Specific Information elements, and Repair FEC Payload ID.</t>
          </dd>
        </dl>
      </section>
    </section>
    <section anchor="security-considerations">
      <name>Security Considerations</name>
      <t>The new Messages and mechanisms in this document do not add additional security considerations, nor impact the existing security considerations outlined in <xref target="BTPU"/> and <xref target="RFC6363"/>.</t>
      <t>FEC mechanisms do not provide authentication or integrity protection.  Malicious or corrupted FEC Messages could cause a receiver to reconstruct an incorrect bundle.  If a receiver detects an error during FEC decoding, it <bcp14>SHOULD</bcp14> cancel the Transfer as defined in <xref section="4.2" sectionFormat="of" target="BTPU"/>.  Additionally, deployments <bcp14>SHOULD</bcp14> use upper-layer integrity mechanisms, such as BPSec <xref target="RFC9172"/>, to detect corruption in reconstructed bundles.  When upper-layer integrity verification fails, implementations <bcp14>SHOULD</bcp14> discard the reconstructed bundle as per the upper-layer's security policy.</t>
    </section>
    <section anchor="iana-considerations">
      <name>IANA Considerations</name>
      <t>IANA is requested to assign new values from the "BTPU Message Types" registry for the new Message types defined in this document:</t>
      <table align="left" anchor="tab-iana-message-types">
        <name>New BTPU Message Types</name>
        <thead>
          <tr>
            <th align="left">Value</th>
            <th align="left">Message Type</th>
          </tr>
        </thead>
        <tbody>
          <tr>
            <td align="left">TBD1</td>
            <td align="left">Pre-agreed FEC Source Message</td>
          </tr>
          <tr>
            <td align="left">TBD2</td>
            <td align="left">Explicit FEC Source Message</td>
          </tr>
          <tr>
            <td align="left">TBD3</td>
            <td align="left">Pre-agreed FEC Repair Message</td>
          </tr>
          <tr>
            <td align="left">TBD4</td>
            <td align="left">Explicit FEC Repair Message</td>
          </tr>
        </tbody>
      </table>
    </section>
  </middle>
  <back>
    <references anchor="sec-combined-references">
      <name>References</name>
      <references anchor="sec-normative-references">
        <name>Normative References</name>
        <reference anchor="BTPU">
          <front>
            <title>Bundle Transfer Protocol - Unidirectional</title>
            <author fullname="Rick Taylor" initials="R." surname="Taylor">
              <organization>Aalyria Technologies</organization>
            </author>
            <date day="19" month="July" year="2026"/>
            <abstract>
              <t>   This document defines a protocol for the unidirectional transfer of
   large binary objects, typically Bundle Protocol version 7 bundles,
   between two nodes connected by a unidirectional, unreliable, frame-
   based link-layer protocol, without requiring IP services.

   The protocol does not require a return path for acknowledgements, but
   instead supports data repetition as a mechanism to protect against
   data loss.  It fully supports the disaggregation of flows of binary
   objects of different priority, preventing head-of-line blocking
   impacting performance.

   The wire format of the protocol is designed to enable performant
   implementation in hardware or software, with the aim of enabling
   protocol implementations to run at the line-rate of the underlying
   link-layer protocol.

              </t>
            </abstract>
          </front>
          <seriesInfo name="Internet-Draft" value="draft-ietf-dtn-btpu-03"/>
        </reference>
        <reference anchor="RFC6363">
          <front>
            <title>Forward Error Correction (FEC) Framework</title>
            <author fullname="M. Watson" initials="M." surname="Watson"/>
            <author fullname="A. Begen" initials="A." surname="Begen"/>
            <author fullname="V. Roca" initials="V." surname="Roca"/>
            <date month="October" year="2011"/>
            <abstract>
              <t>This document describes a framework for using Forward Error Correction (FEC) codes with applications in public and private IP networks to provide protection against packet loss. The framework supports applying FEC to arbitrary packet flows over unreliable transport and is primarily intended for real-time, or streaming, media. This framework can be used to define Content Delivery Protocols that provide FEC for streaming media delivery or other packet flows. Content Delivery Protocols defined using this framework can support any FEC scheme (and associated FEC codes) that is compliant with various requirements defined in this document. Thus, Content Delivery Protocols can be defined that are not specific to a particular FEC scheme, and FEC schemes can be defined that are not specific to a particular Content Delivery Protocol. [STANDARDS-TRACK]</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="6363"/>
          <seriesInfo name="DOI" value="10.17487/RFC6363"/>
        </reference>
        <reference anchor="RFC2119">
          <front>
            <title>Key words for use in RFCs to Indicate Requirement Levels</title>
            <author fullname="S. Bradner" initials="S." surname="Bradner"/>
            <date month="March" year="1997"/>
            <abstract>
              <t>In many standards track documents several words are used to signify the requirements in the specification. These words are often capitalized. This document defines these words as they should be interpreted in IETF documents. This document specifies an Internet Best Current Practices for the Internet Community, and requests discussion and suggestions for improvements.</t>
            </abstract>
          </front>
          <seriesInfo name="BCP" value="14"/>
          <seriesInfo name="RFC" value="2119"/>
          <seriesInfo name="DOI" value="10.17487/RFC2119"/>
        </reference>
        <reference anchor="RFC8174">
          <front>
            <title>Ambiguity of Uppercase vs Lowercase in RFC 2119 Key Words</title>
            <author fullname="B. Leiba" initials="B." surname="Leiba"/>
            <date month="May" year="2017"/>
            <abstract>
              <t>RFC 2119 specifies common key words that may be used in protocol specifications. This document aims to reduce the ambiguity by clarifying that only UPPERCASE usage of the key words have the defined special meanings.</t>
            </abstract>
          </front>
          <seriesInfo name="BCP" value="14"/>
          <seriesInfo name="RFC" value="8174"/>
          <seriesInfo name="DOI" value="10.17487/RFC8174"/>
        </reference>
        <reference anchor="RFC9172">
          <front>
            <title>Bundle Protocol Security (BPSec)</title>
            <author fullname="E. Birrane, III" initials="E." surname="Birrane, III"/>
            <author fullname="K. McKeever" initials="K." surname="McKeever"/>
            <date month="January" year="2022"/>
            <abstract>
              <t>This document defines a security protocol providing data integrity and confidentiality services for the Bundle Protocol (BP).</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="9172"/>
          <seriesInfo name="DOI" value="10.17487/RFC9172"/>
        </reference>
      </references>
      <references anchor="sec-informative-references">
        <name>Informative References</name>
        <reference anchor="RFC9171">
          <front>
            <title>Bundle Protocol Version 7</title>
            <author fullname="S. Burleigh" initials="S." surname="Burleigh"/>
            <author fullname="K. Fall" initials="K." surname="Fall"/>
            <author fullname="E. Birrane, III" initials="E." surname="Birrane, III"/>
            <date month="January" year="2022"/>
            <abstract>
              <t>This document presents a specification for the Bundle Protocol, adapted from the experimental Bundle Protocol specification developed by the Delay-Tolerant Networking Research Group of the Internet Research Task Force and documented in RFC 5050.</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="9171"/>
          <seriesInfo name="DOI" value="10.17487/RFC9171"/>
        </reference>
        <reference anchor="RFC3095">
          <front>
            <title>RObust Header Compression (ROHC): Framework and four profiles: RTP, UDP, ESP, and uncompressed</title>
            <author fullname="C. Bormann" initials="C." surname="Bormann"/>
            <author fullname="C. Burmeister" initials="C." surname="Burmeister"/>
            <author fullname="M. Degermark" initials="M." surname="Degermark"/>
            <author fullname="H. Fukushima" initials="H." surname="Fukushima"/>
            <author fullname="H. Hannu" initials="H." surname="Hannu"/>
            <author fullname="L-E. Jonsson" surname="L-E. Jonsson"/>
            <author fullname="R. Hakenberg" initials="R." surname="Hakenberg"/>
            <author fullname="T. Koren" initials="T." surname="Koren"/>
            <author fullname="K. Le" initials="K." surname="Le"/>
            <author fullname="Z. Liu" initials="Z." surname="Liu"/>
            <author fullname="A. Martensson" initials="A." surname="Martensson"/>
            <author fullname="A. Miyazaki" initials="A." surname="Miyazaki"/>
            <author fullname="K. Svanbro" initials="K." surname="Svanbro"/>
            <author fullname="T. Wiebke" initials="T." surname="Wiebke"/>
            <author fullname="T. Yoshimura" initials="T." surname="Yoshimura"/>
            <author fullname="H. Zheng" initials="H." surname="Zheng"/>
            <date month="July" year="2001"/>
            <abstract>
              <t>This document specifies a highly robust and efficient header compression scheme for RTP/UDP/IP (Real-Time Transport Protocol, User Datagram Protocol, Internet Protocol), UDP/IP, and ESP/IP (Encapsulating Security Payload) headers. [STANDARDS-TRACK]</t>
            </abstract>
          </front>
          <seriesInfo name="RFC" value="3095"/>
          <seriesInfo name="DOI" value="10.17487/RFC3095"/>
        </reference>
      </references>
    </references>
    <?line 278?>

<section anchor="acknowledgments">
      <name>Acknowledgments</name>
      <t>The author is indebted to the authors of the FECFRAME framework, and hopes that its successful application in areas outside RTP validates all the obvious hard work that went into making RFC6363 generic and reusable.</t>
    </section>
  </back>
  <!-- ##markdown-source:
H4sIAAAAAAAAA+0823LbSHbv+IqO/BApEaiRZI/HzO7OypK8VsqWFEnO1GRr
H5pAk+wVCGC7Acocy/+Sb8mX5ZzTF3SDoCxnXDOuijnlEdHoy7nfuptpmiZJ
I5tCjNmrSt1xlbNTpSrFjiulRNbIqmRTeGzmgr1sy7wQ7EbxUk+FYpeqaqqs
KhI+mSixHLOXN5fv0lenx0nGGzGr1GrMdJMnSV5lJV/AErni0yaVopmmeVOm
k6Zu06nI0u8OEt1OFlJrWK9Z1dD17PTmVVK2i4lQ4ySH+cZJVpValLrVY9ao
ViSw4mHCleDQ+/wmuavU7UxVbT1mJ6Lgq70TqVVbEwo3VSEA7Iadiwb7yXKW
JEtRtjAtY58zijED30/mmf0Fx0LrgssCEGzKPyN6o0phV66y+ZjNm6bW4709
7IItcilGrtMeNuxNVHWnxR6M3kNwZDNvJ2OmZHbb8FVRqT1HKXhbAC10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