Commit graph

1384 commits

Author SHA1 Message Date
Frank Denis
519af2e532 Revert "Allow -test 0"
This reverts commit 1e2c175e19.

Revert "Don't bind any sockets when using -test"

This reverts commit 982f341de8.

Revert "Implement -test to check certificates expiration"

This reverts commit 2158674d17.
2018-02-27 07:55:10 +01:00
Frank Denis
1e2c175e19 Allow -test 0 2018-02-27 03:04:44 +01:00
Frank Denis
982f341de8 Don't bind any sockets when using -test 2018-02-27 03:00:11 +01:00
Frank Denis
2158674d17 Implement -test to check certificates expiration 2018-02-27 02:52:45 +01:00
a1346054
1a1a468f58
Fix spelling 2018-02-26 21:26:31 +00:00
a1346054
c9e157ba12
Fix spelling 2018-02-26 21:25:25 +00:00
Frank Denis
82825f46e9 Typos 2018-02-26 19:38:02 +01:00
Frank Denis
2068975780 Clarify 2018-02-26 19:05:12 +01:00
Frank Denis
38fd879b56 Check record type in xTransport
Prepare for IPv6-only support by the way

Fixes #189
2018-02-26 14:50:01 +01:00
Frank Denis
db0ed1b67f Mention that urls are optional, but recommended 2018-02-24 19:35:37 +01:00
Frank Denis
6000f5073a 2.0.4 2018-02-23 17:08:13 +01:00
Frank Denis
636f92bae0 Truncated packets cannot be parsed by miekg/dns; clear the error flag when it happens
Fixes #177
2018-02-23 17:05:58 +01:00
Frank Denis
8d4f6770e5 Bump 2018-02-22 23:55:03 +01:00
Frank Denis
eac8732b2b Log servers returning SERVFAIL 2018-02-22 14:48:08 +01:00
Frank Denis
4ec5461b2f Mark servers as failing more aggressively 2018-02-22 14:20:59 +01:00
Frank Denis
358481d728 Simplify 2018-02-21 02:40:54 +01:00
Frank Denis
ebd55ba954 Bump 2018-02-21 00:23:11 +01:00
Frank Denis
14075e31dc Vastly improve the way load balancing works 2018-02-21 00:14:18 +01:00
Frank Denis
2e8699d483 Bump default MaxClient to match the config file
Fixes #158
2018-02-20 12:27:44 +01:00
Frank Denis
547e444afd Service installation: bail out with a meaningful error message on unsupported platforms
Fixes #154
2018-02-20 00:34:06 +01:00
Frank Denis
0fde986c63 Nits 2018-02-19 19:31:34 +01:00
Frank Denis
782c86b785 Fallback to cached content if we don't have a working connection 2018-02-19 19:24:51 +01:00
Frank Denis
81ba5ef2c6 Update ChangeLog 2018-02-19 18:42:29 +01:00
Frank Denis
148a28141f Add -check 2018-02-19 18:35:06 +01:00
Frank Denis
e1e283ac23 Better (and, for DoH, fixed) RTT estimation 2018-02-19 18:30:26 +01:00
Frank Denis
6baafe3232 Only rewrite a cache file if it doesn't already come from the cache
Fixes #150
2018-02-19 15:36:48 +01:00
Frank Denis
8fc135ad79 ... 2018-02-19 15:15:20 +01:00
Frank Denis
29f1c4c662 Fix format string 2018-02-15 00:46:47 +01:00
Frank Denis
2f00ad5ff0 Error out if unknown properties are found in the config file
And thanks to this, an inconsistency in the example config file vs the parser
was found (`timeout` vs `timeout_ms`).

Fixes #113
2018-02-10 21:21:43 +01:00
Frank Denis
32db89d2ee Strip extra newline 2018-02-09 22:40:56 +01:00
Frank Denis
ebe41535ba Format 2018-02-09 22:40:29 +01:00
Amit
5dbfc39f7d Cache Plugin: return non-fixed TTL for cached entries (refactor) 2018-02-09 22:13:24 +02:00
Amit
65dfa8ecca Cache Plugin: return non-fixed TTL for cached entries (refactor) 2018-02-09 22:11:12 +02:00
Amit
2a6a1852f1 Cache Plugin: return non-fixed TTL for cached entries 2018-02-09 17:59:04 +02:00
Frank Denis
dfe68118c6 Don't suggest that URLs are optional in the example config file
This is confusing, and virtually everybody needs to specify
URLs no matter what.

Fixes #101
2018-02-07 10:48:41 +01:00
Frank Denis
16c75172ad Remove "starting"
Fixes #97
2018-02-06 19:33:58 +01:00
Frank Denis
453299e49a 2.0.0 final 2018-02-06 16:13:06 +01:00
Frank Denis
d644cf0c41 Move servers down 2018-02-06 16:11:53 +01:00
Frank Denis
404c21816e Use a more permanent URLm even if it's a redirect 2018-02-06 14:27:45 +01:00
Frank Denis
f6b6d70615 Add knobs to filter by protocol 2018-02-06 14:11:58 +01:00
Frank Denis
31c16c0dbb Nits 2018-02-05 19:25:52 +01:00
Frank Denis
af0833387a Close idle connections after an error; reduce idle connections timeout 2018-02-05 19:03:04 +01:00
Frank Denis
7f5d67881b Add a super secret way to print cert hashes
Not so secret. The purpose is to avoid log pollution, while still
allowing people setting up DoH servers to quickly view the
certificate chain.
2018-02-05 13:24:17 +01:00
Frank Denis
5c52199ee1 draft 3 says queries should use "dns", previous drafts said "body"
Send both until servers adjust :/
2018-02-05 11:36:15 +01:00
Frank Denis
43f3e64bd9 DoH: fallback to GET on servers that don't support POST 2018-02-05 11:30:10 +01:00
Frank Denis
8a7569555c Don't warn if lbStrategy is empty 2018-02-05 01:53:23 +01:00
Frank Denis
a43352e160 Make the load-balancing strategy configurable 2018-02-04 21:23:39 +01:00
Frank Denis
88434fc39f Prepare support for multiple load balancing strategies 2018-02-04 21:13:54 +01:00
Frank Denis
f319088506 restrict. is too restrictive 2018-02-04 15:20:17 +01:00
Frank Denis
6f546b4c21 Use Cache-Control 2018-02-04 13:48:51 +01:00