feat: add Snell v3–v6 protocol support#446
Open
Minis233 wants to merge 2 commits into
Open
Conversation
Wire Snell into the Android client: profile UI, share links, Clash import, ConfigBuilder outbound, Room migration 36→37. Requires exclave-core with proxy/snell outbound (protocol: "snell"). Supports Snell v3–v6 (v6 modes: default / unshaped / unsafe-raw).
- Version picker 4 / 6 only (label v6 as beta) - Rename obfs → obfsMode; values none|http|tls (no "off") - Add userPSK (sing-box extension) - Hide v4-only / v6-only fields based on selected version
5 tasks
Author
|
Synced with core review feedback (ExclaveNetwork/exclave-core#33 (comment)):
Depends on exclave-core#33. |
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
Add Snell v3–v6 to the Exclave Android client.
Depends on core PR: ExclaveNetwork/exclave-core#33
App changes
TYPE_SNELL = 30+ Room migration 36→37 (idempotent if legacysnellBeancolumn exists)SnellSettingsActivity(version 3–6, obfs, obfs host, v6 mode, reuse)snell://psk@host:port?version=6&obfs=tls&obfs-host=...&mode=default&reuse=1#nametype: snellConfigBuilder→ outbound protocol"snell"Config example
{ "protocol": "snell", "settings": { "address": "1.2.3.4", "port": 44046, "psk": "secret", "obfs": "tls", "obfsHost": "www.bing.com", "version": 6, "reuse": true, "mode": "default" } }Notes
proxy/snell), based on SagerNet/sing-snell (same as sing-box testing).obfs: "tls"for fake TLS.Test plan
./run lib core+ assemble against released coresnell://share linktype: snellnode