Commit Graph

525 Commits

Author SHA1 Message Date
Dhoulmagus a95c7b729b Let default systemd socket listen on both IPv4 and IPv6 (#257)
* Let default systemd socket listen on both IPv4 and IPv6

Setting listen_addresses = [] in config will listen on systemd socket, but by previous systemd socket config it would only listen on IPv4 127.0.0.1:53 without IPv6. This change fixes it.

* Update dnscrypt-proxy.socket
2018-03-24 15:01:27 +01:00
Frank Denis 0026a20e08 Mention that people in China may need to use Quad114 2018-03-22 07:44:06 +01:00
Frank Denis 2568ea0b0c Revert "Switch to Quad114 as the default resolver"
This reverts commit 91f97833a3.

The Internet has become a sad place.

People in China need to use resolvers in China.
People in the US would not trust resolvers in China.
People in the EU would not trust resolvers in the US.

Revert to Quad9 for now, and add some documentation about why
that might be changed (especially in China) later.
2018-03-22 02:43:03 +01:00
Frank Denis 2eac8d52d5 Revert the cache clear
Implementing this is going to be more complicated
2018-03-21 10:17:13 +01:00
Frank Denis 3c05b38edd Move local resolution to a dedicated function 2018-03-21 10:03:05 +01:00
Frank Denis d2805a19e4 DoH: only use the optional IP to bootstrap resolution
Fixes #100
2018-03-21 09:32:35 +01:00
Frank Denis 577ac5c91a When using a fallback resolver, favor IPv6 for DoH servers if use_ipv6 is set
Fixes #153
2018-03-21 09:05:30 +01:00
Frank Denis 22f69a475a Don't assume IPv6 or IPv4 about DoH servers 2018-03-21 08:48:57 +01:00
Frank Denis 91f97833a3 Switch to Quad114 as the default resolver
Quad9 current returns SERVFAIL for dnscrypt.info and there have
been reports of it not working as expected in some countries as well.
2018-03-21 08:30:36 +01:00
Frank Denis 963a54f6fe Print the IP, not the address 2018-03-20 15:10:12 +01:00
Frank Denis 50053d32a5 Bump 2018-03-18 09:21:36 -07:00
Frank Denis ebc3ddda38 Deps update 2018-03-18 09:09:29 -07:00
Frank Denis a0aeeabfa2 Nits 2018-03-17 14:47:17 -07:00
Frank Denis 1f81710b91 Remove superflous brackets; fix DoH default port as well 2018-03-17 14:43:26 -07:00
bleeee 86fb695189 Fix 2.0.6 ipv6 attach port (#237)
* fix-2.0.6-ipv6-attach-port
2018-03-17 14:39:46 -07:00
Frank Denis fd51ff8fb6 Clarify
Fixes #221
2018-03-11 08:15:02 -07:00
Frank Denis ba2f43e6db TCP: don't read past the prefixed size
Maybe
fixes #219
2018-03-10 18:50:31 -08:00
Frank Denis 3d50549cae bring back exec and strings 2018-03-07 20:21:58 +01:00
Frank Denis a6ae97ecb1 Lower default granularity 2018-03-07 19:00:09 +01:00
Frank Denis ff81344aa8 Update clocksmith 2018-03-07 18:51:55 +01:00
Frank Denis 817f2ff560 Don't pause the cert refresh timers if the host goes to hibernation 2018-03-07 18:29:58 +01:00
Frank Denis d8f502f130 Update deps 2018-03-07 18:29:26 +01:00
Frank Denis 75f3c6403b Print absolute paths when file caches cannot be written 2018-03-05 11:58:31 +01:00
Frank Denis 4e671cf5ef Don't assume that A RRs will be first
Maybe
fixes #202
2018-03-02 12:28:56 +01:00
Frank Denis 2c7513a2c8 2.0.6 2018-03-02 11:05:58 +01:00
Frank Denis a6ce630897 log_files_max_backups 2018-03-02 10:49:21 +01:00
Frank Denis 10026809a3 Update ChangeLog 2018-03-02 10:39:02 +01:00
Frank Denis 38942f62b0 log file rotation example config 2018-03-02 10:38:31 +01:00
Frank Denis b643a816cc Add automatic log files rotation
Fixes #172
2018-03-02 10:34:00 +01:00
Frank Denis 97156c3ad3 Use atomic loads for the clients counter 2018-03-02 09:41:12 +01:00
Frank Denis 4e7631bfcd Remove init check for busybox-based systems 2018-03-02 09:29:46 +01:00
Frank Denis 3910873bf2 Make the serverInfo list a list of pointers
Maybe
fixes #201
2018-03-02 02:30:25 +01:00
Frank Denis 80426967bf Remove useless fmt.Errorf and argument 2018-03-02 02:17:07 +01:00
Frank Denis 85a64e3327 Add -pidfile
Fixes #200
2018-02-28 18:11:48 +01:00
Frank Denis 89d2973458 2.0.5 2018-02-27 09:51:26 +01:00
Frank Denis 66d93da954 Update deps; this fixes something related to Windows registry 2018-02-27 09:51:05 +01:00
Frank Denis 0dfd4b70fc Add gross DoH padding since nobody could help with #58 2018-02-27 09:30:09 +01:00
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
Frank Denis ff0c612e79
Merge pull request #194 from a1346054/master
Spelling fixes
2018-02-26 22:37:00 +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 5de18b5274 Sorry, but eucookie.internetbrands.com makes modelmayhem unusable 2018-02-24 19:49:57 +01:00
Frank Denis db0ed1b67f Mention that urls are optional, but recommended 2018-02-24 19:35:37 +01:00
Frank Denis 0c2154af83 ibpxl.com is often having issues making websites unusable 2018-02-23 18:49:45 +01:00