rfc-8622

A Lower-Effort Per-Hop Behavior (LE PHB) for Differentiated Services

R. Bless
date2019-06 streamIETF areawit wgtsvwg statusPROPOSED STANDARD pages18 canonicalhttps://www.rfc-editor.org/rfc/rfc8622 doi10.17487/RFC8622
This document specifies properties and characteristics of a Lower- Effort Per-Hop Behavior (LE PHB). The primary objective of this LE PHB is to protect Best-Effort (BE) traffic (packets forwarded with the default PHB) from LE traffic in congestion situations, i.e., when resources become scarce, BE traffic has precedence over LE traffic and may preempt it. Alternatively, packets forwarded by the LE PHB can be associated with a scavenger service class, i.e., they scavenge otherwise-unused resources only. There are numerous uses for this PHB, e.g., for background traffic of low precedence, such as bulk data transfers with low priority in time, non-time-critical backups, larger software updates, web search engines while gathering information from web servers and so on. This document recommends a standard Differentiated Services Code Point (DSCP) value for the LE PHB. This specification obsoletes RFC 3662 and updates the DSCP recommended in RFCs 4594 and 8325 to use the DSCP assigned in this specification.

obsoletes

updates

Extracted elements (21)

design-rationale §6

CS1 ('001000') was the earlier recommended codepoint for LE/Low-Priority Data traffic (per RFC 3662 and RFC 4594), but this is problematic: CS1 was defined in RFC 2474 to have higher precedence than CS0 (the default PHB), so Diffserv domains implementing CS1 per RFC 2474 cause a priority inversion that forwards LE packets with higher precedence than BE packets — the opposite of the intended behavior.

diffserv, qos

design-rationale §6

DSCP '000001' was chosen from Pool 3 (codepoint space xxxx01) rather than the Standards Action Pool 1 (xxxxx0), because some network domains set the former IP Precedence bits to zero, which could accidentally re-mark other standardized DSCPs to the LE PHB DSCP if it were taken from Pool 1. Measurements of observable DSCP re-marking behavior in the Internet informed this choice.

diffserv, qos

design-rationale §7

The LE PHB possesses no parameters that need to be configured, requires no admission or policing, and needs no traffic meters, droppers, or shapers. Because LE traffic causes no harm to other PHBs, providers can trust LE markings from end systems and need not police or re-mark incoming LE traffic, simplifying deployment.

diffserv, qos

design-rationale §3

The LE PHB's 'no harm' property — that it does not consume resources from other PHBs and may be preempted completely — enables use as a security tool: untrusted external traffic or multicast from untrusted sources can be marked LE so that attackers cannot preempt internal (non-LE) traffic by flooding, and such traffic cannot harm non-LE behavior aggregates.

diffserv, qos, security

interoperability-note §3 SHOULD

Applications sending LE-marked flows must tolerate short or very long interruptions due to starvation during severe congestion. When LE traffic is mapped to the default PHB in domains that do not support LE, it competes with BE traffic; in such cases applications SHOULD additionally use a lower-than-BE transport protocol such as LEDBAT (RFC 6817) to enforce lower-than-BE precedence.

diffserv, qos, congestion

interoperability-note §10

RFC 4594 is updated to replace every occurrence of the CS1 DSCP ('001000') for the Low-Priority Data service class with the LE DSCP ('000001'), and the reference for this service class is updated from RFC 3662 to RFC 8622. The prior Section 2.3 re-marking recommendation for IP Precedence network segments is also removed as unnecessary with the new LE DSCP.

diffserv, qos

interoperability-note §11

RFC 8325 (Mapping Diffserv to IEEE 802.11) is updated to add LE DSCP as the primary mapping for Low-Priority Data to UP 1 / AC_BK (Background), retaining CS1 as a legacy mapping. The recommendation to map Low-Priority Data is updated to include both LE DSCP and legacy CS1 DSCP mapped to UP 1.

diffserv, qos

normative-requirement §4 SHOULD

A packet forwarded with the LE PHB SHOULD have lower precedence than packets forwarded with the default PHB; in the case of congestion, LE-marked traffic SHOULD be dropped prior to dropping any default PHB traffic.

