foxssake / noray

Simple connection orchestrator and relay
MIT License
14 stars 4 forks source link

On-demand relay allocation #26

Closed elementbound closed 1 year ago

elementbound commented 1 year ago

Context

UDP remote address registration currently involves relay creation as well. Originally this case was thought of only for hosts, where noray would always provide a relay. Turns out this is not necessary.

Done criteria

  1. Remote address registration does not create relays
  2. connect-relay command ensures relays exist for both parties