[Paper Review] QASM: A Novel Framework for QUIC-Aware Stateful Middleboxes
This paper introduces QASM, a framework that enables stateful middleboxes to reliably track QUIC connections across migrations using DCIDs, IPs, and tracking agents, with negligible overhead.
Stateful Middleboxes are integral part of enterprise and campus networks that provide essential in-network, security, and value-added services. These stateful middleboxes rely on precise network flow identification. However, the adoption of HTTP/3, which uses the QUIC protocol, poses significant challenges to the proper functioning of these devices. QUIC's encryption and connection migration features obscure flow semantics, disrupting middlebox visibility and functionality. We examine how QUIC disrupts middleboxes like Network Address Translators (NATs), Rate Limiters, Load Balancers, etc., and affects Kubernetes-based service deployments. To address these challenges, we propose a novel, generalized framework that enables stateful middleboxes to reliably track QUIC connections, even when the endpoints change their internet protocol (IP) address or port numbers. Our prototype implementation demonstrates that the proposed approach preserves middlebox functionality with HTTP/3 with negligible performance overhead (< 5%) on both throughput and latency, and works effectively even under high QUIC connection migration rates of up to 100 Hz.
Motivation & Objective
- Identify how QUIC’s connection migration disrupts traditional middleboxes (NATs, LBs, RLs) and Kubernetes deployments.
- Propose a general, efficient framework to maintain QUIC connection awareness in middleboxes without invasive changes to QUIC implementations.
- Demonstrate through implementation and evaluation that QASM preserves middlebox functionality with low overhead under frequent migrations.
Proposed method
- Define tracking attributes for QUIC connections (O-DCID, DCIDs set, client addresses, server IP/port).
- Propose a three-component architecture: Client Agent, Tracking Agent, and QUIC-aware Stateful Middlebox (QASM).
- Implement Client Agent in aioquic and as an possible eBPF-based option to extract DCIDs.
- Develop a central Tracking Agent with client-facing and middlebox-facing APIs; support sharding for scalability.
- Enable middleboxes to query or subscribe to tracking info, ensuring fast lookups and updates.

Experimental results
Research questions
- RQ1How does QUIC connection migration affect NATs, load balancers, rate limiters, and Kubernetes conntrack?
- RQ2Can a QUIC-aware framework preserve middlebox functionality under high migration rates?
- RQ3What is the overhead and performance impact of deploying QASM in realistic networks?
- RQ4How should tracking information be structured to maintain QUIC connections across migrations?
Key findings
- QUIC connection migration can exhaust NAT mappings and cause DoS-like effects in NAT, under test conditions.
- Load balancers lose flow persistence when QUIC migrations change 5-tuples, leading to disrupted connections and potential memory issues.
- Rate limiters misclassify migrated QUIC traffic as new flows, bypassing per-connection limits without QUIC awareness.
- QUIC-aware middleboxes maintain a single public IP/port association for a QUIC connection across migrations in tests.
- Latency overhead of QUIC-aware NAT is negligible; proactive mode matches default NAT latency, while reactive mode adds ~5% processing overhead.
- Throughput with QUIC-aware NAT remains comparable to default NAT even with multiple middleboxes and migration, in evaluated scenarios.

Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.