Leadaxe:LxBox 说明 ECH 与域名分流的冲突及限制

Leadaxe 说明,不使用 FakeIP 时,Chrome 的 ECH 可让嗅探器只看到 cloudflare-ech.com,导致真实域名规则不命中。v2.25.23-rc.2 为规则加入屏蔽 HTTPS/SVCB 记录的选项,并提供默认关闭的全站预设;受影响域名会失去 ECH,首次连接使用 TCP。Chrome 若指定自己的 Secure DNS,该选项无效。作者未在报告者的完整环境实测,也没有浏览器自动测试。

作者原文

Thanks for the detailed report — the profiler table made the cause clear.

What happens. Without FakeIP the core learns the site name only from the TLS ClientHello. Chrome gets an ECH config from the HTTPS DNS record, encrypts the real name and leaves the shared outer name cloudflare-ech.com visible. The sniffer sees only that, your domain_suffix rule does not match, and the connection falls through to route.final. curl does not use ECH, so it was routed correctly.

What changed in v2.25.23-rc.2.

  • A rule's DNS & Resolve section has a new switch, Block HTTPS/SVCB records. For the rule's domains the app answers HTTPS/SVCB queries with an empty reply, so Chrome gets no ECH config and sends the real name. ECH stays on for every other site.
  • A preset with the same name does this for all sites. It is off by default.
  • DNS options of a rule now work together with port, protocol and network filters. Your rule has network: [tcp, udp], which used to disable them.

What to do. Open your rutracker.org rule, turn on Block HTTPS/SVCB records, save, and delete the Cloudflare-IP workaround rule. In new rules the switch turns on by itself once you enter a domain; existing rules are left as they were. Enabling the FakeIP preset also solves it, in any version.

Limits. If Chrome's Secure DNS is set to a specific provider, its queries bypass the app's DNS and the switch has no effect. For the affected domains ECH is off, and the first connection starts over TCP.

About the other suggestions. I did not go with matching a connection to an earlier DNS query: Cloudflare addresses are shared between many sites, so the guess would be wrong too often. Config-build tests cover the new rule; there is no live Chrome test. Marking an ECH outer name in the profiler is noted, but it is not part of this change.

I have not tested this on a device with your exact setup. Please tell me whether it works for you.