互动
最近评论
Ming
stonewu
<p>## Reality ML-DSA-65 证书长度判断与安装失败问题反馈</p><p>### 1. ML-DSA-65 证书长度判断疑似误取 without SNI 结果</p><p>脚本当前逻辑疑似使用了第一条证书链长度:</p><p>```bash</p><p>xray tls ping "${realityServerName}:${realityDomainPort}" \</p><p> | grep "Certificate chain's total length:" \</p><p> | awk '{print $5}' \</p><p> | head -1</p><p>```</p><p>但 <code>xray tls ping</code> 会同时输出:</p><p>```text</p><p>Pinging without SNI</p><p>Pinging with SNI</p><p>```</p><p>实际 Reality 配置使用的是带 SNI 的 <code>serverName</code>。因此某些域名会被误判为证书长度不足。</p><p>例子:</p><p>```text</p><p><a target="_blank" href="http://addons.mozilla.org">addons.mozilla.org</a></p><p>without SNI: 2843</p><p>with SNI: 4085</p><p>```</p><p>```text</p><p><a target="_blank" href="http://download-installer.cdn.mozilla.net">download-installer.cdn.mozilla.net</a></p><p>without SNI: 2646</p><p>with SNI: 4316</p><p>```</p><p>这两个域名的 <code>with SNI</code> 结果均超过 3500,但脚本仍提示:</p><p>```text</p><p>目标域名支持X25519MLKEM768,但是证书的长度不足,忽略ML-DSA-65。</p><p>```</p><p>### 2. 安装失败后 Xray 配置文件疑似损坏</p><p>使用 <code>one-piece.com</code> 作为 Reality 目标域名安装时,脚本在生成 ML-DSA-65 阶段出现:</p><p>```text</p><p>parse error: Expected value before ',' at line 4, column 19</p><p>```</p><p>随后 Xray 启动失败。</p><p>手动执行:</p><p>```bash</p><p>/etc/v2ray-agent/xray/xray -confdir /etc/v2ray-agent/xray/conf</p><p>```</p><p>报错:</p><p>```text</p><p>Failed to start: main: failed to load config files:</p><p>[/etc/v2ray-agent/xray/conf/00_log.json</p><p> /etc/v2ray-agent/xray/conf/02_VLESS_TCP_inbounds.json</p><p> /etc/v2ray-agent/xray/conf/07_VLESS_vision_reality_inbounds.json</p><p> ...]</p><p>&gt; infra/conf/serial: failed to decode config:</p><p>&amp;{Name:/etc/v2ray-agent/xray/conf/02_VLESS_TCP_inbounds.json Format:json}</p><p>&gt; infra/conf/serial: failed to read config file &gt; EOF</p><p>```</p><p>其中关键错误文件是:</p><p>```text</p><p>/etc/v2ray-agent/xray/conf/02_VLESS_TCP_inbounds.json</p><p>```</p><p>表现为 Xray 读取该 JSON 时遇到 EOF,疑似配置文件为空或写入不完整。</p><p>或许可考虑在配置生成失败时避免覆盖原配置,或在启动 Xray 前增加 JSON 完整性检查。</p>
XTLS Vision解决TLS in TLS问题
Xray新协议VLESS Reality,无需域名和配置TLS,八合一脚本搭建
Cloudflare入门教程
mack-a八合一脚本同时配置Cloudflare节点(CDN)和直连节点(Reality、Vision等)
mack-a 一键安装脚本功能介绍
最新评论
头像
<p>## Reality ML-DSA-65 证书长度判断与安装失败问题反馈</p><p>### 1. ML-DSA-65 证书长度判断疑似误取 without SNI 结果</p><p>脚本当前逻辑疑似使用了第一条证书链长度:</p><p>```bash</p><p>xray tls ping "${realityServerName}:${realityDomainPort}" \</p><p> | grep "Certificate chain's total length:" \</p><p> | awk '{print $5}' \</p><p> | head -1</p><p>```</p><p>但 <code>xray tls ping</code> 会同时输出:</p><p>```text</p><p>Pinging without SNI</p><p>Pinging with SNI</p><p>```</p><p>实际 Reality 配置使用的是带 SNI 的 <code>serverName</code>。因此某些域名会被误判为证书长度不足。</p><p>例子:</p><p>```text</p><p><a target="_blank" href="http://addons.mozilla.org">addons.mozilla.org</a></p><p>without SNI: 2843</p><p>with SNI: 4085</p><p>```</p><p>```text</p><p><a target="_blank" href="http://download-installer.cdn.mozilla.net">download-installer.cdn.mozilla.net</a></p><p>without SNI: 2646</p><p>with SNI: 4316</p><p>```</p><p>这两个域名的 <code>with SNI</code> 结果均超过 3500,但脚本仍提示:</p><p>```text</p><p>目标域名支持X25519MLKEM768,但是证书的长度不足,忽略ML-DSA-65。</p><p>```</p><p>### 2. 安装失败后 Xray 配置文件疑似损坏</p><p>使用 <code>one-piece.com</code> 作为 Reality 目标域名安装时,脚本在生成 ML-DSA-65 阶段出现:</p><p>```text</p><p>parse error: Expected value before ',' at line 4, column 19</p><p>```</p><p>随后 Xray 启动失败。</p><p>手动执行:</p><p>```bash</p><p>/etc/v2ray-agent/xray/xray -confdir /etc/v2ray-agent/xray/conf</p><p>```</p><p>报错:</p><p>```text</p><p>Failed to start: main: failed to load config files:</p><p>[/etc/v2ray-agent/xray/conf/00_log.json</p><p> /etc/v2ray-agent/xray/conf/02_VLESS_TCP_inbounds.json</p><p> /etc/v2ray-agent/xray/conf/07_VLESS_vision_reality_inbounds.json</p><p> ...]</p><p>&gt; infra/conf/serial: failed to decode config:</p><p>&amp;{Name:/etc/v2ray-agent/xray/conf/02_VLESS_TCP_inbounds.json Format:json}</p><p>&gt; infra/conf/serial: failed to read config file &gt; EOF</p><p>```</p><p>其中关键错误文件是:</p><p>```text</p><p>/etc/v2ray-agent/xray/conf/02_VLESS_TCP_inbounds.json</p><p>```</p><p>表现为 Xray 读取该 JSON 时遇到 EOF,疑似配置文件为空或写入不完整。</p><p>或许可考虑在配置生成失败时避免覆盖原配置,或在启动 Xray 前增加 JSON 完整性检查。</p>
Ming /
最近发布