RFC 7680

A One-Way Loss Metric for IP Performance Metrics (IPPM)

πŸ“… published January 2016, from ietf

A One-Way Loss Metric for IP Performance Metrics (IPPM) πŸŽ€

Okay bestie, this one's from January 2016 and it's the Standards Track doc (STD 82, ISSN 2070-1721) πŸ’… Written by G. Almes (Texas A&M), S. Kalidindi (Ixia), M. Zekauskas (Internet2), and A. Morton, Ed. (AT&T Labs). It obsoletes RFC 2680, the older one-way loss doc, and its title block doesn't list any updates. The whole thing defines how to measure packets getting lost one way across the Internet 🌸

Abstract ✨

So this memo defines a metric for one-way loss of packets across Internet paths. It builds on stuff from the IP Performance Metrics (IPPM) Framework document, RFC 2330, so you should already be familiar with that one 🧚 It makes RFC 2680 obsolete too, which is the big glow-up here πŸ’–

Status of This Memo πŸ¦‹

This is an Internet Standards Track document.

This document is a product of the Internet Engineering Task Force (IETF). It represents the consensus of the IETF community. It went through public review and got approved for publication by the Internet Engineering Steering Group (IESG). If you want more on Internet Standards, check out Section 2 of RFC 5741.

Info about the current status of this document, any errata, and how to send feedback lives at:

http://www.rfc-editor.org/info/rfc7680

Copyright (c) 2016 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, which you can find at:

http://trustee.ietf.org/license-info

These are the rules in effect on the date this doc was published, so read them carefully πŸ™ˆ They describe your rights and restrictions for this document. Code Components pulled out of this document must include Simplified BSD License text as described in Section 4.e of the Trust Legal Provisions, and they come without warranty, as the Simplified BSD License describes.

Table of Contents πŸ“

1.  Introduction  . . . . . . . . . . . . . . . . . . . . . . . .   4
  1.1.  Motivation  . . . . . . . . . . . . . . . . . . . . . . .   5
  1.2.  General Issues regarding Time . . . . . . . . . . . . . .   6
2.  A Singleton Definition for One-Way Packet Loss  . . . . . . .   7
  2.1.  Metric Name . . . . . . . . . . . . . . . . . . . . . . .   7
  2.2.  Metric Parameters . . . . . . . . . . . . . . . . . . . .   7
  2.3.  Metric Units  . . . . . . . . . . . . . . . . . . . . . .   7
  2.4.  Definition  . . . . . . . . . . . . . . . . . . . . . . .   7
  2.5.  Discussion  . . . . . . . . . . . . . . . . . . . . . . .   8
  2.6.  Methodologies . . . . . . . . . . . . . . . . . . . . . .   9
  2.7.  Errors and Uncertainties  . . . . . . . . . . . . . . . .  10
  2.8.  Reporting the Metric  . . . . . . . . . . . . . . . . . .  11
    2.8.1.  Type-P  . . . . . . . . . . . . . . . . . . . . . . .  11
    2.8.2.  Loss Threshold  . . . . . . . . . . . . . . . . . . .  11
    2.8.3.  Calibration Results . . . . . . . . . . . . . . . . .  11
    2.8.4.  Path  . . . . . . . . . . . . . . . . . . . . . . . .  12
3.  A Definition for Samples of One-Way Packet Loss . . . . . . .  12
  3.1.  Metric Name . . . . . . . . . . . . . . . . . . . . . . .  12
  3.2.  Metric Parameters . . . . . . . . . . . . . . . . . . . .  13
  3.3.  Metric Units  . . . . . . . . . . . . . . . . . . . . . .  13
  3.4.  Definition  . . . . . . . . . . . . . . . . . . . . . . .  13
  3.5.  Discussion  . . . . . . . . . . . . . . . . . . . . . . .  13
  3.6.  Methodologies . . . . . . . . . . . . . . . . . . . . . .  14
  3.7.  Errors and Uncertainties  . . . . . . . . . . . . . . . .  15
  3.8.  Reporting the Metric  . . . . . . . . . . . . . . . . . .  15
4.  Some Statistics Definitions for One-Way Packet Loss . . . . .  15
  4.1.  Type-P-One-way-Packet-Loss-Ratio  . . . . . . . . . . . .  15
