Skip to content

So, what is DERP and its "regions"? #1275

Answered by flub
Winterhuman asked this question in Q&A
Discussion options

You must be logged in to vote

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:

  • Each region can be thought off as one logical derp server (though there could be multiple meshed derp servers handling a region).
  • Derp servers do not mesh between regions.
  • Each iroh node has a home derp region (if derp is enabled).
    • It connects to this when it is accepting new connections.
  • To contact an iroh node you need (derp_region, peer_id).
    • Regadless of your own derp region, you conne…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by Winterhuman
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants