Who is allowed through the relay?
02Put a friend’s address on the relay’s allow-list. Change the sender and watch the gate check the address, not just a name.
Follow one small step. Then change one choice below.
A note arrives at the relay
Sender’s address and port:
198.51.100.8:5000An allocation already exists. Who may send through it?
One address is on the allow-list
198.51.100.8An IP address is a network address: the part before the colon. The port is the number after it. This gate checks the IP only.
What happens if you change this?
Try one change. Restart puts the original example back.
Traffic from the permitted peer can pass the permission check.
Key idea: An allow-list entry opens a temporary gate for an IP address, not for a named person or just one port.
Terms
- Permission
- A temporary peer-IP allow-list entry within one allocation.
- IP address and port
- The IP identifies the network address. The port is a numbered endpoint at that address. Permission checks compare IPs; a channel binding later includes a port.
Rules & examples
Open a temporary gate for the friend’s IP address.
- The gate compares IP addresses; changing only the port still matches.
- A permission expires after five minutes unless renewed.
Start with the small note and the helper. Open the optional explanations for technical terms and exact RFC rules.
Permission lifetime is 300 seconds. CreatePermission or ChannelBind installs or refreshes it. For a datagram arriving at the relayed transport address, compare the sender IP, ignoring its port. Without a live matching permission the server silently discards it. These cases assume an existing allocation, valid IPv4 datagrams and allowed local server policy. Permission is not application authentication.
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.