AdguardTeam / DnsLibs

DNS filtering library that's used in AdGuard products
https://adguard.com/
Apache License 2.0
99 stars 20 forks source link

Support doq-i04 and newer #145

Closed sfionov closed 2 years ago

sfionov commented 2 years ago

doq-i04 introduces changes in stream format - includes length field.

Currently we send ALPNs: doq-i02, doq-i00, doq, dq.

We may add doq-i04 - doq-i11 there, but if selected ALPN is doq-i04+, or doq (and port is not 754 and 8853), then switch to new stream format.

https://datatracker.ietf.org/doc/draft-ietf-dprive-dnsoquic/10/