Why did a working relay stop working?
05A borrowed address, an allow-list entry and a short-label binding have different timers. Move time forward and see which one runs out.
Follow one small step. Then change one choice below.
At time 0, all three exist
For this example the server grants a ten-minute allocation. A channel was bound at the same time.
At 240 seconds, choose one action
Do nothing. Each clock keeps counting down.
The selected action has happened.
What happens if you change this?
Try one change. Restart puts the original example back.
A zero-lifetime Refresh explicitly releases the allocation.
Key idea: Renew the right thing before its own timer ends. Busy traffic is not a renewal request.
Terms
- Refresh
- An authenticated request to extend an allocation’s lifetime, or delete it with a requested lifetime of zero.
- Lifetime
- How long state remains available without the appropriate renewal. Different kinds of state have separate lifetimes.
Rules & examples
Keep the address, permission and channel alive separately.
- Renewing the borrowed address does not renew the friend’s permission.
- Data traffic does not renew these timers. Giving the address back removes its dependent state.
Start with the small note and the helper. Open the optional explanations for technical terms and exact RFC rules.
The fixture creates allocation, permission and channel at t=0, with granted/default allocation lifetime 600 seconds, permission 300 seconds and channel 600 seconds. The selected action at t=240 succeeds while allocation and permission are live. Allocation Refresh extends only allocation, here to t=840. CreatePermission extends only permission to t=540. ChannelBind extends channel to t=840 and permission to t=540. Traffic extends none. At expiry (time >= end), state is gone; allocation deletion/expiry removes dependent state. A live channel alone cannot bypass the permission check on incoming peer UDP data. Real allocation lifetimes are server-granted; authentication, transport health and policy remain necessary. Timeline seconds are simulated, not real waiting.
Sources
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.