So, what is DERP and its "regions"? #1275
-
From what I understand, DERP is a STUN and TURN-style relaying protocol borrowed from Tailscale. What I don't understand is what DERP regions are and why, or if, they're required or recommended; what functionality does it provide? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
@b5 Friendly ping (not sure who to ping specifically about the DERP parts of the codebase) |
Beta Was this translation helpful? Give feedback.
-
The current derp regions design is copied directly from tailscale, which is an entirely closed system. We want to enable anyone to run their own derp servers and I don't think we've entirely figured out how derp regions should work in that respect. Having said that, derp regions as they are now are:
However right now regions are only identified by a |
Beta Was this translation helpful? Give feedback.
The current derp regions design is copied directly from tailscale, which is an entirely closed system. We want to enable anyone to run their own derp servers and I don't think we've entirely figured out how derp regions should work in that respect.
Having said that, derp regions as they are now are:
(derp_region, peer_id)
.