5 Commits
Author SHA1 Message Date
Ainar Garipov f00d992ce9 Pull request #430: AGDNS-3952-udp-id
Merge in GO/dnsproxy from AGDNS-3952-udp-id to master

Squashed commit of the following:

commit e74206b1c4ad9a82580ab01a774ee1b0350301ca
Author: Ainar Garipov <[email protected]>
Date:   Tue Apr 28 19:43:03 2026 +0300

    upstream: imp code

commit c281d1ad5d85abffde07c87f20b11ff08d5ac8bb
Author: Ainar Garipov <[email protected]>
Date:   Tue Apr 28 17:27:08 2026 +0300

    all: imp code

commit 629588a962aa497d397dba479c6cdc3842dc1f94
Author: Ainar Garipov <[email protected]>
Date:   Tue Apr 28 14:17:51 2026 +0300

    all: set id in udp when unset; go fix
2026-05-04 14:47:19 +00:00
Andrey Meshkov 823fa92f99 Pull request: Added DoH3 support, added TLS resumption
Merge in DNS/dnsproxy from doh3 to master

Squashed commit of the following:

commit 93dc50875caf2df86ce08f22f5fb74e33b7b5ac0
Author: Andrey Meshkov <[email protected]>
Date:   Fri Sep 16 18:33:38 2022 +0300

    fix review comments

commit d19fd61eb69f31c94a9374396cbbefeb566a2163
Author: Andrey Meshkov <[email protected]>
Date:   Fri Sep 16 17:28:21 2022 +0300

    upstream: added comments, minor fixes

commit 9e4bf71275e9d1d3bc1cd72e27812548e8158402
Author: Andrey Meshkov <[email protected]>
Date:   Fri Sep 16 16:59:57 2022 +0300

    upstream: added DoH3 support, added TLS resumption
    The changes are pretty considerable in this PR.

    First of all, DoH3 support has been added to dnsOverHTTPS. I haven't added
    a new type of upstream for that, but added it to the already existing one.
    Configuring supported HTTP versions is possible via upstream.Options. When all
    versions are enabled, it will "probe" both TLS and QUIC and choose the one that
    was faster (just like it's done in Chrome).

    Command-line interface now supports a new argument "http3" that is supposed to
    enable HTTP/3 globally. At this point it will only enable it for upstreams, but
    in the future it will also enable it for the DoH server.

    One more important change here is the introduction of TLS sessions cache. It
    appears that we weren't benefiting from TLS session resumption mechanism at all,
    thank god this is finally fixed.

    Finally, AddressToUpstream now supports "h3://" scheme for those who want to try
    DoH3 for a particular upstream without enabling it globally. The reasoning for
    implementing this custom scheme is the following: currently, only a small share
    of public resolvers fully support DoH3. Users may not want to spend time
    "probing" every upstream for H3.

commit 8c76e435860699a2d5815fc702b7a7e928eba3ed
Merge: 1145771 1dd831b
Author: Andrey Meshkov <[email protected]>
Date:   Fri Sep 16 12:05:34 2022 +0300

    Merge branch 'justus-forks-doq-0rtt' into doh3

commit 1145771f7621be5778cf14b47ccfb4aa20d07c81
Author: Andrey Meshkov <[email protected]>
Date:   Fri Sep 16 11:45:42 2022 +0300

    upstream: initial attempt to add a DOH3 upstream
2022-09-16 18:39:28 +03:00
Ainar Garipov 54ef62c540 Pull request: all: imp err handling, logs
Updates AdguardTeam/AdGuardHome#3929.

Squashed commit of the following:

commit a15fb238d0f48305d52e75b081db370cf4000f8f
Author: Ainar Garipov <[email protected]>
Date:   Fri Dec 24 17:13:05 2021 +0300

    all: imp code, docs

commit a38cbd89b3e8fbfa1de474905495cd45185a0618
Author: Ainar Garipov <[email protected]>
Date:   Fri Dec 24 17:00:34 2021 +0300

    all: imp err handling, logs
2021-12-24 17:18:53 +03:00
Ainar Garipov 2b7ee47362 Pull request: all: upd go, simplify code
Merge in DNS/dnsproxy from upd to master

Squashed commit of the following:

commit 54950780c2bb397111a7aa953e8d8b8b15902359
Author: Ainar Garipov <[email protected]>
Date:   Thu Dec 23 14:38:06 2021 +0300

    upstream: imp code

commit 0ddc6311f6b387b3de93faf739fbbde7cff1f039
Author: Ainar Garipov <[email protected]>
Date:   Wed Dec 22 21:08:13 2021 +0300

    all: upd more

commit cf987ed1228dbf97e0cfb832e79242af81b906d9
Author: Ainar Garipov <[email protected]>
Date:   Wed Dec 22 20:50:01 2021 +0300

    proxy: fmt

commit 31821af78ad83419495841fe6f0abc114151950e
Author: Ainar Garipov <[email protected]>
Date:   Wed Dec 22 20:47:44 2021 +0300

    all: upd go, simplify code
2021-12-23 15:55:12 +03:00
Ainar Garipov d8a08804ae Pull request: * proxy: don't log errors about broken pipes on the info level
Merge in DNS/dnsproxy from 2252-better-logging to master

Squashed commit of the following:

commit dd9e03dcfff9a3389334a1e2960561ff35ed89aa
Author: Ainar Garipov <[email protected]>
Date:   Mon Nov 9 16:41:14 2020 +0300

    * proxy: don't log errors about broken pipes on the info level
2020-11-09 18:22:24 +03:00