Connectionless
UDP is connectionless: each datagram is sent without a TCP-style handshake or transport acknowledgement. Reliability, ordering, retries and transaction correlation must come from the application or an upper protocol when required.
1. Capture at the client: request sent?
2. Capture at the server: request arrived? Response sent?
3. Response not received → reverse path or firewall without UDP state.
4. ICMP port unreachable → nothing listening; silence → dropped or filtered.
5. Use the application's own test tool to confirm.
application sends a datagram → path delivers it → server listens on the port → server replies → reply crosses the reverse path → application matches it to the request
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Operational verification and known-good state Verify boundary
Verify a UDP transaction as two independent directions. Record the exact tuple and application correlation field—for DNS that might be the transaction ID and question, for NTP the request/response timing fields, for syslog there may be no response at all. Show the request leaves the intended source/VRF, crosses ACL/NAT/policy and reaches the destination process. If the protocol expects a response, show the server emits it and that the translated/reverse tuple returns to the client before state timeout. A “UDP session” shown by a firewall shows that device created tracking state, but it does not show the server processed the payload or that a reply reached the endpoint.
Step 2 Verification & troubleshooting Narrow the fault
Step 3 Failure signatures and troubleshooting branches Narrow the fault
If no request is visible, stay at source application/socket/routing. If the request crosses the network but never reaches the server, isolate the first missing hop/policy boundary. If the server receives it but does not answer, validate protocol contents, listener binding, rate limits and application logs rather than changing routes. If the server sends a reply but the client does not receive it, trace reverse routing, NAT lookup, state timeout and firewall policy. Intermittent UDP failures often expose ECMP hashing, fragment loss, policing or application retry timing; correlate one transaction ID and timestamp rather than relying on aggregate “UDP works” tests.
Step 4 When the problem is really fixed Narrow the fault
Close the incident by repeating the original application transaction, not merely by sending an arbitrary UDP packet. The exact request must reach the expected process and, when the protocol is request/response, the corresponding reply must return and be accepted before the application timeout. Confirm the prior drop/timeout signature is absent and verify one adjacent known-good transaction so a broad ACL/NAT change has not created regression. Authored examples and protocol descriptions are not observed Evidence. If you capture a real DNS/NTP/etc. exchange, store only that observation as Evidence with the tuple, timestamp, correlation identifier and bounded claim.
Step 5 Common mistakes Narrow the fault
- Expecting UDP to report loss.
- Firewalls timing out UDP flows early.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
A sender can successfully hand a UDP datagram to its IP stack even when the destination never receives it. No transport handshake exists to prove listener readiness, path symmetry or response delivery.
- Capture:
tcpdump -nn -i <if> udp port <p>— request and response both seen? ss -ulnp(Linux) /netstat -ano -p udp(Windows) — is something listening on the port?nc -u <host> <p>— send a test datagram.show ip traffic | include UDP(IOS) — UDP counters, port unreachables.- Application-specific test:
nslookup,ntpq -p,snmpget.
ReferenceWhy it matters1 section · depth on demand
When to use it
Use it to reason about request/response, one-way telemetry, multicast and real-time services where the application supplies any reliability.
ReferenceImportant terms & boundaries4 sections · depth on demand
Key operational limits
In depth
Connectionless delivery with UDP
UDP sends each datagram on its own, with no setup, no teardown and no connection state at either end. RFC 768 describes the protocol as transaction oriented and says plainly that delivery and duplicate protection are not guaranteed. The header holds only the source and destination ports, the length and a checksum. The source port is optional and zero when not used.
Connectionless versus connection-oriented
| UDP | TCP | |
|---|---|---|
| Setup before data | None | Three-way handshake |
| State at the endpoints | None in the protocol | TCB per connection |
| Message boundaries | Kept: one send, one datagram | A byte stream; boundaries are lost |
| Ordering and retransmission | None | Built in |
| One-to-many | Broadcast and multicast possible | Unicast only |
What applications do instead
| Need | Application-level solution | Example |
|---|---|---|
| Reliability | Retry with a timeout | DNS, DHCP, SNMP, TFTP |
| Ordering | Sequence numbers in the payload | RTP |
| Congestion response | Rate adaptation | Video conferencing, QUIC |
| Session | Connection IDs inside the payload | QUIC |
host$ ss -uan | head -4
State Recv-Q Send-Q Local Address:Port Peer Address:Port
UNCONN 0 0 0.0.0.0:123 0.0.0.0:*
UNCONN 0 0 10.110.0.64:53 0.0.0.0:*
host$ dig @10.20.0.53 www.example.net +tries=1 +time=1
R1# show udp | include 123|161|514
ss lists UDP sockets as UNCONN or similar because there is no connection, only a socket bound to a port.
Stateful devices and UDP
Firewalls and NAT devices create pseudo-sessions for UDP from the first packet and remove them after an idle timer. Long-lived but quiet UDP flows, such as VPN or VoIP signalling, need keep-alives shorter than that timer.
Documented example, not captured output.
Quick reference
UDP is connectionless: each datagram is sent independently with no setup, no state and no delivery guarantee. The application decides what to do about loss, ordering and duplicates.
| Consequence | Example |
|---|---|
| Low latency | VoIP and gaming send without waiting for acknowledgements |
| Simple request/response | DNS query in one datagram each way |
| Application-level reliability | QUIC, TFTP, some VPNs build their own |
| Stateless firewalling is harder | Firewalls track UDP "sessions" with timers |
QUIC (used by HTTP/3) runs over UDP but implements reliability, congestion control and encryption itself.
Mechanics and state ownership
UDP preserves datagram message boundaries and adds only ports, length and checksum around the application payload. There is no SYN/SYN-ACK state, no transport sequence space and no UDP acknowledgement. A process can therefore send without knowing whether a peer exists. Stateful firewalls and NAT devices often create temporary flow entries based on the tuple, but those entries are middlebox state rather than UDP protocol state. Applications commonly add their own transaction identifiers, timers, retry logic, duplicate handling or request/response semantics. Large UDP datagrams also inherit IP fragmentation and PMTU risk; one lost fragment can make the complete datagram unusable even when other fragments arrive.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in IP Fundamentals → UDP → Connectionless. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://www.rfc-editor.org/rfc/rfc768.html · confidence 94%Quick lookup tables
Connectionless operational reference
Topic-specific bounded interpretation: known-good state, suspicious signatures and the next technical proof boundary.
| UDP observation | What it proves | Does not prove | Next check |
|---|---|---|---|
| Request leaves source | Source emitted a datagram | Destination received it | Forward path/policy |
| Firewall flow entry | Middlebox tracks tuple | Application is listening | Destination receive/process |
| Server receives request | Forward path reached process boundary | Response will be generated | Protocol/application state |
| Response leaves server | Server generated reply | Client received/accepted it | Reverse route/NAT/policy |
| ICMP port unreachable | A device explicitly rejected/no listener at that point | All retries/paths behave same | Origin and path context |