fix: 订阅导入节点缺失——传输层白名单补齐、未知传输统一拒绝、丢弃可见化#266
Merged
Merged
Conversation
… IPv6 泛化 Closes dododook#263 - 分享链 type 白名单补 httpupgrade(vless/trojan/naive + vmess net 同步)、h2→http、raw/none→tcp (Xray 1.8.24+ 别名)、小写归一;未知传输(xhttp/splithttp/kcp 等 sing-box 不支持)三条导入路径 (URI/Clash/sing-box JSON)统一整节点拒绝——原 Clash/JSON 静默降级裸 TCP 产假节点 - mihomo HTTPUpgrade 表达(network:ws + ws-opts.v2ray-http-upgrade:true)识别为 httpupgrade - 丢弃可见性:URI 不支持 scheme 聚合告警(原全静默)+ 结果 info 带跳过计数;sing-box 路径三类 silent continue(type/transport/缺字段)聚合告警,internal 类型不计噪声 - 裸 IPv6 预处理从 ss:// 泛化到全协议;地址/端口歧义消解(末段 2-5 位十进制且余段合法才拆端口, 无端口整段加括号,皆非则交 URL 抛错保持丢弃可见) - reality 缺 pbk/public-key 整节点拒绝;hy2 salamander 缺 obfs-password 拒绝(强制混淆裸连必死)、 非 salamander 值剥离留痕 - serverFingerprint 加传输维度(同 host:port:cred 不同 network 不再误并;指纹不持久化, reconcile 两侧同函数现算,存量 id 不受影响) - sing-box JSON 路径补 ssh 映射(含 cipher/mac/kex_algorithm 算法协商字段)
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.
问题
机场订阅同时含 vless 与 anytls 节点时,FlowZ 只导入 anytls,vless 全部缺失且无任何提示。
Closes #263
根因
分享链解析器的传输层白名单只认 tcp/ws/grpc/http,未知值整节点丢弃:
httpupgrade属实现遗漏——Network 类型联合、sing-box JSON 导入、outbound 构建三处均已支持,唯 URI 解析漏 case;修复
network: ws+ws-opts.v2ray-http-upgrade: true)识别为 httpupgrade测试
升级后用户侧
vless 节点若仍缺失,日志会给出聚合告警;搜「不支持的传输层类型」——若为 xhttp/splithttp,属 sing-box 内核无该传输能力,需服务端提供 ws/tcp/httpupgrade 形态节点。