diffserv, qos

normative-requirement §8 RECOMMENDED

'DSCP bleaching' (setting the DSCP to '000000', the default PHB) is NOT RECOMMENDED for LE-marked packets, as it may cause effects contrary to the original intent of protecting BE traffic from LE traffic. DS domains without LE support SHOULD map LE DSCP to the default PHB without re-marking to '000000' so that downstream domains can still treat packets as LE.

diffserv, qos

normative-requirement §4 SHOULD

ECN SHOULD be used for LE packets; an LE implementation SHOULD also apply Congestion Experienced (CE) marking for ECT-marked packets, and transport protocols used for LE SHOULD support and employ ECN.

diffserv, ecn, congestion

normative-requirement §6 SHOULD

Existing implementations using CS1 SHOULD transition to use the unambiguous LE codepoint '000001' whenever possible. A DS domain still using CS1 for LE traffic SHOULD re-mark traffic to LE DSCP '000001' at egress to the next DS domain.

diffserv, qos

normative-requirement §3 SHOULD

LE traffic SHOULD be congestion controlled, using a congestion-controlled transport or an appropriate congestion control method. Transport protocols or applications SHOULD be able to detect and react to starvation situations caused by prolonged absence of LE forwarding resources.

diffserv, congestion, qos

normative-requirement §5 SHOULD NOT

Non-LE traffic (e.g., BE traffic) SHOULD NOT be re-marked to LE. Re-marking traffic from another PHB results in that traffic being downgraded, which may violate the operational objectives of the original PHB.

diffserv, qos

normative-requirement §7 SHOULD

Operators of DS domains that cannot implement the LE PHB SHOULD NOT drop packets marked with the LE DSCP; they SHOULD map such packets to the default PHB and SHOULD preserve the LE DSCP marking.

diffserv, qos

normative-requirement §5 SHOULD

Packets SHOULD be pre-marked in DS-aware end systems by applications due to their specific knowledge of packet precedence. There is no incentive for DS domains to distrust this initial LE marking because letting LE traffic enter a domain causes no harm, and thus policing (e.g., rate limiting) is not necessary at the DS boundary.

diffserv, qos

normative-requirement §3 SHOULD NOT

The LE PHB SHOULD NOT be used for a customer's normal Internet traffic, and packets SHOULD NOT be downgraded to the LE PHB instead of being dropped, particularly when the packets are unauthorized traffic.

diffserv, qos

privacy-consideration §13

The LE DSCP can reveal to an observer (e.g., a state-level actor) that transferred content is considered low priority or low urgency, potentially allowing surveillance resources to be focused on non-LE (i.e., higher-priority) traffic while ignoring LE background traffic such as software downloads or telemetry data. The disclosed information has limited utility without correlation to user identity metadata.

diffserv, privacy, qos

protocol-element §4

The Lower-Effort Per-Hop Behavior (LE PHB) is a Differentiated Services PHB where packets have lower forwarding precedence than all other PHBs, including the default (Best-Effort) PHB. In congestion, LE-marked traffic SHOULD be dropped before any default PHB traffic and may be starved completely. It is analogous to a background process priority in an operating system.

diffserv, qos

protocol-element §6

The RECOMMENDED DSCP codepoint for the LE PHB is '000001' (binary), decimal value 1, assigned from DSCP Pool 3 (codepoint space xxxx01) via Standards Action. This replaces the earlier informal practice of using CS1 ('001000') for Lower-Effort traffic.

diffserv, qos, registry

registry §12

IANA assigned DSCP codepoint '000001' (binary), decimal value 1, with name 'LE' in the 'Differentiated Services Field Codepoints (DSCP)' registry under DSCP Pool 3 Codepoints (codepoint space xxxx01, Standards Action procedure). Reference is RFC 8622.

diffserv, registry, qos

security-consideration §13

An attacker able to modify the DSCP field of a packet to LE may carry out a downgrade attack, causing QoS degradation of the re-marked traffic. There are no other specific security exposures for the LE PHB; general Diffserv security considerations from RFC 2474 and RFC 2475 apply.

diffserv, security, qos