mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-10-20 21:05:02 +03:00
fix(sub): carry REALITY ML-KEM hint in VLESS links (#6712)
* fix(sub): carry REALITY ML-KEM hint in VLESS links Keep raw share links in parity with Clash subscriptions for Xray 26.9.8+. Preserve the URI hint through Go and frontend imports, expose it in the outbound editor, and update the documentation tooling. * fix(link): accept REALITY ML-KEM boolean aliases * test(frontend): isolate Happ preset notifications * fix(link): keep the ML-KEM hint out of Xray REALITY settings support-x25519mlkem768 is a Mihomo reality-opts option; xray-core's REALITYConfig (infra/conf/transport_security.go) has no such field and its JSON loader drops unknown keys silently. The PR also stored it as realitySettings.supportX25519Mlkem768 in Xray outbounds (form switch, Go and TS link import, docs outbound builders) and as an inbound settings default that is stripped before Xray and read by no link generator. The outbound switch therefore did nothing, and imported links carried a dead key into the JSON subscription. The share-link hint itself stays: Go, frontend and docs still emit support-x25519mlkem768=true on VLESS REALITY links and drop it on a TLS host override. --------- Co-authored-by: libmur-dev <333915961+libmur-dev@users.noreply.github.com> Co-authored-by: MHSanaei <ho3ein.sanaei@gmail.com>
This commit is contained in:
@@ -133,11 +133,12 @@ vless://<uuid>@<server>:443?security=reality&pbk=<public-key>&sid=<short-id>&sni
|
||||
включает `reality-opts.support-x25519mlkem768` для REALITY, в том числе внешних
|
||||
ссылок, и выбирает `chrome`, если отпечаток не задан. Явный выбор сохраняется:
|
||||
нужен отпечаток с ML-KEM (`chrome` при uTLS v1.8.7 в Mihomo). Сам флаг не
|
||||
обновляет старые отпечатки. Исходные ссылки `vless://` не передают эту настройку
|
||||
Mihomo; при прямом импорте нужно постоянное переопределение в клиенте. Для очень
|
||||
старых серверов REALITY, отвергающих ML-KEM, задайте `false` для соответствующего
|
||||
узла в клиенте или обновите сервер. Снятие ограничения версии не исправляет
|
||||
это рукопожатие.
|
||||
обновляет старые отпечатки. Исходные ссылки `vless://` передают эквивалентную
|
||||
подсказку `support-x25519mlkem768=true`; клиенты, поддерживающие это расширение
|
||||
URI, включая актуальные сборки Mihomo, применяют её при импорте. Для очень старых
|
||||
серверов REALITY, отвергающих ML-KEM, задайте `false` для соответствующего узла
|
||||
в клиенте или обновите сервер. Снятие ограничения версии не исправляет это
|
||||
рукопожатие.
|
||||
|
||||
</Callout>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user