Repository navigation
Chains and routes by domain: each VPN keeps its own networks - #51
Merged
Merged
Conversation
Three fixes for a VPN chained through another that routes names by domain: - The chain exception for routes by domain goes one way only. An address inside a VPN this one goes through is expected; one inside a VPN that goes through this one is that VPN's, and a host route here took its traffic. When a session registers its routes, the others also hand over the routes by domain inside its networks or on its gateway (a full tunnel connected since takes none). - An address refused, or handed over, because another session routes it now waits with its name and expiry, and gets its route by domain once no other session carries it. The system keeps the DNS answer cached, so the name may not be asked again. - A VPN whose routes hold the gateway of a VPN chained through it as a host route: the chained VPN added the same route, which macOS keeps once, and deleted it when it disconnected, cutting the first VPN's route. The chained VPN no longer adds, nor removes, such a route. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Merged
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.
Three fixes for a VPN chained through another one that routes names by domain.
Unit tests cover the registry rules and the waiting list. Tested by hand on macOS with an L2TP VPN and an OpenVPN chained through it, connecting and disconnecting the chained one alone.
🤖 Generated with Claude Code