Commit graph

1384 commits

Author SHA1 Message Date
Frank Denis
561e849889 Add a forwarding example for local reverse entries 2021-10-17 15:53:54 +02:00
a1346054
766e149699
Fix typo and alignment in example-dnscrypt-proxy.toml (#1915) 2021-10-10 19:19:45 +02:00
Frank Denis
e1f3f58eed Bump 2021-09-27 15:51:48 +02:00
Frank Denis
efcd392279 StaleResponseTtl -> StaleResponseTTL 2021-09-27 15:47:19 +02:00
Frank Denis
8da1b698ad Revert "Pasto, thanks to @lifenjoiner"
This reverts commit 14ef11447e.
2021-09-27 15:42:54 +02:00
Frank Denis
77b27d9293 Merge branch 'master' of github.com:DNSCrypt/dnscrypt-proxy
* 'master' of github.com:DNSCrypt/dnscrypt-proxy:
  Make return value explicit
  Repair stale respones for DoH
  Define a constant for the TTL of stale responses
  Update plugin_cache.go (#1900)
2021-09-27 12:31:43 +02:00
Frank Denis
4c29840040 Revert "Print an error if a block/allow rule contains more than a pattern"
This reverts commit 6e8628f796.
2021-09-27 12:29:41 +02:00
Frank Denis
b7704a05c5 Make return value explicit 2021-09-25 20:09:29 +02:00
Frank Denis
d82021b545 Repair stale respones for DoH 2021-09-25 19:53:43 +02:00
Frank Denis
e5608e08cf Define a constant for the TTL of stale responses 2021-09-25 19:53:25 +02:00
livingentity
2a3e59c4bf
Update plugin_cache.go (#1900) 2021-09-25 19:04:17 +02:00
Frank Denis
3bae61dbe1 Properly round the TTL 2021-09-24 09:26:31 +02:00
Frank Denis
5fedbe4c6e // +build -> //go:build 2021-09-23 19:16:26 +02:00
Frank Denis
b2f26192e1 gofmt 2021-09-23 19:16:12 +02:00
Frank Denis
a4684d3bf5 Round TTLs 2021-09-23 19:10:40 +02:00
Frank Denis
34f0caaa34 Merge branch 'master' of github.com:jedisct1/dnscrypt-proxy
* 'master' of github.com:jedisct1/dnscrypt-proxy:
  Enable HTTP/2 pings
  Remove leftovers from the daemonize option
  DoH/ODoH: strip optional port number when caching a hostname
  Bump actions/setup-go from 2.1.3 to 2.1.4 (#1843)
  fix minor typo in example config (#1847)
2021-09-23 18:38:50 +02:00
Frank Denis
75e917ae49 plugin_cache: update the response TTL, not the cached data
Fixes #1895
2021-09-23 18:37:40 +02:00
Frank Denis
8fc0ffc35f Enable HTTP/2 pings 2021-09-21 12:57:42 +02:00
Frank Denis
97a983c6b3 Remove leftovers from the daemonize option 2021-09-09 11:26:17 +02:00
Frank Denis
0f00cd27f9 DoH/ODoH: strip optional port number when caching a hostname
Fixes #1861
2021-09-06 12:02:56 +02:00
Alison Winters
d8358b795f
fix minor typo in example config (#1847) 2021-08-29 11:11:52 +02:00
Aaron
b8c5790716
Add captive portal entry for dual stack setups (#1835)
For users with a dual stack set up at home (IPv4+native IPv6), Windows 21H1 will report that there is no Internet connection if this entry is missing from their captive portals file.

Signed-off-by: Aaron <admin@datahoarder.dev>
2021-08-20 17:32:32 +02:00
Frank Denis
9cb89ae410 odoh.md has been deprecated 2021-08-14 13:01:12 +02:00
Frank Denis
e83cb28ef5 Split ODoH servers and relays 2021-08-14 12:33:10 +02:00
Frank Denis
35c82e3dcf Next will be 2.1.0 2021-08-13 19:20:27 +02:00
Frank Denis
1052fa6323 serve-stale on overflow 2021-08-04 14:30:32 +02:00
Frank Denis
c8a61abb79 Update comment 2021-08-04 14:27:58 +02:00
Frank Denis
e64425b5e7 On overflow, only respond to cached/synthesized queries 2021-08-04 14:27:24 +02:00
Frank Denis
da69583bd2 When we run out of connections, handle an extra one synchronously 2021-08-04 13:35:33 +02:00
Frank Denis
d996e3424d No need to get the time if the connection is refused 2021-08-04 13:23:21 +02:00
Frank Denis
b4a073f54f Typo 2021-08-03 11:24:16 +02:00
Frank Denis
0ca90dd8cc xtransport: set a default error status code 2021-07-31 13:21:45 +02:00
Frank Denis
026c42424f Workaround for ODoH relays not properly forwarding the status code
Some ODoH relays return a 200 status code even when the upstream
server returns something different. This is an issue after a key
update, where a 401 code is expected.

Handle empty responses with a 200 status code as a response with
a 401 code as a workaround until these relays are fixed.
2021-07-31 12:54:23 +02:00
Frank Denis
cedd4f3b54 xtransport: properly forward the status code on error 2021-07-31 12:38:10 +02:00
Frank Denis
796a7f6d31 Add an example for blocking private relay 2021-07-17 14:22:10 +02:00
Frank Denis
d35c1c3cb2 Lower reject_ttl even more 2021-07-16 16:46:50 +02:00
Frank Denis
8b3b7d38ac Set ttl to reject_ttl for HINFO refused responses
Also lower the example TTL
2021-07-16 16:40:21 +02:00
Frank Denis
4caa7b6d64 Verbose 2021-06-12 14:48:02 +02:00
Frank Denis
9bea0e8f20 Nits 2021-06-12 14:16:20 +02:00
Frank Denis
b472fb3b21 Bump 2021-06-12 14:03:26 +02:00
Frank Denis
5fb2901dbc Fuzz the stamps parser 2021-06-11 22:20:54 +02:00
Frank Denis
ccddb18424 Time to start fuzzing 2021-06-11 22:13:58 +02:00
Frank Denis
1b03ac817e ODoH: supoprt config version 0x0001 in addition to 0xff06 2021-06-11 21:18:05 +02:00
Frank Denis
95c9fa75f8 Bump 2021-06-08 11:00:01 +02:00
Frank Denis
a85a003d2b Filter relays by compatible type before selecting them
Fixes #1739
2021-06-08 10:52:06 +02:00
Frank Denis
5a9a6467df Correctly check for empty/wrong relays 2021-06-08 10:27:03 +02:00
Frank Denis
ec581597a2 Require ODoH relays to be present
ODoH target stamps don't include certificate hashes; they are not
meant to be used directly.
2021-06-08 10:19:02 +02:00
Frank Denis
33ed882efe Warn if fallback_resolvers is still in use 2021-06-08 09:53:53 +02:00
Frank Denis
b39232e996 this -> that 2021-06-08 01:14:11 +02:00
Frank Denis
9ebb90b22e fallback -> bootstrap 2021-06-08 00:44:06 +02:00