1. 07 Feb, 2023 2 commits
    • Andrey Meshkov's avatar
      Pull request 243: Fix an issue with processing DNS messages that are split... · 9a749e24
      Andrey Meshkov authored
      Pull request 243: Fix an issue with processing DNS messages that are split into multiple QUIC frames
      
      Merge in DNS/dnsproxy from fix-315-quic-large-packets to master
      
      Fix #315
      
      Squashed commit of the following:
      
      commit 3321494f0af7ed176dcf46ed32932472a20f84a7
      Author: Andrey Meshkov <am@adguard.com>
      Date:   Tue Feb 7 18:37:38 2023 +0300
      
          fix review comments
      
      commit 878f754237ccdf5097300e223cbfd39a0619ba91
      Author: Andrey Meshkov <am@adguard.com>
      Date:   Tue Feb 7 18:24:58 2023 +0300
      
          fix review comments
      
      commit 17e1c51c3d664bc0d20245a41aa0dbca4df878c7
      Author: Andrey Meshkov <am@adguard.com>
      Date:   Tue Feb 7 18:14:17 2023 +0300
      
          Fix an issue with processing DNS messages that are split into multiple QUIC frames
      
          Fix #315
      9a749e24
    • Andrey Meshkov's avatar
      Pull request 242: Fix #314, update quic-go to v0.32.0 · 533058b1
      Andrey Meshkov authored
      Merge in DNS/dnsproxy from fix-314-updquicgo to master
      
      Squashed commit of the following:
      
      commit c7361bb0eb271cb0dfb40dcfe86e1f663429d56a
      Author: Andrey Meshkov <am@adguard.com>
      Date:   Tue Feb 7 00:51:55 2023 +0300
      
          Fix #314, update quic-go to v0.32.0
      533058b1
  2. 06 Feb, 2023 1 commit
    • Eugene Burkov's avatar
      Pull request: 5117 backport dns64 · 5d50fff0
      Eugene Burkov authored
      Merge in DNS/dnsproxy from 5117-backport-dns64 to master
      
      Updates AdguardTeam/AdGuardHome#5117.
      
      Squashed commit of the following:
      
      commit 7fcd7d84
      Author: Eugene Burkov <E.Burkov@AdGuard.COM>
      Date:   Fri Feb 3 15:03:17 2023 +0300
      
          proxy: fix test
      
      commit ec1b3d76
      Author: Eugene Burkov <E.Burkov@AdGuard.COM>
      Date:   Fri Feb 3 14:00:42 2023 +0300
      
          proxy: imp docs
      
      commit eb0b1e3d
      Author: Eugene Burkov <E.Burkov@AdGuard.COM>
      Date:   Thu Feb 2 20:08:40 2023 +0300
      
          proxy: imp and test
      
      commit d4b9133c
      Author: Eugene Burkov <E.Burkov@AdGuard.COM>
      Date:   Thu Feb 2 17:40:56 2023 +0300
      
          proxy: fix race in test
      
      commit ef90bd32
      Author: Eugene Burkov <E.Burkov@AdGuard.COM>
      Date:   Thu Feb 2 15:33:04 2023 +0300
      
          proxy: fit gocyclo into 10, imp logs
      
      commit 0e25eb68
      Author: Eugene Burkov <E.Burkov@AdGuard.COM>
      Date:   Thu Feb 2 14:01:12 2023 +0300
      
          all: imp code, tests
      
      commit a58f2f2a
      Author: Eugene Burkov <E.Burkov@AdGuard.COM>
      Date:   Wed Feb 1 14:35:30 2023 +0300
      
          proxy: fix const name
      
      commit 266095a9
      Author: Eugene Burkov <E.Burkov@AdGuard.COM>
      Date:   Wed Feb 1 14:31:11 2023 +0300
      
          proxy: rm unused, exp const
      
      commit ccafca50
      Author: Eugene Burkov <E.Burkov@AdGuard.COM>
      Date:   Wed Feb 1 13:41:19 2023 +0300
      
          proxy: backport dns64, depr old api
      5d50fff0
  3. 04 Feb, 2023 2 commits
  4. 25 Jan, 2023 1 commit
    • Ainar Garipov's avatar
      Pull request: upd-imp-quic-logs · 98cb8a89
      Ainar Garipov authored
      Updates AdguardTeam/AdGuardHome#5229.
      
      Squashed commit of the following:
      
      commit 7800ec9c8c8dd033103d482803f5540afcdf65df
      Author: Ainar Garipov <A.Garipov@AdGuard.COM>
      Date:   Wed Jan 25 14:33:26 2023 +0300
      
          all: upd deps; imp logging
      98cb8a89
  5. 14 Dec, 2022 1 commit
    • Eugene Burkov's avatar
      Pull request: 5251-close-ups · dc6b8960
      Eugene Burkov authored
      Merge in DNS/dnsproxy from 5251-close-ups to master
      
      Updates AdguardTeam/AdGuardHome#5251.
      
      Squashed commit of the following:
      
      commit c4f01d3ff8f4dd3733124a6545ac3e6aa2e2f457
      Author: Eugene Burkov <E.Burkov@AdGuard.COM>
      Date:   Wed Dec 14 17:57:19 2022 +0300
      
          upstream: enhance filtered errs
      
      commit ce33519d844e2979d554d1001be1680f6299df08
      Merge: 175680b8 0ce51f57
      Author: Eugene Burkov <E.Burkov@AdGuard.COM>
      Date:   Wed Dec 14 13:29:27 2022 +0300
      
          Merge branch 'master' into 5251-close-ups
      
      commit 175680b8
      Author: Eugene Burkov <E.Burkov@AdGuard.COM>
      Date:   Tue Dec 13 15:06:01 2022 +0300
      
          upstream: fix doc
      
      commit 9ecfc0b2
      Author: Eugene Burkov <E.Burkov@AdGuard.COM>
      Date:   Tue Dec 13 14:59:04 2022 +0300
      
          all: imp docs
      
      commit b275d566
      Author: Eugene Burkov <E.Burkov@AdGuard.COM>
      Date:   Tue Dec 13 02:11:13 2022 +0300
      
          upstream: imp dot
      
      commit 0ed84f4c
      Author: Eugene Burkov <E.Burkov@AdGuard.COM>
      Date:   Mon Dec 12 20:40:35 2022 +0300
      
          fastip: fix golangci-lint issues
      
      commit c5ed13b2
      Author: Eugene Burkov <E.Burkov@AdGuard.COM>
      Date:   Mon Dec 12 20:15:45 2022 +0300
      
          all: fix staticcheck issues
      
      commit 6c8b28cc
      Author: Eugene Burkov <E.Burkov@AdGuard.COM>
      Date:   Mon Dec 12 20:05:24 2022 +0300
      
          upstream: imp more
      
      commit e4a2374d
      Author: Eugene Burkov <E.Burkov@AdGuard.COM>
      Date:   Mon Dec 12 19:01:57 2022 +0300
      
          upstream: upd golibs, imp code
      
      commit cae16109
      Author: Eugene Burkov <E.Burkov@AdGuard.COM>
      Date:   Mon Dec 12 16:27:21 2022 +0300
      
          upstream: filter dot errs
      
      commit 51005abc
      Author: Eugene Burkov <E.Burkov@AdGuard.COM>
      Date:   Mon Dec 12 14:10:23 2022 +0300
      
          upstream: use sync pool
      
      commit 81e907c5
      Author: Eugene Burkov <E.Burkov@AdGuard.COM>
      Date:   Sat Dec 10 03:37:21 2022 +0300
      
          upstream: imp dot
      dc6b8960
  6. 13 Dec, 2022 1 commit
    • Ainar Garipov's avatar
      Pull request: mv-fastip-to-netip-addr · 0ce51f57
      Ainar Garipov authored
      Merge in DNS/dnsproxy from mv-fastip-to-netip-addr to master
      
      Squashed commit of the following:
      
      commit e74715a22505e3e192e7d021c34ede802926bf23
      Author: Ainar Garipov <A.Garipov@AdGuard.COM>
      Date:   Tue Dec 13 18:02:35 2022 +0300
      
          fastip: imp docs, tests
      
      commit 31fe75affae136d9a3d45a2fc27dc3cda5cdba83
      Author: Ainar Garipov <A.Garipov@AdGuard.COM>
      Date:   Tue Dec 13 17:46:09 2022 +0300
      
          fastip: mv to netip.Addr
      0ce51f57
  7. 09 Dec, 2022 1 commit
    • Ainar Garipov's avatar
      Pull request: 5248-imp-cache · f096b3d0
      Ainar Garipov authored
      Updates AdguardTeam/AdGuardHome#5248.
      
      Squashed commit of the following:
      
      commit 46255f5220ea71e67dd87c5f2cfec6f9d5c6add3
      Author: Ainar Garipov <A.Garipov@AdGuard.COM>
      Date:   Fri Dec 9 18:12:48 2022 +0300
      
          proxy: imp logs
      
      commit 6bc8867acf12847b1e6f316c6a6e85e54aedadb9
      Author: Ainar Garipov <A.Garipov@AdGuard.COM>
      Date:   Fri Dec 9 17:35:20 2022 +0300
      
          all: upd go; imp logs; typos
      
      commit b3c86258688658aa39fe36d970bcb76264d62567
      Author: Ainar Garipov <A.Garipov@AdGuard.COM>
      Date:   Fri Dec 9 16:10:36 2022 +0300
      
          proxy: imp cache locking
      f096b3d0
  8. 07 Dec, 2022 1 commit
  9. 02 Dec, 2022 1 commit
    • Ainar Garipov's avatar
      Pull request: 5190-fix-panic · 6d9de39a
      Ainar Garipov authored
      Updates AdguardTeam/AdGuardHome#4695.
      Updates AdguardTeam/AdGuardHome#5190.
      
      Squashed commit of the following:
      
      commit 881fbc00e038ec30a9bf52f53a590e38687a399a
      Author: Ainar Garipov <A.Garipov@AdGuard.COM>
      Date:   Fri Dec 2 15:28:47 2022 +0300
      
          proxy: fix panic
      6d9de39a
  10. 01 Dec, 2022 1 commit
    • Ainar Garipov's avatar
      Pull request: 5190-clear-cache · 7aa32dbb
      Ainar Garipov authored
      Updates AdguardTeam/AdGuardHome#4695.
      Updates AdguardTeam/AdGuardHome#5190.
      
      Squashed commit of the following:
      
      commit 535edd8a496c74f3fb5e98b3debb684ebfc70820
      Author: Ainar Garipov <A.Garipov@AdGuard.COM>
      Date:   Thu Dec 1 18:23:15 2022 +0300
      
          proxy: use mutexes better
      
      commit fe301f47c67a2b9e31b7653b9acac9647dcad568
      Author: Ainar Garipov <A.Garipov@AdGuard.COM>
      Date:   Thu Dec 1 18:11:59 2022 +0300
      
          proxy: add cache clear api
      7aa32dbb
  11. 17 Nov, 2022 1 commit
    • Andrey Meshkov's avatar
      Pull request: update quic-go to v0.31.0 · 6c17cd9d
      Andrey Meshkov authored
      Merge in DNS/dnsproxy from upd_quicgo_31 to master
      
      Squashed commit of the following:
      
      commit 6a2e168e5de765a4ae372f7bf1d59de3a6cb1085
      Author: Andrey Meshkov <am@adguard.com>
      Date:   Thu Nov 17 10:59:48 2022 +0300
      
          update quic-go to v0.31.0
      6c17cd9d
  12. 08 Nov, 2022 1 commit
    • Andrey Meshkov's avatar
      Pull request: Added an option to expose pprof info · fd186857
      Andrey Meshkov authored
      Merge in DNS/dnsproxy from pprof to master
      
      Squashed commit of the following:
      
      commit cd92926cc1f18c06213672d81ea41d96b96770db
      Author: Andrey Meshkov <am@adguard.com>
      Date:   Tue Nov 8 12:00:54 2022 +0300
      
          fix review comments
      
      commit 0d85fb9a
      Author: Andrey Meshkov <am@adguard.com>
      Date:   Sun Nov 6 18:19:25 2022 +0300
      
          Added an option to expose pprof info
      
          Users can now specify the --prof flag to make dnsproxy expose
          pprof info to localhost:6060.
      
          Updates #285
      fd186857
  13. 25 Oct, 2022 1 commit
    • Eugene Burkov's avatar
      Pull request: close-upstream-conf · ad02cded
      Eugene Burkov authored
      Merge in DNS/dnsproxy from close-upstream-conf to master
      
      Squashed commit of the following:
      
      commit 69175c34643cb8e55e97bb0c2a56746730ff2c97
      Author: Eugene Burkov <E.Burkov@AdGuard.COM>
      Date:   Tue Oct 25 17:23:12 2022 +0300
      
          proxy: add todo
      
      commit d5d1996fecbd65ea109af3af7c2b913fd2248afd
      Author: Eugene Burkov <E.Burkov@AdGuard.COM>
      Date:   Tue Oct 25 17:06:59 2022 +0300
      
          proxy: fix docs
      
      commit d8156796c944b01633a635194c3fe52896361985
      Author: Eugene Burkov <E.Burkov@AdGuard.COM>
      Date:   Tue Oct 25 17:05:04 2022 +0300
      
          proxy: close upstream conf beter
      ad02cded
  14. 24 Oct, 2022 1 commit
    • Andrey Meshkov's avatar
      Pull request: Add unit-tests checking that 0-RTT is used for QUIC connections · cc4140d3
      Andrey Meshkov authored
      Merge in DNS/dnsproxy from fix-236 to master
      
      Squashed commit of the following:
      
      commit 0a10e29305272baf478cf0e6c7626fbe23ab7f14
      Author: Andrey Meshkov <am@adguard.com>
      Date:   Mon Oct 24 10:37:28 2022 +0300
      
          fix review comments
      
      commit 67e35bd56f6e91050cac3f643d44ff21c3c0eec4
      Author: Andrey Meshkov <am@adguard.com>
      Date:   Mon Oct 24 10:10:02 2022 +0300
      
          fix review comments
      
      commit f5ca4b40
      Author: Andrey Meshkov <am@adguard.com>
      Date:   Sun Oct 23 20:41:44 2022 +0300
      
          Add unit-tests checking that 0-RTT is used for QUIC connections
      
          This test utilizes quic-go's logging.Tracer to record detailed information
          about QUIC connections and check that 0-RTT packets are being when the upstream
          reconnects to the server.
      
          Closes #236
      cc4140d3
  15. 20 Oct, 2022 2 commits
    • Andrey Meshkov's avatar
      Pull request: Fix some unit tests · 1d45bb99
      Andrey Meshkov authored
      Merge in DNS/dnsproxy from fix-unit-tests to master
      
      Squashed commit of the following:
      
      commit 1f287f124348739d946b270988750f7250a9a1ee
      Author: Andrey Meshkov <am@adguard.com>
      Date:   Thu Oct 20 14:56:08 2022 +0300
      
          run linter in a separate stage
      
      commit 520743c54abd525b2175e589d055f02cff4bb173
      Author: Andrey Meshkov <am@adguard.com>
      Date:   Thu Oct 20 14:49:02 2022 +0300
      
          fix review comments
      
      commit 9ebafc2821ecfe114d1ddadc85019f95d89e6cc1
      Author: Andrey Meshkov <am@adguard.com>
      Date:   Thu Oct 20 14:29:26 2022 +0300
      
          fix review comments and fix flaky TestHttpsProxyTrustedProxies
      
      commit 0ae8960b8e2181da5cc41dca28290c268dbf64ee
      Author: Andrey Meshkov <am@adguard.com>
      Date:   Thu Oct 20 14:05:49 2022 +0300
      
          stabilize bootstrap timeout test on GH actions
      
      commit e30c4c7989495e92edeebf098fc729dd151582da
      Author: Andrey Meshkov <am@adguard.com>
      Date:   Thu Oct 20 13:57:27 2022 +0300
      
          added a comment about rootCAs
      
      commit 60a8c02e8b93c7034f48b3e348837a0d225d4ab8
      Merge: 99a3986 515fec8d
      Author: Andrey Meshkov <am@adguard.com>
      Date:   Thu Oct 20 13:56:05 2022 +0300
      
          upstream: refactor unit-tests
      
      commit 99a3986969b81aa9b10320937ea719f5a274eec1
      Author: Andrey Meshkov <am@adguard.com>
      Date:   Thu Oct 20 12:32:52 2022 +0300
      
          upstream: refactor upstream plain/dot unit-tests
      
      commit 84a7f30ef69020099be6247a466491c3e36cd7ec
      Author: Andrey Meshkov <am@adguard.com>
      Date:   Thu Oct 20 11:00:32 2022 +0300
      
          upstream: yet another attempt to fix races
      1d45bb99
    • Andrey Meshkov's avatar
      Pull request: upstream: yet another attempt to fix races · 515fec8d
      Andrey Meshkov authored
      Merge in DNS/dnsproxy from fix-doh3-races to master
      
      Squashed commit of the following:
      
      commit 9b1f2b2b768041dd315a2ff49e3658e4574124ee
      Author: Andrey Meshkov <am@adguard.com>
      Date:   Thu Oct 20 13:22:44 2022 +0300
      
          fix review comments
      
      commit b2e11d956760847cb4e89dd904a1212da7846737
      Author: Andrey Meshkov <am@adguard.com>
      Date:   Thu Oct 20 12:50:58 2022 +0300
      
          fix review comments
      
      commit 84a7f30ef69020099be6247a466491c3e36cd7ec
      Author: Andrey Meshkov <am@adguard.com>
      Date:   Thu Oct 20 11:00:32 2022 +0300
      
          upstream: yet another attempt to fix races
      515fec8d
  16. 19 Oct, 2022 3 commits
    • Andrey Meshkov's avatar
      Pull request: proxy: added a test that checks http version · 0357af0b
      Andrey Meshkov authored
      Merge in DNS/dnsproxy from doh2-test to master
      
      Squashed commit of the following:
      
      commit 1a88d2cea11fe9cf905a1a5d983bc58d4d7b2bac
      Author: Andrey Meshkov <am@adguard.com>
      Date:   Wed Oct 19 18:23:21 2022 +0300
      
          proxy: added a test that checks http version
      0357af0b
    • Andrey Meshkov's avatar
      Pull request: handle races in quic-go · 8dfa8139
      Andrey Meshkov authored
      Merge in DNS/dnsproxy from hello-races to master
      
      Squashed commit of the following:
      
      commit 759896e4d9fc3f34511ce5cc6d85dd0afb078751
      Author: Andrey Meshkov <am@adguard.com>
      Date:   Wed Oct 19 15:44:15 2022 +0300
      
          handle races in quic-go
      8dfa8139
    • Andrey Meshkov's avatar
      Pull request: Fix #283: handle more edge cases for DoH3 retries · c76fa430
      Andrey Meshkov authored
      Merge in DNS/dnsproxy from fix-283-doh3 to master
      
      Squashed commit of the following:
      
      commit e2437d0fa5b9286b99ec8e7309251a56457c0174
      Author: Andrey Meshkov <am@adguard.com>
      Date:   Wed Oct 19 13:31:46 2022 +0300
      
          added more retry cases for quic
      
      commit 4bf6980b03d41ada6995b8e3d64b71db825aa7c8
      Author: Andrey Meshkov <am@adguard.com>
      Date:   Wed Oct 19 12:38:08 2022 +0300
      
          fix review comments
      
      commit 25c0c94eac1e4c6e5829ead777548f4f3a026a90
      Author: Andrey Meshkov <am@adguard.com>
      Date:   Wed Oct 19 12:15:38 2022 +0300
      
          Fix #283: hanlde more edge cases for DoH3 retries
      c76fa430
  17. 18 Oct, 2022 1 commit
    • Andrey Meshkov's avatar
      Pull request: Upstream now implements io.Closer. · 95ef855f
      Andrey Meshkov authored
      Merge in DNS/dnsproxy from upstream_closer to master
      
      Squashed commit of the following:
      
      commit 3ac92bce
      Author: Andrey Meshkov <am@adguard.com>
      Date:   Mon Oct 17 23:53:22 2022 +0300
      
          fix formatting
      
      commit 3c749a8b
      Author: Andrey Meshkov <am@adguard.com>
      Date:   Mon Oct 17 23:48:04 2022 +0300
      
          Upstream now implements io.Closer.
      
          This is rather important because some of the Upstream implementations
          actually require explicit cleanup.  However, there's a lot of old code
          that is not aware of the fact that Upstream can be cleaned up. In order
          to make the life easier for the authors, I used runtime.SetFinalizer
          where possible to guarantee cleanup.
      95ef855f
  18. 13 Oct, 2022 1 commit
    • Andrey Meshkov's avatar
      Pull request: upd quic-go to v0.29.2 · 571baaf1
      Andrey Meshkov authored
      Merge in DNS/dnsproxy from upg-quic-go to master
      
      Squashed commit of the following:
      
      commit 81350a7d
      Author: Andrey Meshkov <am@adguard.com>
      Date:   Wed Oct 12 23:10:59 2022 +0300
      
          upd quic-go to v0.29.2
      571baaf1
  19. 10 Oct, 2022 1 commit
    • Eugene Burkov's avatar
      Pull request: 4942 cache poisoning · cff45631
      Eugene Burkov authored
      Merge in DNS/dnsproxy from 4942-cache-poisoning to master
      
      Updates AdguardTeam/AdGuardHome#4942.
      
      Squashed commit of the following:
      
      commit 32f384d2970925242322cd35e03c3bb8d249bcce
      Author: Eugene Burkov <E.Burkov@AdGuard.COM>
      Date:   Mon Oct 10 19:54:36 2022 +0300
      
          proxy: fix docs
      
      commit 8d00f83c663a46cfd82064ac6e9730b5f2b6ee41
      Author: Eugene Burkov <E.Burkov@AdGuard.COM>
      Date:   Mon Oct 10 18:50:47 2022 +0300
      
          proxy: imp doc
      
      commit 673eb9851e2d2ed57fcbd97c51e69fc212b21c8f
      Author: Eugene Burkov <E.Burkov@AdGuard.COM>
      Date:   Mon Oct 10 18:06:22 2022 +0300
      
          proxy: imp more
      
      commit f8279030e293ba6c3aa7c1bf65ebf111fa7d387b
      Author: Eugene Burkov <E.Burkov@AdGuard.COM>
      Date:   Mon Oct 10 17:18:58 2022 +0300
      
          proxy: imp cyclo, docs
      
      commit e8ca674ddb4574d330aace2f5cb3f3d225020441
      Author: Eugene Burkov <E.Burkov@AdGuard.COM>
      Date:   Mon Oct 10 16:21:24 2022 +0300
      
          proxy: imp code
      
      commit 8e6f4eb5e873eb12725098266dd25269d3e04d8e
      Author: Eugene Burkov <E.Burkov@AdGuard.COM>
      Date:   Mon Oct 10 15:56:38 2022 +0300
      
          proxy: ignore cd
      
      commit c8b5d1a3c0d101b94bdfc6253bd19d9f17d724fb
      Author: Eugene Burkov <E.Burkov@AdGuard.COM>
      Date:   Fri Oct 7 12:51:46 2022 +0300
      
          proxy: cache servfails
      cff45631
  20. 30 Sep, 2022 1 commit
    • Andrey Meshkov's avatar
      Pull request: proxy: return ServeHTTP to the Proxy instance · 1250a0b7
      Andrey Meshkov authored
      Merge in DNS/dnsproxy from fix-serve-http to master
      
      Squashed commit of the following:
      
      commit 901fe43e51c1854f43bcb5034e488e2f560a3d67
      Author: Andrey Meshkov <am@adguard.com>
      Date:   Fri Sep 30 16:02:30 2022 +0300
      
          stabilize race test
      
      commit 302b6609658b51bb3f7b45ec1cc79fde41486032
      Author: Andrey Meshkov <am@adguard.com>
      Date:   Fri Sep 30 15:48:00 2022 +0300
      
          improve tests
      
      commit b24c0a05dd9c2f85a94a9c3b21e41a39f28d2a21
      Author: Andrey Meshkov <am@adguard.com>
      Date:   Fri Sep 30 15:41:27 2022 +0300
      
          proxy: return ServeHTTP to the Proxy instance
      1250a0b7
  21. 29 Sep, 2022 1 commit
    • Andrey Meshkov's avatar
      Pull request: Fixed a race condition in the DoH upstream · bde9a138
      Andrey Meshkov authored
      Merge in DNS/dnsproxy from fix-279-doh-race to master
      
      Squashed commit of the following:
      
      commit b036e970fbd8c80d1ed73ddbb6f5b07b880a0107
      Author: Andrey Meshkov <am@adguard.com>
      Date:   Thu Sep 29 15:18:33 2022 +0300
      
          better comment for getQUICConfig
      
      commit 59f22fa37a0ded8f9996717b214a4a27a59a6750
      Author: Andrey Meshkov <am@adguard.com>
      Date:   Thu Sep 29 15:13:30 2022 +0300
      
          fix build with go1.18
      
      commit 8bc66ad87db06314981ed3eae2d7703a8370d74b
      Author: Andrey Meshkov <am@adguard.com>
      Date:   Thu Sep 29 15:02:08 2022 +0300
      
          Add a test that specifically covers #279, fixed one more race
      
      commit de0dfe9d9d707dbc1301bf12850e753bb226b76e
      Author: Andrey Meshkov <am@adguard.com>
      Date:   Thu Sep 29 10:18:56 2022 +0300
      
          Fixed a race condition in the DoH upstream
      
          Also, added a test for races in DoH and DoQ upstreams.
          We should also add it in other DNS implementations but only
          after the tests there made to not depend on external services.
      
          Closes #279
      bde9a138
  22. 22 Sep, 2022 1 commit
    • Andrey Meshkov's avatar
      Pull request: upstream: enable 0-RTT for DoH3, fix #273 · 29e83b15
      Andrey Meshkov authored
      Merge in DNS/dnsproxy from doh3-0rtt to master
      
      Squashed commit of the following:
      
      commit fa70069464535bd712c7872b9dcc90068efe7e11
      Author: Andrey Meshkov <am@adguard.com>
      Date:   Thu Sep 22 13:07:06 2022 +0300
      
          fix review comments
      
      commit 7c6470b4c35d1ab30b7be44995156885cdb98b93
      Author: Andrey Meshkov <am@adguard.com>
      Date:   Thu Sep 22 10:51:19 2022 +0300
      
          upstream: enable 0-RTT for DoH3, fix #273
      29e83b15
  23. 20 Sep, 2022 1 commit
    • Andrey Meshkov's avatar
      Pull request: proxy: added HTTP/3 support to the DNS-over-HTTPS server implementation · a03a56c8
      Andrey Meshkov authored
      Merge in DNS/dnsproxy from doh3server to master
      
      Squashed commit of the following:
      
      commit dd7f6ecb0264afd16ee6fcd47ff7bafe06797645
      Author: Andrey Meshkov <am@adguard.com>
      Date:   Tue Sep 20 14:17:51 2022 +0300
      
          upstream: fix review comments
      
      commit 3b887f614163f4900f75807c990ad2a5d354d3b5
      Author: Andrey Meshkov <am@adguard.com>
      Date:   Tue Sep 20 00:14:19 2022 +0300
      
          proxy: added address validation logic
      
      commit b29dc3c3b6746ad5be921941904f16ab228b1dab
      Author: Andrey Meshkov <am@adguard.com>
      Date:   Mon Sep 19 23:31:21 2022 +0300
      
          proxy: fix review comments, general improvements
      
      commit 79f47f54adcd30a68a9f7bc0111025ae0a32d99d
      Author: Andrey Meshkov <am@adguard.com>
      Date:   Mon Sep 19 20:43:26 2022 +0300
      
          upstream: several improvements in DoH3 and DoQ upstreams
      
          The previous implementation weren't able to properly handle a situation when the
          server was restarted. This commit greatly improves the overall stability.
      
      commit 59cf92b6097d78acf6f088057134888993f7ca43
      Author: Andrey Meshkov <am@adguard.com>
      Date:   Sat Sep 17 02:51:40 2022 +0300
      
          proxy: remoteAddr for DoH depends on HTTP version now
      
      commit 804ddedd2807870b7d36dae5ce9857de3a7f7286
      Author: Andrey Meshkov <am@adguard.com>
      Date:   Sat Sep 17 01:53:32 2022 +0300
      
          proxy: added HTTP/3 support to the DNS-over-HTTPS server implementation
          The implementation follows the old approach that was used in dnsproxy, i.e. it
          adds another bunch of "listeners", the new ones are for HTTP/3. HTTP/3 support
          is not enabled by default, it should be enabled explicitly by setting HTTP3
          field of proxy.Config to true.
      
          The "--http3" command-line argument now controls DoH3 support on both the
          client-side and the server-side.
      
          There's one more important change that was made while refactoring the code.
          Previously, we were creating a separate http.Server instance for every listen
          address that's used. It is unclear to me what's the reason for that since a
          single instance can be used to serve on every address. This mistake is fixed
          now.
      a03a56c8
  24. 16 Sep, 2022 1 commit
    • Andrey Meshkov's avatar
      Pull request: Added DoH3 support, added TLS resumption · 823fa92f
      Andrey Meshkov authored
      Merge in DNS/dnsproxy from doh3 to master
      
      Squashed commit of the following:
      
      commit 93dc50875caf2df86ce08f22f5fb74e33b7b5ac0
      Author: Andrey Meshkov <am@adguard.com>
      Date:   Fri Sep 16 18:33:38 2022 +0300
      
          fix review comments
      
      commit d19fd61eb69f31c94a9374396cbbefeb566a2163
      Author: Andrey Meshkov <am@adguard.com>
      Date:   Fri Sep 16 17:28:21 2022 +0300
      
          upstream: added comments, minor fixes
      
      commit 9e4bf71275e9d1d3bc1cd72e27812548e8158402
      Author: Andrey Meshkov <am@adguard.com>
      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 1dd831b0
      Author: Andrey Meshkov <am@adguard.com>
      Date:   Fri Sep 16 12:05:34 2022 +0300
      
          Merge branch 'justus-forks-doq-0rtt' into doh3
      
      commit 1145771f7621be5778cf14b47ccfb4aa20d07c81
      Author: Andrey Meshkov <am@adguard.com>
      Date:   Fri Sep 16 11:45:42 2022 +0300
      
          upstream: initial attempt to add a DOH3 upstream
      823fa92f
  25. 14 Sep, 2022 3 commits
  26. 12 Sep, 2022 3 commits
  27. 30 Aug, 2022 1 commit
    • Ainar Garipov's avatar
      Pull request: upd-deps · f89e1bb9
      Ainar Garipov authored
      Merge in DNS/dnsproxy from upd-deps to master
      
      Squashed commit of the following:
      
      commit a0658ad5479a6b60185ab99be33c76814e1898e0
      Author: Ainar Garipov <A.Garipov@AdGuard.COM>
      Date:   Tue Aug 30 17:03:25 2022 +0300
      
          all: upd deps, enable go 1.19 building
      f89e1bb9
  28. 18 Aug, 2022 4 commits
    • Eugene Burkov's avatar
      Pull request: Fix GitHub specs · 2193a719
      Eugene Burkov authored
      Merge in DNS/dnsproxy from fix-gh-specs to master
      
      Squashed commit of the following:
      
      commit bee7eaa871b8d0b8a4fe3f64c5930303a68e87e0
      Author: Eugene Burkov <E.Burkov@AdGuard.COM>
      Date:   Thu Aug 18 19:20:30 2022 +0300
      
          all: fix gh specs
      2193a719
    • Eugene Burkov's avatar
      Pull request: Update specs · 2d9ef2be
      Eugene Burkov authored
      Merge in DNS/dnsproxy from fix-specs to master
      
      Squashed commit of the following:
      
      commit 1cd4f165aed73d22c7643af398eb44ce39314736
      Author: Eugene Burkov <E.Burkov@AdGuard.COM>
      Date:   Thu Aug 18 19:01:54 2022 +0300
      
          all: use task env vars
      
      commit 8f98ececa3f6f5a4ef3d4e92ce01f6d38ab31403
      Author: Eugene Burkov <E.Burkov@AdGuard.COM>
      Date:   Thu Aug 18 18:50:09 2022 +0300
      
          all: upd golangci-lint version
      
      commit 835234b3afd5752abb0d0f338d64e171a6149777
      Author: Eugene Burkov <E.Burkov@AdGuard.COM>
      Date:   Thu Aug 18 18:25:13 2022 +0300
      
          all: upd specs
      2d9ef2be
    • Eugene Burkov's avatar
      Pull request: Fix min go version · fc105c02
      Eugene Burkov authored
      Merge in DNS/dnsproxy from fix-readme to master
      
      Squashed commit of the following:
      
      commit ebf3dcaf799d6eaf39b4adac1e9c087167be9a39
      Author: Eugene Burkov <E.Burkov@AdGuard.COM>
      Date:   Thu Aug 18 17:39:17 2022 +0300
      
          all: fix min go version
      fc105c02
    • Eugene Burkov's avatar
      Pull request: upd go, quic-go · 01d4e7cc
      Eugene Burkov authored
      Merge in DNS/dnsproxy from upd-quic-go to master
      
      Squashed commit of the following:
      
      commit cdca9547542f40dff4e8aa3c146ece84a9598ced
      Author: Eugene Burkov <E.Burkov@AdGuard.COM>
      Date:   Thu Aug 18 16:51:34 2022 +0300
      
          all: upd quic-go
      01d4e7cc