openziti / zrok

Geo-scale, next-generation peer-to-peer sharing platform built on top of OpenZiti.
https://zrok.io
Apache License 2.0
2.71k stars 108 forks source link

Iterate the Message Protocol Between Agent <-> --subordinate #789

Open michaelquigley opened 2 weeks ago

michaelquigley commented 2 weeks ago

The current protocol does not cleanly support error handling in the handshake between the new zrok Agent and the --subordinate mode zrok share and zrok access processes.

Need to make the bootstrapper in the Agent more resilient to stray messages before the bootstrap message. Then move the bootstrap message down to the very end of the bootstrap protocol to properly support errors throughout the process.