Protocols
Saved & recent

DTLS

Also called: Datagram Transport Layer Security, DTLS 1.3

Datagram Transport Layer Security protects communication over datagram transports such as UDP. It adapts TLS-style authentication and encryption to a setting where packets can be lost, duplicated, or reordered. DTLS 1.3, defined in RFC 9147, builds on TLS 1.3 and includes machinery to complete a handshake despite packet loss.

For example, a game can protect position updates while allowing newer updates to arrive after an older datagram disappears. DTLS handshake retransmission does not make application messages reliably ordered; an application needing that behavior adds it elsewhere. DTLS versions have different details, so a reference to DTLS in another protocol does not necessarily mean version 1.3.

Read first
UDP, TLS
Related
TLS, UDP, SRTP, WebRTC data channel
Further reading
RFC 9147 — The Datagram Transport Layer Security (DTLS) Protocol Version 1.3
client peer handshake flight lost flight retransmitted handshake acknowledgment protected application datagrams datagram lost later datagram delivered DTLS 1.3 · conceptual behavior
Conceptual DTLS 1.3 behavior: handshake machinery recovers a lost handshake flight, while protected application datagrams can still be lost. A later update can arrive despite an earlier loss. This is not a claim that all DTLS uses or WebRTC deployments use version 1.3.

View in the full Protocols collection