From 34c2ba0965ab4f8c98a7f437662f0cf286bd05a2 Mon Sep 17 00:00:00 2001 From: T3slider Date: Mon, 12 Aug 2019 21:37:21 +0700 Subject: network/dnscrypt-proxy: Updated for version 2.0.25. Signed-off-by: Willy Sudiarto Raharjo --- network/dnscrypt-proxy/dnscrypt-proxy.SlackBuild | 2 +- network/dnscrypt-proxy/dnscrypt-proxy.info | 6 +++--- network/dnscrypt-proxy/dnscrypt-proxy.toml | 21 +++++++++++++++++++-- 3 files changed, 23 insertions(+), 6 deletions(-) diff --git a/network/dnscrypt-proxy/dnscrypt-proxy.SlackBuild b/network/dnscrypt-proxy/dnscrypt-proxy.SlackBuild index a2699a1ed3..52f8059230 100644 --- a/network/dnscrypt-proxy/dnscrypt-proxy.SlackBuild +++ b/network/dnscrypt-proxy/dnscrypt-proxy.SlackBuild @@ -27,7 +27,7 @@ # significantly improved the value of this script! PRGNAM=dnscrypt-proxy -VERSION=${VERSION:-2.0.21} +VERSION=${VERSION:-2.0.25} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} diff --git a/network/dnscrypt-proxy/dnscrypt-proxy.info b/network/dnscrypt-proxy/dnscrypt-proxy.info index 7a5626ce16..add495f8cd 100644 --- a/network/dnscrypt-proxy/dnscrypt-proxy.info +++ b/network/dnscrypt-proxy/dnscrypt-proxy.info @@ -1,8 +1,8 @@ PRGNAM="dnscrypt-proxy" -VERSION="2.0.21" +VERSION="2.0.25" HOMEPAGE="https://github.com/jedisct1/dnscrypt-proxy" -DOWNLOAD="https://github.com/jedisct1/dnscrypt-proxy/archive/2.0.21/dnscrypt-proxy-2.0.21.tar.gz" -MD5SUM="ac306317e25e281930f1a5203ebec305" +DOWNLOAD="https://github.com/jedisct1/dnscrypt-proxy/archive/2.0.25/dnscrypt-proxy-2.0.25.tar.gz" +MD5SUM="1c92cedfc8d4ea7dc21b1abd5e93478c" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="google-go-lang" diff --git a/network/dnscrypt-proxy/dnscrypt-proxy.toml b/network/dnscrypt-proxy/dnscrypt-proxy.toml index 2e2679c316..5b4e99a89d 100644 --- a/network/dnscrypt-proxy/dnscrypt-proxy.toml +++ b/network/dnscrypt-proxy/dnscrypt-proxy.toml @@ -119,10 +119,15 @@ keepalive = 30 refused_code_in_responses = false -## Load-balancing strategy: 'p2' (default), 'ph', 'fastest' or 'random' +## Load-balancing strategy: 'p2' (default), 'ph', 'first' or 'random' # lb_strategy = 'p2' +## Set to `true` to constantly try to estimate the latency of all the resolvers +## and adjust the load-balancing parameters accordingly, or to `false` to disable. + +# lb_estimator = true + ## Log level (0-6, default: 2 - 0 is very verbose, 6 only contains fatal errors) @@ -200,10 +205,22 @@ ignore_system_dns = false ## initializing the proxy. ## Useful if the proxy is automatically started at boot, and network ## connectivity is not guaranteed to be immediately available. -## Use 0 to disable. +## Use 0 to not test for connectivity at all, +## and -1 to wait as much as possible. netprobe_timeout = 60 +## Address and port to try initializing a connection to, just to check +## if the network is up. It can be any address and any port, even if +## there is nothing answering these on the other side. Just don't use +## a local address, as the goal is to check for Internet connectivity. +## On Windows, a datagram with a single, nul byte will be sent, only +## when the system starts. +## On other operating systems, the connection will be initialized +## but nothing will be sent at all. + +netprobe_address = "9.9.9.9:53" + ## Offline mode - Do not use any remote encrypted servers. ## The proxy will remain fully functional to respond to queries that -- cgit v1.2.3