Visual RFC.
ALL RFCs / RFC 8489
Read the RFC ↗
RFC 8489 / PROTOCOL MECHANISMS

Which question does this reply belong to?

02

Give a question a ticket and compare a reply’s ticket. Try a retry, a late reply or a copied ticket to see what this check can and cannot prove.

RFC 8489 · § 6.3EXAMPLE
1 / 4 · Give one question a ticket

Follow what happens to this one message.

One question is waiting

Question’s ticket● Blue ticketA label for this question

Keep this ticket while waiting for the reply.

What do we need to find out?

Which question does this reply belong to?

Watch one change, then try an alternative.

What happens if you change this?

Change one thing and watch the result. Restart restores the original example.

3 / 3
03
Ignore a candidate response that does not match an outstanding transaction.

Ignore a candidate response that does not match an outstanding transaction.

Which question does this reply belong to?Give a question a ticket and compare a reply’s ticket. Try a retry, a late reply or a copied ticket to see what this check can and cannot prove.Outstanding request · transaction ID XResponse · transaction ID XResponse · different ID Yignore96-bit correlation value; matching alone is not authentication

Key idea: Match the ticket to the waiting question. Keep authentication as a separate check.

Terms
Transaction ID
A 96-bit identifier used to correlate a response with a pending request. These fixed coloured examples are not an unpredictable ID generator.
Retransmission
Sending the same request again after a loss. It keeps its transaction ID.
Authentication
Checking a claim using the mechanism required by the particular STUN usage; an echoed identifier alone does not supply it.

Look up a term in the glossary ↗

Rules & examples

A reply’s ticket must match a question that is still waiting.

  • A reply’s ticket must match a question that is still waiting.
  • Retrying the same question keeps its ticket. A new question needs a fresh ticket.
  • Ticket matching is separate from checking who sent the message or whether protected bytes changed.

Start with the drawing. The closed explanations introduce the technical names, actual fields and source rules after the idea. These chosen offline examples do not implement a complete STUN, ICE or TURN client.

Sent ID 0102030405060708090a0b0c; received ID 0102030405060708090a0b0c; pending true; correlation true; authenticated false. Raw response 0101000c2112a4420102030405060708090a0b0c002000080001d322ea12d545. §6.3 first checks message structure and correlation, then the authentication mechanism and usage-specific rules. Production IDs require the specified unpredictability; fixture colours are teaching labels, not security entropy.

Sources
Protocol participantThreat or exceptionProtocol controlSimplified drawings · precise section references
New to this? Start hereA quick picture + helpful background

Finding a route and sending media are separate jobs.

Some messages set up a conversation or discover a reachable address. Other packets carry the audio or video. Follow those jobs separately.

Helpful first, if these ideas are unfamiliar

These pictures are analogies to help you learn. The linked RFC explains the actual rules.

Related RFCs and changes

“Updates” changes part of an earlier RFC. “Obsoletes” replaces it. This list shows selected related documents.

All chapters in RFC 8489

Drawing view

Scroll the drawing to see every part. Playback controls stay above it.

RFC 9700 / CHAPTERS

Chapters

For full details, tables, algorithms, and exceptions, read the original RFC.

RFC status and corrections ↗