Commit Graph

60 Commits

Author SHA1 Message Date
folbrich
c6824c4028 Support for Lua scripting 2025-04-20 09:55:04 +02:00
dependabot[bot]
63c6fd16c9 Bump github.com/redis/go-redis/v9 from 9.5.1 to 9.5.5 (#442)
Bumps [github.com/redis/go-redis/v9](https://github.com/redis/go-redis) from 9.5.1 to 9.5.5.
- [Release notes](https://github.com/redis/go-redis/releases)
- [Changelog](https://github.com/redis/go-redis/blob/master/CHANGELOG.md)
- [Commits](https://github.com/redis/go-redis/compare/v9.5.1...v9.5.5)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-23 11:44:11 +01:00
dependabot[bot]
85860635ed Bump golang.org/x/net from 0.35.0 to 0.36.0 (#439)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.35.0 to 0.36.0.
- [Commits](https://github.com/golang/net/compare/v0.35.0...v0.36.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>
2025-03-13 08:45:45 +01:00
Frank Olbricht
d078f1cf49 Update golang.org/x/net (#438) 2025-02-16 13:51:09 +01:00
Ali
e51f51e1bc move from logrus to slog (#422)
* Migrate from logrus to slog

* fully removing logrus

* should be working now

* Update pipeline.go

Co-authored-by: Frank Olbricht <frank.olbricht@gmail.com>

* Update response-blocklist-name.go

Co-authored-by: Frank Olbricht <frank.olbricht@gmail.com>

* added null logger

* Update pipeline.go

---------

Co-authored-by: Frank Olbricht <frank.olbricht@gmail.com>
2025-01-13 08:43:30 +01:00
Frank Olbricht
2868dbd615 Re-add support for Oblivious DNS (#426)
* Revert "Remove ODOH due to broken dependency (#425)"

This reverts commit 8eecee85ec.

* switch back to updated version of cloudflare/odoh-go that fixes broken dependencies (#427)

---------

Co-authored-by: Leonard Walter <50204487+LeonardWalter@users.noreply.github.com>
2025-01-13 08:39:34 +01:00
Frank Olbricht
8eecee85ec Remove ODOH due to broken dependency (#425)
* Revert "Fixing problems with cloudflare/odoh-go  (#423)"

This reverts commit eed9ea8911.

* Revert "Support for Oblivious DNS client (#118)"

This reverts commit 72e4730046.
2025-01-11 09:11:37 +01:00
Leonard Walter
eed9ea8911 Fixing problems with cloudflare/odoh-go (#423)
* Update odohclient.go to use sthorne/odoh-go instead of cloudflares broken repo

This is linked to solve issue #421

* Update go.mod to sthorne/odoh-go

* Update go.sum to sthorne/odoh-go
2025-01-01 21:22:17 +09:00
dependabot[bot]
9128917bde Bump github.com/cloudflare/circl from 1.0.0 to 1.3.7 (#420)
Bumps [github.com/cloudflare/circl](https://github.com/cloudflare/circl) from 1.0.0 to 1.3.7.
- [Release notes](https://github.com/cloudflare/circl/releases)
- [Commits](https://github.com/cloudflare/circl/compare/v1.0.0...v1.3.7)

---
updated-dependencies:
- dependency-name: github.com/cloudflare/circl
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-24 09:46:57 +09:00
Frank Olbricht
72e4730046 Support for Oblivious DNS client (#118)
* Support for Oblivious DNS client

* Update to the ODoH client (#418)

* fixing context problem

* Updated the ODoH client

* allowing ODoH client to send queries without a proxy

* added missing code to load pre configured ODoH server config key

* added missing support for ODoH servers not on port 443

* Implemented feedback on ODoH client

---------

Co-authored-by: Leonard Walter <50204487+LeonardWalter@users.noreply.github.com>
2024-12-24 09:39:21 +09:00
dependabot[bot]
a1143e2d08 Bump golang.org/x/crypto from 0.26.0 to 0.31.0 (#417)
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.26.0 to 0.31.0.
- [Commits](https://github.com/golang/crypto/compare/v0.26.0...v0.31.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>
2024-12-12 10:12:55 +09:00
dependabot[bot]
885ba7f0cd Bump github.com/quic-go/quic-go from 0.45.1 to 0.48.2 (#416)
Bumps [github.com/quic-go/quic-go](https://github.com/quic-go/quic-go) from 0.45.1 to 0.48.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.45.1...v0.48.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-12-03 09:53:57 +01:00
Frank Olbricht
88c7e735f9 Upgrade quic-go to v0.45.1 (#399)
* Upgrade quic-go to v0.45.1

* tidy

* return error
2024-08-03 07:57:03 +02:00
xDragonZ
997eacb4fa Update dependencies (#388) 2024-05-07 22:55:16 +02:00
xDragonZ
a9b215761a Update dependencies & quic-go to v0.43.0 (#384) 2024-05-04 09:10:06 +02:00
Charles Porth
73ac50865e go.mod versions bump (#380) 2024-04-23 09:21:18 +02:00
dependabot[bot]
59f50aacb3 Bump golang.org/x/net from 0.17.0 to 0.23.0 (#376)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.17.0 to 0.23.0.
- [Commits](https://github.com/golang/net/compare/v0.17.0...v0.23.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>
2024-04-19 14:28:11 +02:00
dependabot[bot]
ce994dde77 Bump github.com/quic-go/quic-go from 0.38.2 to 0.42.0 (#374)
Bumps [github.com/quic-go/quic-go](https://github.com/quic-go/quic-go) from 0.38.2 to 0.42.0.
- [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.2...v0.42.0)

---
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-04-02 16:29:23 +02:00
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