Frank Denis
f249813cc5
First bits towards providing access over DoH in addition to DNS
...
Mainly to deal with the Firefox+ESNI situation
2019-11-24 22:46:27 +01:00
Frank Denis
30b5507bf4
Make the part that creates or gets sockets more readable
2019-11-24 22:12:23 +01:00
Frank Denis
bc22f94eeb
Don't listen to IPv6 in the example config file
...
Some hosts don't support IPv6, and the default (without anything in
the config file) is only the IPv4 address anyway.
2019-11-24 10:31:40 +01:00
Frank Denis
67c7254dc5
block_name plugin: also check names found in CNAME records
2019-11-24 10:18:46 +01:00
Frank Denis
1152491b2d
Move PluginCache before PluginCacheResponse
2019-11-24 09:14:36 +01:00
Frank Denis
6e3916556f
Downcase the query name in BlockedNames.check()
2019-11-20 19:16:37 +01:00
Frank Denis
4aba44898b
Bump
2019-11-18 13:00:34 +01:00
Frank Denis
a43889741b
Up
2019-11-18 12:55:04 +01:00
Frank Denis
230a66ea73
Add an extra byte to the padded length
...
Fixes resolution of livegorouter.trafficmanager.net via Cisco
2019-11-18 12:50:19 +01:00
Frank Denis
925c12d334
Set the list of blocked names even if logging was not enabled
...
Fixes #1050
2019-11-18 01:42:51 +01:00
Frank Denis
0790328424
Revert "Revert "plugin_block_name: make the blocking code reusable""
...
This reverts commit 2d00c24f85
.
2019-11-18 01:32:17 +01:00
Frank Denis
2d00c24f85
Revert "plugin_block_name: make the blocking code reusable"
...
This reverts commit f76e0fd8cf
.
2019-11-18 01:29:06 +01:00
Frank Denis
41e23f4c66
Update ChangeLog
2019-11-18 01:16:50 +01:00
Frank Denis
41e35bd8c5
Compress responses
2019-11-18 01:13:18 +01:00
Frank Denis
2d5dc5960a
Typo
2019-11-17 23:07:49 +01:00
Frank Denis
821c26178f
Typo
2019-11-17 23:07:02 +01:00
Frank Denis
d2c6e3ea00
Typo
2019-11-17 23:06:34 +01:00
Frank Denis
578f359f23
Update kardianos/service
2019-11-17 22:54:56 +01:00
Frank Denis
8728361e89
Replace SERVER_ERROR with SERVFAIL
...
If only because SERVFAIL can be looked up on Google
2019-11-17 22:20:47 +01:00
Frank Denis
1bcd09ca5a
Document NETWORK_ERROR
2019-11-17 22:15:44 +01:00
Frank Denis
0b64c5df66
Improve logging
2019-11-17 22:04:58 +01:00
Frank Denis
ad40c6c54b
Fallback to the system resolver if the fallback resolver doesn't work
...
This is useful if fallback_resolver has been set to random junk, or
to an external resolver, but port 53 is blocked.
At least, it may allow the server to start.
2019-11-17 22:00:08 +01:00
Frank Denis
b03e7f993f
Add a default list of buggy servers
2019-11-17 21:44:46 +01:00
Frank Denis
6dcd872385
This is unlikely to become mandatory
2019-11-17 21:38:09 +01:00
Frank Denis
45cb7b48df
Format
2019-11-17 21:28:26 +01:00
Frank Denis
64d804486d
Bump, update ChangeLog
2019-11-17 21:25:54 +01:00
Frank Denis
e211e18f71
Improve logging
2019-11-17 20:40:59 +01:00
Frank Denis
4e217267d4
Log the server name, not the provider name
2019-11-17 20:37:55 +01:00
Frank Denis
c3d93124a7
Bump MinResolverIPTTL up
2019-11-17 20:30:59 +01:00
Frank Denis
faac6e2082
Set default ignore_system_dns to true
2019-11-17 20:30:04 +01:00
Frank Denis
0e8d1a941b
Typo
2019-11-17 20:30:00 +01:00
Frank Denis
068c8e70f2
Typo
2019-11-17 20:00:34 +01:00
Frank Denis
071dceef31
Update deps
2019-11-17 19:50:40 +01:00
Frank Denis
06c0fbb65b
Add NETWORK_ERROR
2019-11-17 19:48:15 +01:00
Frank Denis
ca7e5e5bcb
Rename a few things
2019-11-17 15:07:40 +01:00
Frank Denis
15b405b552
Support workarounds for ancient/broken implementations
...
Fixes #984
2019-11-16 18:51:16 +01:00
Frank Denis
f76e0fd8cf
plugin_block_name: make the blocking code reusable
2019-11-15 19:48:15 -05:00
Frank Denis
60aba17e44
Merge branch 'master' of github.com:jedisct1/dnscrypt-proxy
2019-11-14 22:34:44 -05:00
Frank Denis
568376ea13
Update deps
2019-11-14 22:34:38 -05:00
William Elwood
e016300aab
Fix tests if filesystem stores less precise times
...
Not all filesystems store modification times with millisecond precision.
2019-11-14 12:47:55 +00:00
William Elwood
2c49804bd0
Renormalize line-endings
...
Git has been nagging me about these files that I haven't touched being changed.
The solution was to run `git add --renormalize .`.
Apparently this needs to be done after setting up `.gitattributes`.
According to `git ls-files --eol windows/`, the .bat files were previously stored in the index with CRLF endings and will now be stored with LF endings (with .gitattributes dictating that checked out copies will use CRLF).
2019-11-12 16:10:57 +00:00
Will Elwood
d063a7959e
Avoid redirect and extra DNS lookup in example
...
Also makes the URL consistent with the other lists.
2019-11-10 12:48:21 +00:00
William Elwood
a521caf6fc
Add test for short refresh delay
...
Ensures a short refresh delay is ignored and the default minimum used instead.
2019-11-10 13:42:17 +01:00
William Elwood
0d0c634242
Avoid writing cache if it didn't change
...
Most of the time the only useful difference being written is the new modification time anyway, which is now being done explicitly.
2019-11-10 13:42:17 +01:00
William Elwood
d43fcabe69
Fix prefetch sometimes being skipped
...
Previously when the cache was written to disk, the modification time was unspecified.
At the next prefetch, it was possible for the cache to be expiring very soon (on the order of milliseconds) but still deemed valid.
Now the modification time is explicitly set to when the prefetch run began to make this situation much less likely.
2019-11-10 13:42:17 +01:00
Frank Denis
96ffc778af
Merge branch 'master' of github.com:jedisct1/dnscrypt-proxy
...
* 'master' of github.com:jedisct1/dnscrypt-proxy:
set go.mod to unix endings
2019-11-08 22:51:36 +01:00
Frank Denis
a31e7c0c61
Avoid ridiculously low values for proxy.certRefreshDelay
2019-11-08 22:51:04 +01:00
Alison Winters
d9fcd74e42
set go.mod to unix endings
2019-11-08 18:30:23 +01:00
Frank Denis
0f7bd23b8a
Simplify
2019-11-08 11:28:41 +01:00
William Elwood
4324a09fc9
Fix failing tests on Windows
...
To simulate failures opening a cache file, fixtures are written without the read permission bits.
Since Unix permission bits have no meaning on Windows, a slightly more complicated solution is required to achieve the same permissions.
Thankfully, there's a library to abstract that already.
2019-11-08 10:17:12 +01:00