Adopt the shared flexaccess-iroh transport layer - #60
Merged
Merged
Conversation
Replace ezvpn's copies of the relay configuration and per-relay probe, the endpoint creation-vs-rebuild policy, the home-relay watchdog, and the endpoint-bound auth transcript with the shared `flexaccess-iroh` crate (v0.0.3). What stays here is ezvpn's own: the VPN ALPN, its QUIC transport tuning, the bounded connect, the `ezvpn-client-auth-v1` context, key files, and the serve loop. The iroh fork is now applied through `[patch.crates-io]` instead of a git dependency so the shared crate's `iroh` resolves to the same package. One behavior change: client endpoints no longer publish their address to n0 pkarr on the default relays. A client only dials out and its credential is the auth keypair, so advertising an ephemeral id served nothing. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018wFg6mkqdqfVXBorM2bfm8
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018wFg6mkqdqfVXBorM2bfm8
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Replaces ezvpn's copies of the shared iroh logic with the flexaccess-iroh crate (v0.0.3):
RelayConfigand the per-relay startup probe, the endpoint creation-vs-rebuild policy, the home-relay watchdog (src/transport/relay_watchdog.rsdeleted), and the endpoint-bound auth transcript. What stays is ezvpn's own: the VPN ALPN, QUIC transport tuning, the bounded connect, theezvpn-client-auth-v1context, key-file loading, andVpnServer::run's serve loop.[patch.crates-io]instead of a git dependency, so the shared crate'sirohresolves to the same package (same locked commit as before).create_client_endpointdrops its always-Nonesecret parameter.Validation (Linux):
cargo clippy --all-targets -- -D warningsclean;cargo test202 + 5 + 3 passed;cargo ndk -t arm64-v8a --platform 29 clippy --lib -- -D warningsclean. The CI workflow is dispatched on this branch for the macOS/Windows-gated modules and the xcframework/DLL builds.🤖 Generated with Claude Code
https://claude.ai/code/session_018wFg6mkqdqfVXBorM2bfm8