Free tech learning for everyone, from basics to pro

Network FundamentalsNetworking SecurityIntermediate

UDP in depth and QUIC: why so much traffic now runs over UDP

In short: UDP sends independent datagrams with an 8-byte header and no handshake, retransmission or ordering. That makes it ideal for DNS, voice, video and gaming, where speed matters more than resending lost data. QUIC builds reliability, congestion control and encryption on top of UDP and now carries HTTP/3 traffic for most large websites.

The simplest transport

UDP (User Datagram Protocol) adds almost nothing to IP. Its header is only 8 bytes: source port, destination port, length and checksum. There is no connection to set up, no acknowledgements, no retransmission and no ordering. If a datagram is lost, UDP does not notice. Applications that need any of those features build them in themselves.

TCP compared with UDPTCPConnection with handshakeReliable, ordered deliveryCongestion control built inWeb, email, file transferUDPNo connection or handshakeNo retransmission or orderApplication decidesDNS, voice, video, QUIC
Figure 1. UDP is not "worse" than TCP; it simply leaves reliability decisions to the application.

Why applications choose UDP

  • DNS (port 53): one small question, one small answer. A TCP handshake would triple the time.
  • Voice and video (RTP): a late packet is useless; better to skip it than wait for a resend.
  • Online games: the latest position matters, not old ones.
  • DHCP (67/68), NTP (123), SNMP (161/162), syslog (514), TFTP (69): simple request-response or one-way messages.
  • VPNs such as WireGuard and IPsec NAT-T (UDP 4500): they carry TCP inside, and TCP-in-TCP performs badly.
  • QUIC and HTTP/3 (UDP 443).

Firewalls, NAT and UDP

Because UDP has no connection setup or teardown, stateful firewalls and NAT devices create a "pseudo-connection" when they see the first outbound packet, and remove it after a timeout (often 30 to 120 seconds). If an application goes quiet longer than that, replies are dropped. VoIP phones and VPNs send keepalives to stop this. Inbound UDP to a server needs explicit rules, like TCP.

UDP and attacks

Because UDP has no handshake, source addresses can be spoofed easily. Attackers send small requests to open DNS, NTP or memcached servers with a victim's address as the source, and the servers send much larger replies to the victim: a reflection and amplification DDoS. Never run open resolvers or open NTP servers on the internet, and filter spoofed sources at your edge.

QUIC: reliable connections over UDP

QUIC, designed at Google and standardised in 2021 (RFC 9000), runs over UDP but provides:

  • reliable, ordered streams, with many independent streams in one connection, so one lost packet does not hold up the others;
  • built-in TLS 1.3 encryption, covering even most of the transport headers;
  • faster connection setup (one round trip, or zero for repeat visits);
  • connection migration: a phone moving from Wi-Fi to mobile data keeps the same connection.

QUIC runs in the application, not the operating system kernel, so browsers and apps can improve it quickly. HTTP/3 uses it, and large services such as Google, YouTube, Meta and Cloudflare carry a big share of their traffic over it.

For network teams, QUIC means UDP 443 traffic that firewalls cannot inspect as easily as TCP. Some organisations block UDP 443 to force browsers back to HTTP/2 over TCP for inspection; this works but loses QUIC's benefits.

Real-world example: phones that stopped ringing

An office's desk phones registered fine in the morning but stopped receiving calls after a while. The new firewall used a 30-second UDP timeout, and the phones only re-registered with the cloud phone system every 10 minutes. Incoming call invitations arrived after the NAT mapping had expired and were dropped. Raising the UDP timeout for SIP and enabling keepalives on the phones fixed it.

Practice

How large is the UDP header?
8 bytes.
Why does voice traffic use UDP rather than TCP?
A late voice packet is useless, so it is better to skip lost packets than wait for retransmissions.
Which protocol does HTTP/3 run on?
QUIC, which runs over UDP port 443.

Key takeaways

  • UDP is connectionless with an 8-byte header and no reliability.
  • DNS, voice, video, games, DHCP, NTP and many VPNs use UDP.
  • NAT and firewalls time out idle UDP flows; keepalives help.
  • QUIC adds reliable, encrypted streams over UDP and carries HTTP/3.
Tracks your learning on this device only. See your progress on the learning paths.
Verified author✓ Valid
Issued to
Mohamed Fayas
Role
Founder of FM TecHub
Credentials
CCNABTEC HND Network EngineeringBEng (Hons) Computer Networking & Cloud Security
Issuer
FM TecHub · fmtechub.com

He writes practical, plain-English guides on networking, security and cloud.

More about the author →

Original content written by Mohamed Fayas for FM TecHub. © 2026 FM TecHub. You're welcome to share a link to this page; please don't copy the text elsewhere without permission.

Email updates: coming soon

New notes, tools and security news from FM TecHub by email, explained simply. Free. We're not collecting email addresses yet; see our privacy policy.

PortServiceStatus
SMTP/25Email updatesopening soon

Meanwhile, stay connected: