feat(sub): make the host "Mihomo X25519" switch drop ML-KEM (#6803)

The per-host Mihomo X25519 switch has been stored since managed hosts landed,
but no renderer read it, while every REALITY proxy was forced to
support-x25519mlkem768: true. On some networks DPI drops the second segment of
an ML-KEM ClientHello and blackholes the server for that client. A host with the
switch on now gets support-x25519mlkem768: false and no ML-KEM hint in its vless
link; switches saved while they had no effect are cleared once, so upgrading
does not silently change existing subscriptions.

A REALITY host's fingerprint now reaches the Clash and JSON outputs, and every
host endpoint gets its own deep copy of the stream, so one host's blank SNI,
fingerprint, Host header or path no longer inherits another host's value.
This commit is contained in:
Aleksey
2026-10-24 07:01:48 +03:00
committed by GitHub
parent a403faee23
commit 41bafb3fd5
24 changed files with 370 additions and 26 deletions
+1
View File
@@ -2383,6 +2383,7 @@
"serverDescription": "可选备注,显示在备注下方。",
"allowInsecure": "跳过 TLS 证书验证(allowInsecure / skip-cert-verify)。",
"vlessRoute": "嵌入 UUID 的单个 VLESS 路由值(0-65535),例如 443。留空表示不路由。",
"mihomoX25519": "仅 Mihomo:REALITY 握手只使用普通 X25519,不带 ML-KEM(support-x25519mlkem768: false)。适用于运行 Xray-core 26.9.8 以下、不要求 ML-KEM 的服务器。",
"remark": "此主机的纯文本标签。仅当入站没有自己的备注时,才作为配置名称显示。"
},
"remarkVars": {