smartdns icon indicating copy to clipboard operation
smartdns copied to clipboard

OpenSSL 3.2.0 发布,支持 QUIC 了

Open LisonFan opened this issue 2 years ago • 20 comments

https://www.openssl.org/blog/blog/2023/11/23/OpenSSL32/

Client-side QUIC support, including support for multiple streams (RFC 9000)

@pymumu

LisonFan avatar Nov 26 '23 07:11 LisonFan

OpenSSL 3.2.0 不是重启支持的版本,貌似openwrt官方不会采用!

zxlhhyccc avatar Nov 26 '23 08:11 zxlhhyccc

现在有多少DOQ服务可用?

pymumu avatar Dec 09 '23 14:12 pymumu

@pymumu : 现在有多少DOQ服务可用?

大陆有阿里(dns.alidns.com)支持 DoQDoH3

大陆以外见:https://adguard-dns.io/kb/zh-CN/general/dns-providers/#adguard-dns

LisonFan avatar Dec 09 '23 14:12 LisonFan

简单修改了一下,quic分支,用adguard的DOQ能出结果,但时延太大。 阿里的没有任何结果,完成握手后,似乎就没有任何响应了,不清楚是openssl的问题,还是smartdns集成quic的方式有问题。

pymumu avatar Dec 10 '23 08:12 pymumu

简单修改了一下,quic分支,用adguard的DOQ能出结果,但时延太大。 阿里的没有任何结果,完成握手后,似乎就没有任何响应了,不清楚是openssl的问题,还是smartdns集成quic的方式有问题。

阿里dns的quic是釆用非标准的quic,这个我已经问过他们开发者

而且阿里dns的quic和h3的功能是内测的,(也就是说采用了非标准的协议)

是我叫阿里dns搞quic和h3的😂(国内第一家)

Potterli20 avatar Dec 10 '23 08:12 Potterli20

简单修改了一下,quic分支,用adguard的DOQ能出结果,但时延太大。 阿里的没有任何结果,完成握手后,似乎就没有任何响应了,不清楚是openssl的问题,还是smartdns集成quic的方式有问题。

阿里dns的quic是釆用非标准的quic,这个我已经问过他们开发者

而且阿里dns的quic和h3的功能是内测的,(也就是说采用了非标准的协议)

是我叫阿里dns搞quic和h3的😂(国内第一家)

阿里 DNS 对新技术支持确实很及时,当年和他们反馈有关 RFC 8484 的支持,3 天就加上了

image

LisonFan avatar Dec 10 '23 09:12 LisonFan

简单修改了一下,quic分支,用adguard的DOQ能出结果,但时延太大。 阿里的没有任何结果,完成握手后,似乎就没有任何响应了,不清楚是openssl的问题,还是smartdns集成quic的方式有问题。

使用这个工具(https://github.com/ameshkov/dnslookup)是能正常获取 response image

LisonFan avatar Dec 10 '23 09:12 LisonFan

简单修改了一下,quic分支,用adguard的DOQ能出结果,但时延太大。 阿里的没有任何结果,完成握手后,似乎就没有任何响应了,不清楚是openssl的问题,还是smartdns集成quic的方式有问题。

阿里dns的quic是釆用非标准的quic,这个我已经问过他们开发者

而且阿里dns的quic和h3的功能是内测的,(也就是说采用了非标准的协议)

是我叫阿里dns搞quic和h3的😂(国内第一家)

阿里 DNS 对新技术支持确实很及时,当年和他们反馈有关 RFC 8484 的支持,3 天就加上了

image

Image_1702199369643.jpg

现在他们公共dns也能http dns解析了

Potterli20 avatar Dec 10 '23 09:12 Potterli20

前段时间我有过一个测试,发现目前 GFW 对 DoQ 几乎没干扰 测试用的 AdGurad 的 DNS (IP 94.140.14.140 94.140.14.141 2a10:50c0::bad1:ff 2a10:50c0::bad2:ff Host unfiltered.adguard-dns.com),DoH 和 DoT 都被干扰了

LisonFan avatar Dec 10 '23 09:12 LisonFan

@pymumu 大佬,我不明白为什么是443? quic应该是853的,还有一个dns over http3应该是443的 Screenshot_2023-12-10-21-32-15-144_com.github.android.jpg

Potterli20 avatar Dec 10 '23 13:12 Potterli20

这里写错了,应该是853

pymumu avatar Dec 10 '23 14:12 pymumu

能否也加上doh3的协议?#1595

Potterli20 avatar Dec 23 '23 04:12 Potterli20

和openssl的开发人员对了一下,目前openssl的quic协议还不支持多流异步接口,要等3.3发布后,才有相关的接口。

所以DOQ的支持也会在3.3版本发布后在开发。

https://github.com/openssl/openssl/discussions/23146

pymumu avatar Jan 03 '24 14:01 pymumu

那3.3.0-dev支持? 我的nginx openssl是用了3.3.0-dev 感觉quic不是完整

Potterli20 avatar Jan 03 '24 14:01 Potterli20

好像openssl.不支持0rtt?

Potterli20 avatar Jan 15 '24 03:01 Potterli20

https://github.com/mokeyish/smartdns-rs/tree/main

支持 UDP、TCP、DoT、DoQ、DoH 和 DoH3 查询及服务

masx200 avatar Mar 27 '24 11:03 masx200

https://github.com/curl/curl/discussions/12425#discussioncomment-8980852

根据 curl 的回复,目前 curl 中 openssl 的 quic 支持存在上传时 CPU 100% 的情况,所以 curl 标记为 experimental.

liudongmiao avatar Apr 08 '24 14:04 liudongmiao

openssl 3.3已更新

Potterli20 avatar Apr 10 '24 07:04 Potterli20

openssl 3.3 已经更新了,啥时候能用上DoQ呢

SeaRat avatar Jul 08 '24 17:07 SeaRat