5.  Security Considerations . . . . . . . . . . . . . . . . . . .  16
6.  Changes from RFC 2680 . . . . . . . . . . . . . . . . . . . .  17
7.  References  . . . . . . . . . . . . . . . . . . . . . . . . .  19
  7.1.  Normative References  . . . . . . . . . . . . . . . . . .  19
  7.2.  Informative References  . . . . . . . . . . . . . . . . .  20
Acknowledgements  . . . . . . . . . . . . . . . . . . . . . . . .  21
Authors' Addresses  . . . . . . . . . . . . . . . . . . . . . . .  22

1. Introduction 🌈

So this memo defines a metric for one-way packet loss across Internet paths. It's built on ideas from the IPPM Framework document, [RFC2330], and you should know that doc plus its recent update, [RFC7312], before you read on 🫢

There's also a companion doc for One-way Delay ("A One-Way Delay Metric for IP Performance Metrics (IPPM)") [RFC7679]. This memo is meant to be parallel to it in structure, so you should be familiar with that one too ✨

The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document get read the way [RFC2119] describes. Now, RFC 2119 was written with protocols in mind, but these keywords get used here for similar reasons πŸ’… They make sure measurements from two different implementations can be compared, and they point out moments when an implementation could perturb the network πŸ‘‘

Whenever a technical term from the IPPM Framework document shows up for the first time in this memo, it gets a trailing asterisk. So "term*" just means that "term" is defined in the Framework document πŸ¦‹

Here's how the memo is laid out:

  • A singleton* analytic metric, called Type-P-One-way-Packet-Loss, measures one single observation of packet transmission or loss.
  • Using that singleton metric, a sample* called Type-P-One-way-Packet-Loss-Poisson-Stream measures a sequence of singleton transmissions and/or losses. The times come from a Poisson process, as defined in Section 11.1.1 of [RFC2330] 🧚
  • Using this sample, several statistics* of the sample get defined and discussed.

This progression from singleton to sample to statistics, with clear separation between them, is important. Don't skip steps, bestie πŸ“

1.1. Motivation πŸ’–

Understanding one-way packet loss of Type-P* packets going from a source host* to a destination host* is useful for a few reasons:

  • Some applications don't perform well (or at all) if end-to-end loss between hosts is big compared to some threshold value.
  • Excessive packet loss can make it hard to support certain real-time applications. What counts as "excessive" depends on the application πŸ™ˆ
  • The bigger the packet loss, the harder it is for transport-layer protocols to sustain high bandwidths.
  • Real-time applications and transport-layer protocols get super sensitive to loss when very large delay-bandwidth products need to be supported. It's a whole thing 😭

Measuring one-way loss instead of round-trip loss is motivated by these factors:

  • In today's Internet, the path from a source to a destination can be different from the path from the destination back to the source ("asymmetric paths"). So different sequences of routers get used for the forward and reverse paths. That means round-trip measurements actually measure two distinct paths together. Measuring each path on its own highlights the performance difference between them. They might traverse different Internet service providers and even really different types of networks, like research versus commodity networks, networks with asymmetric link capacities, or wireless versus wireline access 🌸
  • Even when the two paths are symmetric, they can have radically different performance characteristics because of asymmetric queuing πŸ”₯
  • An application's performance may depend mostly on performance in one direction. For example, TCP-based communication will see reduced throughput if congestion happens in one direction of its communication. Troubleshooting gets simpler if you can identify the congested direction of TCP transmission πŸ’…
  • In networks where quality of service (QoS) is enabled, provisioning in one direction can be radically different from provisioning in the reverse direction, so the QoS guarantees differ. Measuring the paths independently lets you verify both guarantees ⭐

It's outside the scope of this document to say precisely how loss metrics would be applied to specific problems. Not my job here, babe 🫢

1.2. General Issues regarding Time ⏰

{Comment: The terminology below differs from that defined by ITU-T documents (e.g., G.810, "Definitions and terminology for synchronization networks" and I.356, "B-ISDN ATM layer cell transfer performance") but is consistent with the IPPM Framework document. In general, these differences derive from the different backgrounds. The ITU-T documents historically have a telephony origin, while the authors of this document (and the Framework document) have a computer systems background. Although the terms defined below have no direct equivalent in the ITU-T definitions, after our definitions we will provide a rough mapping. However, note one potential confusion: our definition of "clock" is the computer operating systems definition denoting a time-of-day clock, while the ITU-T definition of clock denotes a frequency reference.}

