Repository navigation
feat(scallion): native and OpenVPN client modes, fail-closed readiness and profile builder - #390
Merged
Merged
Conversation
…d safe profile builder
ThreatCrush Security Scan14 finding(s) HIGH/CRITICAL: 2 | MEDIUM: 8 | LOW: 4
Snippets are redacted; ThreatCrush never prints matched credential material. |
This was referenced Nov 15, 2026
11 tasks
This was referenced Nov 15, 2026
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.
Implementation
Add a concrete, independently selectable native Scallion and OpenVPN Connect client-mode contract without claiming that an unimplemented tunnel can connect.
c0mpute_net::scallion_clients:ClientMode::{Native,OpenVpn}, explicit verified local readiness gates (encrypted multi-hop, opt-in exit, DNS/IP fail-closed, adversarial integration tests, independent security review, and mode-specific TUN or OpenVPN gateway adapter).c0mpute scallion modes [--json]andc0mpute scallion doctor --mode native|openvpn [--json]to expose current build status. Both modes accurately report not ready until a real client/entry backend exists..ovpnprofile generator for a pre-provisioned operator gateway with public DNS/IPv4 entry, pinned CA and expected certificate name, server-certificate verification, interactive user auth, basic PEM syntax and directive-injection restrictions. It does not embed secrets or write system routes.What this does not implement
No working native TUN adapter, OpenVPN protocol server, layered-encrypted multihop data plane, DNS protection, platform kill switch, or VPN connection is implemented.
The
.ovpngenerator is not a live CLI export command until verified gateway provisioning and DNS/tunnel leak tests are implemented. The syntax checker is not an X.509 cryptographic validation library; a future authenticated gateway provisioner must establish trust. Do not deploy an unreviewed exit proxy.Test plan
Use standard Rust/security CI before merging. This PR is a groundwork milestone for #386 and #389. Separate, independently audited data-plane and gateway PRs are mandatory before promoting production anonymity claims.
This is for privacy-preserving, legitimate network access; it does not remove applicable export-control, sanctions or service-specific identity requirements.