UDP
— User Datagram ProtocolUDP sends independent packets (datagrams) without establishing a prior connection, acknowledging receipt, or guaranteeing packet arrival order. This minimal overhead makes UDP the default choice for real-time gaming, live audio/video streaming, VoIP, and DNS.
Interactive Session: How UDP Works
Step through the packet exchange sequence between nodes.
Interactive Execution Sandbox
Interact with a live or clearly-labelled simulated instance of UDP.
Threat Model & Attack Simulation
How this protocol is attacked in practice, what defenders can see, and which control stops it.
Threat model & attack simulation
SimulatedDefensive education. Every step runs in this page; no traffic is generated or sent.
UDP amplification and reflection
Denial of serviceSpoofed requests to open UDP services produce large responses aimed at the victim.
Find an amplifier
The attacker inventories services that answer small requests with large replies.
Scanning of UDP ports and unusual request patterns.
Bandwidth exhaustion and collateral impact on nearby networks.
Defences that matter
- BCP 38 ingress filtering
- Rate limits on UDP services
- Disable unused UDP responders
This is a conceptual model for defenders, not an exploit toolkit. It contains no payloads, tooling or instructions for attacking systems you do not own.
Protocol Specification & Architecture
Key characteristics, real-world deployment patterns, and trade-offs.
Core Technical Features
- Connectionless datagram delivery with no handshake latency
- Tiny 8-byte header footprint (Source Port, Dest Port, Length, Checksum)
- No retransmissions, acknowledgment waits, or flow control delays
- Native broadcast and multicast support
Real-World Use Cases
- Live video/audio streaming (WebRTC, IPTV)
- Multiplayer gaming networking
- DNS queries
- DHCP and NTP services
Advantages & Strengths
- Zero connection establishment latency
- Lowest possible CPU and memory overhead
Limitations & Vulnerabilities
- Unreliable: packets can be dropped, duplicated, or arrive out-of-order