Commit Graph

17 Commits

Author SHA1 Message Date
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
Frank Olbricht
017544e9f4 Copy queries prior to packing them in resolvers (#290)
* Copy queries prior to packing them in resolvers

* Fix race in quic restart logic

* Remove bad lock
2023-04-01 09:16:55 +02:00
Frank Olbricht
961a297d5a New 'query-timeout' option for resolvers (#295)
* New 'query-timeout' option for resolvers

* docs
2023-03-26 12:04:41 +02:00
SeanBurford
482d40a5db Expvar (#84)
* Add metric tracking

* Clean up metrics structures.

* Add available route metric to router.
2020-09-06 09:55:30 -06:00
Frank Olbricht
896eb3f8c1 Validate resolver addresses during startup (#77)
* Validate resolver addresses during startup

* Validate the port number as well

* Move endpoint validation into the library
2020-08-02 09:57:58 -06:00
Frank Olbricht
f9cb6aab39 Support setting source address of resolvers (#75)
* Support setting source address of resolvers

* Support LocalAddr option in UDP and TCP resolvers

* Support local-address option for DoQ and DoT
2020-07-21 07:12:09 -06:00
Frank Olbricht
94387020af Log query type (#69) 2020-06-22 20:19:36 -06:00
Frank Olbricht
6c59cb1a7c Improve logging (#51)
* Improve logging

* fix test
2020-06-07 13:24:51 -06:00
folbrich
a5ea14c8f3 Add bootstrap IP option to DoT and DoH resolvers 2019-07-28 12:09:19 -06:00
folbrich
5cb1c0b0e2 Add/strip padding according to RFC7830 and RFC8467 2019-07-20 16:02:00 -06:00
folbrich
e0fc21813b Add structured logging and log levels 2019-07-20 09:08:09 -06:00
folbrich
b7011e06bf Add DoT listener with support for mutual-TLS 2019-07-13 17:27:29 -06:00
folbrich
051582fa65 Support CAs and client key/crt in DoT and DoH resolvers 2019-07-13 09:37:29 -06:00
folbrich
b73e663187 Add routing based on client/source IP and more router tests 2019-06-10 19:06:12 -06:00
folbrich
6ecb8f3a96 Implement query timeout for all resolvers 2019-06-07 19:22:06 -06:00
folbrich
48980419a2 Use pipelining for plain tcp/udp DNS connections as well 2019-06-07 18:59:52 -06:00
folbrich
618639569b Initial commit 2019-06-06 19:52:17 -06:00