feat(xray): update xray-core to v26.9.8 and adapt panel

Bump xtls/xray-core to 37ceb8b4b6 (v26.9.8) and the three binary pins
(DockerInit.sh, release.yml Linux + Windows) in lockstep. No deleted
symbols; the impact is entirely on the JSON config surface.

Outbound "proxySettings" is now refused by the config loader (moved to
streamSettings.sockopt.dialerProxy) and a freedom outbound rejects
sockopt.addressPortStrategy. Either key in a stored template would keep
the core from starting after the upgrade, so a new OutboundRemovedKeysFix
seeder rewrites xrayTemplateConfig once: proxySettings.tag becomes
sockopt.dialerProxy (an existing dialerProxy wins) and addressPortStrategy
is dropped from freedom outbounds. Template saves and outbound
subscriptions already run through the vendored loader, so the new
refusals surface there with the core's own message.

REALITY no longer applies a built-in minClientVer (26.3.27) when the
field is empty. The form placeholder and the min/max hints in all 13
locales now say that empty means no minimum.

New upstream keys the Zod schemas would otherwise strip, with form
support where a sibling field already had it:
- blackhole response type "custom" with base64 customResponseData
- realm finalmask ipMode (dual/v4/v6) and portMapping (UPnP / NAT-PMP)
- quicParams brutalDisableLossCompensation, disableChromeParrot,
  disableGSO, disableStatelessReset
- hysteria masquerade proxy xForwarded
- wireguard outbound remoteDNS
- routing rule localOS

freedom.domainStrategy is only deprecated upstream (auto-migrated to
sockopt.domainStrategy with a warning) and is left untouched.
This commit is contained in:
Sanaei
2026-09-08 13:49:32 +02:00
parent a5e68f410f
commit 2ec6c73613
36 changed files with 554 additions and 61 deletions
+5 -2
View File
@@ -521,6 +521,7 @@
"type": "类型",
"upstreamUrl": "Upstream URL",
"rewriteHost": "重写 Host",
"xForwarded": "X-Forwarded 头",
"skipTlsVerify": "跳过 TLS 验证",
"directory": "目录",
"statusCode": "状态码",
@@ -622,8 +623,8 @@
"maxTimeDiff": "最大时间差 (ms)",
"minClientVer": "最小客户端版本",
"maxClientVer": "最大客户端版本",
"minClientVerHint": "留空不等于不限制Xray-core 会改用所运行内核版本的内置最低值(当前版本为 26.3.27),拒绝自报版本更低的客户端——包括 Mihomo、sing-box 等第三方内核。填 1.0.0 可放行它们,代价是允许过时的 TLS 指纹。",
"maxClientVerHint": "留空表示无上限。若填写,不得低于实际生效的下限——最小客户端版本,该字段留空时则为 Xray-core 的内置最低值——否则所有客户端都会被拒绝。",
"minClientVerHint": "留空表示不设下限Xray-core 接受任何客户端版本,包括 Mihomo、sing-box 等第三方内核。填写版本可拒绝自报版本更低的客户端。",
"maxClientVerHint": "留空表示无上限。若填写,不得低于最小客户端版本,否则所有客户端都会被拒绝。",
"clientVerInvalid": "客户端版本须为最多三段以点分隔的数字,每段 0-255(例如 26.3.27",
"maxClientVerBelowMin": "最大客户端版本不得低于最小客户端版本",
"shortIds": "Short IDs",
@@ -1613,6 +1614,7 @@
"inboundTag": "入站标签",
"inboundTagPlaceholder": "用于路由规则的入站标签",
"responseType": "响应类型",
"customResponseData": "自定义响应(base64",
"rewriteNetwork": "重写网络",
"unchanged": "(未更改)",
"unchangedAddress": "(未更改) 如 1.1.1.1",
@@ -1625,6 +1627,7 @@
"blockDelay": "阻塞延迟 (ms)",
"reverseSniffing": "反向 sniffing",
"reserved": "保留",
"remoteDNS": "远程 DNS",
"minUploadInterval": "最小上传间隔 (ms)",
"maxUploadSizeBytes": "最大上传大小 (字节)",
"uplinkChunkSize": "Uplink chunk 大小",