2
0
mirror of https://github.com/jedisct1/encrypted-dns-server synced 2024-11-15 00:13:02 +00:00
Commit Graph

30 Commits

Author SHA1 Message Date
Frank Denis
2c519a2b46 Move to TOML (1) 2019-09-19 12:09:00 +02:00
Frank Denis
d8d8757c74 TLS proxy return code 2019-09-18 23:55:16 +02:00
Frank Denis
a62b4a0cf7 Add TLS proxying 2019-09-18 23:49:54 +02:00
Frank Denis
ec91355e74 Padding length tweak 2019-09-18 15:23:50 +02:00
Frank Denis
a0454b8aff Detect TLS connections 2019-09-18 14:52:36 +02:00
Frank Denis
89704db220 Be less restrictive regarding packet sizes 2019-09-18 13:50:32 +02:00
Frank Denis
7c76ee9a13 Clean a few things 2019-09-18 13:40:05 +02:00
Frank Denis
6b30d567a6 Update .gitignore 2019-09-18 12:35:05 +02:00
Frank Denis
a135814891 Persist the provider key
Of course we also need to persist the resolver keys
2019-09-18 12:34:19 +02:00
Frank Denis
67a935f291 Padding 2019-09-18 11:53:13 +02:00
Frank Denis
0505f886e5 Handle truncated responses when len(query)<len(response) 2019-09-18 09:53:23 +02:00
Frank Denis
f673f8497b up 2019-09-18 02:04:04 +02:00
Frank Denis
159cf743c2 Pre-reserve enough room for responses 2019-09-18 01:57:15 +02:00
Frank Denis
59ba64d946 Avoid useless allocation 2019-09-18 01:53:17 +02:00
Frank Denis
eb1b857274 Send encrypted DNS responses 2019-09-18 01:44:47 +02:00
Frank Denis
65c2bba989 Keep the shared secret around 2019-09-18 01:23:03 +02:00
Frank Denis
337eb4924d Refactor a bit, remove question padding 2019-09-18 01:06:44 +02:00
Frank Denis
5f0bb6daf5 Start decrypting DNSCrypt queries 2019-09-17 22:33:15 +02:00
Frank Denis
58c5452084 Set TCP source address for outgoing connections 2019-09-17 20:02:09 +02:00
Frank Denis
e1bd1f52dc Recycle old connections 2019-09-09 14:01:10 +02:00
Frank Denis
236b424fbe Keep track of the number of clients 2019-09-09 01:16:29 +02:00
Frank Denis
82924686d9 Check the peer address
Just for paranoia, as it is redundant with the connect() call, but
cheap enough and the connect() call may eventually be removed.
2019-09-09 00:36:17 +02:00
Frank Denis
0c1ba485f4 merge 2019-09-09 00:32:28 +02:00
Frank Denis
0b3eabb488 Retry truncated responses over TCP 2019-09-09 00:30:48 +02:00
Frank Denis
35819a2375 Proxying 2019-09-08 22:21:01 +02:00
Frank Denis
f7b2a1777a up 2019-09-08 20:08:20 +02:00
Frank Denis
46c933e398 Print the DNS stamp at startup 2019-09-03 01:33:46 +02:00
Frank Denis
8689469722 up 2019-09-03 01:10:35 +02:00
Frank Denis
1dc7ce9a05 up 2019-09-02 23:02:23 +02:00
Frank Denis
9693c990a2
Initial commit 2019-09-01 22:07:19 +02:00