Commit Graph

130 Commits (master)

Author SHA1 Message Date
Frank Denis 2b98b4c6ca Format 4 months ago
Frank Denis 3feb000d62 Doh 4 months ago
Frank Denis 6ba9d36dcf Add a debug mode 9 months ago
Frank Denis 5c4c6c181e The first byte of QUIC packets is in the [64,127] range. 9 months ago
Frank Denis 80cdaaad24 Better nail down where QUIC is possibly being used 1 year ago
Frank Denis 606276398c Mention where we actually may have a QUIC/HTTP/3 packet
We may want to support QUIC the same way we forward TLS
1 year ago
Frank Denis 68f40b7570 In a future, don't remove cancelled entries
They have already been removed by the pop_back() call.

Cancellation in Rust is such a clusterfuck...
2 years ago
YX Hao 4f99570f22 Improve privdrop condition 2 years ago
YX Hao 87e26a8aaa Mitigate warning on intentional unused variable 2 years ago
Frank Denis 936ff9f213 Tokio needs descriptors for timers and more 2 years ago
Frank Denis 497770494b Nits 2 years ago
Frank Denis baa8f8235b If we can't bump the file limit high enough, try as high as we can 2 years ago
Frank Denis 479cb956f1 If we are running out of descriptors, drop an old connection and wait 2 years ago
Frank Denis 3499fd2d10 Warn if we can't set limits 2 years ago
Frank Denis ead91e1ffa Just move the set_limits function up 2 years ago
Frank Denis 6697aa8c0c Set resource limits 2 years ago
Frank Denis 2aa378cae4 Tokio's accept() can fail 2 years ago
Frank Denis fd8d282365 Remove the VecDeque for cancelation, use a slab instead 2 years ago
Frank Denis 9374f340a7 UDP acceptor: cap at udp_max_active_connections not tcp_ 2 years ago
YX Hao 18dd7538b5 Add compiling condition for Windows 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 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 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
Frank Denis 8c35df5705 Upgrade socket2 - Same thing, just breaking API changes 3 years ago
Frank Denis 1eeed9ab83 Remove annoying clippy checks 3 years ago
Frank Denis 631ebd4776 Nits 3 years ago
Frank Denis 156adf46c3 Upgrade to tokio 1.0.0 3 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 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 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 9b464fe135 Clarify 4 years ago
Frank Denis 58b8d6f5f0 Continue on TCP accept errors 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