[icxtunnel] implement autodiscovery and include a hidden standalone dev relay command for testing #67
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Now connects to a seed relay and bootstraps the list of relays from that connection.
Also can finally spin up a standalone dev relay,
And connect to it with,
This uncovered a bunch of overlooked bugs that have also been fixed in this PR.
I think it might make sense in the future to include an alternative icx server router implementation that uses the cross platform tun device library and the unprivileged bifurcated/l2pc logic that we use in the agent code. This should allow running a standalone dev relay on mac osx etc.
Super chuffed to see this finally coming together!
Still gotta implement the kubernetes autodiscovery logic for the lambda use cases etc, that'll be coming soon (and is super straight forward).