Denial-of-Service Considerations for Media over QUIC Relay Deployments
draft-englishm-moq-relay-dos-02
This document is an Internet-Draft (I-D).
Anyone may submit an I-D to the IETF.
This I-D is not endorsed by the IETF and has no formal standing in the
IETF standards process.
| Document | Type | Active Internet-Draft (individual) | |
|---|---|---|---|
| Authors | Mike English , Lucas Pardue , Aman Sharma , Ian Swett | ||
| Last updated | 2026-11-02 | ||
| RFC stream | (None) | ||
| Intended RFC status | (None) | ||
| Formats | |||
| Stream | Stream state | (No stream defined) | |
| Consensus boilerplate | Unknown | ||
| RFC Editor Note | (None) | ||
| IESG | IESG state | I-D Exists | |
| Telechat date | (None) | ||
| Responsible AD | (None) | ||
| Send notices to | (None) |
draft-englishm-moq-relay-dos-02
Media Over QUIC M. English
Internet-Draft L. Pardue
Intended status: Informational Cloudflare
Expires: 6 May 2027 A. Sharma
Meta
I. Swett
Google
2 November 2026
Denial-of-Service Considerations for Media over QUIC Relay Deployments
draft-englishm-moq-relay-dos-02
Abstract
The Media over QUIC Transport (MoQT) protocol presents denial-of-
service risks that differ in character from those facing typical
request-response protocols. MoQT relays forward, fan out, and
optionally cache media content on behalf of publishers and
subscribers. This document complements the MoQT Security
Considerations, focusing on the unique considerations for relays.
About This Document
This note is to be removed before publishing as an RFC.
The latest revision of this draft can be found at
https://englishm.github.io/moq-relay-dos/draft-englishm-moq-relay-
dos.html. Status information for this document may be found at
https://datatracker.ietf.org/doc/draft-englishm-moq-relay-dos/.
Discussion of this document takes place on the Media Over QUIC
Working Group mailing list (mailto:moq@ietf.org), which is archived
at https://mailarchive.ietf.org/arch/browse/moq/. Subscribe at
https://www.ietf.org/mailman/listinfo/moq/.
Source for this draft and an issue tracker can be found at
https://github.com/englishm/moq-relay-dos.
Status of This Memo
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/.
English, et al. Expires 6 May 2027 [Page 1]
Internet-Draft MoQ Relay DoS November 2026
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 6 May 2027.
Copyright Notice
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.
Table of Contents
1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . 3
1.1. Motivation . . . . . . . . . . . . . . . . . . . . . . . 3
1.2. Scope . . . . . . . . . . . . . . . . . . . . . . . . . . 4
1.3. Relationship to the Transport Specification . . . . . . . 4
2. Conventions and Definitions . . . . . . . . . . . . . . . . . 4
3. Threat Model . . . . . . . . . . . . . . . . . . . . . . . . 5
3.1. Actors . . . . . . . . . . . . . . . . . . . . . . . . . 5
3.1.1. Misbehaving Subscriber . . . . . . . . . . . . . . . 5
3.1.2. Misbehaving Publisher . . . . . . . . . . . . . . . . 6
3.1.3. Misbehaving Relay . . . . . . . . . . . . . . . . . . 6
3.2. Amplification Properties . . . . . . . . . . . . . . . . 6
4. Control Plane Considerations . . . . . . . . . . . . . . . . 7
4.1. Authoritative State and Coordination Costs . . . . . . . 7
4.2. Rapid Request Cycles . . . . . . . . . . . . . . . . . . 8
4.2.1. Update Coalescing . . . . . . . . . . . . . . . . . . 9
4.3. Namespace Advertisement Flooding . . . . . . . . . . . . 9
5. Data Plane Considerations . . . . . . . . . . . . . . . . . . 9
5.1. Slow Subscribers . . . . . . . . . . . . . . . . . . . . 10
5.2. Join-Time Buffering . . . . . . . . . . . . . . . . . . . 10
5.3. Unknown Track Aliases . . . . . . . . . . . . . . . . . . 11
5.4. Flow Control Limitations . . . . . . . . . . . . . . . . 12
6. Relay Dual-Role Considerations . . . . . . . . . . . . . . . 12
6.1. Resource Isolation . . . . . . . . . . . . . . . . . . . 12
6.2. Upstream Load Protection . . . . . . . . . . . . . . . . 13
6.3. Paused Subscriptions . . . . . . . . . . . . . . . . . . 13
English, et al. Expires 6 May 2027 [Page 2]
Internet-Draft MoQ Relay DoS November 2026
6.4. Multi-Publisher Fan-Out . . . . . . . . . . . . . . . . . 14
7. Operational Recommendations . . . . . . . . . . . . . . . . . 14
7.1. Cost Tracking . . . . . . . . . . . . . . . . . . . . . . 14
7.2. Rate Limiting . . . . . . . . . . . . . . . . . . . . . . 14
8. Tracking Protocol Load-Bearing Mitigations . . . . . . . . . 15
9. Security Considerations . . . . . . . . . . . . . . . . . . . 18
10. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 19
11. References . . . . . . . . . . . . . . . . . . . . . . . . . 19
11.1. Normative References . . . . . . . . . . . . . . . . . . 19
11.2. Informative References . . . . . . . . . . . . . . . . . 19
Contributors . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Use of Generative AI . . . . . . . . . . . . . . . . . . . . . . 20
Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . 20
1. Introduction
The Media over QUIC Transport protocol [MOQT] enables media delivery
through intermediary relays that forward, fan out, and optionally
cache content for subscribers. Unlike request-response protocols
where the server's work is roughly proportional to the client's
request, MoQT has amplification properties, in the sense that a
single SUBSCRIBE can trigger backend lookups, upstream Transport
Session establishment, and ongoing media delivery that can
significantly exceed the cost of the request itself. This asymmetry
is relevant to the denial-of-service risks discussed in this
document.
[BCP72] requires that protocol specifications identify potential
denial-of-service (DoS) attacks and describe foreseeable risks with
due diligence. The MoQT transport specification already addresses
resource exhaustion, stream limits, flow control, and some relay-
specific concerns. This document provides more detailed analysis of
the threat landscape — particularly for relay deployments where the
amplification properties of the protocol are most relevant — along
with operational guidance for implementers and operators.
1.1. Motivation
This section is to be removed before publishing as an RFC.
This work was motivated by discussion at the MoQ Working Group
interim meeting in February 2026. The working group decided that
detailed DoS analysis and operational guidance warranted a separate
document rather than additions to the transport specification.
English, et al. Expires 6 May 2027 [Page 3]
Internet-Draft MoQ Relay DoS November 2026
1.2. Scope
This document covers denial-of-service and resource exhaustion
threats to MoQT relay deployments. Authentication, authorization,
and billing mechanisms are out of scope, though they can be critical
tools for DoS mitigation in practice and are referenced where
relevant. Content filtering mechanisms and their resource costs are
also deferred to future work.
Where this document identifies potential changes to the transport
protocol that could improve DoS resilience, those are noted but left
to proposals against the transport specification. While both this
document and the transport specification are under active
development, this document also catalogs mechanisms that are
currently load-bearing for DoS resilience (Section 8) so that changes
elsewhere do not inadvertently weaken existing protections.
1.3. Relationship to the Transport Specification
The MoQT transport specification [MOQT] already covers stream limits,
flow control, priority and starvation, timeouts, and some relay-
specific concerns (state maintenance, SUBSCRIBE_NAMESPACE with short
prefixes). This document does not replace any of that. It adds
threat analysis, documents which existing mechanisms are load-bearing
for DoS prevention, and provides operational guidance for relay
deployments.
2. Conventions and Definitions
This document provides operational guidance for MoQT relay
implementations and deployments. It does not modify or override
protocol requirements specified in [MOQT].
This document uses the following terms:
Relay: A MoQT intermediary that receives content from publishers and
forwards it to subscribers, potentially caching content and
serving multiple subscribers from a single upstream subscription.
Control Plane: MoQT operations that establish, modify, and tear down
state: SUBSCRIBE, PUBLISH, FETCH, PUBLISH_NAMESPACE,
SUBSCRIBE_NAMESPACE, SUBSCRIBE_TRACKS, REQUEST_OK, REQUEST_UPDATE,
TRACK_STATUS, and related messages. These often require
coordination with backend systems for routing, authorization, and
state management.
Data Plane: MoQT operations involved in delivering MoQ Objects to
English, et al. Expires 6 May 2027 [Page 4]
Internet-Draft MoQ Relay DoS November 2026
subscribers: QUIC stream management, object framing, and flow
control.
3. Threat Model
MoQT relay deployments face resource exhaustion risks from several
categories of actors. How severe these risks are in practice depends
on the deployment model, authentication requirements, and trust
relationships between participants.
3.1. Actors
This section uses "misbehaving" rather than "malicious" to describe
problematic actors. A relay's defenses need to handle both
deliberate attacks and innocent misconfiguration or buggy
implementations — from the relay's perspective, the distinction often
does not matter.
Note that a relay acting maliciously with respect to content
integrity or confidentiality (interception, manipulation, selective
suppression) is a media security concern rather than a DoS concern
and is out of scope for this document.
3.1.1. Misbehaving Subscriber
Subscribers tend to face fewer authentication constraints, which can
create a broader attack surface. In broadcast scenarios — which are
a significant near-term deployment model for MoQT — subscribers may
be minimally authenticated or entirely unauthenticated. A malicious
subscriber can issue requests that force relays or publishers to
commit resources (subscriptions, buffer allocations, backend
lookups), manipulate flow control to cause excessive buffering,
rapidly create and cancel subscriptions to generate processing
overhead, or subscribe to content with no intent to actually consume
it.
The impact a misbehaving subscriber can have depends on where they
sit in the topology. If subscribers connect through a relay operated
by the content provider (or its CDN), the operator can impose limits
and terminate abusive sessions with full context about what
legitimate behavior looks like. If subscribers connect to third-
party relays, the relay may have less information to distinguish
attacks from unusual but legitimate usage.
English, et al. Expires 6 May 2027 [Page 5]
Internet-Draft MoQ Relay DoS November 2026
3.1.2. Misbehaving Publisher
Publishers are usually more constrained than subscribers. They tend
to have business relationships with the relay operator, face stronger
authentication requirements, and their traffic patterns are more
predictable and visible. That said, a malicious or compromised
publisher can flood namespace advertisement state (forcing relays to
propagate and store large numbers of namespace registrations),
publish at rates that overwhelm downstream relays and subscribers, or
exploit protocol features to force resource commitment without
delivering useful content — for example, opening many subgroup
streams and keeping them active.
3.1.3. Misbehaving Relay
In relay chains or meshes, a misbehaving relay can cause upstream
load through fan-out amplification, create namespace advertisement
loops, or fail to enforce resource limits in either direction —
failing to protect downstream clients from a misbehaving publisher,
or failing to protect upstream publishers from the aggregate load of
a large downstream audience. A compromised relay in a chain
effectively acts as both a misbehaving subscriber (to its upstream
peers) and a misbehaving publisher (to its downstream peers) at the
same time.
A misbehaving relay can also direct load at a third party. When a
server sends GOAWAY with a New Session URI, the client MUST use that
URI for its new session (see Section 9.2 of [MOQT]). A relay with
many connected clients can send them all a GOAWAY naming a victim
host, which then receives a burst of connection attempts from clients
that would not otherwise contact it. The victim need not implement
MoQT at all. Because the clients are following the protocol, the
victim cannot prevent the connection attempts. Mitigating this would
require clients to have some assurance that a new URI is
authoritative before following it, which is a matter for the
transport specification.
3.2. Amplification Properties
MoQT has significant amplification properties. A single SUBSCRIBE
message can cause a relay to perform backend lookups, establish an
upstream subscription to the publisher, and begin forwarding a
potentially unbounded stream of media objects. The server-side work
can be disproportionately large relative to the effort required to
trigger it — potentially much larger than in request-response
protocols like HTTP, where the server's cost is roughly proportional
to the request.
English, et al. Expires 6 May 2027 [Page 6]
Internet-Draft MoQ Relay DoS November 2026
This has a direct implication for how limits need to be designed.
Per-session limits are necessary but may not be sufficient: if an
attacker can open many sessions cheaply, per-session limits just move
the problem. Effective protection requires limits scoped to
something that is expensive for an attacker to obtain in quantity —
an authenticated identity, a billing account, or similar. The
specifics of authentication and billing are out of scope here, but
session-level controls alone may not be sufficient — they could be
one layer of a defense-in-depth strategy.
4. Control Plane Considerations
MoQT relay deployments require authoritative answers to routing
questions: which namespaces have been registered via
PUBLISH_NAMESPACE, where a subscription should be forwarded, and
whether an incoming request is permitted. Every relay — regardless
of deployment size — maintains state to answer these questions. The
cost of maintaining that state and the consequences of getting it
wrong both grow with the scale of the deployment.
On a single relay node, authoritative state is local: lookups and
updates are bounded by CPU and memory. As deployments grow to
multiple nodes, that state must be shared — through replication,
coordination, or some partitioning scheme — and the per-operation
cost tends to increase accordingly. MoQT is designed to support
distribution at scale through third-party relay networks (see
Section 1.2.4 of [MOQT]), so this document focuses on the cost
profile where these pressures are most acute.
In general, operations that read authoritative state tend to be
cheaper than operations that write or update it, and this asymmetry
tends to widen as the number of nodes sharing that state grows —
particularly when those nodes are geographically distributed.
Understanding the cost profile of different operations is important
for setting appropriate limits. Examining costs through the lens of
each control message type is a practical way to do this, particularly
for write-heavy operations.
4.1. Authoritative State and Coordination Costs
Several MoQT control messages create or modify authoritative state
that the relay uses for routing and resource management:
PUBLISH_NAMESPACE: Registers a namespace as actively published. The
relay must record this so that incoming subscriptions can be
matched to the correct publisher. In a multi-node deployment,
this registration must be visible to other nodes that may receive
subscriptions for the same namespace.
English, et al. Expires 6 May 2027 [Page 7]
Internet-Draft MoQ Relay DoS November 2026
SUBSCRIBE: Requests content for a Full Track Name (Track Namespace +
Track Name). The relay must look up the registered namespace,
determine where the content can be sourced, and may need to
establish an upstream forwarding path. Each subscription creates
ongoing state that must be maintained for the lifetime of the
subscription.
SUBSCRIBE_NAMESPACE: Registers interest in content matching a
namespace prefix. This inverts the namespace-advertisement flow:
instead of matching a subscription against registered namespaces,
the relay must match incoming PUBLISH_NAMESPACE messages against
registered namespace subscriptions. The state cost can be similar
to PUBLISH_NAMESPACE but evaluated in the reverse direction.
SUBSCRIBE_TRACKS: Requests the relay create a subscription (via
PUBLISH) for every Track in namespace(s) that begin with a
namespace prefix, including new Tracks as they are published.
This can quickly create a large number of subscriptions with only
a single message from the subscriber as well as causing the Relay
to maintain state to identify new Tracks in the namespace.
At the smallest scale, these operations are local lookups and writes.
At larger scales, they may require coordination across nodes —
whether through consensus protocols, centralized registries, or other
mechanisms — all of which are implementation-defined and outside the
scope of MoQT itself. The specific costs depend on the deployment
architecture, but the relative ordering is consistent: control plane
operations that touch authoritative state can be significantly more
expensive per message than data plane forwarding. This cost
differential means the control plane may warrant particular attention
when designing resource exhaustion defenses.
4.2. Rapid Request Cycles
Rapidly creating and canceling subscriptions forces repeated setup
and teardown work at the relay — and potentially at upstream
publishers — while the attacker pays only the cost of sending small
control messages. This is analogous to the HTTP/2 "Rapid Reset"
attack [HTTP2-RAPID-RESET], where attackers exploited the asymmetry
between the cost of sending RST_STREAM and the server-side cost of
stream setup.
The risk is not limited to subscription churn. Any control message
that triggers work at the relay can be abused through rapid
repetition. REQUEST_UPDATE can change the priority, which may force
reordering of internal scheduling structures.
English, et al. Expires 6 May 2027 [Page 8]
Internet-Draft MoQ Relay DoS November 2026
Implementations that track request rates per session can reduce the
rate at which they provide more bidirectional streams, thereby
limiting the number of new requests. As a more disruptive measure,
implementations can detect and terminate sessions exhibiting
excessive churn without making progress on useful data transfer.
4.2.1. Update Coalescing
REQUEST_UPDATE messages change properties of an existing subscription
— most commonly the priority, which may force reordering of internal
scheduling structures. The recipient of a REQUEST_UPDATE can
coalesce multiple pending updates for the same subscription before
applying them (see Section 9.5.1 of [MOQT]). For example, if a
subscriber sends 100 REQUEST_UPDATEs changing the priority of a
subscription before the relay has processed them, only the final
value needs to be applied.
Rapid REQUEST_UPDATE messages still consume network and parsing
resources, but coalescing prevents them from causing proportional
scheduling work at the relay. Coalescing does not apply to every
update: a REQUEST_UPDATE carrying FILL_PARAMETERS or
TRACK_NAMESPACE_PREFIX cannot be coalesced with other REQUEST_UPDATEs
(see Section 9.19.15 of [MOQT] and Section 9.19.20 of [MOQT]), so
floods of those updates need other limits, such as
MAX_REQUEST_UPDATES.
4.3. Namespace Advertisement Flooding
Because namespace advertisement state may need to be globally
registered, an attacker who can publish (or a compromised publisher)
can flood the namespace store with PUBLISH_NAMESPACE messages. These
are write-heavy operations against authoritative state (see the read/
write cost asymmetry discussed in Section 4), and in systems using
consensus protocols with per-transaction overhead, a flood of
PUBLISH_NAMESPACE messages can quickly exhaust capacity.
SUBSCRIBE_NAMESPACE can have a similar cost profile: each namespace
subscription registers matching state that must be evaluated against
every incoming PUBLISH_NAMESPACE.
Imposing limits on active namespace advertisements and namespace
subscriptions — both per session and per authenticated identity —
limits the impact a single actor can have on the namespace store.
5. Data Plane Considerations
Data plane resource exhaustion targets the Object forwarding path:
memory consumed by buffered objects, bandwidth spent on delivery, and
processing capacity for framing and scheduling.
English, et al. Expires 6 May 2027 [Page 9]
Internet-Draft MoQ Relay DoS November 2026
5.1. Slow Subscribers
A relay MUST NOT reorder or drop objects on a multi-object stream
when forwarding to subscribers (see Section 7.5 of [MOQT]). As a
result, a subscriber that consumes data more slowly than it is
produced will cause data to accumulate at the relay. That memory
pressure could affect other subscribers on the same relay (see
Section 5.4 and Section 6.1). This can happen because the
subscriber's network is slow, because the subscriber's application
isn't consuming data fast enough, or because the subscriber is
deliberately not consuming data at all.
Objects sent on QUIC streams are reliably delivered, so a relay
cannot skip individual objects within a Subgroup stream. The
smallest unit it can shed is a whole stream: resetting a Subgroup
stream ends delivery of that Subgroup but leaves the subscription in
place, and later Groups are delivered on new streams (see
Section 11.3.2 of [MOQT]). When an endpoint reaches a resource
limit, Section 15.5 of [MOQT] requires it to cancel a stream,
preferably the one with the lowest priority. Shedding a stream still
disrupts the subscriber, which loses the rest of that Subgroup and
may need to FETCH it, but the disruption is limited to that stream
rather than the whole subscription. Ending the subscription (for
example, with PUBLISH_DONE and the TOO_FAR_BEHIND status code)
remains available when a subscriber is persistently unable to keep
up. Objects sent as datagrams can simply be dropped when a buffer
forms, which naturally limits accumulation but does not eliminate the
processing cost of receiving and discarding them.
A relay also cannot apply QUIC flow control backpressure to the
upstream publisher on behalf of one slow subscriber without affecting
other downstream subscribers of that track.
Relays that detect and handle slow subscribers can limit this
accumulation. Options include imposing per-subscriber buffer limits,
resetting the lowest-priority streams of a subscriber that exceeds
them, relying on delivery timeouts to reset streams whose Objects are
no longer useful (see Section 5.2 of [MOQT]), and ending
subscriptions that remain too far behind the live edge.
5.2. Join-Time Buffering
When a subscriber joins a live stream and requests historical data —
to build a decode buffer or start from a past random access point —
the relay needs to deliver that past data while live data continues
to arrive. If the subscriber's bandwidth is limited, the historical
delivery takes time during which live objects queue at the relay.
For high-bitrate streams, this transient buffering spike can be
English, et al. Expires 6 May 2027 [Page 10]
Internet-Draft MoQ Relay DoS November 2026
significant.
This is not inherently an attack — it happens in normal operation.
But it creates a window that an attacker could exploit by joining
many streams simultaneously with constrained receive windows.
Limiting the amount of data buffered per subscriber during join
operations contains this risk. When limits are exceeded, a relay can
cancel the subscription, skip ahead to the live edge, or reduce
delivery quality.
5.3. Unknown Track Aliases
Objects can arrive on a data stream or in a datagram before the
control message that associates their Track Alias with a
subscription. Section 3.1.3.1 of [MOQT] allows the receiver to drop
such data or to buffer it briefly, and to withhold stream flow
control beyond the stream header until the Track Alias is
established. It does not say how much to buffer or for how long, and
the sender chooses the Track Alias values, so a receiver cannot tell
in advance which aliases will turn out to be valid. A peer, whether
misbehaving or merely slow to send its control messages, can
therefore make a relay hold data it cannot yet attribute to any
subscription or account against any limit tied to a subscription.
A relay that buffers data for unknown Track Aliases can bound it in
two dimensions: how long it waits for the alias to be established,
and how much data it holds while waiting, both per session and across
the relay. Withholding stream flow control bounds the amount of data
the peer can send on those streams, though it does not bound the
number of streams opened, which remains limited by QUIC stream
limits.
Context can inform these limits. Data that could plausibly belong to
a request the relay itself has sent and not yet seen answered, such
as a pending SUBSCRIBE, is more likely to be legitimate than
unsolicited data on a session where the relay does not expect to
receive PUBLISH. A relay can reasonably wait longer or hold more in
the first case than in the second.
When a relay discards buffered data under resource pressure,
discarding everything for the affected Track Alias, rather than
individual Subgroups, avoids leaving gaps that are hard to account
for if the alias later turns out to be valid. The sender is not told
why its streams were reset, so it cannot distinguish this from other
stream resets. Datagrams with an unknown Track Alias can simply be
dropped.
English, et al. Expires 6 May 2027 [Page 11]
Internet-Draft MoQ Relay DoS November 2026
5.4. Flow Control Limitations
QUIC flow control (Section 4 of [QUIC]) protects receivers from
memory exhaustion, but its protections have limits that are worth
understanding:
Within a single MoQT session: QUIC flow control operates at the
connection and stream level. MoQT's prioritization mechanism
intentionally allows higher-priority subscriptions to consume
resources at the expense of lower-priority ones — that is by
design for media delivery. But it means a single high-priority
subscription can starve other subscriptions within the same
session, and QUIC flow control will not prevent it.
Across multiple MoQT sessions: Flow control on one session does not
prevent a slow subscriber on that session from causing resource
accumulation that affects other sessions at the same relay. A
relay must manage cross-session resource allocation independently.
MoQT does not currently provide per-subscription resource isolation.
Within a session, a single subscription can consume an unbounded
share of buffer memory, outbound bandwidth, and scheduling priority.
Across sessions, a single session can similarly dominate relay-wide
memory and bandwidth unless the relay imposes application-layer
limits. Relays can implement fairness policies across sessions —
such as per-session buffer caps or weighted bandwidth allocation — to
prevent one subscriber's behavior from degrading service for others.
6. Relay Dual-Role Considerations
Relays are simultaneously subscribers (to upstream publishers) and
publishers (to downstream subscribers). This dual role creates DoS
considerations that don't apply to original publishers or end
subscribers.
6.1. Resource Isolation
A relay serving multiple clients must prevent one client's behavior
from degrading service for the others. In practice this means per-
client limits on active subscriptions, namespace advertisements, and
concurrent streams; independent buffer management per downstream
subscription (so a slow subscriber doesn't cause backpressure on
other subscribers' data); and fairness policies for shared resources
like memory, bandwidth, and backend query capacity.
English, et al. Expires 6 May 2027 [Page 12]
Internet-Draft MoQ Relay DoS November 2026
These two goals sit in tension: the more independently a relay
handles each downstream subscription, the less sharing and coalescing
it can do upstream, limiting its ability to scale efficiently.
Operators need to navigate this tradeoff for their particular
deployment.
That said, propagating per-subscriber resource pressure upstream
degrades service for every other subscriber on that stream. If one
subscriber is slow, the relay needs to handle that locally — dropping
data, canceling the subscription, or adjusting delivery — rather than
reducing the rate at which it receives data from the publisher.
6.2. Upstream Load Protection
Data plane traffic can aggregate efficiently at relays: multiple
downstream subscriptions to the same content collapse into a single
upstream subscription, and cached objects are served from local
state. Control plane traffic is a different story. If many
downstream subscribers simultaneously request historical data, issue
REQUEST_UPDATE messages, or churn through subscriptions, the relay
may need to forward a high volume of control messages upstream. This
fan-in of control traffic from many downstream sessions can overwhelm
upstream publishers or relays even when data plane traffic is well-
managed.
Effective defenses include rate-limiting control messages forwarded
upstream, aggregating or deduplicating upstream requests where
possible, and shedding downstream load rather than passing it through
to upstream peers.
6.3. Paused Subscriptions
A subscription can be paused, in which case the publisher sends no
Objects on it until it is resumed (see Section 3.1.1 of [MOQT]). A
paused subscription costs the subscriber little but still occupies
state at the relay, and when it is the only downstream subscription
for a Track it can still cause upstream work. When all downstream
subscriptions to a Track are paused, the relay decides whether to
pause its upstream subscription (see Section 7.2 of [MOQT]). Leaving
it unpaused keeps the relay's cache warm so that a resumed subscriber
is served quickly, but it pulls content from the publisher that no
subscriber is currently receiving. A subscriber that opens many
paused subscriptions could use this to drive upstream traffic and
cache use at almost no cost to itself.
Counting paused subscriptions against the same per-session and per-
identity limits as active ones prevents them from being a cheap way
to accumulate relay state. Keeping upstream subscriptions unpaused
English, et al. Expires 6 May 2027 [Page 13]
Internet-Draft MoQ Relay DoS November 2026
is most appropriate when there is reason to expect that a downstream
subscriber will resume soon, for example for popular content, and
less so for Tracks requested only by paused subscriptions from a
single session. Rapid toggling between paused and unpaused is
another form of the rapid request cycles described in Section 4.2.
6.4. Multi-Publisher Fan-Out
When a relay serves content from multiple publishers, subscriber
operations can fan out upstream in ways that may not be obvious from
the subscriber's perspective. Multi-publisher scenarios introduce
additional fan-out and resource isolation considerations that need
further analysis. This section will be expanded in future revisions.
7. Operational Recommendations
Appropriate limits depend on deployment architecture, hardware
capacity, and expected traffic patterns. The recommendations in this
section are expressed as general principles; operators will need to
determine specific thresholds for their deployments.
7.1. Cost Tracking
Tracking resource consumption per transport session — and, where
possible, per authenticated identity — gives operators the visibility
needed to detect abuse. Useful signals include the rate of control
messages over time, the number of active subscriptions and namespace
advertisements, buffered data per subscriber, and the ratio of
control plane activity to useful data transfer.
Sessions or identities that consume disproportionate resources
relative to the data transfer they facilitate are candidates for
throttling or termination.
7.2. Rate Limiting
Rate limits are the primary defense against control plane flooding.
A few properties matter for MoQT relay deployments specifically:
Rate limits are most effective when scoped per-client or per-
authenticated-identity, not just globally. A purely global rate
limit can be consumed by a single attacker, denying service to
everyone else. Scoping limits per deployment unit — per customer
account or per content namespace — further isolates abuse so that
problems in one context do not affect another.
English, et al. Expires 6 May 2027 [Page 14]
Internet-Draft MoQ Relay DoS November 2026
Per-client limits and systemic circuit breakers serve different
purposes and both contribute to a complete defense. Per-client
limits prevent individual abuse. Circuit breakers protect the
backend when many clients simultaneously generate legitimate but
excessive load, as happens during flash crowd events.
When declining individual requests due to overload, explicit protocol
feedback (for example, REQUEST_ERROR with EXCESSIVE_LOAD in [MOQT])
is preferable to silent failure. Clear overload signaling helps
legitimate peers back off quickly.
Traffic characteristics vary across deployments and evolve over time
as usage patterns and hardware capabilities change. Limits
calibrated relative to observed legitimate traffic patterns for the
deployment tend to be more robust than fixed values.
8. Tracking Protocol Load-Bearing Mitigations
This section is to be removed before publishing as an RFC.
Several MoQT protocol mechanisms serve as mitigations against
resource exhaustion, even if some of them were not originally
designed with that as their primary purpose. It is worth documenting
these explicitly so that proposed changes to the protocol can be
evaluated for their security impact, since removing or weakening a
mechanism that happens to be load-bearing for DoS prevention could
reintroduce risks that were previously mitigated. When evaluating
protocol changes, it is worth considering whether existing
mitigations are being preserved, replaced with equivalent mechanisms,
or inadvertently weakened.
Some mechanisms present in earlier revisions of [MOQT] have since
been removed or relaxed. The PREFIX_OVERLAP error, which prevented a
session from holding overlapping SUBSCRIBE_NAMESPACE or
SUBSCRIBE_TRACKS requests, no longer exists, so a Track matching
several overlapping SUBSCRIBE_TRACKS results in a PUBLISH for each
(see Section 3.6 of [MOQT]). Detecting duplicate Request IDs is no
longer required (see Section 6.4.2.1 of [MOQT]), which avoids
unbounded per-session state; reusing a Request ID is still
prohibited, but a receiver that does not track them may not notice a
peer that does. The fixed 2^16-1 control message length has been
replaced by MAX_CONTROL_MESSAGE_SIZE.
English, et al. Expires 6 May 2027 [Page 15]
Internet-Draft MoQ Relay DoS November 2026
+===========================+===============+=======================+
| Mechanism |Threat |Notes |
| |Mitigated | |
+===========================+===============+=======================+
| QUIC bidi Stream Limits |Rapid request |Limits outstanding |
| |flooding; |requests a peer can |
| |unbounded state|issue. Any proposal |
| |commitment |to remove or change |
| | |this needs to provide |
| | |equivalent protection. |
+---------------------------+---------------+-----------------------+
| QUIC uni Stream Limits |Stream |Baseline protection. |
| |exhaustion |When used as the |
| | |primary request- |
| | |limiting mechanism, |
| | |configuration needs to |
| | |account for security |
| | |implications. |
+---------------------------+---------------+-----------------------+
| QUIC Flow Control |Receiver memory|Protects individual |
| |exhaustion |receivers but does not |
| | |provide cross-session |
| | |fairness or state |
| | |exhaustion protection. |
+---------------------------+---------------+-----------------------+
| Timeouts (Section 15.6 of |Idle resource |Let relays reclaim |
| [MOQT]), including |consumption |resources from peers |
| delivery timeouts | |that do not send |
| (Section 5.2 of [MOQT]) | |expected data and from |
| and EXPIRES | |inactive |
| (Section 9.19.16 of | |subscriptions. Values |
| [MOQT]) | |are implementation- |
| | |chosen. |
+---------------------------+---------------+-----------------------+
| MAX_AUTH_TOKEN_CACHE_SIZE |Memory |Bounds total per- |
| |consumption |session bytes of |
| | |registered |
| | |authorization token |
| | |aliases/values |
+---------------------------+---------------+-----------------------+
| MAX_CONTROL_MESSAGE_SIZE |Oversized |Bounds the size of |
| (Section 9.1.8 of [MOQT]) |control-message|each control message |
| |parsing DoS |the receiver accepts. |
| | |The receiver |
| | |advertises the value, |
| | |which is at least |
| | |65535 and has no upper |
| | |bound, so a receiver |
English, et al. Expires 6 May 2027 [Page 16]
Internet-Draft MoQ Relay DoS November 2026
| | |that raises it accepts |
| | |proportionally more |
| | |buffered control data |
| | |per request stream. |
+---------------------------+---------------+-----------------------+
| UNAVAILABLE when out of |One downstream |A relay that lacks |
| upstream stream credit |request |stream credit to |
| (Section 7.4 of [MOQT]) |exhausting a |forward a request can |
| |relay's |fail it immediately |
| |upstream |with UNAVAILABLE, or |
| |request streams|wait and fail it with |
| | |TIMEOUT, rather than |
| | |holding it |
| | |indefinitely. |
+---------------------------+---------------+-----------------------+
| MAX_REQUEST_UPDATES |Rapid |Bounds outstanding |
| (Section 9.1.7 of [MOQT]) |REQUEST_UPDATE |REQUEST_UPDATEs per |
| |churn |request stream. The |
| | |default of 0 means no |
| | |limit, so it only |
| | |protects an endpoint |
| | |that advertises a |
| | |value. It does not |
| | |bound the total number |
| | |of updates over time, |
| | |or the number of fill |
| | |fetch streams |
| | |(Section 3.4 of |
| | |[MOQT]) that updates |
| | |open, because each |
| | |response restores a |
| | |credit. |
+---------------------------+---------------+-----------------------+
| MAX_FILTER_RANGES |Per-object |The default of 0 means |
| (Section 9.1.6 of [MOQT]) |filter |a peer cannot send |
| |evaluation |Range Filters unless |
| |cost; growth of|the endpoint |
| |aggregated |advertises support. |
| |filter state | |
+---------------------------+---------------+-----------------------+
| Full Track Name limits |Oversized |At most 32 Track |
| (Section 8.7 of [MOQT]) |names; |Namespace Fields, and |
| |namespace |at most 4,096 bytes |
| |lookup and |for a Full Track Name. |
| |storage cost | |
+---------------------------+---------------+-----------------------+
| Relay-chosen |Subscriptions |The relay MAY use a |
| RENDEZVOUS_TIMEOUT |held while |shorter timeout than |
English, et al. Expires 6 May 2027 [Page 17]
Internet-Draft MoQ Relay DoS November 2026
| (Section 9.19.6 of |waiting for a |the subscriber |
| [MOQT]) |publisher |requests. |
+---------------------------+---------------+-----------------------+
| FILL_TIMEOUT budget |Unbounded |A total budget for all |
| (Section 3.2.3 of [MOQT], |upstream FETCH |upstream FETCHes |
| Section 9.19.5 of [MOQT]) |work for one |generated by a single |
| |request |request. The |
| | |requester supplies the |
| | |value, and the relay |
| | |MAY use a shorter one. |
+---------------------------+---------------+-----------------------+
| One outstanding |Upstream |A relay does not |
| NEW_GROUP_REQUEST per |amplification |forward a |
| relay (Section 9.19.19 of |of new-group |NEW_GROUP_REQUEST |
| [MOQT]) |requests |while one of its own |
| | |is outstanding, so |
| | |many downstream |
| | |requests collapse into |
| | |one. |
+---------------------------+---------------+-----------------------+
| No propagation of invalid |One misbehaving|A relay MUST NOT |
| messages or Objects |session causing|forward a control |
| (Section 7.7 of [MOQT]) |unrelated |message or Object that |
| |sessions to |caused a session to |
| |close |close. |
+---------------------------+---------------+-----------------------+
| Malformed Objects are not |Cache |Objects that trigger |
| cached (Section 12.1 of |poisoning; one |Malformed Track status |
| [MOQT]) |publisher's bad|MUST NOT be cached. |
| |data persisting| |
| |for other | |
| |subscribers | |
+---------------------------+---------------+-----------------------+
Table 1
9. Security Considerations
This entire document addresses security considerations for MoQT relay
deployments. It complements the MoQT Security Considerations. (see
Section 15 of [MOQT]) The focus is on denial-of-service threats and
resource exhaustion; authentication, authorization, and billing are
out of scope but can be essential parts of a complete defense. In
particular, the amplification properties described in Section 3.2
mean that effective DoS protection may require per-identity or per-
account limits beyond what the transport protocol alone can provide.
English, et al. Expires 6 May 2027 [Page 18]
Internet-Draft MoQ Relay DoS November 2026
10. IANA Considerations
This document has no IANA actions.
11. References
11.1. Normative References
[MOQT] Nandakumar, S., Vasiliev, V., Swett, I., and A. Frindell,
"Media over QUIC Transport", Work in Progress, Internet-
Draft, draft-ietf-moq-transport-23, 2 November 2026,
<https://datatracker.ietf.org/doc/html/draft-ietf-moq-
transport-23>.
[QUIC] Iyengar, J., Ed. and M. Thomson, Ed., "QUIC: A UDP-Based
Multiplexed and Secure Transport", RFC 9000,
DOI 10.17487/RFC9000, May 2021,
<https://www.rfc-editor.org/rfc/rfc9000>.
11.2. Informative References
[BCP72] Best Current Practice 72,
<https://www.rfc-editor.org/info/bcp72>.
At the time of writing, this BCP comprises the following:
Rescorla, E. and B. Korver, "Guidelines for Writing RFC
Text on Security Considerations", BCP 72, RFC 3552,
DOI 10.17487/RFC3552, July 2003,
<https://www.rfc-editor.org/info/rfc3552>.
Gont, F. and I. Arce, "Security Considerations for
Transient Numeric Identifiers Employed in Network
Protocols", BCP 72, RFC 9416, DOI 10.17487/RFC9416, July
2023, <https://www.rfc-editor.org/info/rfc9416>.
[HTTP2-RAPID-RESET]
"HTTP/2 Rapid Reset Attack", 2023,
<https://www.cve.org/CVERecord?id=CVE-2023-44487>.
[RFC9775] Perkins, C. S., "IRTF Code of Conduct", RFC 9775,
DOI 10.17487/RFC9775, March 2025,
<https://www.rfc-editor.org/rfc/rfc9775>.
Contributors
* Ian Swett
* Aman Sharma
English, et al. Expires 6 May 2027 [Page 19]
Internet-Draft MoQ Relay DoS November 2026
* Cullen Jennings
* Will Law
* Luke Curley
* Mike Bishop
* Mo Zanaty
Use of Generative AI
Anthropic's Claude (Sonnet 4.6 and Opus 4.6) and OpenAI's GPT-5.3
Codex were used to assist with organizing source materials,
structuring the document, and drafting text. All AI-generated
content was reviewed and approved by the author. This disclosure
follows the guidance in [RFC9775], applied voluntarily to this IETF
document.
Authors' Addresses
Mike English
Cloudflare
Email: ietf@englishm.net
Lucas Pardue
Cloudflare
Email: lucas@lucaspardue.com
Aman Sharma
Meta
Email: amsharma@meta.com
Ian Swett
Google
Email: ianswett@google.com
English, et al. Expires 6 May 2027 [Page 20]