完整实现 Snell v1-v5 客户端与服务端#49
Draft
MiChongs wants to merge 1 commit into
Draft
Conversation
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.
变更背景
项目原有 Snell 出站仅覆盖基础握手,缺少官方各版本的认证记录层、连接复用、UDP、simple-obfs、入站服务端、严格配置校验和运行时注册。本次变更以 Mihomo v1.19.29 的 Snell 实现为互操作基准,补齐 Snell v1 至 v5 的客户端与服务端能力,并确保所有配置都进入强类型模型、运行时计划和实际执行路径。
主要变更
协议与密码学
客户端
服务端
配置、订阅与注册
snell,覆盖启用状态、监听地址、端口、预共享密钥、版本、UDP、混淆、握手超时、最大连接数和标签。文档
兼容性与安全性
验证
cargo test -p core-configcargo test -p core-feedscargo test -p core-outboundcargo test -p core-inboundcargo test -p wuther-corecargo test --workspace --all-targetsgit diff --cached --check新增测试覆盖: