219 Commits
Author SHA1 Message Date
CMLiussss a8ab11125e Merge pull request #1794 from cmliu/beta2.1
Beta2.1
2026-10-09 02:29:19 +08:00
CMLiussss 9ce6df6a8e Merge pull request #1793 from cmliu/alpha2.1
Alpha2.1
2026-10-08 23:49:52 +08:00
cmliu 66f1c51c4e fix: 更新版本号至2026-10-08 22:23:27,修复报错1101信仰 2026-10-08 22:24:31 +08:00
cmliu 8ca10128e3 Tanakh_Hebrew 2026-10-08 22:22:07 +08:00
cmliu e094fdfa46 fix: 为获取优选订阅生成器数据函数添加默认uid参数 2026-09-25 04:10:23 +08:00
cmliu a4f6fd9b91 fix: 优化版本识别和订阅请求的User-Agent设置,提升请求一致性 2026-09-24 18:54:49 +08:00
cmliu 496b9e74a8 fix: 更新版本号 2026-09-23 16:09:55 +08:00
cmliu e1a898a24e fix: 更新本机标识头和键的获取逻辑,优化请求处理 2026-09-23 15:53:00 +08:00
CMLiussss af4f9837e1 Merge pull request #1575 from cmliu/beta2.1
Beta2.1
2026-09-22 20:21:02 +08:00
CMLiussss 1c011d3793 Merge pull request #1574 from cmliu/alpha2.1
Alpha2.1
2026-09-22 20:10:04 +08:00
cmliu a4330bf766 fix: 更新版本号至2026-09-22 20:01:17,并统一设置汇聚订阅的User-Agent 2026-09-22 20:05:14 +08:00
cmliu 0f3f1e1f32 fix: 优化User-Agent头部设置,提升请求一致性 2026-09-22 20:01:17 +08:00
CMLiussss 24ee0b6213 Merge pull request #1551 from cmliu/alpha2.1
fix: 新增订阅转换配置的展开规则全文选项
2026-09-07 05:08:17 +08:00
cmliu 1e2cb0c1d6 fix: 新增订阅转换配置的展开规则全文选项 2026-09-07 04:11:07 +08:00
CMLiussss 448a83ced0 Merge pull request #1550 from cmliu/beta2.1
Beta2.1
2026-09-06 00:30:52 +08:00
CMLiussss 633a28b45d Merge pull request #1544 from cmliu/alpha2.1
Alpha2.1
2026-09-05 23:35:45 +08:00
cmliu 6b49c387a1 fix: 新增ALPN字段支持,适配更多客户端场景 2026-09-05 23:22:28 +08:00
cmliu dc2a7d6cd0 fix: 添加ALPN字段支持,优化节点配置生成逻辑 2026-09-05 16:51:14 +08:00
cmliu 8e696b5051 fix: 更新版本号至2026-09-04 16:24:13,修复HTTPS代理握手失败问题 2026-09-04 16:32:57 +08:00
cmliu d970837b2e fix: 添加对客户端证书请求的处理逻辑,确保握手过程的完整性 2026-09-04 16:22:57 +08:00
CMLiussss fb3212257e Merge pull request #1503 from chengww5217/fix/sync-workflow
sync 内容一致时改为对齐上游,避免 fork 历史永久分叉
2026-08-29 22:34:52 +08:00
chengwwandCopilot Autofix powered by AI fd3c60da3a Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-08-27 19:39:13 +08:00
chengww c2de6514ab fix: checkout 固定到 main 分支,避免非 main 触发时 push 失败 2026-08-23 15:58:09 +08:00
chengww 809159a534 fix: sync 内容一致时改为对齐上游,避免历史分叉越积越多 2026-08-22 20:02:16 +08:00
CMLiussss e2da274be4 Merge pull request #1501 from cmliu/beta2.1
Beta2.1
2026-08-21 22:24:39 +08:00
CMLiussss c4f2d0b7f8 Merge pull request #1500 from cmliu/alpha2.1
Alpha2.1
2026-08-21 22:22:55 +08:00
cmliu 035e8070aa fix: 将VLESS文本解码器重命名为魏烈思文本解码器以提高代码可读性 2026-08-21 22:21:46 +08:00
CMLiussss 92fc6cc4a4 Merge pull request #1462 from cmliu/beta2.1
Beta2.1
2026-08-12 11:36:15 +08:00
CMLiussss a46251e594 Merge pull request #1456 from cmliu/beta2.1
Beta2.1
2026-08-11 16:09:01 +08:00
CMLiussss ea1460da82 Merge pull request #1455 from cmliu/alpha2.1
Alpha2.1
2026-08-11 16:08:19 +08:00
cmliu 7022865545 fix: 优化上行Grain合包流的错误处理逻辑,确保搬运Promise异常时进行清理 2026-08-11 16:04:25 +08:00
cmliu 5caedd9adc fix: 添加冲刷链以优化上行Grain合包流的处理逻辑 2026-08-11 15:46:17 +08:00
cmliu 4fa1681260 fix: 优化上行数据处理逻辑,增加取消上行reader的处理,改进缓冲管理 2026-08-11 15:14:27 +08:00
cmliu 1a13d7d2d0 fix: 更新版本号至2026-08-11 14:45:22,并优化CHANGELOG以反映上行传输的改进 2026-08-11 14:50:35 +08:00
cmliu c3c3f4a4d4 feat: 添加上行Grain合包流功能以优化数据传输 2026-08-11 14:45:22 +08:00
cmliu 702ff26125 fix: 将关闭Socket的变量名从xhttpBridge更改为叉桥,以提高代码可读性 2026-08-10 11:27:30 +08:00
CMLiussss bd3938751b Merge pull request #1444 from cmliu/alpha2.1
Alpha2.1
2026-08-10 11:04:07 +08:00
cmliu 2b27a6d0a6 fix: 修正获取叉HTTPPadding标识函数中的键值逻辑,并更新传输协议配置中的混淆JSON结构 2026-08-10 10:58:43 +08:00
cmliu f3adcd56ef fix: 将 XHTTP 相关逻辑更名为叉HTTP,更新相关函数和注释 2026-08-10 10:39:13 +08:00
cmliu 878d953508 fix: 优化 XHTTP 特征命中逻辑,移除不必要的 referer 检查 2026-08-10 10:17:17 +08:00
cmliu a32681e9b9 fix: 移除 XHTTP obfs padding 相关注释和未使用的代码 2026-08-10 10:11:08 +08:00
CMLiussss 0e9712014c Merge pull request #1441 from cmliu/alpha2.1
fix: 修复响应URL生成逻辑
2026-08-10 04:08:32 +08:00
cmliu 1e46e61bac fix: 修复响应URL生成逻辑 2026-08-10 04:07:07 +08:00
CMLiussss 295200aaf5 Merge pull request #1440 from cmliu/alpha2.1
Alpha2.1
2026-08-10 03:46:43 +08:00
cmliu ad02186831 fix: 更新 HPACK Huffman 码表为码长格式以符合 RFC 7541 2026-08-10 03:33:15 +08:00
cmliu d06e74fd32 fix: 更新版本号至2026-08-10并新增XHTTP obfs padding接收端支持 2026-08-10 03:15:08 +08:00
cmliu cc296a860d feat: 添加 XHTTP obfs padding 支持及相关校验逻辑 2026-08-10 02:53:12 +08:00
CMLiussss b0c163e77b Merge pull request #1438 from cmliu/alpha2.1
fix: 更新版本号至2026-08-09并修复链式代理路径末尾斜杠处理
2026-08-09 23:15:13 +08:00
cmliu daa03c7aa4 fix: 更新版本号至2026-08-09并修复链式代理路径末尾斜杠处理 2026-08-09 23:13:48 +08:00
CMLiussssandCopilot Autofix powered by AI 70e47cad71 Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-08-09 21:32:42 +08:00
CMLiussss 741ef1b410 Merge pull request #1436 from cmliu/alpha2.1
fix: 更新版本号至2026-08-09并优化XHTTP传输链路和连接管理
2026-08-09 20:53:52 +08:00
CMLiussssandCopilot Autofix powered by AI 4833ca6a8f Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-08-09 20:52:51 +08:00
cmliu e024dbcabf fix: 更新版本号至2026-08-09并优化XHTTP传输链路和连接管理 2026-08-09 20:13:31 +08:00
CMLiussss 0b5877f61a Merge pull request #1417 from cmliu/beta2.1
Beta2.1
2026-07-30 00:10:46 +08:00
CMLiussss 072a925c37 Merge pull request #1416 from cmliu/alpha2.1
Alpha2.1
2026-07-30 00:06:04 +08:00
cmliu b767b2de2c fix: 更新版本号至2026-07-29并修正PRELOAD_RACE_DIAL环境变量逻辑 2026-07-30 00:02:36 +08:00
cmliu aea8b85688 fix: 修改预加载竞速拨号逻辑以支持更灵活的环境变量配置 2026-07-29 23:55:31 +08:00
CMLiussss 1c20518cd1 Merge pull request #1406 from cmliu/beta2.1
Beta2.1
2026-07-28 20:16:56 +08:00
CMLiussssandCopilot Autofix powered by AI b720679321 Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-07-28 20:15:40 +08:00
CMLiussss e7bedef2a8 Merge pull request #1402 from cmliu/alpha2.1
Alpha2.1
2026-07-26 18:15:50 +08:00
cmliu 22b1abb46e fix: 更新速度测试站点检查逻辑以支持代理类型条件 2026-07-25 18:52:01 +08:00
cmliu 09a06d409b fix: 更新赞助支持链接至Yuusei Network 2026-07-25 17:54:09 +08:00
cmliu d0a999c29a fix: 修改预加载竞速拨号逻辑以支持更灵活的环境变量配置 2026-07-25 14:44:10 +08:00
cmliu 42d5a12e01 feat: 添加新的贡献者链接 2026-07-24 16:02:56 +08:00
cmliu f430919f13 Refactor code structure for improved readability and maintainability 2026-07-24 15:51:31 +08:00
CMLiussss fa5a3a6022 Merge pull request #1394 from cmliu/beta2.1
Beta2.1
2026-07-23 16:31:54 +08:00
CMLiussss 9c7b600e65 Merge pull request #1392 from cmliu/alpha2.1
Alpha2.1
2026-07-23 07:59:34 +08:00
cmliu e0d8e7afcb fix: 移除_version_常量行首的多余字符 2026-07-23 07:58:39 +08:00
cmliu 2800e4ee5c fix: 将速度测试站点的主机名转换为小写以确保匹配 2026-07-23 07:54:09 +08:00
cmliu d1d2c75c8d fix: 适配真连接测试地址 2026-07-22 19:16:38 +08:00
cmliu df5159d2ae feat: 新增WebSocket本地测速模式,优化测速请求处理逻辑 2026-07-22 18:44:38 +08:00
cmliu 217bed1067 fix: 更新速度测试站点检测逻辑,优化204响应处理 2026-07-22 02:40:54 +08:00
CMLiussss 1ab67e7da5 Merge pull request #1366 from cmliu/beta2.1
Beta2.1
2026-07-12 00:29:44 +08:00
CMLiussss 7139e5a57a Merge pull request #1365 from cmliu/alpha2.1
Alpha2.1
2026-07-12 00:28:00 +08:00
CMLiussssandCopilot Autofix powered by AI fafac1c4ad Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-07-12 00:26:41 +08:00
CMLiussssandCopilot Autofix powered by AI 1026bdd81d Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-07-12 00:26:05 +08:00
cmliu 0a10e655b5 fix: 更新项目热度图表链接以指向正确的资源 2026-07-12 00:18:31 +08:00
CMLiussss 867fd1e3d1 Fix stargazers badge link in README
Updated the stargazers badge link in the README.
2026-07-12 00:17:19 +08:00
cmliu 7952e7a061 feat: 新增TCP和反代并发拨号数环境变量,优化拨号逻辑 2026-07-11 19:26:52 +08:00
cmliu 43ecca29ea fix: 更新Set-Cookie的SameSite属性为Lax以增强安全性 2026-07-11 18:15:04 +08:00
CMLiussss 6054f8253a Merge pull request #1363 from cmliu/beta2.1
Beta2.1
2026-07-11 04:38:40 +08:00
CMLiussssandCopilot Autofix powered by AI d93b90af47 Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-07-11 04:38:09 +08:00
CMLiussss 72b5679bf1 Merge pull request #1362 from cmliu/alpha2.1
Alpha2.1
2026-07-11 04:11:59 +08:00
CMLiussssandCopilot Autofix powered by AI 3d9a1a9eab Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-07-11 04:10:33 +08:00
cmliu f589a7ba23 fix: 修复反代并发拨号数逻辑,确保实际并发数不小于1;优化DoH查询缓存逻辑 2026-07-11 04:02:38 +08:00
cmliu cf04c58636 fix: 更新版本号至2026-07-11 02:23:18 2026-07-11 02:23:41 +08:00
cmliu 0efe29b4d1 feat: 新增反代并发拨号数和Trojan回退代理功能,优化订阅转换配置选项 2026-07-11 02:18:07 +08:00
cmliu e9b90877f0 feat: 更新反代并发拨号数逻辑,优化连接处理 2026-07-11 02:14:10 +08:00
cmliu 77c2097c0a feat: 优化 DoH 缓存逻辑,减少重复请求并提升解析速度 2026-07-11 01:35:59 +08:00
CMLiussss 999f86e2dd Merge pull request #1361 from cmliu/alpha2.1
fix: resolve runtime error in worker script by correcting request han…
2026-07-10 23:25:15 +08:00
cmliu 6977884807 fix: resolve runtime error in worker script by correcting request handling logic 2026-07-10 23:23:42 +08:00
CMLiussss 7a19a86f2c Merge pull request #1360 from cmliu/alpha2.1
Alpha2.1
2026-07-10 23:16:15 +08:00
cmliu edb05aae04 feat: 更新默认反代IP生成逻辑,支持动态获取并优化代码结构 2026-07-10 23:10:15 +08:00
cmliu cfa280e947 feat: 新增订阅转换配置功能选项,包括 UDP、XUDP、TLS 1.3、插入节点类型和基础节点排序 2026-07-10 21:23:05 +08:00
cmliu 8befc5f0e8 chore: update changelog and refactor worker logic 2026-07-09 00:24:57 +08:00
cmliu 8a1b2da9d3 chore: ignore .workbuddy directory in git tracking 2026-07-09 00:09:02 +08:00
CMLiussss 3ef8255fc7 Merge pull request #1359 from xream/xream
对接自建 Trojan fallback, 实现 UDP 透传
2026-07-08 17:53:01 +08:00
xream 338326ca34 feat: 尝试对接 Trojan fallback 2026-07-06 20:44:46 +08:00
CMLiussss bdc2786621 Merge pull request #1309 from cmliu/beta2.1
Beta2.1
2026-06-17 03:05:22 +08:00
cmliu f03ffd1a0c fix: 更新版本号至2026-06-17并增加订阅转换配置的仅输出节点信息选项 2026-06-17 01:52:01 +08:00
cmliu c9e8b767f8 fix: 更新特征码字典的定义和使用,优化代码可读性 2026-06-16 16:00:18 +08:00
CMLiussss 24fbc5ad09 Merge pull request #1307 from LancelotOho/feat/expand-proxy-clients
feat: 扩充代理客户端种类和数量
2026-06-16 01:38:44 +08:00
lancelot a607bed00d feat: 扩充代理客户端种类和数量
- 增加 Hiddify、Clashmi、FlyClash、Karing、Bettbox、NekoBox 等客户端
- 增加 HarmonyOS (鸿蒙) 平台支持 ClashBox
- 链接指向 Releases 页面便于下载
- 移除备注列以简化表格
2026-06-13 16:16:27 +08:00
CMLiussss 6b1c9d74cd Merge pull request #1300 from cmliu/beta2.1
fix: 优化版本信息接口的UUID验证逻辑
2026-06-12 00:27:57 +08:00
cmliu ba9e31b7eb fix: 优化版本信息接口的UUID验证逻辑,使用正则表达式简化验证过程 2026-06-11 23:02:09 +08:00
cmliu 36fc9df3ca fix: 优化版本信息接口的UUID验证逻辑 2026-06-11 04:23:20 +08:00
CMLiussss 2a8ce7ff74 Merge pull request #1286 from cmliu/beta2.1
Beta2.1
2026-06-09 13:34:06 +08:00
cmliu 4f07660de9 fix: 更新版本号至2026-06-09并修复报错1101特征码 2026-06-09 13:32:08 +08:00
cmliu 2cb8cb0b6c fix: 更新版本号至2026-06-06并优化PROXYIP解析缓存逻辑 2026-06-06 13:32:47 +08:00
cmliu d1597bf6c1 fix: 更新订阅转换URL中的运营商参数为cnIspCode 2026-06-06 13:18:32 +08:00
CMLiussss 1fb2eefe51 Merge pull request #1263 from cmliu/beta2.1
fix: 适配Xray-core v26.2.6,移除allowInsecure配置项
2026-06-01 16:11:10 +08:00
cmliu f15ad4b490 fix: 适配Xray-core v26.2.6,移除allowInsecure配置项 2026-06-01 16:04:20 +08:00
CMLiussss b6a349a5dd Merge pull request #1249 from cmliu/beta2.1
Beta2.1
2026-05-29 02:37:37 +08:00
cmliu 13e59dba06 fix: 限制CMCC运营商的TCP并发拨号数为1以优化连接稳定性 2026-05-29 02:19:19 +08:00
cmliu 48d11106bc fix: 优化CMCC直连访问时的 TCP 并发拨号逻辑 2026-05-29 02:13:13 +08:00
CMLiussss 6846830709 Merge pull request #1248 from cmliu/beta2.1
Beta2.1
2026-05-28 16:35:11 +08:00
CMLiussssandCopilot Autofix powered by AI c2cd2454e6 Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-05-28 16:32:06 +08:00
CMLiussss 7e14b80ef8 Merge branch 'main' into beta2.1 2026-05-28 15:53:37 +08:00
cmliu 3c66dcc0e1 fix: 禁用 TCP 预加载竞速拨号功能以优化连接逻辑 2026-05-28 15:48:37 +08:00
cmliu 3ee7abedd6 fix: 修复 TURN 认证中空 REALM 的处理逻辑,避免连接失败 2026-05-26 21:21:07 +08:00
CMLiussss 109f93fa81 Update _worker.js 2026-05-26 21:16:55 +08:00
cmliu 87e3f5030b fix: 修复 TURN 认证挑战中缺失 realm 的错误处理逻辑 2026-05-26 21:10:17 +08:00
CMLiussss cc12333dc2 TCP并发拨号数 降为 2
TCP并发拨号数 降为 2
2026-05-26 20:18:31 +08:00
cmliu 8229e2b4ad fix: 调整 TCP 并发拨号数从 4 改为 2,以优化资源使用 2026-05-26 19:51:53 +08:00
cmliu 54977615c1 feat: 新增 TCP 预加载竞速拨号功能,优化首次直连域名的解析逻辑 2026-05-18 18:43:58 +08:00
CMLiussss d501820df3 Merge pull request #1214 from cmliu/beta2.1
Beta2.1
2026-05-17 19:12:42 +08:00
cmliu b35889e6ba fix: 更新版本号并优化上行写入队列逻辑以减少上传队列溢出风险 2026-05-17 18:55:39 +08:00
cmliu acb9cf226b fix: 更新缓存SOCKS5白名单逻辑以确保正确处理环境变量 2026-05-17 17:19:19 +08:00
CMLiussss fe5a9b93c0 Merge pull request #1209 from cmliu/beta2.1-GrainTCP
Beta2.1 grain tcp
2026-05-15 20:45:15 +08:00
cmliu bc631f7851 fix: 优化访问IP获取顺序,确保正确解析客户端IP 2026-05-15 20:22:52 +08:00
CMLiussssandCopilot Autofix powered by AI 7f16c83193 Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-05-15 19:54:33 +08:00
CMLiussss 5473f623b7 Update _worker.js 2026-05-15 19:52:53 +08:00
CMLiussss da3e0386bc Merge branch 'main' into beta2.1-GrainTCP 2026-05-15 19:51:15 +08:00
cmliu d8338c40e6 feat: 优化GO2SOCKS5变量处理方式,改为追加模式以增强灵活性 2026-05-15 19:29:29 +08:00
cmliu f2c7fa728b feat: 添加ToiCF/GrainTCP项目链接至README 2026-05-15 19:20:44 +08:00
cmliu db9c0c6c9e feat: 更新Shadowsocks订阅优化说明,明确功能不适用于反代IP 2026-05-15 19:01:11 +08:00
cmliu 7206fa3b64 feat: 更新版本号至2026-05-15,并优化Shadowsocks订阅逻辑 2026-05-15 18:56:34 +08:00
cmliu 713b2cdb47 feat: 调整下行Grain静默毫秒逻辑,确保最小值为1以优化数据处理 2026-05-15 03:25:48 +08:00
cmliu 56386c2e95 Refactor code structure for improved readability and maintainability 2026-05-13 04:50:07 +08:00
cmliu d25b73f19e Refactor code structure for improved readability and maintainability 2026-05-13 00:19:27 +08:00
CMLiussss e86fb83fe0 Merge pull request #1198 from odaychina/main
Update sync.yml
2026-05-11 20:01:55 +08:00
odaychina 8f995ee839 Update sync.yml 2026-05-11 15:35:36 +08:00
CMLiussss 8473932efe Merge pull request #1196 from cmliu/beta2.1
Beta2.1
2026-05-11 04:48:05 +08:00
cmliu d65ce65ea7 feat: 优化登录设置页面密码验证逻辑,避免换行符导致密码错误 2026-05-11 04:39:03 +08:00
cmliu 01067bc7ea feat: 更新版本号至2026-05-11,移除订阅响应头中的请求数刷新倒计时 2026-05-11 04:23:03 +08:00
CMLiussss 3445e7a964 Add workflow to auto-close empty or short PR descriptions
This workflow automatically closes pull requests with empty or short descriptions, while notifying the author to provide more details.
2026-05-10 19:14:42 +08:00
CMLiussss 88472dd658 Merge pull request #1191 from cmliu/beta2.1
Beta2.1
2026-05-08 21:59:48 +08:00
cmliu 9fb0650429 feat: 修复随机优选时遗漏运营商信息,优化订阅转换URL构建 2026-05-08 21:36:30 +08:00
cmliu 79ab96987e feat: 更新订阅转换逻辑,使用临时TOKEN避免真实地址泄露 2026-05-08 19:51:04 +08:00
CMLiussss 701578e175 Merge pull request #1187 from cmliu/beta2.1
feat: 更新CHANGELOG,优化PROXYIP域名解析流程,移除特判逻辑
2026-05-08 04:35:14 +08:00
cmliu 986cf734f3 feat: 更新CHANGELOG,优化PROXYIP域名解析流程,移除特判逻辑 2026-05-08 04:23:33 +08:00
CMLiussss db0d74974e Merge pull request #1182 from cmliu/beta2.1
Beta2.1
2026-05-06 20:23:27 +08:00
CMLiussssandCopilot Autofix powered by AI a79e4813ca Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-05-06 20:16:06 +08:00
cmliu 9ee1181f44 fix: 修正CHANGELOG中的功能描述,去除多余的“支持”字样 2026-05-06 19:56:53 +08:00
cmliu 2d63088513 feat: 更新CHANGELOG,新增反代模式支持TURN和SSTP协议,添加链式代理节点功能 2026-05-06 18:11:29 +08:00
cmliu 4027bafcd4 feat: 添加ToiCF相关项目链接至文档 2026-05-04 18:40:25 +08:00
cmliu dd0eb68651 feat: 优化代码结构 2026-05-04 18:14:41 +08:00
cmliu 4f6e31e5d8 适配 turn sstp 2026-05-04 18:00:14 +08:00
CMLiussss 609002c78e Merge pull request #1168 from cmliu/beta2.1-BYOB
Beta2.1 byob
2026-05-03 05:12:39 +08:00
CMLiussssandCopilot Autofix powered by AI a88186fc4b Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-05-03 05:10:37 +08:00
cmliu 68cfda232d feat: 更新文档中的链接,修正反向代理模式HTTPS代理功能的参考链接 2026-05-03 05:01:36 +08:00
cmliu e9f4ebbba9 feat: 优化Singbox订阅配置文件热补丁,增强DNS规则迁移和路由处理逻辑 2026-05-03 04:06:18 +08:00
cmliu 865ecb97a2 feat: 删除Clash关于ECH的EchConfig DNS服务备用DoH 2026-05-03 03:12:08 +08:00
cmliu 6a4fefc4e5 feat: 更新版本号并适配Sing-box ECH自定义EchConfig解析域名功能,支持通配符域名 2026-05-03 01:20:55 +08:00
cmliu a045fbf529 feat: 优化Singbox订阅配置文件热补丁,增强ECH支持并简化相关逻辑 2026-04-27 05:35:02 +08:00
cmliu c30d11b8cc feat: 更新版本号并优化Clash订阅配置文件热补丁,移除备用DoH 2026-04-22 16:31:12 +08:00
CMLiussss 06c7ddd67a Merge pull request #1141 from LancelotOho/main
更正 README.md 中ClashMetaForAndroid项目地址
2026-04-22 16:24:06 +08:00
Lancelot 0caaf6d81d 更正 README.md 中ClashMetaForAndroid项目地址 2026-04-21 04:55:19 +08:00
CMLiussss c5da03cf76 Merge pull request #1129 from cmliu/beta2.1-BYOB
feat: 更新版本号并优化TLS 1.3解密和加密逻辑,修复数据处理流程
2026-04-17 23:22:54 +08:00
CMLiussss 2c8ca7db50 Merge pull request #1125 from kasc0206/fix/dns-query-id-random
fix: use random DNS query ID per RFC 1035 §4.1.1
2026-04-17 18:05:29 +08:00
CMLiussss 29aa33007d Merge pull request #1124 from kasc0206/fix/cookie-secure-flag
fix: add Secure and SameSite=Strict flags to auth cookie
2026-04-17 18:04:21 +08:00
CMLiussss 232292e0e0 Merge pull request #1122 from kasc0206/fix/duplicate-ip-headers
fix: remove duplicate headers and reorder by trustworthiness in IP detection chain
2026-04-17 17:55:40 +08:00
kylin d8c6533dfb fix: use random DNS query ID per RFC 1035
RFC 1035 §4.1.1 requires that the ID field in a DNS message header
be a random 16-bit value so that responses can be matched to their
corresponding queries. The previous hardcoded value of 0 works for
simple sequential requests but is technically incorrect and could
cause response-matching failures under concurrent DoH lookups.

