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
Frank Denis
9f5c034c3d
Add staticcheck.conf
2021-01-02 15:36:30 +01:00
Frank Denis
ee5711fbd6
Disable captive portals by default
2021-01-02 15:22:58 +01:00
Frank Denis
56acb7b5ab
Log when the ECS plugin is enabled
2021-01-02 15:10:30 +01:00
Frank Denis
a713e1a517
Move captive portals config to a dedicated section
...
Add examples
2021-01-02 15:10:04 +01:00
Frank Denis
3b18058ae5
Add IPv6 cleanbrowsing servers
2021-01-02 12:53:10 +01:00
Ian Bashford
5b8c9c495f
register servers after loading statics ( #1568 )
2021-01-02 11:57:18 +01:00
Frank Denis
b8d17debfd
Remove final stops from errors
2021-01-02 11:16:12 +01:00
Frank Denis
2cdafa4bb3
Remove debug leftover
2021-01-02 10:24:32 +01:00
Frank Denis
f245189f02
Handle captive portal names after coldstart
2021-01-01 21:39:17 +01:00
Ian Bashford
87fb44a588
Run from in memory cache updates ( #1564 )
...
* ConfigFile change to allowlist and blocklist
* revised names and warnings
* consistent file naming in kebab case, and generic use of blocklist and allowlist in cmoments for clarity
* update ci files
* impose maximum delay and document
* live update of servers
* update for source prefixes
* fixup test
* stop registerServers being called twice at startup
* prevent double registration at startup
* tidy function signature for loadSource
Co-authored-by: Ian Bashford <ianbashford@gmail.com>
2021-01-01 14:04:12 +01:00
Frank Denis
254a4a6532
Use , not | to match multiples items
...
Fixes #1558
2020-12-26 17:55:31 +01:00
Frank Denis
77f81cc8c2
Add recommendation for fallback resolvers in the example config
...
This is the same recommendation as c4d9860577/dnscrypt-proxy/serversInfo.go (L429-L432)
that has been here for a while as a comment, but having it in the configuration
file gives it more visibility.
2020-12-17 11:10:35 +01:00
Frank Denis
c4d9860577
cloak plugin: return multiple the entire set of IPv4 or IPv6 addresses
...
Fixes #1547
2020-12-17 09:47:44 +01:00
Frank Denis
a8a0677ea9
h1 -> http/1.x
2020-12-17 01:13:11 +01:00
Frank Denis
7d851366bb
Do not only warn if the protocol is empty
2020-12-17 01:08:06 +01:00
Frank Denis
85e7dddc9b
Move a few DNS things to dnsutils
2020-12-12 23:09:15 +01:00
Frank Denis
a24b009667
Filler
2020-12-12 22:35:51 +01:00
Frank Denis
d700ab6085
Nits
2020-12-12 22:19:09 +01:00
Frank Denis
a384011e71
Support relays in static entries
2020-12-12 21:57:04 +01:00
Frank Denis
7f46f4820c
Don't use distinct pointers for UDP and TCP relay addresses
2020-12-12 21:18:32 +01:00
Frank Denis
ab8ebead34
Remove support for {ip|host}[:port] syntax for specifying a relay
...
It's very likely that no one ever used it.
2020-12-12 20:46:40 +01:00
Frank Denis
fc785f9f69
Print details when an unsupported protocol is found
2020-12-11 12:26:05 +01:00
Frank Denis
d6d8c37ef6
Format
2020-12-11 12:25:57 +01:00
Frank Denis
0d260d0e2d
pattern_matcher: check exact matches first
2020-12-07 12:58:05 +01:00
Frank Denis
1239e64cd9
Correctly check for HTTPS type
2020-12-01 16:08:33 +01:00
Frank Denis
b7dfdb1372
Factorize
2020-12-01 16:08:10 +01:00