Commit Graph

42 Commits

Author SHA1 Message Date
dependabot[bot] 7912089658 Bump github.com/quic-go/quic-go from 0.38.1 to 0.38.2 (#364)
Bumps [github.com/quic-go/quic-go](https://github.com/quic-go/quic-go) from 0.38.1 to 0.38.2.
- [Release notes](https://github.com/quic-go/quic-go/releases)
- [Changelog](https://github.com/quic-go/quic-go/blob/master/Changelog.md)
- [Commits](https://github.com/quic-go/quic-go/compare/v0.38.1...v0.38.2)

---
updated-dependencies:
- dependency-name: github.com/quic-go/quic-go
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-10 16:11:23 +01:00
dependabot[bot] 51bfc7ae6b Bump golang.org/x/crypto from 0.14.0 to 0.17.0 (#363)
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.14.0 to 0.17.0.
- [Commits](https://github.com/golang/crypto/compare/v0.14.0...v0.17.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-19 12:10:29 +09:00
Frank Olbricht 2e0610668b Implement Socks5 support (#317)
* Implement Socks5 support

* Support SOCKS5 for DoT

* Socks5 for DoH

* Return interface, not nil pointer of specific type

* Support resolving DNS server names locally instead of through the proxy

* Resolve IP4 only

* Fix go.mod after rebase

* Support LocalAddr directly in the SOCKS5 dialer

* Update docs for SOCKS5
2023-10-18 09:12:34 +02:00
dependabot[bot] 8bc10583df Bump golang.org/x/net from 0.10.0 to 0.17.0 (#346)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.10.0 to 0.17.0.
- [Commits](https://github.com/golang/net/compare/v0.10.0...v0.17.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-12 09:59:46 +02:00
Frank Olbricht ed132d812f Set ServerName for DoQ TLS validation explicitly (#329) 2023-08-31 08:42:02 +02:00
Frank Olbricht 3d62f19be8 Update quic-go to support building with Go 1.21 (#323) 2023-08-22 08:48:39 +02:00
Frank Olbricht bf8b46213d Implement Redis backend for cache (#315)
* Implement Redis backend for cache

* support reading from redis

* Allow configuring redis username

* support key-prefixes

* support retry options

* update redis
2023-06-08 07:42:28 +02:00
Frank Olbricht 64b22b9875 Revert "Merge pull request #259 from folbricht/issue-153" (#292)
This reverts commit c383a53be6, reversing
changes made to 3cd0d752f5.
2023-03-22 09:37:05 +01:00
Charles Porth c383a53be6 Merge pull request #259 from folbricht/issue-153
Allow blocklist loader to fail on startup
2023-03-05 16:44:03 -06:00
Matt Keenan dcb42ec615 close UDP socket after quic new stream fails (#287)
* close UDP socket after quic new stream fails

  - we need to close the UDP socket after a new quic session fails
    before we attempt to retry with a new connection, this is
    because we created the UDP socket not quic-go, so we have to
    clean up our own mess as quic-go won't clean it up for us
  - remove pool for doq connections as this is now fixed in
    quic-go, c.f. https://github.com/quic-go/quic-go/issues/3718
  - update quic-go version in go.mod
  - WARNING: updated quic-go REQUIRES go 1.19 or newer to compile

* fix various issues with PR

* bump go version to 1.19 because quic-go requires it

---------

Co-authored-by: Matt Keenan <matt@mattkeenan.net>
2023-03-03 11:14:07 +01:00
dependabot[bot] 5eaca423e7 bump golang.org/x/net from 0.5.0 to 0.7.0
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.5.0 to 0.7.0.
- [Release notes](https://github.com/golang/net/releases)
- [Commits](https://github.com/golang/net/compare/v0.5.0...v0.7.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-18 04:18:49 +00:00
Charles Porth b58b9485ff Merge branch 'master' into issue-153 2023-02-16 09:33:21 -06:00
dependabot[bot] a84f7a4c12 Bump github.com/pion/dtls/v2 from 2.1.5 to 2.2.4
Bumps [github.com/pion/dtls/v2](https://github.com/pion/dtls) from 2.1.5 to 2.2.4.
- [Release notes](https://github.com/pion/dtls/releases)
- [Commits](https://github.com/pion/dtls/compare/v2.1.5...v2.2.4)

---
updated-dependencies:
- dependency-name: github.com/pion/dtls/v2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-13 20:54:14 +00:00
tobyxdd d9b91436ef Bump quic-go to 0.32.0 2023-02-01 23:04:43 -08:00
Frank Olbricht 7692a47fc5 Update deps and require Go 1.18 (#272) 2022-12-28 10:50:12 +01:00
Charlie Porth 8a9a91946b Mod tidy && rm vender 2022-09-20 14:12:52 -05:00
Charlie Porth 98640a603d Mod tidy && rm vender 2022-09-20 14:04:28 -05:00
Charlie Porth ea60024544 Added go vendor for whatever reason Goland is requiring this right now until I can figure it out later it will preseist 2022-08-31 23:56:18 -05:00
Toby 5c7c876064 Bump quic-go to 0.28.1 2022-08-06 12:53:31 -07:00
Frank Olbricht 395fcbcedb New element to log queries via syslog (#233)
* New element to log queries via syslog

* Replace syslog library

* fix query type/name order and add id

* option to log responses as well

* Fix log line and add log-request option

* Add query ID and answer numbers

* Fix format strings

* Synthesize NODATA state

* Add qtype to failed or empty responses

* Add docs

* Verbose option to log response types that weren't queries
2022-05-20 13:50:37 +02:00
Frank Olbricht ab1ca2b657 Update dependencies (#232) 2022-04-10 20:00:42 +02:00
Charles Porth ef33b6bfbc Cobra made major lighter changes in 1.4 good idea to update as well 2022-03-16 12:14:40 -05:00
Charles Porth 2371d7c08f Updated libs to fix #218 2022-03-16 12:09:36 -05:00
Frank Olbricht 67a5b59f94 Fix DTLS connection handling (#180)
* Fix DTLS connection handling

* Add test
2021-08-28 12:00:29 -06:00
Frank Olbricht d0a15f423c Fix connection leak when using QUIC (#173)
* Fix connection leak when using QUIC

* Remove override

* go mod tidy
2021-07-30 06:39:31 -06:00
Frank Olbricht d82fd0c82b Update QUIC to support RFC9000 (#163) 2021-06-12 09:52:13 -06:00
Frank Olbricht 5b73acb56b Update dtls to 2.0.9 (#157) 2021-06-01 07:06:47 -06:00
Frank Olbricht e0d8627f8d Update dependencies (#146)
* Update dependencies

* cleanup
2021-05-01 10:57:50 -06:00
Frank Olbricht 7e3a22d8a0 New test for pipeline timeout (#145)
* New test for pipeline timeout

* Correct file
2021-03-27 08:55:25 -06:00
Frank Olbricht f249f4c52a Refactor configuration validation (#117) 2020-12-29 18:19:39 -07:00
folbrich 3f8208d430 Update dependencies 2020-12-19 12:18:22 -07:00
folbrich b43e6e5665 Update dependencies and add example config for DoQ 2020-11-22 09:36:17 -07:00
Frank Olbricht a04d594cb2 Store QUIC server tokens per resolver (#100)
* Store QUIC server tokens per resolver

* Clean up dependencies
2020-11-22 09:19:56 -07:00
Frank Olbricht c0e135b786 Allow 4k responses (#95)
* Allow 4k responses

* Move UDP size config into the client
2020-10-11 08:12:18 -06:00
Frank Olbricht 3a74e694e5 Increase DoH client timeout and update QUIC lib to work with Go 1.15 (#87) 2020-08-22 07:42:29 -06:00
Frank Olbricht 94387020af Log query type (#69) 2020-06-22 20:19:36 -06:00
Frank Olbricht dcf68f23bb Support for DNS-over-DTLS (#41)
* Support for DNS-over-DTLS

* Update deps
2020-06-05 06:08:36 -06:00
Frank Olbricht 83f05f15f9 Geo-Location blocking (#40)
* Geo-Location blocking

* Support same-line comment and log IP that matches the blocklist

* Add IP to logs when filtering responses as well

* Remove the need for geo blocklist prefix

* Log the query as well when blocking an IP

* Don't eval responses that are not successful

* Also support blocking by Subdivision ID
2020-06-04 17:31:50 -06:00
Frank Olbricht 44ca188d38 DoH with QUIC (#34)
* DoH with QUIC

* DoH with QUIC listener
2020-05-25 16:16:39 -06:00
Frank Olbricht 6028ffd1a6 Support DNS-over-QUIC (#30)
* Support DNS-over-QUIC

* Update deps

* Align more closely with the latest draft

* Fail on TCP KEEPALIVE EDNS0 as per spec
2020-05-24 08:16:14 -06:00
folbrich b110866b9d Don't fail on bad/unparsable responses, return them and warn instead 2019-10-14 16:05:56 -06:00
folbrich ea0e73bb87 Create go.{mod,sum} 2019-07-20 10:14:23 -06:00