Replace with crypto.getRandomValues() which is available in the
Cloudflare Workers runtime.
2026-04-17 15:50:55 +08:00
kylin cb0a3e489e fix: add Secure and SameSite=Strict flags to auth cookie
The auth cookie was set with only HttpOnly, missing two important
security attributes:

- Secure: without this flag the browser may send the cookie over
  plain HTTP, exposing the session token to network eavesdroppers.
  Cloudflare Workers always run behind HTTPS so this flag is safe
  to add unconditionally.

- SameSite=Strict: prevents the cookie from being sent in
  cross-site requests, mitigating CSRF attacks against the /admin
  panel.
2026-04-17 15:50:40 +08:00
kylin 1a8da4c143 fix: remove duplicate X-Real-IP and X-Forwarded-For headers in IP detection chain
The client IP detection fallback chain contained duplicate entries:
- X-Real-IP appeared twice (positions 1 and 8)
- X-Forwarded-For appeared twice (positions 3 and 7)

Removed duplicates and reordered to prefer Cloudflare-injected headers
(CF-Connecting-IP, True-Client-IP) which are more trustworthy than
user-controllable headers.
2026-04-17 15:50:07 +08:00
cmliu 1dd3943054 feat: 更新版本号并优化TLS 1.3解密和加密逻辑,修复数据处理流程 2026-04-17 01:58:09 +08:00
CMLiussss 9debe71e28 Merge pull request #1113 from cmliu/beta2.1-BYOB
Beta2.1 byob
2026-04-16 15:05:38 +08:00
cmliu d9ff9aab64 feat: 更新版本号并优化木马UDP数据转发逻辑,修正相关函数命名 2026-04-16 04:47:40 +08:00
cmliu db074cae71 feat: 优化木马UDP数据转发逻辑,简化数据解析和封装流程 2026-04-16 04:42:39 +08:00
cmliu 8b934dcfa1 feat: 增强UDP数据转发支持,添加木马协议处理逻辑 2026-04-16 04:36:13 +08:00
cmliu ccd1bcbfed feat: 增强UDP转发功能,添加日志记录以便于调试和错误追踪 2026-04-16 04:04:21 +08:00
cmliu 5da6cb43f8 feat: 添加Zread徽章以增强项目可见性 2026-04-16 02:35:19 +08:00
cmliu 566d70969a feat: 优化TLS加密逻辑以支持ChaCha20回退 2026-04-15 19:52:44 +08:00
cmliu cf3033597b feat: 添加HTTPS路径模板支持以增强反代配置 2026-04-14 15:38:40 +08:00
cmliu b36e7e5cbc feat: 增强TLS警报处理逻辑,忽略特定警报以提高连接稳定性 2026-04-13 23:40:17 +08:00
cmliu f03649857d feat: 更新版本号至2026-04-13以反映最新更改 2026-04-13 17:47:17 +08:00
cmliu 7dff821763 feat: 添加类型注释以增强代码可读性和类型安全 2026-04-13 17:44:03 +08:00
cmliu f24215951d feat: 合并常量定义,简化代码结构和可读性 2026-04-13 17:34:00 +08:00
cmliu e3828e2802 HTTPS 2026-04-13 17:26:44 +08:00
CMLiussss aa147ba11d Merge pull request #1091 from cmliu/beta2.1-BYOB
Beta2.1 byob
2026-04-10 15:37:41 +08:00
cmliu c42ab0581a feat: 简化获取传输协议配置函数逻辑,提升代码可读性 2026-04-10 15:24:41 +08:00
cmliu e83f2c15f8 feat: 优化节点路径生成逻辑,添加获取传输路径参数值函数 2026-04-10 15:22:14 +08:00
cmliu 01ad04d232 feat: 提取传输协议配置逻辑,优化代码结构和可读性 2026-04-10 15:12:38 +08:00
cmliu 54353266d5 fix: 更新版本号至2026-04-10 06:03:17 2026-04-10 06:03:47 +08:00
cmliu 5d17b6899e feat: 根据传输协议动态调整路径和域名字段名,优化链接生成逻辑 2026-04-10 05:58:21 +08:00
cmliu 05c4bef873 feat: 添加传输协议支持,优化链接生成逻辑以提升兼容性 2026-04-10 05:53:26 +08:00
CMLiussss 723883198b Merge pull request #1082 from cmliu/beta2.1-BYOB
Beta2.1 byob
2026-04-07 02:43:10 +08:00
cmliu 535cc12c49 refactor: 简化加密配置和相关函数,提升代码可读性 2026-04-07 02:23:53 +08:00
cmliu 0e7aa889c3 fix: 统一代码风格,修复多个位置的分号缺失 2026-04-07 02:18:17 +08:00
cmliu b96cad2706 feat: 增强BYOB模式下的错误处理,添加偏移异常日志记录 2026-04-07 01:46:01 +08:00
cmliu 09cd548f71 feat: 增强WebSocket处理逻辑,添加安全流控制以防止错误和异常 2026-04-06 18:42:47 +08:00
cmliu 974b78fbeb feat: 优化WebSocket数据传输逻辑,支持BYOB模式以提高性能和灵活性 2026-04-06 17:39:41 +08:00
CMLiussss 7313cb5c36 Merge pull request #1080 from cmliu/beta2.1
Beta2.1
2026-04-06 16:21:53 +08:00
CMLiussss 30ec5bfac4 Merge pull request #1076 from cmliu/beta2.1
Beta2.1
2026-04-04 20:50:32 +08:00
CMLiussss aacc45bce6 Merge pull request #1072 from cmliu/beta2.1
Beta2.1
2026-04-03 22:23:50 +08:00
CMLiussss 6a4f8000e4 Merge pull request #1060 from cmliu/beta2.1
Beta2.1
2026-03-31 17:08:23 +08:00
CMLiussss d021007254 Merge pull request #1047 from cmliu/beta2.1
Beta2.1
2026-03-23 20:20:37 +08:00
CMLiussss 468d6fbd5e Merge pull request #1037 from cmliu/beta2.0
feat: 更新优选订阅生成器逻辑,支持根据条件选择路径
2026-03-19 01:18:13 +08:00
CMLiussss a61041cbd5 Merge pull request #1036 from cmliu/beta2.0
feat: 更新优选订阅生成器逻辑,仅支持输出base64类型的订阅
2026-03-18 02:03:44 +08:00
CMLiussss d265a8ad6a Merge pull request #1035 from cmliu/beta2.0
feat: 添加优选订阅生成器功能,支持通过环境变量控制
2026-03-18 01:42:53 +08:00
CMLiussss dd358ead8f Merge pull request #1034 from cmliu/beta2.0
feat: DeBug
2026-03-17 20:51:37 +08:00
CMLiussss 4870171f2f Merge pull request #1028 from cmliu/beta2.0
feat: 添加日志记录功能的条件判断,支持通过环境变量控制日志记录开关
2026-03-10 18:27:29 +08:00
CMLiussss c2a0f9faf3 Merge pull request #1024 from cmliu/beta2.0
Beta2.0
2026-03-10 03:07:41 +08:00
CMLiussss 029e526a49 Merge pull request #1003 from cmliu/beta2.0
Beta2.0
2026-02-26 14:34:49 +08:00
CMLiussss f36359303d Merge pull request #998 from cmliu/beta2.0
Beta2.0
2026-02-24 23:21:30 +08:00
CMLiussss 79175907eb Merge pull request #994 from cmliu/beta2.0
feat: 增强sub参数处理逻辑,确保有效的sub地址包含点
2026-02-24 13:15:47 +08:00
CMLiussss cd7764cac7 Merge pull request #988 from cmliu/beta2.0
Beta2.0
2026-02-22 01:26:10 +08:00
CMLiussss a89b6f9d84 Merge pull request #981 from cmliu/beta2.0
Beta2.0
2026-02-15 17:34:04 +08:00
CMLiussss ce7ef9fd60 Merge pull request #961 from cmliu/beta2.0
Beta2.0
2026-02-10 05:03:12 +08:00
6 changed files with 30891 additions and 879 deletions

