| Internet-Draft | STAMP Extensions for Signaling | November 2026 |
| Gandhi | Expires 19 May 2027 | [Page] |
The Simple Two-Way Active Measurement Protocol (STAMP) specified in RFC 8762 supports active measurement of network performance without a control channel to pre-signal session parameters. RFC 8972 defines optional extensions in the form of Type-Length-Value (TLV) elements for STAMP. This document defines a STAMP Type-Length-Value (TLV) that allows a Session-Sender and a Session-Reflector to exchange measurement capabilities and configuration parameters in STAMP-Test packets. The Session-Sender uses the returned parameters to configure a STAMP session.¶
This Internet-Draft is submitted in full conformance with the provisions of BCP 78 and BCP 79.¶
Internet-Drafts are working documents of the Internet Engineering Task Force (IETF). Note that other groups may also distribute working documents as Internet-Drafts. The list of current Internet-Drafts is at https://datatracker.ietf.org/drafts/current/.¶
Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as "work in progress."¶
This Internet-Draft will expire on 19 May 2027.¶
Copyright (c) 2026 IETF Trust and the persons identified as the document authors. All rights reserved.¶
This document is subject to BCP 78 and the IETF Trust's Legal Provisions Relating to IETF Documents (https://trustee.ietf.org/license-info) in effect on the date of publication of this document. Please review these documents carefully, as they describe your rights and restrictions with respect to this document. Code Components extracted from this document must include Revised BSD License text as described in Section 4.e of the Trust Legal Provisions and are provided without warranty as described in the Revised BSD License.¶
The Simple Two-Way Active Measurement Protocol (STAMP), specified in [RFC8762], provides capabilities for measuring various performance metrics in IP networks without the use of a control channel to pre-signal session parameters. [RFC8972] defines optional extensions in the form of Type-Length-Value (TLV) elements for STAMP.¶
A Session-Sender may not know which measurement capabilities and configuration parameters are supported or required by a particular Session-Reflector. For example, the Session-Sender may not know whether the Session-Reflector supports stateful or stateless operation, a given timestamping method, or the requested packet transmission interval. The Session-Sender may also need to know whether the Session-Reflector's clock is synchronized for one-way delay metrics.¶
Without this information, a Session-Sender cannot reliably select a measurement mode or configure the rate and timestamping behavior of a STAMP session. This document defines a signaling procedure using a STAMP TLV carried in STAMP-Test packets. The Session-Sender includes its Profile ID and one or more requested measurement-mode sub-TLVs in a STAMP-Test packet. The Session-Reflector returns the selected Profile ID and parameters for each requested mode in the reflected packet. The Session-Sender uses the returned parameters to configure subsequent STAMP-Test packets. The signaling uses the STAMP measurement path and test packets in-band and does not require a separate control channel.¶
This mechanism does not provision the IP endpoints, authentication, or reachability required to exchange STAMP-Test packets. Those items must be configured by other means. The TLV signals capabilities and session parameters after the Session-Sender can transmit an initial STAMP-Test packet to the Session-Reflector.¶
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 [RFC2119] [RFC8174] when, and only when, they appear in all capitals, as shown here.¶
This document uses the terms Session-Sender, Session-Reflector, and STAMP-Test packet as defined in [RFC8762] and [RFC8972].¶
This document uses the terms STAMP TLV and STAMP TLV Flags as defined in [RFC8972].¶
"Signaling request" refers to a STAMP-Test packet carrying the TLV from the Session-Sender. "Signaling response" refers to the corresponding reflected STAMP-Test packet.¶
The signaling exchange is carried in STAMP-Test packets as an optional TLV, following the general extension processing procedures in [RFC8972]. The Session-Sender sends an initial signaling request with its desired Profile ID and one or more mode-specific sub-TLVs, with no more than one sub-TLV for each measurement mode. Each sub-TLV identifies a mode and requests the parameters applicable to that mode. If the Session-Sender does not know which mode or modes are configured for a Profile ID, it MAY include one sub-TLV for each mode it wants to query; to query all modes defined in this document, it includes one sub-TLV for each defined mode. The two-way, one-way, and loopback measurement modes are described in Section 3.1, Section 3.2, and Section 3.3, respectively. Note that the two-way measurement mode is specified as part of the STAMP process in [RFC8762] and [RFC8972]. The other measurement modes are defined in this document. This document defines signaling parameters for those modes. The Session-Reflector returns the selected Profile ID and one corresponding sub-TLV for each requested mode. A response sub-TLV with its U flag clear indicates that the mode is configured and available for the selected Profile ID; a sub-TLV with its U flag set indicates that the mode is not configured for that profile, unsupported, or disallowed for the request's source node.¶
A response may provide parameters for multiple available modes as alternatives for one session. A STAMP-Test session MUST operate in exactly one measurement mode. After receiving and validating a response, the Session-Sender MUST select exactly one available mode that meets its requirements for the session and MUST NOT use more than one measurement mode in that session. If no returned mode meets its requirements, it MUST NOT start the session. For one-way and two-way modes, each corresponding sub-TLV carries the minimum receive interval and UDP port; capabilities are reported in the parent TLV. Loopback mode uses a separate sub-TLV because those parameters do not apply to it.¶
The exchange is initiated by the Session-Sender and requires no Session-Reflector-initiated discovery packet. A Session-Reflector can process the signaling request without retaining per-session state. The parent TLV Capability Flags report stateful operation support for one-way or two-way mode and stateless operation support for two-way mode. The initial request is sent using a locally configured interval. If the response is absent, malformed, or indicates that a Session-Sender requirement is not supported, the Session-Sender does not treat the requested configuration as negotiated.¶
The Profile ID is an opaque identifier for a profile known at both endpoints. A single Profile ID can be associated with more than one measurement mode. The identifier allows the endpoints to select corresponding local configuration.¶
As shown in Figure 1, in two-way measurement mode, the STAMP Session-Sender S1 initiates a Session-Sender test packet, and the STAMP Session-Reflector R1 generates and transmits a Session-Reflector test packet. The Session-Reflector test packet is sent to the Session-Sender S1 on either the same path (i.e., the same set of links and nodes) or a different path in the reverse direction from the path taken toward the Session-Reflector R1.¶
T1 T2
/ \
+-------+ Session-Sender Test Packet +-------+
| | - - - - - - - - - - - - - - - ->| |
| S1 |=================================| R1 |
| |<- - - - - - - - - - - - - - - - | |
+-------+ Session-Reflector test packet +-------+
\ /
T4 T3
STAMP Session-Sender STAMP Session-Reflector
T1 is a transmit timestamp, and T4 is a receive timestamp added by node S1. T2 is a receive timestamp, and T3 is a transmit timestamp added by node R1. All four timestamps are used by the Session-Sender to measure the two-way delay metric, defined as ((T4 - T1) - (T3 - T2)). Timestamps T1 and T2 are used by the Session-Sender to measure the forward one-way delay metric, defined as (T2 - T1). Note that the delay value (T4 - T3), measured by the Session-Sender, is the reverse one-way delay metric. The "two-way delay" is the sum of the one-way delays in each direction and reflects the delay of the bidirectional path, irrespective of processing delays within the Session-Reflector.¶
In two-way measurement mode, the round-trip delay interval (T4 - T1) includes the Session-Reflector processing time, including handling the UDP header in the exception path, generating the Session-Reflector test packet, and reflecting option