[Paper Review] Using UDP for Internet Transport Evolution
This paper evaluates UDP as a viable foundation for deploying new transport protocols in the modern Internet, using large-scale measurements via RIPE Atlas and a novel tool called copycat to compare UDP and TCP performance. It finds that UDP works reliably on most networks, with impairments largely confined to access networks—supporting UDP encapsulation as a sound strategy for transport innovation.
The increasing use of middleboxes (e.g., NATs, firewalls) in the Internet has made it harder and harder to deploy new transport or higher layer protocols, or even extensions to existing ones. Current work to address this Internet transport ossification has led to renewed interest in UDP as an encapsulation for making novel transport protocols deployable in the Internet. Examples include Google's QUIC and the WebRTC data channel. The common assumption made by these approaches is that encapsulation over UDP works in the present Internet. This paper presents a measurement study to examine this assumption, and provides guidance for protocol design based on our measurements. The key question is "can we run new transport protocols for the Internet over UDP?" We find that the answer is largely "yes": UDP works on most networks, and impairments are generally confined to access networks. This allows relatively simple fallback strategies to work around it. Our answer is based on a twofold methodology. First, we use the RIPE Atlas platform to basically check UDP connectivity and first-packet latency. Second, we deploy copycat, a new tool for comparing TCP loss, latency, and throughput with UDP by generating TCP-shaped traffic with UDP headers.
Motivation & Objective
- . The paper investigates whether UDP can serve as a reliable and performant substrate for new transport protocols in today's Internet.
- It addresses the challenge of Internet transport ossification caused by middleboxes like NATs and firewalls that hinder protocol innovation.
- The objective is to empirically validate the assumption that UDP encapsulation does not disadvantage new protocols compared to TCP.
- The study aims to guide protocol designers on fallback strategies and state management in UDP-encapsulated transports.
Proposed method
- . The authors use the RIPE Atlas platform to measure UDP connectivity and first-packet latency from diverse vantage points.
- They deploy copycat, a tool that generates TCP-shaped traffic with UDP headers, to compare TCP and UDP performance in terms of loss, latency, and throughput.
- Copycat enables full-mesh measurements across PlanetLab, CAIDA's Ark, and Digital Ocean, isolating the impact of UDP headers from protocol semantics.
- The study analyzes RTT bias, loss, and throughput differences between TCP and UDP flows with identical traffic patterns.
- It leverages existing public data and measurements to assess path dependency and middlebox interference.
- The analysis includes both IPv4 and IPv6 networks to evaluate protocol-specific behaviors.
Experimental results
Research questions
- RQ1. Is UDP connectivity reliable across the modern Internet, particularly in access networks?
- RQ2. Does UDP suffer from systematic performance degradation compared to TCP when carrying congestion-controlled traffic?
- RQ3. Are there significant differences in latency, loss, or throughput between TCP and UDP when only the wire image differs?
- RQ4. How prevalent is UDP blocking or rate-limiting, and where is it most likely to occur?
- RQ5. What guidance can be derived for protocol designers to ensure robustness in UDP-encapsulated transports?
Key findings
- . UDP connectivity is blocked in approximately 2% to 4% of terrestrial access networks, primarily in enterprise and geographically challenged networks.
- . Blocking is predominantly confined to access networks, with no widespread evidence of systematic performance degradation for UDP compared to TCP.
- . The median RTT bias between TCP and UDP is near zero, indicating no significant latency disadvantage for UDP.
- . For IPv4 on Digital Ocean, 40% of flows show an RTT bias of 1% to 30% in absolute value, but this is attributed to middlebox interference rather than UDP-specific treatment.
- . There is no path-dependent bias in initial latency, and the median RTT bias is -0.02%, confirming minimal differential treatment.
- . The study confirms that fallback mechanisms like Happy Eyeballs are sufficient for handling UDP failures, and that state exposure in UDP protocols is critical to avoid excessive NAT timeouts.
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.