1
1
Fork 0
mirror of https://github.com/DNSCrypt/encrypted-dns-server.git synced 2024-05-07 18:56:04 +02:00
Commit Graph

185 Commits

Author SHA1 Message Date
Frank Denis 2b98b4c6ca Format 2024-01-17 09:17:47 +01:00
Frank Denis 3feb000d62 Doh 2024-01-17 09:11:55 +01:00
Frank Denis 6ba9d36dcf Add a debug mode 2023-08-21 11:47:27 +02:00
Frank Denis 5c4c6c181e The first byte of QUIC packets is in the [64,127] range. 2023-08-21 10:50:52 +02:00
Frank Denis 80cdaaad24 Better nail down where QUIC is possibly being used 2023-02-12 21:44:33 +01:00
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
2023-02-11 23:53:02 +01:00
Frank Denis 32be74338f un-pretty toml state file 2023-01-30 21:18:36 +01:00
Frank Denis e304c75334 Update deps 2023-01-30 20:57:23 +01:00
Frank Denis 70e6021965 Remove unneeded casts 2022-11-09 16:16:13 +01:00
Frank Denis 74b77e64b8 Remove unneeded reference 2022-09-14 09:48:39 +02:00
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...
2022-08-11 12:52:17 +02:00
Frank Denis d911c345fb Remove unneeded borrow 2022-08-09 18:02:26 +02:00
YX Hao 4f99570f22 Improve privdrop condition 2022-06-25 21:29:42 +08:00
YX Hao 87e26a8aaa Mitigate warning on intentional unused variable 2022-06-25 21:19:58 +08:00
Frank Denis 936ff9f213 Tokio needs descriptors for timers and more 2022-06-24 18:33:33 +02:00
Frank Denis 497770494b Nits 2022-06-24 12:02:38 +02:00
Frank Denis baa8f8235b If we can't bump the file limit high enough, try as high as we can 2022-06-24 12:01:56 +02:00
Frank Denis 479cb956f1 If we are running out of descriptors, drop an old connection and wait 2022-06-24 10:28:04 +02:00
Frank Denis 3499fd2d10 Warn if we can't set limits 2022-06-24 10:21:25 +02:00
Frank Denis ead91e1ffa Just move the set_limits function up 2022-06-24 08:21:51 +02:00
Frank Denis 6697aa8c0c Set resource limits 2022-06-23 22:30:16 +02:00
Frank Denis 9ddeadc2ba Handle accept() that can fail for Prometheus, too 2022-06-23 03:19:39 +02:00
Frank Denis 2aa378cae4 Tokio's accept() can fail 2022-06-23 03:16:26 +02:00
Frank Denis fd8d282365 Remove the VecDeque for cancelation, use a slab instead 2022-06-22 20:47:58 +02:00
Frank Denis 9374f340a7 UDP acceptor: cap at udp_max_active_connections not tcp_ 2022-06-21 18:14:51 +02:00
YX Hao 18dd7538b5 Add compiling condition for Windows 2022-06-19 15:45:02 +08:00
Frank Denis 748b944a61 Switch from jemalloc to mimalloc 2022-05-24 20:45:18 +02:00
Frank Denis 9a3cde4ba5 Format 2022-05-14 01:30:16 +02:00
Frank Denis 9e52627655 Update serde_big_array 2022-03-28 11:21:12 +02:00
Frank Denis 025c3b99c3 Nits 2022-01-01 10:24:15 +01:00
Frank Denis 714241e2d5 Update clap to v3 2022-01-01 10:24:02 +01:00
Frank Denis 7cf89393c2 Try to daemonize after tokio's runtime has been built 2021-09-15 21:57:00 +02:00
Frank Denis 8b17418372 cache -> key_cache for clarity 2021-07-05 00:14:42 +02:00
Frank Denis 65b11b8380 Nits 2021-06-20 01:03:06 +02:00
Frank Denis 64715db2f6 Metrics appears to be compatible with daemonization now 2021-06-20 01:01:08 +02:00
Frank Denis f0513d5acc Initialize the tokio junk after privdrop 2021-06-20 00:59:36 +02:00
Frank Denis 78eb2719ab Revert "Remove daemonization, it's always been broken"
This reverts commit 4f22725931.
2021-06-20 00:55:47 +02:00
Frank Denis 4f22725931 Remove daemonization, it's always been broken
Fixes #68
2021-06-20 00:03:30 +02:00
mibere 7439475d58
Typo 2021-04-12 21:28:00 +02:00
Frank Denis 8c35df5705 Upgrade socket2 - Same thing, just breaking API changes 2021-03-15 16:18:27 +01:00
Frank Denis f61c2545bd Shorten 2021-02-25 20:40:20 +01:00
Frank Denis 1eeed9ab83 Remove annoying clippy checks 2021-02-25 20:39:35 +01:00
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
2021-02-25 20:04:49 +01:00
Frank Denis 631ebd4776 Nits 2021-02-09 22:33:05 +01:00
Evaldas Auryla 3ad33aa32c Nits 2021-02-05 11:25:22 +01:00
Frank Denis 869e873ad3 Try to use socket2 less 2020-12-23 22:12:39 +01:00
Frank Denis 156adf46c3 Upgrade to tokio 1.0.0 2020-12-23 21:42:37 +01:00
Frank Denis e405c04236 Prometheus update 2020-12-12 01:09:45 +01:00
Frank Denis ed72e0e064 Don't bail out if only metrics are enabled 2020-11-02 22:17:46 +01:00
Frank Denis 0526aba47b Bail out if metrics and daemonization are enabled simultaneously 2020-10-09 19:11:34 +02:00