-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Migrate to sing-box 1.12 support #7521
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
预计将于 2025 年 7 月 30 日左右,sing-box 1.12.0 正式版发布后并入 有兴趣的可自行替换 v2rayN 和 sing-box 核心帮忙测试 |
|
你上一次给合并到 https://github.com/2dust/v2rayN/tree/dev 如果是合并到 master ,可能还是要等 sing-box 1.12 发布后才合并;同时直接把 dev 删除了 |
|
等正式版发布并到 master 吧 上次好像是因为我表述不太准确,并到了 dev,删掉就行 |
|
好,明白了。 |
|
@2dust 是否为 anytls 加入 reality 支持?唯一的问题是分享链接,按 VLESS 分享链接标准提案处理? &security=reality&sni=www.exam.com&fp=chrome&pbk=xxx security 不为 reality 则按 tls 处理 |
|
anytls 现在官方没有出分享对吧,那就按 VLESS 来,这个分享方案算比较通用的。虽然个人觉得分享用 json 更强壮好用。 |
官方只给了最基础的 uri_scheme,只包含 sni 和 insecure 其他大部分支持 anytls 的客户端目前都不支持 anytls with reality 的分享 |
5e1d4dc to
972c581
Compare
|
感谢,已修复,是我 rebase 出了点问题
Miku2563 ***@***.***> 于2025年7月22日周二 17:45写道:
… *Miku2563* left a comment (2dust/v2rayN#7521)
<#7521 (comment)>
绕过大陆+自动配置,没开tun,看日志,b站的几个域名命中geosite-cn,显示route(proxy),实际上还是走的直连吧
proxy.png (view on web)
<https://github.com/user-attachments/assets/6c586cd6-bf0e-4c66-82ff-220d268e9e68>
—
Reply to this email directly, view it on GitHub
<#7521 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/BN7NDVPIO5NQ3TLXFGKDXGT3JYB3ZAVCNFSM6AAAAACARPHP2CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTCMBRHEYTMNBQGI>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
|
OK了 |
7ed6b0e to
faa540b
Compare
|
Well, sing-box 1.12 was released today and the latest version of v2rayN doesn't support it at all! I manually updated sing-box core but v2rayN failed to initiate it and my local ip was shown instead! I hope this PR would fix the support for the new sing-box 1.12 |
特别感谢 @dianxin623 和 @Miku2563 ! 感谢 @dianxin623 帮忙测试 sing-box 1.12 dns hosts 功能,并提供了 感谢 @Miku2563 测试后发现的一处 rebase 了过时代码的 bug |
|
感谢大家。 |
Refactors Singbox config classes for dial fields
对应原dns.servers[].strategy = prefer_ipv4
DNS type, host, port, and path
Features
IPIfNonMatch等域名策略Changes
domain_resolver,direct出站不添加Removed
sniff_override_destination,因为核心已将其弃用Notes
关于
sniff_override_destination移除:sniff_override_destination。resolve规则动作说明:sniff解析出的域名。resolve动作解析出的 IP 地址。路由域名策略说明:
AsIs:原样生成用户规则,不添加resolve动作。IPIfNonMatch:先生成用户规则,再添加resolve动作并再次生成含 IP 的用户规则。IPOnDemand:先添加resolve动作,再原样生成用户规则。兼容性:
sing-box DNS 设置:
Outbound 域名解析地址可填写tag://dns-local,需在自定义 DNS 配置中添加对应的dns-local服务器。