Whenever a time (i.e., a moment in history) is mentioned here, it's understood to be measured in seconds (and fractions) relative to UTC πŸ•°οΈ

As the Framework document explains in more detail, there are four distinct but related notions of clock uncertainty:

synchronization*

This measures the extent to which two clocks agree on what time it is. For example, the clock on one host might be 5.4 msec ahead of the clock on a second host. {Comment: A rough ITU-T equivalent is "time error".}

accuracy*

This measures the extent to which a given clock agrees with UTC. For example, the clock on a host might be 27.1 msec behind UTC. {Comment: A rough ITU-T equivalent is "time error from UTC".}

resolution*

This is a specification of the smallest unit by which the clock's time gets updated. It gives a lower bound on the clock's uncertainty. For example, the clock on an old Unix host might tick only once every 10 msec and thus have a resolution of only 10 msec. {Comment: A very rough ITU-T equivalent is "sampling period".}

skew*

This measures the change of accuracy, or of synchronization, with time. For example, the clock on a given host might gain 1.3 msec per hour and thus be 27.1 msec behind UTC at one time and only 25.8 msec an hour later. In this case, we say that the clock of the given host has a skew of 1.3 msec per hour relative to UTC, which threatens accuracy. We might also speak of the skew of one clock relative to another clock, which threatens synchronization. {Comment: A rough ITU-T equivalent is "time drift".}

2. A Singleton Definition for One-Way Packet Loss πŸ¦‹

2.1. Metric Name πŸ’œ

Type-P-One-way-Packet-Loss

Okay bestie, picking up right where we left off with the metric parameters πŸŽ€βœ¨

2.2. Metric Parameters

  • Src, the IP address of a host πŸ’–
  • Dst, the IP address of a host πŸ’–
  • T, a time πŸ•°οΈ
  • Tmax, a loss threshold waiting time ⏳

2.3. Metric Units

The value of a Type-P-One-way-Packet-Loss is either a zero (signifying successful transmission of the packet) or a one (signifying loss). So it's giving binary, no cap 🫢

2.4. Definition

Okay so here's the big one πŸ‘‘ A Type-P-One-way-Packet-Loss from Src to Dst at T is 0 means that Src sent the first bit of a Type-P packet to Dst at wire time T and that Dst received that packet. Literally the happy path 🌸

A Type-P-One-way-Packet-Loss from Src to Dst at T is 1 means that Src sent the first bit of a Type-P packet to Dst at wire time T and that Dst did not receive that packet (within the loss threshold waiting time, Tmax). Tmax is doing the heavy lifting here 😭

2.5. Discussion

Thus, Type-P-One-way-Packet-Loss is 0 exactly when Type-P-One-way-Delay is a finite value, and it is 1 exactly when Type-P-One-way-Delay is undefined. It's a perfect mirror, iykyk πŸ¦‹

The following issues are likely to come up in practice:

  • A given methodology will have to include a way to distinguish between a packet loss and a very large (but finite) delay. As noted by Mahdavi and Paxson [RFC2678], simple upper bounds (such as the 255-second theoretical upper bound on the lifetimes of IP packets [RFC791]) could be used, but good engineering, including an understanding of packet lifetimes, will be needed in practice. {Comment: Note that, for many applications of these metrics, there may be no harm in treating a large delay as packet loss. An audio playback packet, for example, that arrives only after the playback point may as well have been lost. See Section 4.1.1 of [RFC6703] for examination of unusual packet delays and application performance estimation.} πŸŽ§πŸ’€
  • If the packet arrives but is corrupted, then it is counted as lost. {Comment: One is tempted to count the packet as received since corruption and packet loss are related but distinct phenomena. If the IP header is corrupted, however, one cannot be sure about the source or destination IP addresses and is thus on shaky grounds about knowing that the corrupted received packet corresponds to a given sent test packet. Similarly, if other parts of the packet needed by the methodology to know that the corrupted received packet corresponds to a given sent test packet, then such a packet would have to be counted as lost. It would be inconsistent to count packets with corrupted methodology-specific fields as lost, and not to count packets with other corrupted aspects in the same category.} Section 15 of [RFC2330] defines the "standard-formed" packet that is applicable to all metrics. Note that at this time the definition of standard-formed packets only applies to IPv4 (see also [IPPM-UPDATES]). πŸ™ˆ
  • If the packet is duplicated along the path (or paths) so that multiple non-corrupt copies arrive at the destination, then the packet is counted as received. πŸ‘―
  • If the packet is fragmented and if, for whatever reason, reassembly does not occur, then the packet will be deemed lost. 🧩

