Commit Graph

160 Commits (tracing-locks)

Author SHA1 Message Date
Frank Denis c5f06674a6 Try lock tracing 2 years ago
Frank Denis 748b944a61 Switch from jemalloc to mimalloc 2 years ago
Frank Denis 9a3cde4ba5 Format 2 years ago
Frank Denis 9e52627655 Update serde_big_array 2 years ago
Frank Denis 025c3b99c3 Nits 2 years ago
Frank Denis 714241e2d5 Update clap to v3 2 years ago
Frank Denis 7cf89393c2 Try to daemonize after tokio's runtime has been built 3 years ago
Frank Denis 8b17418372 cache -> key_cache for clarity 3 years ago
Frank Denis 65b11b8380 Nits 3 years ago
Frank Denis 64715db2f6 Metrics appears to be compatible with daemonization now 3 years ago
Frank Denis f0513d5acc Initialize the tokio junk after privdrop 3 years ago
Frank Denis 78eb2719ab Revert "Remove daemonization, it's always been broken"
This reverts commit 4f22725931.
3 years ago
Frank Denis 4f22725931 Remove daemonization, it's always been broken
Fixes #68
3 years ago
mibere 7439475d58
Typo 3 years ago
Frank Denis 8c35df5705 Upgrade socket2 - Same thing, just breaking API changes 3 years ago
Frank Denis f61c2545bd Shorten 3 years ago
Frank Denis 1eeed9ab83 Remove annoying clippy checks 3 years ago
Frank Denis dbed0a0867 Create certificates using a rolling state
A new key pair is now computed using the previous secret key as a seed.

This still provides forward secrecy, and allows multiple instances
to compute the same ephemeral keys without having to share a state.

Fixes #57
Fixes #27
3 years ago
Frank Denis 631ebd4776 Nits 3 years ago
Evaldas Auryla 3ad33aa32c Nits 3 years ago
Frank Denis 869e873ad3 Try to use socket2 less 3 years ago
Frank Denis 156adf46c3 Upgrade to tokio 1.0.0 3 years ago
Frank Denis e405c04236 Prometheus update 4 years ago
Frank Denis ed72e0e064 Don't bail out if only metrics are enabled 4 years ago
Frank Denis 0526aba47b Bail out if metrics and daemonization are enabled simultaneously 4 years ago
Frank Denis 24284541b0 Don't hardcode the TCP backlog 4 years ago
Frank Denis 641ba88ab1 Serialization now requires the Copy trait 4 years ago
Frank Denis 8a4a413f65 Use impl AsRef<...> 4 years ago
Frank Denis 6a19db5edf Merge branch 'master' of github.com:jedisct1/rust-dnscrypt-server
* 'master' of github.com:jedisct1/rust-dnscrypt-server: (30 commits)
  Update Prometheus and friends
  Remove nightly feature from clap
  client_ttl_jitter -> client_ttl_holdon
  Use specific lengths for big arrays
  Update serde-big-array requirement from 0.2.0 to 0.3.0
  Update deps
  Add decreasing TTLs with jitter when a TTL becomes low
  Update precompiled binaries
  Bump
  Add my_ip feature
  dafuq
  Update deps
  Require tokio 0.2.17
  Update tokio dep due to a regression in the previous version
  Update precompiled binaries
  Bump
  Update deps to force a tokio update
  Revert "Disable parking_lot for tokio"
  Bump
  Disable parking_lot for tokio
  ...
4 years ago
Frank Denis eaba8d3db5 Replace net2 with socket2
The Rust ecosystem being the Rust ecosystem, essential crates always get
abandoned after a couple months, and apps need to be rewritten for the
replacement du jour.
4 years ago
Frank Denis 561ebd07f4 client_ttl_jitter -> client_ttl_holdon 4 years ago
Frank Denis 04fdf73046 Use specific lengths for big arrays 4 years ago
Frank Denis dd1b550ef9 Add decreasing TTLs with jitter when a TTL becomes low
Fixes #33
4 years ago
Frank Denis 75166216b9 Add my_ip feature 4 years ago
Frank Denis 2a96c5f985 dafuq 4 years ago
Frank Denis 792f82fa35 Print something when access control is enabled 4 years ago
Frank Denis b9361a8711 Fail open if the tokens list is empty 4 years ago
Frank Denis 5ebd393981 Clippify 4 years ago
Frank Denis d5b06a6653 Implement access control 4 years ago
Frank Denis ccfd7b4184 Use the full timeout if we don't have a cached response 4 years ago
Frank Denis 9b464fe135 Clarify 4 years ago
Frank Denis 58b8d6f5f0 Continue on TCP accept errors 4 years ago
Frank Denis da00ac2194 Add some extra checks 4 years ago
Frank Denis 1c63906795 Refuse long labels 4 years ago
Frank Denis af22d59ce8 Add an option to disable DNSCrypt, and do only TLS and relaying 4 years ago
Frank Denis e9e5c700f0 Add ignore_unqualified_hostnames 5 years ago
Frank Denis f3fe2fa123 up 5 years ago
Frank Denis 3864de1951 Add the ability to return synthetic response for undelegated TLDs 5 years ago
Frank Denis 3d3a96a6f9 More statistics; keep track of NXDOMAIN responses 5 years ago
Frank Denis 3cc28670cb Prometheus: use int counters and gauges 5 years ago