feat(egress): support Trojan, VLESS, SS, and VMess proxies - #890
Open
MMortise wants to merge 2 commits into
Open
feat(egress): support Trojan, VLESS, SS, and VMess proxies#890MMortise wants to merge 2 commits into
MMortise wants to merge 2 commits into
Conversation
…bscription validation
Parse and normalize Trojan, VLESS, Shadowsocks, and VMess share links, then route Build, browser, pinned HTTPS, and subscription fetch traffic through embedded dialers. Update validation, UI help, redaction, docs, and protocol coverage tests. Hysteria and TUIC remain unsupported and are intentionally deferred.
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.
Summary
Supported tunnel variants
Unsupported transport/security variants are rejected during import instead of being accepted and failing later at request time. FlareSolverr remains limited to HTTP/SOCKS proxy URLs and returns an explicit error for tunnel share links.
Deferred
Hysteria and TUIC are intentionally not implemented in this PR and remain rejected by validation. They can be added separately with protocol-specific client implementations and tests.
Verification
cd backend && go test ./...cd frontend && pnpm lintcd frontend && pnpm buildgit diff --check