Repository navigation
Bypass without a server: settings, the adapter and the rules (groundwork) - #11
Merged
Merged
Conversation
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…s.check says of the bypass Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
limeflash
force-pushed
the
bypass-settings
branch
from
December 2, 2026 19:39
8a4446a to
2bb0ecf
Compare
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.
Groundwork for the mode that needs no server. Nothing changes for a VPN session.
mode(vpn|bypass, defaultvpn) andbypass_direct(defaulttrue).Settings.KillSwitchNow()replaces every read ofkill_switch: inbypassthe network is never held. The service start connects inbypasswithout alast_server; the network check does not take a bypass session for a tunnel.netcfg.Configuretakes an empty server address and adds no route to it.bypassselection (no programs; rules saved before it read as an empty one),service:<id>collections whose domains come from a catalogue given bygeo.Store.SetServices, theRuleBypassverdict (after block, direct and vpn; today's callers read it as no rule),routes.settakesbypass,routes.checkanswersbypass.Not here yet, on purpose:
bypassbranch: withmode: bypassa connect is still a VPN one, without the kill switch. The window does not set the key. Not to be released before that branch lands.service:<id>has no domains.routes.checksaysbypass: never.Checked:
go vet ./...andgo test ./...on Windows,go vet ./internal/...for darwin/arm64.🤖 Generated with Claude Code