Commit graph

1098 commits

Author SHA1 Message Date
Frank Denis
e27419f73d x509.SystemCertPool() may fail 2021-06-03 20:59:05 +02:00
Frank Denis
ddcc40c954 Hardcode Let's Encrypt ISRG X1 cert
Some operating systems don't include it yet.

Thanks to @rs for the heads up
2021-06-03 12:48:33 +02:00
Frank Denis
14ef11447e Pasto, thanks to @lifenjoiner 2021-05-13 10:30:57 +02:00
Frank Denis
6e8628f796 Print an error if a block/allow rule contains more than a pattern
... and it is not a time range.
2021-05-12 17:43:13 +02:00
Frank Denis
31f4d7aa03 Do not ignore ODoH encryption errors 2021-05-09 16:16:38 +02:00
Frank Denis
367b5062ec Add another IP block list 2021-04-30 20:51:22 +02:00
Frank Denis
58e1410e66 Nits 2021-04-17 16:42:18 +02:00
Frank Denis
e2e32406fb Improve ODoH log messages 2021-04-17 16:41:10 +02:00
Christopher Wood
23588733ae
Synchronously update the target configuration upon failure. (#1671)
* Synchronously update the target configuration upon failure.

* Notice a serverInfo failure when key updates fail.

* Add server name to debug logs.
2021-04-17 16:35:55 +02:00
Alison Winters
eda8dd5181
replace TrimFunc(s, IsSpace) with TrimSpace for ASCII optimization (#1663) 2021-04-05 11:46:57 +02:00
Frank Denis
3efbacc0d4 Rename 2021-03-30 11:53:59 +02:00
Christopher Wood
c748f93752 Add ODoH support. (#1653) 2021-03-30 11:53:51 +02:00
Frank Denis
54d85d7298 Filters don't apply to static entries 2021-03-12 20:05:58 +01:00
Frank Denis
b1e96b69fd Save 1.4 MiB of memory 2021-03-08 15:36:42 +01:00
Frank Denis
34909babfb Typo 2021-02-20 19:11:06 +01:00
Frank Denis
c500287498 Rename fallback_resolvers to bootstrap_resolvers
Clarify what they are used for.

Remove the legacy `fallback_resolver`.
2021-02-20 18:50:42 +01:00
Frank Denis
96ba551836 Revert "The source tests are completely brok4n :("
This reverts commit a76ffb0143.
2021-01-22 17:50:01 +01:00
lifenjoiner
a9cf16b33e
Fix: Randomize source URLs (#1593) 2021-01-22 15:06:49 +01:00
Frank Denis
0ab9e30fa9 Merge branch 'master' of github.com:DNSCrypt/dnscrypt-proxy
* 'master' of github.com:DNSCrypt/dnscrypt-proxy:
  The source tests are completely brok4n :(
  Explain how to listen to all IP addresses
  In the query log, consider everything that's not UDP as TCP
2021-01-22 09:16:56 +01:00
Frank Denis
d0f981156b Add the base inherited fd to the application logging fd
Fixes #1585
2021-01-22 09:15:40 +01:00
Frank Denis
a76ffb0143 The source tests are completely brok4n :(
Fix at least the fact that URLs are now randomized
2021-01-21 14:59:34 +01:00
Frank Denis
53c8e25352 Explain how to listen to all IP addresses
Fixes #1588
2021-01-21 14:38:36 +01:00
Frank Denis
ac0b9cdfe8 In the query log, consider everything that's not UDP as TCP
Fixes #1589
2021-01-21 14:35:06 +01:00
Ian Bashford
fcd9225121
Threadsafe update (#1579)
* threadsafe update for relays

* locks around registeredRelays
2021-01-09 22:44:32 +01:00
Frank Denis
85d268f2b9 Randomize source URLs
Fixes #1577
2021-01-04 16:41:39 +01:00
Frank Denis
19dbd13c1b Explain the example allowlist 2021-01-03 18:18:46 +01:00
Frank Denis
daa1f3d3b1 Add a NOT_READY return code 2021-01-03 18:09:03 +01:00
Frank Denis
f9ec0a9c09 Deep copy cached responses 2021-01-03 17:37:19 +01:00
Frank Denis
3a5585f8a1 Remove test leftover 2021-01-03 17:16:04 +01:00
Frank Denis
1f7b247138 Lower severity 2021-01-03 17:00:39 +01:00
Frank Denis
bc42eda1c8 Shorten 2021-01-03 16:58:21 +01:00
Frank Denis
5c3db0dcf5 Try to rely on proxy.serversInfo rather than proxy.registeredServers
With the introduction of background updates, I'm a little bit worried
about race conditions that can happen when a new server or relay is
registered (or even when a stamp changes).
2021-01-03 16:40:38 +01:00
Frank Denis
fbd598f027 Nits 2021-01-03 16:22:23 +01:00
Frank Denis
197f13ea0f Fix typo and update message 2021-01-03 16:00:02 +01:00
Frank Denis
5861a58089 Nits 2021-01-03 14:44:02 +01:00
Frank Denis
7c6f0823ea Doc update 2021-01-03 14:41:23 +01:00
Frank Denis
7b962dff98 Nits 2021-01-03 13:58:08 +01:00
Frank Denis
5a079a3eb9 Resolve: print host info 2021-01-03 13:49:43 +01:00
Frank Denis
1e10251407 Only find the farthest route on wildcards 2021-01-03 13:33:51 +01:00
Frank Denis
0f54b2b34c Automatic relay selection 2021-01-03 13:01:44 +01:00
Frank Denis
79cb9451bd Remove log messages that are not really needed 2021-01-02 22:59:21 +01:00
Frank Denis
662b4c0c62 Make staticcheck happier 2021-01-02 22:55:16 +01:00
Frank Denis
af80f57a58 Increase timeouts on retry 2021-01-02 22:31:47 +01:00
Frank Denis
996ea0dd89 Don't print the whole response 2021-01-02 22:28:00 +01:00
glitsj16
8a9e61d6cd
Fix typo (#1571) 2021-01-02 22:24:11 +01:00
Frank Denis
fc82a6c05e Revamp dnscrypt-proxy -resolve 2021-01-02 22:20:52 +01:00
Frank Denis
a584effbe9 Remove HTTPS record creation 2021-01-02 19:05:18 +01:00
Frank Denis
7ec5ed127e Repair server randomization 2021-01-02 19:04:53 +01:00
Frank Denis
5398dab58e Lower log level 2021-01-02 17:04:59 +01:00
Frank Denis
8f0b38f4c0 Double comments 2021-01-02 15:37:41 +01:00