1
0
mirror of https://github.com/DNSCrypt/dnscrypt-proxy.git synced 2025-01-01 00:57:32 +01:00
Commit Graph

939 Commits

Author SHA1 Message Date
Markus Linnala
9b019574a0 cleanup: serversInfo : Simplify liveServers handling 2019-10-18 20:24:11 +02:00
Markus Linnala
a941cbd893 cleanup: xtransport: simplify body creation 2019-10-18 20:24:11 +02:00
Markus Linnala
345ec56cab cleanup: xtransport: move onion check earlier to fail fast 2019-10-18 20:24:11 +02:00
Markus Linnala
df03065eaf change: xtransport: Return http response status string as error, do name make own string
This gives much better possibilities to diagnose problems than error
message with only "informative" part being 500.
2019-10-18 20:24:11 +02:00
Markus Linnala
72681725b1 clanup: xtransport: use MaxDNSPacketSize more 2019-10-18 20:24:11 +02:00
Markus Linnala
0d553a9fa7 cleanup: Drop ExtractPort ExtractHost, use ExtractHostAndPort instead 2019-10-18 20:24:11 +02:00
Markus Linnala
f0fae0c756 cleanup: xtransport: There is no function level foundIP in resolveUsingResolver
Rename foundIPx to foundIP just to make it nicer looking.
2019-10-18 20:24:11 +02:00
Markus Linnala
80fa99877f cleanup: proxy: use symbolic code for SERVFAIL 2019-10-18 20:24:11 +02:00
Markus Linnala
e8ad2be9f9 change: android does not have systemd
Android is counted as being linux too.

At least according to wikipedia android does not have systemd:
https://en.wikipedia.org/wiki/Systemd
2019-10-18 20:24:11 +02:00
Markus Linnala
8c6a968e27 change: config: handle NetProbe fatal error and run only if not offline
All errors returned from NetProbe are managed as fatal later.
Decide, connection issues are not fatal but bad configuration is.
Without this configuration errors are silently ignored here.
2019-10-18 20:24:11 +02:00
Markus Linnala
32c387318a cleanup: config: drop duplicate code in showCerts setup 2019-10-18 20:24:11 +02:00
Markus Linnala
ab94e7eb8a style: gofmt -w -s -d dnscrypt-proxy 2019-10-18 20:24:11 +02:00
Markus Linnala
5e5d1059d7 change: config: cache_max_expire default value from 8600 to 86400 2019-10-18 20:24:11 +02:00
Frank Denis
be86d1df27 Fetch the list of relays 2019-10-18 15:53:56 +02:00
Frank Denis
4a5bf3ed8c Extra records don't necessarily need to raise a warning
Proper TXT records can still be present in the response.
2019-10-17 18:33:24 +02:00
Vladimir Bauer
108b7f8446 fix panic if dns.RR is not a *dns.TXT 2019-10-17 18:27:29 +02:00
Frank Denis
55c6cb6c79 Crude fix for #961 2019-10-15 00:47:05 +02:00
Frank Denis
858957ce91 up 2019-10-14 13:27:20 +02:00
Frank Denis
332ba9a7ed Up 2019-10-14 12:13:04 +02:00
Frank Denis
dae384f078 2.0.29-beta.1 2019-10-14 12:11:13 +02:00
Frank Denis
322447aa91 Support multiple routes per destination 2019-10-14 12:08:47 +02:00
Frank Denis
e9ec2aa801 Log anonymized DNS routes 2019-10-14 11:02:13 +02:00
Frank Denis
e6b9f3c2c0 Update go-dnsstamps 2019-10-14 10:50:09 +02:00
Frank Denis
f06967a020 Accept stamps of the new DNSCryptRelay type 2019-10-14 02:26:05 +02:00
Frank Denis
67f46b3c3e Update go-dnsstamps 2019-10-14 02:24:04 +02:00
Frank Denis
0e8ca9009e Implement Anonymized DNS 2019-10-14 01:45:38 +02:00
Frank Denis
63e6dbdac7 Avoid strings.ReplaceAll() that was introduced too recently 2019-10-12 22:22:28 +02:00
Frank Denis
ed0dbc2b55 Code completion propagates typos :) 2019-10-12 22:18:10 +02:00
Frank Denis
a73b547aa2 Update repos name in Travis 2019-10-12 22:13:16 +02:00
Frank Denis
f088dd4b2c Use vendored packages in CI builds 2019-10-12 22:09:59 +02:00
Frank Denis
aaf493714b Service fix for Catalina 2019-10-12 22:05:46 +02:00
Frank Denis
af022d01b4 Add a cloaking example of multiple IPs for a single entry 2019-10-12 21:48:59 +02:00
Frank Denis
e974780026 Bump 2019-10-12 21:30:47 +02:00
Frank Denis
d2db6b55a8 Update deps 2019-10-12 21:22:15 +02:00
Frank Denis
d627a4bc58 Limit the number of required retries for local queries 2019-10-12 21:15:39 +02:00
Frank Denis
20f48edc25 Truncated response over UDP -> immediately retry over TCP
This reduces latency, because when the client retries, or if the
query padding was large enough, we can reply from the cache or
even immediately.
2019-10-12 20:55:59 +02:00
Alison Winters
99e56a400f when parsing a source, try to process all of the servers to ensure maximum connectivity
- a corrupt source (no names/descriptions) will still abort parsing immediately
- a duplicate, missing or invalid server stamp will not abort parsing
  - these errors are logged as warnings, and returned as a single error at the end
2019-10-06 13:56:53 +02:00
Frank Denis
6513818cb3 Continue if some (but not all) server entries are invalid
Diff by @alisonatwork -- thanks!

Fixes #949
2019-10-06 09:13:37 +02:00
Frank Denis
2b23d7ae24 Add some details to the "certificate not valid" debug messages 2019-10-01 08:02:27 +02:00
Frank Denis
2c16bc4eaf Bump InitialMinQuestionSize up 2019-09-26 00:39:13 +02:00
Frank Denis
bd23ddaa02 Merge branch 'master' of github.com:jedisct1/dnscrypt-proxy
* 'master' of github.com:jedisct1/dnscrypt-proxy:
  Add deepsource
2019-09-23 10:34:13 +02:00
Frank Denis
ad5b2dc4f9 Mention that /dev/stdout can be used to log to the standard output 2019-09-23 10:33:57 +02:00
Frank Denis
9f3f2e9314 Merge branch 'master' of github.com:jedisct1/dnscrypt-proxy
* 'master' of github.com:jedisct1/dnscrypt-proxy:
  Deprecate systemd sockets
  Don't log a server for cached responses (again)
  Don't log a server name for synthetic responses and cloaking
  When forwaring, log the forwarding server instead of the regular one
  Update URLs
2019-09-19 20:26:28 +02:00
Frank Denis
3da36cf71f Add deepsource 2019-09-19 20:26:15 +02:00
Frank Denis
ed79bd7489 Deprecate systemd sockets 2019-09-16 15:46:39 +02:00
Frank Denis
7f42123e06 Don't log a server for cached responses (again) 2019-09-11 14:34:18 +02:00
Frank Denis
3d3b5bbc00 Don't log a server name for synthetic responses and cloaking 2019-09-11 14:28:33 +02:00
Frank Denis
23aa3dd57d When forwaring, log the forwarding server instead of the regular one
Fixes #928
2019-09-11 14:17:11 +02:00
Frank Denis
f4c1bb7bbf Update URLs 2019-09-11 14:09:12 +02:00
Frank Denis
24794acb08 Update ChangeLog 2019-09-09 18:46:54 +02:00