Commit graph

1306 commits

Author SHA1 Message Date
Frank Denis
21c63a5608 Local-DoH: pad responses 2019-11-29 21:34:21 +01:00
Frank Denis
f9019f46a4 2019 2019-11-29 21:24:06 +01:00
Frank Denis
53dd5cd6c5 Clarify 2019-11-29 14:18:48 +01:00
Frank Denis
53924d4cf7 Unset GODEBUG - WHich means that Go 1.13 is now required for TLS 1.3
We could keep setting GODEBUG for compatibility with older versions, but
people complain that it prints debug warnings.
2019-11-29 14:00:21 +01:00
Frank Denis
4a613aa68d Explain what the path is in a URL 2019-11-29 13:42:35 +01:00
Frank Denis
c84e104061 Mention local DoH 2019-11-29 09:30:41 +01:00
Frank Denis
3b50caf4cd Add a default local DoH path, print the URLs 2019-11-29 08:53:13 +01:00
Frank Denis
3b2eeea544 Include localhost.pem 2019-11-29 01:13:11 +01:00
Frank Denis
640b949976 Bump to 2.0.34-beta.1 2019-11-29 00:07:36 +01:00
Frank Denis
b4356b9fc8 Update deps 2019-11-29 00:06:14 +01:00
Frank Denis
1f55b798c0 Update ChangeLog 2019-11-29 00:05:11 +01:00
Frank Denis
f18dbc71ec Make the local DoH path configurable 2019-11-28 23:49:28 +01:00
Frank Denis
583ca09946 Reuse dataType 2019-11-28 23:33:34 +01:00
Frank Denis
aad9c8f19c Limit the query body size 2019-11-28 23:32:56 +01:00
Frank Denis
5d6f9358c9 Print something useful when browsing the local DoH URL 2019-11-28 23:30:54 +01:00
Frank Denis
3ef9ec8732 Local DoH tweaks 2019-11-28 23:08:23 +01:00
Frank Denis
3e5dbee75a We don't need to store local copies of cachedResponses 2019-11-28 22:34:02 +01:00
Frank Denis
068509ef30 Rename http to local_doh 2019-11-28 17:11:14 +01:00
Frank Denis
6a679cc543 Move local DoH configuration to its own section 2019-11-28 17:04:29 +01:00
Frank Denis
be996c486f Local DoH support, continued 2019-11-28 16:46:25 +01:00
Frank Denis
1966a8604b up 2019-11-26 01:36:35 +01:00
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