[X] I confirm that I have read the documentation, understand the meaning of all the configuration items I wrote, and did not pile up seemingly useful options or default values.
[X] I confirm that I have provided the server and client configuration files and process that can be reproduced locally, instead of a complicated client configuration file that has been stripped of sensitive data.
[X] I confirm that I have provided the simplest configuration that can be used to reproduce the error I reported, instead of depending on remote servers, TUN, graphical interface clients, or other closed-source software.
[X] I confirm that I have provided the complete configuration files and logs, rather than just providing parts I think are useful out of confidence in my own intelligence.
Operating system
Linux
System version
Debian 12
Installation type
Original sing-box Command Line
If you are using a graphical client, please provide the version of the client.
No response
Version
Description
构建由Caddy进行SNI分流的vless+vision+reality协议组合,经xray-core原生环境验证可用。
后将xray-core替换为sing-box并转制配置文件(见Reproduction部分),代理功能无法达成。sing-box日志报错为
REALITY: processed invalid connection
。p.s. 在自排查时,我注意到xray-core会要求此组合下xver=0,但我并没有在sing-box中配置它。
Reproduction
sing-box(服务端)配置如下:
作为对照组经xray-core和caddy(已包含所需l4等插件)验证可完成代理的配置如下:
caddy配置文件
它负责反代我的网站(8080端口,网址是sub.mydomain.com)并生成证书,同时处理xray(5443端口)的分流。这部分在替换sing-box时并没有改变:
服务端xray-core配置文件
Logs
替换后SBA重复出现以下报错
Supporter
Integrity requirements