Closed mzwing closed 1 year ago
使用latest commit,但将adguard public dns改为以HTTP3连接时无问题
version:
config:
log:
使用1.3.1-beta3,连接方式为DoQ时问题相同
使用1.2.7,连接方式为DoQ时正常
version:
config与上面使用quic的一致
log:
日志没有显示问题,如果您的描述属实,则可能是新版 quic-go 存在性能问题,请向他们提出问题。另外,要反馈问题,请提供最小可重现客户端与服务器配置,而不是要求我们提供与商业闭源软件一起使用的支持。
请提供最小可重现客户端与服务器配置
这确实是最小可重现客户端配置,没有服务器配置(因为并没有用到sing-box服务器)
日志没有显示问题
但是我在box-latest-quic.log中的第81行(之后也还有很多类似的报错)中发现了ERROR,如下:
ERROR dns: exchange failed for www.msftconnecttest.com. IN AAAA: INTERNAL_ERROR (local): tls: either ServerName or InsecureSkipVerify must be specified in the tls.Config
而在使用DoH3时并无此问题。
而不是要求我们提供与商业闭源软件一起使用的支持
~(可是DoQ貌似也就那么几家有)~
已追加测试了iQDNS提供的DoQ服务(quic://8.210.68.247),问题完全相同
则可能是新版 quic-go 存在性能问题,请向他们提出问题
我的疑惑是:DoH3连接使用的应该同样是quic呀,为什么DoH3可以正常使用,DoQ就不行呢(至少在我这里观测如此)?
~(还是说我这个难道是个例)~
感谢您的解答!
我测试doh没问题,doq同样的错误。我是自建的doh和doq,没有测试doh3。我也是老版本的测试正常的配置文件在最新1.3不可用。前两个月我配置好了测试成功了配置文件就保存着没动过,然后最新的1.3我测试了下就不成功,我以为我配置文件有问题,重新配置了也是同样的上述的
请提供最小可重现客户端与服务器配置
这确实是最小可重现客户端配置,没有服务器配置(因为并没有用到sing-box服务器)
日志没有显示问题
但是我在box-latest-quic.log中的第81行(之后也还有很多类似的报错)中发现了ERROR,如下:
ERROR dns: exchange failed for www.msftconnecttest.com. IN AAAA: INTERNAL_ERROR (local): tls: either ServerName or InsecureSkipVerify must be specified in the tls.Config
而在使用DoH3时并无此问题。
而不是要求我们提供与商业闭源软件一起使用的支持
~(可是DoQ貌似也就那么几家有)~
已追加测试了iQDNS提供的DoQ服务(quic://8.210.68.247),问题完全相同
则可能是新版 quic-go 存在性能问题,请向他们提出问题
我的疑惑是:DoH3连接使用的应该同样是quic呀,为什么DoH3可以正常使用,DoQ就不行呢(至少在我这里观测如此)?
~(还是说我这个难道是个例)~
感谢您的解答!
我测试doh没问题,doq同样的错误。我是自建的doh和doq,没有测试doh3。我也是老版本的测试正常的配置文件在最新1.3不可用。前两个月我配置好了测试成功了配置文件就保存着没动过,然后最新的1.3我测试了下就不成功,我以为我配置文件有问题,重新配置了也是同样的上述的错误提示。
我测试doh没问题,doq同样的错误。我是自建的doh和doq,没有测试doh3。我也是老版本的测试正常的配置文件在最新1.3不可用。前两个月我配置好了测试成功了配置文件就保存着没动过,然后最新的1.3我测试了下就不成功,我以为我配置文件有问题,重新配置了也是同样的上述的
请提供最小可重现客户端与服务器配置
这确实是最小可重现客户端配置,没有服务器配置(因为并没有用到sing-box服务器)
日志没有显示问题
但是我在box-latest-quic.log中的第81行(之后也还有很多类似的报错)中发现了ERROR,如下:
ERROR dns: exchange failed for www.msftconnecttest.com. IN AAAA: INTERNAL_ERROR (local): tls: either ServerName or InsecureSkipVerify must be specified in the tls.Config
而在使用DoH3时并无此问题。
而不是要求我们提供与商业闭源软件一起使用的支持
~(可是DoQ貌似也就那么几家有)~
已追加测试了iQDNS提供的DoQ服务(quic://8.210.68.247),问题完全相同
则可能是新版 quic-go 存在性能问题,请向他们提出问题
我的疑惑是:DoH3连接使用的应该同样是quic呀,为什么DoH3可以正常使用,DoQ就不行呢(至少在我这里观测如此)?
~(还是说我这个难道是个例)~
感谢您的解答!
我测试doh没问题,doq同样的错误。我是自建的doh和doq,没有测试doh3。我也是老版本的测试正常的配置文件在最新1.3不可用。前两个月我配置好了测试成功了配置文件就保存着没动过,然后最新的1.3我测试了下就不成功,我以为我配置文件有问题,重新配置了也是同样的上述的错误提示。
我后面追加测试了xray,xray的最新版本也有同样的问题。也许真的是新版quic-go有性能问题吧。
Welcome
Description of the problem
sing-box Version 1.3之后的DNS over QUIC似乎存在问题,速度比1.2.7慢很多,并且https站点都受影响。
影响具体表现为:开启了HSTS的网站无法访问,部分以https连接的网站会先跳转到http再跳转回https(如下文的baidu),部分以https连接的网站会先跳转为http然后显示
连接已重置
错误(如下文的qq)测试所用网站为https://www.baidu.com和https://www.qq.com,浏览器为
Microsoft Edge 114.0.1823.82
,系统为Windows 11
同样配置在sing-box 1.2.7中无问题
Version of sing-box
Server and client configuration file
Server and client log file