2.6. Methodologies

As with other Type-P-* metrics, the detailed methodology will depend on the Type-P (e.g., protocol number, UDP/TCP port number, size, Differentiated Services (DS) Field [RFC2780]). Main character energy, the packet's whole vibe matters πŸŽ€

Generally, for a given Type-P, one possible methodology would proceed as follows:

  • Arrange that Src and Dst have clocks that are synchronized with each other. The degree of synchronization is a parameter of the methodology and depends on the threshold used to determine loss (see below). ⏰
  • At the Src host, select Src and Dst IP addresses and form a test packet of Type-P with these addresses. πŸ“¦
  • At the Dst host, arrange to receive the packet. πŸ“¬
  • At the Src host, place a timestamp in the prepared Type-P packet, and send it towards Dst (ideally minimizing time before sending). πŸš€
  • If the packet arrives within a reasonable period of time, the one-way packet loss is taken to be zero (and take a timestamp as soon as possible upon the receipt of the packet). βœ…
  • If the packet fails to arrive within a reasonable period of time, Tmax, the one-way packet loss is taken to be one. Note that the threshold of "reasonable" here is a parameter of the metric. πŸ₯²

{Comment: The definition of reasonable is intentionally vague and is intended to indicate a value "Th" so large that any value in the closed interval [Th-delta, Th+delta] is an equivalent threshold for loss. Here, delta encompasses all error in clock synchronization and timestamp acquisition and assignment along the measured path. If there is a single value, Tmax, after which the packet must be counted as lost, then we reintroduce the need for a degree of clock synchronization similar to that needed for one-way delay, and virtually all practical measurement systems combine methods for delay and loss. Therefore, if a measure of packet loss parameterized by a specific non-huge "reasonable" time-out value is needed, one can always measure one-way delay and see what percentage of packets from a given stream exceed a given time-out value. This point is examined in detail in [RFC6703], including analysis preferences to assign undefined delay to packets that fail to arrive with the difficulties emerging from the informal "infinite delay" assignment, and an estimation of an upper bound on waiting time for packets in transit. Further, enforcing a specific constant waiting time on stored singletons of one-way delay is compliant with this specification and may allow the results to serve more than one reporting audience.} 🧠

Issues such as the packet format, the means by which Dst knows when to expect the test packet, and the means by which Src and Dst are synchronized are outside the scope of this document. {Comment: We plan to document the implementation techniques of our work in much more detail elsewhere; we encourage others to do so as well.} πŸ“

2.7. Errors and Uncertainties

The description of any specific measurement method should include an accounting and analysis of various sources of error or uncertainty. The Framework document provides general guidance on this point. Show your receipts, always 🧾

For loss, there are three sources of error:

  • synchronization between clocks on Src and Dst.
  • the packet-loss threshold (which is related to the synchronization between clocks).
  • resource limits in the network interface or software on the receiving instrument.

The first two sources are interrelated and could result in a test packet with finite delay being reported as lost. Type-P-One-way-Packet-Loss is 1 if the test packet does not arrive, or if it does arrive and the difference between the Src timestamp and the Dst timestamp is greater than the "reasonable period of time" or loss threshold. If the clocks are not sufficiently synchronized, the loss threshold may not be "reasonable" - the packet may take much less time to arrive than its Src timestamp indicates. Similarly, if the loss threshold is set too low, then many packets may be counted as lost. The loss threshold must be high enough and the clocks synchronized well enough so that a packet that arrives is rarely counted as lost. (See the discussions in the previous two sections.) ⏱️

Since the sensitivity of packet-loss measurement alone to lack of clock synchronization is less than for delay, we refer the reader to the treatment of synchronization errors in the "One-way Delay Metric for IPPM" [RFC2330] for more details. πŸ“š

The last source of error, resource limits, cause the packet to be dropped by the measurement instrument and counted as lost when in fact the network delivered the packet in reasonable time. Oof, the instrument gets blamed for the network's work 😀

