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

Does knowing an address mean a friend can reach you?

05

A learned address is a candidate, not a promise. Try a direct check, change the chosen network or use a permission-controlled relay.

RFC 8489 · § 13EXAMPLE
1 / 4 · Learn one outside address

Follow what happens to this one message.

A helper reported an outside address

203.0.113.7:62000

The helper saw this label. We still need to try a path from the friend.

What do we need to find out?

Does knowing an address mean a friend can reach you?

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
A complete usage adds checks or a relay rather than assuming success.

A complete usage adds checks or a relay rather than assuming success.

Does knowing an address mean a friend can reach you?A learned address is a candidate, not a promise. Try a direct check, change the chosen network or use a permission-controlled relay.Discovered reflexive candidatepeerNAT clientattempt direct pathchecks / relay usageSTUN is a tool; a complete usage proves paths or provides relaying

Key idea: Learn a candidate, test a path, and use a permitted relay when that is the chosen working route.

Terms
ICE
Interactive Connectivity Establishment: a usage that gathers candidates and performs connectivity checks, then selects a path.
TURN
Traversal Using Relays around NAT: a protocol for using a server that forwards data through an allocated relay. Permissions and working relay connections are required.
Candidate
An address to try. Discovering it does not prove that every peer can use it.

Look up a term in the glossary ↗

Rules & examples

Discovering an address is different from checking a particular path.

  • Discovering an address is different from checking a particular path.
  • The chosen router and filtering rules determine whether that candidate works for this friend.
  • A relay is a separate service with allocations and permissions. STUN discovery does not provide one by itself.

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.

Chosen observed mapping 203.0.113.7:62000; mapping for the peer destination 203.0.113.7:62000; direct check false; chosen strategy discovery; connected false. These explicit topology fixtures are not a NAT classifier, a full ICE agent or a live TURN allocation. The relay example assumes an available allocation, working client/peer paths and the shown peer-IP permission. STUN alone neither relays media nor authenticates an application user. See RFC 8489 §§2,13,16; RFC 8445 and RFC 8656 for the companion protocols.

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 ↗