Frank Denis
80cdaaad24
Better nail down where QUIC is possibly being used
2 years 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
2 years 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
3 years ago
Frank Denis
714241e2d5
Update clap to v3
3 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
4 years ago
Frank Denis
1eeed9ab83
Remove annoying clippy checks
4 years ago
Frank Denis
631ebd4776
Nits
4 years ago
Frank Denis
156adf46c3
Upgrade to tokio 1.0.0
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
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
5 years ago
Frank Denis
2a96c5f985
dafuq
5 years ago
Frank Denis
792f82fa35
Print something when access control is enabled
5 years ago
Frank Denis
b9361a8711
Fail open if the tokens list is empty
5 years ago
Frank Denis
5ebd393981
Clippify
5 years ago
Frank Denis
d5b06a6653
Implement access control
5 years ago
Frank Denis
9b464fe135
Clarify
5 years ago
Frank Denis
58b8d6f5f0
Continue on TCP accept errors
5 years ago
Frank Denis
af22d59ce8
Add an option to disable DNSCrypt, and do only TLS and relaying
5 years ago
Frank Denis
e9e5c700f0
Add ignore_unqualified_hostnames
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
Frank Denis
bf5f0b3568
Update to tokio 0.2
5 years ago