The measurement instruments should be calibrated such that the loss threshold is reasonable for application of the metrics and the clocks are synchronized enough so the loss threshold remains reasonable. πŸ”§

In addition, the instruments should be checked to ensure that the possibility a packet arrives at the network interface but is lost due to congestion on the interface or to other resource exhaustion (e.g., buffers) on the instrument is low. πŸ”

2.8. Reporting the Metric

The calibration and context in which the metric is measured MUST be carefully considered and SHOULD always be reported along with metric results. We now present four items to consider: Type-P of the test packets, the loss threshold, instrument calibration, and the path traversed by the test packets. This list is not exhaustive; any additional information that could be useful in interpreting applications of the metrics should also be reported (see [RFC6703] for extensive discussion of reporting considerations for different audiences). πŸ“‹

2.8.1. Type-P

As noted in Section 13 of the Framework document [RFC2330], the value of the metric may depend on the type of IP packets used to make the measurement, or "Type-P". The value of Type-P-One-way-Delay could change if the protocol (UDP or TCP), port number, size, or arrangement for special treatment (e.g., IP DS Field [RFC2780], Explicit Congestion Notification (ECN) [RFC3168], or RSVP) changes. Additional packet distinctions identified in future extensions of the Type-P definition will apply. The exact Type-P used to make the measurements MUST be accurately reported. 🎯

2.8.2. Loss Threshold

The threshold, Tmax, between a large finite delay and loss (or other methodology to distinguish between finite delay and loss) MUST be reported. πŸ“

2.8.3. Calibration Results

The degree of synchronization between the Src and Dst clocks MUST be reported. If possible, a test packet that arrives at the Dst network interface and is reported as lost due to resource exhaustion on Dst SHOULD be reported. πŸ› οΈ

2.8.4. Path