No files matched your search

@@ -0,0 +1,61 @@
name: Auto-close empty PRs
permissions:
issues: write
pull-requests: write
on:
pull_request_target:
# 只在新建、重新打开、草稿转正式时检查 PR 说明
types:
- opened
- reopened
- ready_for_review
jobs:
check-pr:
name: Close PRs with empty or short descriptions
runs-on: ubuntu-latest
# 草稿 PR 先不处理,等作者准备好再检查
if: ${{ !github.event.pull_request.draft }}
steps:
- name: Close PR when description is empty or too short
uses: actions/github-script@v7
with:
script: |
const pr = context.payload.pull_request;
// 去掉空白和 HTML 注释,避免“看起来写了,实际上没写内容”
const description = (pr.body || '')
.replace(/<!--[\s\S]*?-->/g, ' ')
.replace(/\s+/g, ' ')
.trim();
const descriptionLength = Array.from(description).length;
core.info(`Description length: ${descriptionLength}`);
// 说明超过 8 个字符,就视为已经写了基本内容
if (descriptionLength > 8) {
core.info('Description is long enough. No action needed.');
return;
}
// 说明为空或太短,先留言提醒,再自动关闭 PR
await github.rest.issues.createComment({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: pr.number,
body: [
'🤖 这个 PR 因为说明为空,或说明过短,已被自动关闭。',
'',
'请补充这次改了什么、为什么要改,再重新提交 PR。',
].join('\n'),
});
await github.rest.pulls.update({
owner: context.repo.owner,
repo: context.repo.repo,
pull_number: pr.number,
state: 'closed',
});
+22 -18
View File
@@ -15,26 +15,30 @@ jobs:
if: ${{ github.event.repository.fork }}
steps:
# Step 1: run a standard checkout action
- name: Checkout target repo
uses: actions/checkout@v3
# Step 2: run the sync action
- name: Sync upstream changes
id: sync
uses: aormsby/Fork-Sync-With-Upstream-action@v3.4
uses: actions/checkout@v6
with:
upstream_sync_repo: cmliu/edgetunnel
upstream_sync_branch: main
target_sync_branch: main
target_repo_token: ${{ secrets.GITHUB_TOKEN }} # automatically generated, no need to set
fetch-depth: 0
ref: main
# Set test_mode true to run tests instead of the true action!!
test_mode: false
- name: Sync check
if: failure()
- name: Sync upstream changes
run: |
echo "[Error] 由于上游仓库的 workflow 文件变更,导致 GitHub 自动暂停了本次自动更新,你需要手动 Sync Fork 一次,详细教程请查看项目README.md "
echo "[Error] Due to a change in the workflow file of the upstream repository, GitHub has automatically suspended the scheduled automatic update. You need to manually sync your fork. Please refer to the project README.md for instructions. "
git config user.name "GH Action - Upstream Sync"
git config user.email "action@github.com"
git remote add upstream https://github.com/cmliu/edgetunnel.git
git fetch upstream main
if git diff --quiet HEAD upstream/main; then
# 内容和上游一致,直接对齐,顺带清理历史分叉留下的多余 merge commit
git reset --hard upstream/main
git push --force-with-lease origin main
else
# 有本地修改,保持原来的合并方式,不覆盖任何人的改动
if ! git pull --no-rebase upstream main; then
echo "[Error] 合并上游变更产生冲突,自动同步已暂停,请手动 Sync Fork 并解决冲突。"
echo "[Error] Merge conflict detected while syncing upstream. Please sync your fork manually and resolve the conflicts."
exit 1
fi
git push origin main
fi
+2
View File
@@ -1,6 +1,7 @@
# Demo 目录
demo/
tmp/
.workbuddy/
# 依赖包
node_modules/
@@ -12,6 +13,7 @@ pnpm-lock.yaml
dist/
build/
*.wasm
GRAINTCP_*
# Cloudflare Workers
.wrangler/
+267
View File
@@ -0,0 +1,267 @@
## [2.1.20261008222327] - 2026-10-08 22:23:27
### Debug
- 修复 **报错1101** 信仰。
## [2.1.20260923155300] - 2026-09-23 15:53:00
### Debug
- 修复 **本机标识**:统一头部与查询键的获取逻辑,避免 XHTTP padding、gRPC 请求识别及优选请求之间的标识不一致。
- 优化 **优选请求**:向优选 API、优选订阅生成器和订阅转换请求的 User-Agent 中追加本机标识,提升请求关联性。
### Change
- 优化 **版本识别**:版本查询接口统一返回数字版本号。
- 优化 **订阅请求**:向优选 API、优选订阅生成器和订阅转换请求的 User-Agent 中追加当前版本号,便于服务端识别版本。
## [2.1.20260922200117] - 2026-09-22 20:01:17
### Debug
- 修复 **汇聚订阅**:统一设置 User-Agent,提升请求行为的一致性。
## [2.1.20260907040834] - 2026-09-07 04:08:34
### ADD
- 新增 **订阅转换配置**:**展开规则全文**选项。
## [2.1.20260904162413] - 2026-09-04 16:24:13
### ADD
- 新增 **ALPN** 字段支持:节点链接现已自动携带 ALPN 参数,适配更多客户端场景。
### Debug
- 修复 **HTTPS 代理**:上游服务器请求客户端证书(CertificateRequest)时握手失败的问题,现已回送空证书正常完成握手。[提交](https://github.com/cmliu/CF-Workers-CheckSocks5/commit/ae93bc28462a6df03795143a5caa85f717ba231a)
## [2.1.20260811144522] - 2026-08-11 14:45:22
### Change
- 优化 **XHTTP** 上行传输:新增数据合包机制,小块数据合并后再统一发送,减少小包频繁写入,降低资源开销,大文件上传更流畅。
## [2.1.20260810030901] - 2026-08-10 03:09:01
### ADD
- 新增 **XHTTP obfs padding** 接收端支持:识别 `xPaddingObfsMode`(tokenish / queryInHeader)混淆头。
## [2.1.20260809231057] - 2026-08-09 23:10:57
### Debug
- 修复 **XHTTP链式代理** 参数解析:路径末尾多余的 `/` 会导致反代配置失效,现已兼容末尾斜杠。
## [2.1.20260809201158] - 2026-08-09 20:11:58
### Change
- 优化 **XHTTP** 传输链路:TCP 数据改由 `request.body.pipeTo(socket.writable)` 与 `socket.readable.pipeTo(IdentityTransformStream)` 双向直通,不再经过 ReadableStream + 上行写入队列 + BYOB/Grain 逐块搬运,显著降低 CPU 占用。
- 优化 **XHTTP** 连接管理:`forwardataTCP` 新增"仅建立连接"模式,建连并写入首包后直接返回 socket 交由 pipe 直通,同时保留直连失败后自动切换反代的兜底逻辑(gRPC/WS 调用方不受影响)。
- 优化 **XHTTP UDP** 处理:UDP 分支独立拆出为专用处理函数,保留 Trojan UDP 反代与 DNS 转发逻辑。
## [2.1.20260729235734] - 2026-07-29 23:57:34
### Change
- 修正 **PRELOAD_RACE_DIAL** 环境变量逻辑:默认值由 `true` 改为 `false`(默认**关闭**预加载竞速拨号),设置 `1` 或 `true` 则**开启**;同步修正 README 中该变量的说明。[提交](https://github.com/cmliu/edgetunnel/commit/aea8b85688ef6066116af551cfd5e6fd2ce77567)
## [2.1.20260724150359] - 2026-07-24 15:03:59
### Change
- 同步 **GrainTCP** 最新传输优化:上行 Grain 合包目标由 `16KB` 调整为 `20KB`,并复用统一的收纳/合包核心;连续小块会在 drain 阶段机会性合并,减少高频 `writer.write()` 调用。[上游提交](https://github.com/ToiCF/GrainTCP/commit/1d22628f4d1413989f521f1d41591b0c72e658eb)
- 优化下行 **GrainTCP** 聚合:保留 `32KB` 聚合上限,使用 `tail × 12` 低水位和最多 `4` 轮、每轮 `1ms` 的增长观察;flush 可连续发送多个聚合包,接近上限时及时发送,降低小包 WebSocket frame 数量。[上游提交](https://github.com/ToiCF/GrainTCP/commit/1d22628f4d1413989f521f1d41591b0c72e658eb)
- 优化下行数据包处理:大块数据在 Grain 为空时直接发送,小块数据在 BYOB/default reader 路径中先脱离可复用读取缓冲;聚合结果复制后再发送,避免 scratch buffer 复用造成数据覆盖。[上游提交](https://github.com/ToiCF/GrainTCP/commit/1d22628f4d1413989f521f1d41591b0c72e658eb)
- 基于上游传输模型增强 TCP 连接管理:加入 connection generation、socket identity 和旧下行 drain 屏障;重拨期间上行数据继续收纳并等待新 writer,旧 reader、定时器或连接的异步收尾不会污染新连接。[上游思路](https://github.com/ToiCF/GrainTCP/commit/1d22628f4d1413989f521f1d41591b0c72e658eb)
- 基于上游 Grain 发送模型统一直发、分段发送、定时 flush 的串行发送链,并持久化异步发送错误;响应头仅在首次真实发送时消费,避免重拨或失效连接提前消耗协议响应头。[上游思路](https://github.com/ToiCF/GrainTCP/commit/1d22628f4d1413989f521f1d41591b0c72e658eb)
- 保持现有多协议兼容性:WS 上行采用非等待入队以降低消息处理阻塞,XHTTP/gRPC 继续等待远端写入完成;本地保留 `16MiB / 4096` 条目的上传高水位保护,避免 Worker 队列无界增长。[上游变更](https://github.com/ToiCF/GrainTCP/commit/1d22628f4d1413989f521f1d41591b0c72e658eb)
- 优化 仅在 **反代模式** 下启用本地测速响应,使用 **SOCKS5/HTTP/HTTPS/TURN/SSTP** 代理时改为正常转发测速请求。
## [2.1.20260722191426] - 2026-07-22 19:14:26
### Change
- 适配 `http://cp.cloudflare.com/generate_204` 真连接测试地址。
## [2.1.20260711190235] - 2026-07-11 19:02:35
### ADD
- 新增 **TCP_CONCURRENT_DIAL** 环境变量,可自定义 **TCP 并发拨号数**;设置后不再根据中国移动网络自动降为单路。
- 新增 **PROXY_CONCURRENT_DIAL** 环境变量,可自定义 **反代并发拨号数**。
## [2.1.20260711022318] - 2026-07-11 02:23:18
### Change
- 优化 **反代相关逻辑**:解决多反代节点参数因全局变量被意外覆盖导致不生效的问题。
- 优化 **DoH 缓存**:缓存近期的域名解析结果,减少重复请求,提升解析速度并降低资源占用;对于没有解析结果的域名也会暂时缓存,避免反复查询。
### ADD
- 新增 **反代并发拨号数**:可自行调整反代连接的并发数量。并发数越高,连接速度越快,但 IP 切换也越频繁;并发数越低,连接过程则更加稳定。
- 新增 **订阅转换配置**:更多功能选项,包括 **UDP**、**XUDP**、**TLS 1.3**、**插入节点类型** 和 **基础节点排序**,并同步透传到订阅转换后端。
- 新增 **Trojan 回退代理(Fallback)**:Trojan 协议现在支持设置备用代理地址。当主连接不通时,可以自动切换到备用代理继续工作,让连接更稳定可靠。[PR #1359](https://github.com/cmliu/edgetunnel/pull/1359)
## [2.1.20260617014121] - 2026-06-17 01:41:21
### ADD
- 订阅转换配置 增加 **仅输出节点信息** 的选项。
## [2.1.20260611041617] - 2026-06-11 04:16:17
### Change
- 优化 **版本信息接口** 的 UUID 校验逻辑,提高校验安全性。
## [2.1.20260609132903] - 2026-06-09 13:29:03
### Debug
- 修复 **报错1101** 特征码。
### Change
- 优化 **PROXYIP 解析缓存**:在缓存比较前统一将反代地址转为小写,避免同一反代地址因大小写不同重复解析。
## [2.1.20260601154939] - 2026-06-01 15:49:39
### Change
- 适配 **Xray-core v26.2.6**:TLS 已移除 `allowInsecure` 配置项,Base64 订阅不再输出 **跳过证书验证** 功能;Clash 与 Sing-box 订阅不受影响。[Release](https://github.com/XTLS/Xray-core/releases/tag/v26.2.6)
## [2.1.20260529014818] - 2026-05-29 01:48:18
### Change
- 优化 **中国移动** 直连访问时 TCP 并发拨号降级为单路,缓解CPU超时情况。
## [2.1.20260526210857] - 2026-05-26 21:08:57
### Debug
- 修复 **TURN 认证**:允许 STUN 鉴权 challenge 中存在空 `REALM`,避免空 realm 被误判为缺失导致连接失败。
## [2.1.20260518183745] - 2026-05-18 18:37:45
### ADD
- 新增 **PRELOAD_RACE_DIAL** 环境变量,可自定义 **TCP 预加载竞速拨号**:首次直连域名时可先通过 DoH 并发查询 A/AAAA 记录,优先使用 IPv4,数量不足时用 IPv6 补齐到 `TCP并发拨号数` 上限;反代失败兜底逻辑与普通首次直连拆分,避免误触发预加载。
## [2.1.20260517185203] - 2026-05-17 18:52:03
### Debug
- 修复 **WS/XHTTP/gRPC 上传**:上行写入改为等待远端写入完成后再继续处理下一块,避免上传突发时在 Worker 内部快速堆积并触发 `upload queue overflow`。
- 优化 **WS 显式传输队列**:上行队列保护从 256KB 调整为 16MB / 4096 条,并在队列清理时正确释放等待中的写入任务,减少大文件上传时的偶发溢出。
## [2.1.20260515185129] - 2026-05-15 18:51:29
### Change
- 优化 **Shadowsocks 订阅**:关闭 TLS 时会自动将优选端口重写为 noTLS 端口。(但是该功能不适用于反代IP)
- 优化 **GO2SOCKS5** 变量:从覆盖模式改为追加模式。[PR #1202](https://github.com/cmliu/edgetunnel/pull/1202)
## [2.1.20260513042803] - 2026-05-13 04:28:03
### Change
- 优化 **VLESS** 热路径:UUID 预解码为 16 字节直接比较,首包解析改为偏移和 `subarray()` 少拷贝处理。[开源引用](https://github.com/ToiCF/GrainTCP)
- 优化 **WS Early Data**:增加 8KB 上限保护,并避免普通 WebSocket 子协议被误当作 early data 注入首包。[开源引用](https://github.com/ToiCF/GrainTCP)
- 优化 **WS/XHTTP/gRPC** 上行链路:新增有界队列、小包合并和 256KB 背压保护,减少高频小包写入次数并防止队列无限增长。[开源引用](https://github.com/ToiCF/GrainTCP)
- 优化 下行 **GrainTCP** 发送流程:小包使用 microtask 和短静默窗口聚合,大包在 BYOB 路径中先刷新聚合器后直接发送,减少复制和 WebSocket frame 数量。[开源引用](https://github.com/ToiCF/GrainTCP)
- 优化 TCP 建连流程:直连和 proxyip 反代候选启用 4 路并发拨号抢首个成功连接,SOCKS/HTTP/HTTPS/TURN/SSTP 代理链路保持原握手逻辑。[开源引用](https://github.com/ToiCF/GrainTCP)
- 优化 WebSocket 握手和 WS 主链路传输:`allowHalfOpen` 增加异常回退,101 响应清空 `Sec-WebSocket-Extensions`,WS 主链路改用显式顺序队列处理。[开源引用](https://github.com/ToiCF/GrainTCP)
## [2.1.20260511041705] - 2026-05-11 04:17:05
### Change
- 优化 **登录设置页面** 密码验证逻辑,避免小白设置 `ADMIN` 密码的时候存在换行符,导致密码怎么都输不对然后心态爆炸!
### Delete
- 移除 订阅响应头中的请求数刷新倒计时,避免小白看到后心态爆炸!
## [2.1.20260508190728] - 2026-05-08 19:07:28
### Debug
- 修复 **随机优选** 时,订阅转换后遗漏运营商信息,导致无法生成对应运营商优选IP的问题。
### Change
- 优化 订阅转换时将提交临时 `TOKEN` 用于转换,避免真实订阅地址泄露。
## [2.1.20260508041513] - 2026-05-08 04:15:13
### Change
- 优化 **PROXYIP** 域名解析流程:域名会优先读取 **TXT** 记录中的反代地址,未获取到 TXT 结果时再使用 **A** 记录解析结果。
- 当 TXT 和 A 记录均无结果时,再请求 **AAAA** 记录,减少不必要的 IPv6 查询。
### Delete
- 移除 `.william` 域名特判和 Google DoH 备用重试逻辑,普通域名也可通过 TXT 记录配置反代地址。
## [2.1.20260506175102] - 2026-05-06 17:51:02
### New
- 反代模式 中新增 **TURN 协议** 代理的功能。[开源引用](https://github.com/ToiCF/CF-Workers-TURN)
- 反代模式 中新增 **SSTP(SoftEther) 协议** 代理的功能。[开源引用](https://github.com/ToiCF/CF-Workers-SoftEther)
- 自定义订阅 中新增添加 **链式代理** 节点的功能。
## [2.1.20260503011925] - 2026-05-03 01:19:25
### Change
- 适配 **Sing-box** 关于 ECH 自定义 **EchConfig 解析域名** 功能。
- **自定义订阅** 适配 通配符优选域名。
### Delete
- 删除 **Clash** 关于 ECH 的 **EchConfig DNS服务** 备用DoH。
## [2.1.20260417015756] - 2026-04-17 01:57:56
### Debug
- 同步上游项目更新,修复 **HTTPS 代理** 已知问题。[参考链接](https://t.me/Enkelte_notif/824)
- 修复已知问题 [#1117](https://github.com/cmliu/edgetunnel/issues/1117) [#1119](https://github.com/cmliu/edgetunnel/issues/1119) [#1120](https://github.com/cmliu/edgetunnel/issues/1120)
## [2.1.20260416044724] - 2026-04-16 04:47:24
### New
- Trojan 协议现已支持通过 UDP Over TCP 方式进行 DNS 查询。
- 反向代理模式中新增 **HTTPS 代理** 功能。[开源引用](https://github.com/ToiCF/CF-Workers-HTTPS)
## [2.1.20260413174651] - 2026-04-13 17:46:51
### Change
- 优化WebSocket数据传输逻辑,支持BYOB模式以提高性能和灵活性。
## [2.1.20260410060317] - 2026-04-10 06:03:17
### New
- 新增 Shadowsocks 协议 **AEAD 加密传输**,为非 TLS 传输模式提供内容加密。
## [2.1.0]
### New
- VLESS/Trojan 协议现已支持 XHTTP 和 gRPC 传输方式。
## [2.0.0]
### New
- 项目架构已完全重写,新增前端 Web 页面。[前端源码](https://github.com/EDT-Pages/EDT-Pages.github.io)
+28 -16
View File
@@ -6,7 +6,9 @@
[![License](https://img.shields.io/github/license/cmliu/edgetunnel?style=flat-square)](https://github.com/cmliu/edgetunnel/blob/main/LICENSE)
[![Telegram](https://img.shields.io/badge/Telegram-Group-blue?style=flat-square&logo=telegram)](https://t.me/CMLiussss)
[![YouTube](https://img.shields.io/badge/YouTube-Channel-red?style=flat-square&logo=youtube)](https://www.youtube.com/watch?v=LeT4jQUh8ok)
[![zread](https://img.shields.io/badge/Ask_Zread-_.svg?style=flat-square&color=00b0aa&labelColor=000000&logo=data%3Aimage%2Fsvg%2Bxml%3Bbase64%2CPHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTQuOTYxNTYgMS42MDAxSDIuMjQxNTZDMS44ODgxIDEuNjAwMSAxLjYwMTU2IDEuODg2NjQgMS42MDE1NiAyLjI0MDFWNC45NjAxQzEuNjAxNTYgNS4zMTM1NiAxLjg4ODEgNS42MDAxIDIuMjQxNTYgNS42MDAxSDQuOTYxNTZDNS4zMTUwMiA1LjYwMDEgNS42MDE1NiA1LjMxMzU2IDUuNjAxNTYgNC45NjAxVjIuMjQwMUM1LjYwMTU2IDEuODg2NjQgNS4zMTUwMiAxLjYwMDEgNC45NjE1NiAxLjYwMDFaIiBmaWxsPSIjZmZmIi8%2BCjxwYXRoIGQ9Ik00Ljk2MTU2IDEwLjM5OTlIMi4yNDE1NkMxLjg4ODEgMTAuMzk5OSAxLjYwMTU2IDEwLjY4NjQgMS42MDE1NiAxMS4wMzk5VjEzLjc1OTlDMS42MDE1NiAxNC4xMTM0IDEuODg4MSAxNC4zOTk5IDIuMjQxNTYgMTQuMzk5OUg0Ljk2MTU2QzUuMzE1MDIgMTQuMzk5OSA1LjYwMTU2IDE0LjExMzQgNS42MDE1NiAxMy43NTk5VjExLjAzOTlDNS42MDE1NiAxMC42ODY0IDUuMzE1MDIgMTAuMzk5OSA0Ljk2MTU2IDEwLjM5OTlaIiBmaWxsPSIjZmZmIi8%2BCjxwYXRoIGQ9Ik0xMy43NTg0IDEuNjAwMUgxMS4wMzg0QzEwLjY4NSAxLjYwMDEgMTAuMzk4NCAxLjg4NjY0IDEwLjM5ODQgMi4yNDAxVjQuOTYwMUMxMC4zOTg0IDUuMzEzNTYgMTAuNjg1IDUuNjAwMSAxMS4wMzg0IDUuNjAwMUgxMy43NTg0QzE0LjExMTkgNS42MDAxIDE0LjM5ODQgNS4zMTM1NiAxNC4zOTg0IDQuOTYwMVYyLjI0MDFDMTQuMzk4NCAxLjg4NjY0IDE0LjExMTkgMS42MDAxIDEzLjc1ODQgMS42MDAxWiIgZmlsbD0iI2ZmZiIvPgo8cGF0aCBkPSJNNCAxMkwxMiA0TDQgMTJaIiBmaWxsPSIjZmZmIi8%2BCjxwYXRoIGQ9Ik00IDEyTDEyIDQiIHN0cm9rZT0iI2ZmZiIgc3Ryb2tlLXdpZHRoPSIxLjUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIvPgo8L3N2Zz4K&logoColor=ffffff)](https://zread.ai/cmliu/edgetunnel)
[![Ask DeepWiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/cmliu/edgetunnel)
---
## 📖 项目简介
@@ -122,9 +124,12 @@
| **PROXYIP** | ❌ | `proxyip.cmliussss.net:443` | 全局自定义反代 IP |
| **URL** | ❌ | `https://cloudflare-error-page-3th.pages.dev` | 默认主页伪装地址(可填写网页 URL 或 `1101`) |
| **GO2SOCKS5** | ❌ | `blog.cmliussss.com`,`*.ip111.cn`,`*google.com` | 强制走 SOCKS5 的名单 (`*` 为全局,域名用逗号分隔) |
| **DEBUG** | ❌ | `1`或`true` | **开发者模式**,默认关闭调试日志功能(console.log),设置`1`或`true`则开启调试日志功能 |
| **OFF_LOG** | ❌ | `1`或`true` | 默认开启日志记录功能,设置`1`或`true`则关闭日志记录功能 |
| **BEST_SUB** | ❌ | `1`或`true` | 默认关闭作为**优选订阅生成器**的功能,设置`1`或`true`则开启该功能 |
| **DEBUG** | ❌ | `1`或`true` | **开发者模式**,默认**关闭**调试日志功能(console.log),设置`1`或`true`则**开启**调试日志功能 |
| **OFF_LOG** | ❌ | `1`或`true` | 默认**开启**KV日志记录功能,设置`1`或`true`则**关闭**日志记录功能 |
| **BEST_SUB** | ❌ | `1`或`true` | 默认**关闭**作为**优选订阅生成器**的功能,设置`1`或`true`则**开启**该功能 |
| **PRELOAD_RACE_DIAL** | ❌ | `1`或`true` | 默认**关闭**作为**预加载竞速拨号**的功能,设置`1`或`true`则**开启**该功能 |
| **TCP_CONCURRENT_DIAL** | ❌ | `2` | **TCP 并发拨号数**,默认值为`2`;设置后不再根据中国移动网络自动降为单路 |
| **PROXY_CONCURRENT_DIAL** | ❌ | `1` | **反代并发拨号数**,默认值为`1`;数值越高连接速度越快,但 IP 切换也越频繁 |
---
@@ -155,31 +160,34 @@
/http://user:password@127.0.0.1:8080 (默认激活全局SOCKS5)
```
- 指定 `Trojan fallback` 案例(由于使用场景为自建对接, 仅 Trojan 入站,fallback 服务需为同密码、非 WebSocket、非 TLS. 此时 UDP 透传给 fallback, 性能优秀, 功能完整)
```url
/trojan=1.1.1.1:1234
```
---
## 💻 客户端适配情况
| 平台 | 推荐客户端 | 备注 |
| :--- | :--- | :--- |
| **Windows** | [v2rayN](https://github.com/2dust/v2rayN), [FlClash](https://github.com/chen08209/FlClash), [mihomo-party](https://github.com/mihomo-party-org/mihomo-party), [Clash Verge Rev](https://github.com/ClashVerge/ClashVerge-Rev) | 全面支持 |
| **Android** | [ClashMetaForAndroid](https://github.com/chen08209/ClashMetaForAndroid), [FlClash](https://github.com/chen08209/FlClash), [v2rayNG](https://github.com/2dust/v2rayNG) | 建议使用 Meta 核心 |
| **iOS** | [Surge](https://surgeapp.com/), [Shadowrocket](https://shadowrocket.com/), [Stash](https://stashapp.com/) | 完美适配 |
| **MacOS** | [FlClash](https://github.com/chen08209/FlClash), [mihomo-party](https://github.com/mihomo-party-org/mihomo-party), [Clash Verge Rev](https://github.com/ClashVerge/ClashVerge-Rev), [Surge](https://surgeapp.com/) | M1/M2 完美兼容 |
| 平台 | 推荐客户端 |
| :--- | :--- |
| **Windows** | [v2rayN](https://github.com/2dust/v2rayN/releases)、[Hiddify](https://github.com/hiddify/hiddify-app/releases)、[FlClash](https://github.com/chen08209/FlClash/releases)、[mihomo-party](https://github.com/mihomo-party-org/clash-party/releases)、[Clash Verge Rev](https://github.com/clash-verge-rev/clash-verge-rev/releases)、[Clashmi](https://github.com/KaringX/clashmi/releases)、[FlyClash](https://github.com/GtxFury/FlyClash/releases)、[Karing](https://github.com/KaringX/karing/releases)、[Bettbox](https://github.com/appshubcc/Bettbox/releases) |
| **Android** | [v2rayNG](https://github.com/2dust/v2rayNG/releases)、[ClashMetaForAndroid](https://github.com/MetaCubeX/ClashMetaForAndroid/releases/)、[FlClash](https://github.com/chen08209/FlClash/releases)、[Clashmi](https://github.com/KaringX/clashmi/releases)、[Hiddify](https://github.com/hiddify/hiddify-app/releases)、[NekoBox](https://github.com/MatsuriDayo/NekoBoxForAndroid/releases)、[FlyClash](https://github.com/GtxFury/FlyClash/releases)、[Karing](https://github.com/KaringX/karing/releases)、[Bettbox](https://github.com/appshubcc/Bettbox/releases) |
| **iOS** | Surge、Shadowrocket、Stash、[Hiddify](https://github.com/hiddify/hiddify-app/releases)、Loon、Egern、[Clashmi](https://clashmi.app/download)、[Karing](https://karing.app/)、Quantumult X |
| **macOS** | [FlClash](https://github.com/chen08209/FlClash/releases)、[mihomo-party](https://github.com/mihomo-party-org/clash-party/releases)、[Clash Verge Rev](https://github.com/clash-verge-rev/clash-verge-rev/releases)、Surge、[Clashmi](https://clashmi.app/download)、[Karing](https://karing.app/)、[FlyClash](https://github.com/GtxFury/FlyClash/releases) |
| **鸿蒙** | [ClashBox](https://github.com/xiaobaigroup/ClashBox/releases) |
---
## ⭐ 项目热度
[![Stargazers over time](https://starchart.cc/cmliu/edgetunnel.svg?variant=adaptive)](https://starchart.cc/cmliu/edgetunnel)
![Stargazers over time](https://github.com/cmliu/cmliu/blob/main/star/edgetunnel.svg)
---
## 🙏 特别鸣谢
### 💖 赞助支持 - 提供云服务器维持[订阅转换服务](https://sub.cmliussss.net/)
- [NodeLoc](https://www.nodeloc.com/)
- [Alice](https://url.cmliussss.com/alice)
- [EasyLinks](https://www.vmrack.net?ref_code=5Zk7eNhbgL7)
- [ZMTO(VTEXS)](https://zmto.com/?affid=1532)
- [Yuusei Network](https://yuusei.io/)
- [VMRack](https://www.vmrack.net?ref_code=5Zk7eNhbgL7)
### 🛠 开源代码引用
- [zizifn/edgetunnel](https://github.com/zizifn/edgetunnel)
@@ -191,11 +199,15 @@
- [Workers/Pages Metrics](https://t.me/zhetengsha/3382)
- [白嫖哥](https://t.me/bestcfipas)
- [Mingyu](https://github.com/ymyuuu/workers-vless)
- [Alexandre Kojève](https://t.me/Enkelte_notif/784)
- [ToiCF/CF-Workers-HTTPS](https://github.com/ToiCF/CF-Workers-HTTPS)
- [ToiCF/CF-Workers-TURN](https://github.com/ToiCF/CF-Workers-TURN)
- [ToiCF/CF-Workers-SoftEther](https://github.com/ToiCF/CF-Workers-SoftEther)
- [eooce](https://github.com/eooce/Cloudflare-proxy)
- [Sukka](https://ip.skk.moe/)
- [zhangtaile](https://github.com/cmliu/edgetunnel/pull/999)
- [1345695](https://github.com/1345695/edcloudwasm)
- [ToiCF/GrainTCP](https://github.com/ToiCF/GrainTCP)
- [xream](https://github.com/cmliu/edgetunnel/pull/1359)
---
+30511 -845
View File
File diff suppressed because it is too large. Load diff