Finally, the path traversed by the packet SHOULD be reported, if possible. In general, it is impractical to know the precise path a given packet takes through the network. The precise path may be known for certain Type-P on short or stable paths. If Type-P includes the record route (or loose-source route) option in the IP header, and the path is short enough, and all routers* on the path support record (or loose-source) route, then the path will be precisely recorded. This is impractical because the route must be short enough, many routers do not support (or are not configured for) record route, and use of this feature would often artificially worsen the performance observed by removing the packet from common-case processing. However, partial information is still valuable context. For example, if a host can choose between two links* (and hence, two separate routes from Src to Dst), then the initial link used is valuable context. {Comment: Backbone path selection services come and go. A historical example was Merit's NetNow setup, where a Src on one Network Access Point (NAP) can reach a Dst on another NAP by either of several different backbone networks.} πŸ—ΊοΈ


3. A Definition for Samples of One-Way Packet Loss πŸŽ€

Okay so now that we've got the singleton metric, bestie, we can define one particular sample of those singletons πŸ¦‹ The move is to pick one specific binding of Src, Dst, and Type-P, then make a whole bunch of T values. To get those, you choose a beginning time T0, a final time Tf, and an average rate lambda, then spin up a pseudorandom Poisson process of rate lambda whose values fall between T0 and Tf. The gap between successive values of T averages out to 1/lambda ✨

Poisson sampling is just one way to do this, though πŸ’… Poisson is great at limiting bias, but other methods fit other situations. For example, a truncated Poisson distribution might be needed so you don't trigger reactive network state changes during stretches of inactivity (see Section 4.6 of [RFC7312]). And sometimes the goal is sampling with a known bias, which is where [RFC3432] comes in, describing periodic sampling with random start times 🧚

3.1. Metric Name πŸ’œ

Type-P-One-way-Packet-Loss-Poisson-Stream

3.2. Metric Parameters πŸ“

  • Src, the IP address of a host
  • Dst, the IP address of a host
  • T0, a time
  • Tf, a time
  • Tmax, a loss threshold waiting time
  • lambda, a rate in reciprocal seconds

3.3. Metric Units 🌸

A sequence of pairs; the elements of each pair are:

  • T, a time, and
  • L, either a zero or a one.

The values of T in the sequence are monotonic increasing. Note that T would be a valid parameter to Type-P-One-way-Packet-Loss and that L would be a valid value of Type-P-One-way-Packet-Loss. Iconic cross-referencing, honestly πŸ‘‘

3.4. Definition πŸ”₯

Given T0, Tf, and lambda, we compute a pseudorandom Poisson process beginning at or before T0, with average arrival rate lambda, and ending at or after Tf. Those time values greater than or equal to T0 and less than or equal to Tf are then selected. At each of the selected times in this process, we obtain one value of Type-P-One-way-Delay. The value of the sample is the sequence made up of the resulting <time, loss> pairs. If there are no such pairs, the sequence is of length zero and the sample is said to be empty πŸ₯Ί

3.5. Discussion πŸ’¬

The reader should be familiar with the in-depth discussion of Poisson sampling in the Framework document [RFC2330], which includes methods to compute and verify the pseudorandom Poisson process. Read that one first, it's the good stuff πŸ“š

We specifically do not constrain the value of lambda except to note the extremes. If the rate is too large, then the measurement traffic will perturb the network and itself cause congestion. If the rate is too small, then you might not capture interesting network behavior. {Comment: We expect to document our experiences with, and suggestions for, lambda elsewhere, culminating in a "Best Current Practice" document.} So basically: not too much, not too little, goldilocks energy 🐻✨

Since a pseudorandom number sequence is employed, the sequence of times, and hence the value of the sample, is not fully specified. Pseudorandom number generators of good quality will be needed to achieve the desired qualities 🎲

The sample is defined in terms of a Poisson process both to avoid the effects of self-synchronization and also capture a sample that is statistically as unbiased as possible. The Poisson process is used to schedule the loss measurements. The test packets will generally not arrive at Dst according to a Poisson distribution, since they are influenced by the network. Time-slotted links described in Section 3.4 [RFC7312] can greatly modify the sample characteristics. The main concern is that unbiased packet streams with randomized inter-packet time intervals will be converted to some new distribution after encountering a time-slotted link, possibly with strong periodic characteristics instead. Yikes, the network really said "plot twist" πŸ™ˆ

{Comment: there is, of course, no claim that real Internet traffic arrives according to a Poisson arrival process.

It is important to note that, in contrast to this metric, loss ratios observed by transport connections do not reflect unbiased samples. For example, TCP transmissions both (1) occur in bursts, which can induce loss due to the burst volume that would not otherwise have been observed, and (2) adapt their transmission rate in an attempt to minimize the loss ratio observed by the connection.}

All the singleton Type-P-One-way-Packet-Loss metrics in the sequence will have the same values of Src, Dst, and Type-P.

Note also that, given one sample that runs from T0 to Tf, and given new time values T0' and Tf' such that T0 <= T0' <= Tf' <= Tf, the subsequence of the given sample whose time values fall between T0' and Tf' are also a valid Type-P-One-way-Packet-Loss-Poisson-Stream sample. Slicing a sample is totally allowed, no cap 🍰

3.6. Methodologies πŸ› οΈ

The methodologies follow directly from:

  • the selection of specific times using the specified Poisson arrival process, and
  • the methodologies discussion already given for the singleton Type-P-One-way-Packet-Loss metric.

Care must be given to correctly handle out-of-order arrival of test packets; it is possible that the Src could send one test packet at TS[i], then send a second one (later) at TS[i+1] while the Dst could receive the second test packet at TR[i+1], and then receive the first one (later) at TR[i]. Packets arriving out of order is lowkey the chaos of the internet πŸŒͺ️ Metrics for reordering may be found in [RFC4737].

3.7. Errors and Uncertainties πŸ₯΄

In addition to sources of errors and uncertainties associated with methods employed to measure the singleton values that make up the sample, care must be given to analyze the accuracy of the Poisson arrival process of the wire times of the sending of the test packets. Problems with this process could be caused by several things, including problems with the pseudorandom number techniques used to generate the Poisson arrival process. The Framework document shows how to use the Anderson-Darling test to verify the accuracy of the Poisson process over small time frames. {Comment: The goal is to ensure that the test packets are sent "close enough" to a Poisson schedule and avoid periodic behavior.} Basically, make sure the packets aren't marching in sync like a boy band choreo πŸ’ƒ

3.8. Reporting the Metric πŸ“

The calibration and context for the underlying singletons MUST be reported along with the stream (see "Reporting the Metric" (Section 2.8) for Type-P-One-way-Packet-Loss). Receipts, bestie, always keep the receipts 🧾

4. Some Statistics Definitions for One-Way Packet Loss πŸ“Š

Given the sample metric Type-P-One-way-Packet-Loss-Poisson-Stream, we now offer several statistics of that sample. These statistics are offered mostly to be illustrative of what could be done. See [RFC6703] for additional discussion of statistics that are relevant to different audiences πŸ’–

4.1. Type-P-One-way-Packet-Loss-Ratio 🦩

Given a Type-P-One-way-Packet-Loss-Poisson-Stream, the average of all the L values in the stream is the ratio of losses to total packets in the stream. In addition, the Type-P-One-way-Packet-Loss-Ratio is undefined if the sample is empty. No packets, no ratio, simple as that 🫢

For example, suppose we take a sample and the results are as follows:

Stream1 = <

<T1, 0>

<T2, 0>

<T3, 1>

<T4, 0>

<T5, 0>

>

Then, the average of loss results would be 0.2, the loss ratio. One loss out of five, so it's giving 20% 😭

Note that, since healthy Internet paths should be operating at loss ratios below 1% (particularly if high delay-bandwidth products are to be sustained), the sample sizes needed might be larger than one would like. Thus, for example, if one wants to discriminate between various fractions of 1% over one-minute periods, then several hundred samples per minute might be needed. This would result in larger values of lambda than one would ordinarily want. Ngl, that's a lot of probes just to see the tiny stuff πŸ”

Note that although the loss threshold should be set such that any errors in loss are not significant, if the possibility that a packet that arrived is counted as lost due to resource exhaustion is significant compared to the loss ratio of interest, Type-P-One-way-Packet-Loss-Ratio will be meaningless.

5. Security Considerations πŸ”

Conducting Internet measurements raises both security and privacy concerns. This memo does not specify an implementation of the metrics, so it does not directly affect the security of the Internet nor of applications that run on the Internet. However, implementations of these metrics must be mindful of security and privacy concerns. Serious business, so pay attention πŸ‘€

There are two types of security concerns: potential harm caused by the measurements and potential harm to the measurements. The measurements could cause harm because they are active and inject packets into the network. The measurement parameters MUST be carefully selected so that the measurements inject trivial amounts of additional traffic into the networks they measure. If they inject "too much" traffic, they can skew the results of the measurement and in extreme cases cause congestion and denial of service. Main character energy for the network is not a flex here πŸ’€

The measurements themselves could be harmed by routers giving measurement traffic a different priority than "normal" traffic or by an attacker injecting artificial measurement traffic. If routers can recognize measurement traffic and treat it separately, the measurements will not reflect actual user traffic. If an attacker injects artificial traffic that is accepted as legitimate, the loss ratio will be artificially lowered. Therefore, the measurement methodologies SHOULD include appropriate techniques to reduce the probability that measurement traffic can be distinguished from "normal" traffic. Authentication techniques, such as digital signatures, may be used where appropriate to guard against injected traffic attacks. Imagine someone sneaking fake probes in to make your loss look better, absolutely not πŸš«πŸ”

When considering privacy of those involved in measurement or those whose traffic is measured, the sensitive information available to potential observers is greatly reduced when using active techniques that are within this scope of work. Passive observations of user traffic for measurement purposes raise many privacy issues. We refer the reader to the privacy considerations described in the Large Scale Measurement of Broadband Performance (LMAP) Framework [RFC7594], which covers active and passive techniques. Active probing is the more privacy-friendly vibe here 🫣

Collecting measurements or using measurement results for reconnaissance to assist in subsequent system attacks is quite common. Access to measurement results or control of the measurement systems to perform reconnaissance should be guarded against. See Section 7 of [RFC7594] (the Security Considerations section of the LMAP Framework) for system requirements that help to avoid measurement system compromise. Lock your measurement boxes down, periodt πŸ”’βœ¨

6. Changes from RFC 2680 ✨

okay so bestie, this section is basically the glow-up story πŸ’– The text above is a revision to RFC 2680, and RFC 2680 is now an Internet Standard πŸŽ€

[RFC7290] is the test plan and results that back up [RFC2680] moving forward along the Standards Track, following the process in [RFC6576] πŸ¦‹ The conclusions of [RFC7290] list four minor modifications to include:

  1. Section 6.2.3 of [RFC7290] says that the assumption of post-processing to enforce a constant waiting time threshold is compliant, and the RFC text should be revised a little to include this point 🫢 The applicability of post-processing got added in the last list item of Section 2.6, above.
  2. Section 6.5 of [RFC7290] notes that the Type-P-One-way-Packet-Loss-Average statistic is more commonly called a Packet Loss Ratio, so it gets renamed in this document (this tiny discrepancy does not affect candidacy for advancement, lol πŸ’…). The renaming was done in Section 4.1, above.
  3. The IETF has reached consensus on guidance for reporting metrics in [RFC6703], and this memo is referenced in this document to incorporate recent experience where appropriate πŸ“Š The reference was added in the last list item of Section 2.6, in Section 2.8, and in Section 4 above.
  4. There are currently two errata for [RFC2680]: EID 1528 with status "Verified" and EID 3186 with status "Held for Document Update" πŸ™ˆ These minor revisions were incorporated in Sections 1 and 2.7.

A bunch of updates to the [RFC2680] text have been implemented to reference key IPPM RFCs that were approved after [RFC2680] (see Sections 3 and 3.6, above), and to address comments on the IPPM mailing list describing current conditions and experience 🌸

  1. Near the end of Section 1.1, there's an update of a network example using ATM, a clarification of TCP's effect on queue occupation, and discussion of why one-way delay measurement matters 🧚
  2. Clarification of the definition of "resolution" in Section 1.2 ✨
  3. Explicit inclusion of the maximum waiting time input parameter in Sections 2.2, 2.4, and 3.2, reflecting recognition of this parameter in more recent RFCs and ITU-T Recommendation Y.1540 🌈
  4. Addition of a reference to RFC 6703 in the discussion of packet lifetime and application timeouts in Section 2.5 πŸ’œ
  5. Replaced "precedence" with updated terminology (DS Field) in Sections 2.6 and 2.8.1 (with reference) πŸ’…
  6. Added parenthetical guidance on minimizing the interval between timestamp placement to send time or reception time in Section 2.6 πŸ“ The text now also recognizes the timestamp acquisition process and that practical systems measure both delay and loss (which is why the max waiting time parameter is needed) 🫢
  7. Added a reference to RFC 3432 about periodic sampling alongside Poisson sampling in Section 3, and noted that a truncated Poisson distribution may be needed with modern networks, as described in the IPPM Framework update [RFC7312] πŸ¦‹
  8. Recognition that time-slotted links described in [RFC7312] can greatly modify the sample characteristics, in Section 3.5 ⭐
  9. Added a reference to RFC 4737 about reordering metrics in the related discussion of Section 3.6, "Methodologies" πŸŽ€
  10. Expanded and updated the material on privacy, and added cautions on using measurements for reconnaissance in Section 5, "Security Considerations" πŸ”₯

Section 5.4.4 of [RFC6390] suggests a common template for performance metrics, partly derived from previous IPPM and Benchmarking Methodology Working Group (BMWG) RFCs, but it also has some new items πŸ‘‘ All of the normative parts of [RFC6390] are covered, just not in quite the same section names or orientation. Several of the informative parts are covered too. Keeping the familiar outline of IPPM literature has value and minimizes unnecessary differences between this revised RFC and current and future IPPM RFCs 🧚


7. References ✨

7.1. Normative References πŸ’–

7.2. Informative References πŸ¦‹

Acknowledgements 🫢

For [RFC2680], thanks are due to Matt Mathis for encouraging this work and for calling attention, on so many occasions, to the significance of packet loss πŸ‘‘ Thanks are due also to Vern Paxson for his valuable comments on early drafts, and to Garry Couch and Will Leland for several useful suggestions.

For this document, thanks to Joachim Fabini, Ruediger Geib, Nalini Elkins, and Barry Constantine for sharing their measurement experience as part of their careful reviews πŸ’– Brian Carpenter and Scott Bradner provided useful feedback at IETF Last Call.

Authors' Addresses πŸŽ€

Guy Almes Texas A&M

Email: almes@acm.org

Sunil Kalidindi Ixia

Email: skalidindi@ixiacom.com

Matt Zekauskas Internet2

Email: matt@internet2.edu

Al Morton (editor) AT&T Labs 200 Laurel Avenue South Middletown, NJ 07748 United States

Phone: +1 732 420 1571 Fax: +1 732 368 1192 Email: acmorton@att.com URI: http://home.comcast.net/~acmacm/

πŸ“¦ where this page comes from