1
0
Fork 0
mirror of https://github.com/SamTherapy/dnscrypt.git synced 2024-07-01 05:16:07 +00:00
Commit graph

58 commits

Author SHA1 Message Date
Mohammad Zolfaghari f28a1a337a
fix: pad function calculating minQuestionSize (#25)
fix problem with calculating closest divisible by 64
closes #24
2024-04-17 18:02:24 +02:00
Sam Therapy 75da7c00a0
fix(lint): Add proper nolint to poly1305 2023-05-03 19:50:37 +02:00
Sam Therapy 347916f388
Merge branch 'ameshkov:master' into master 2023-05-02 17:59:55 +00:00
Ainar Garipov d84a81e12d
all: fix another panic in cert parsing (#21)
Fixes #20.
2023-04-13 16:24:15 +03:00
Sam Therapy 677d3a31ed
fix(lint): lint 2023-04-11 16:42:55 +02:00
Sam Therapy bf63ef00f1
go get -u 2023-04-10 22:08:19 +02:00
Sam Therapy 3fbc0b2fab
Merge branch 'ameshkov:master' into master 2023-03-28 22:13:02 +02:00
Andrey Meshkov 6ca80e7ffc code cleanup, go to 1.19 2023-03-15 18:57:22 +03:00
Ainar Garipov 266e248ed5
all: fix panic in cert parsing (#19)
Fixes ameshkov/dnscrypt#18.
2023-03-15 18:49:10 +03:00
Sam Therapy 3459b621a6
change import URL
Signed-off-by: Sam Therapy <sam@samtherapy.net>
2023-03-06 23:26:40 +01:00
Sam Therapy abc4205da5
fix(deps): use newer x/crypto 2023-03-06 23:11:36 +01:00
Sam Therapy e97e709f23
fix(deps): Dependency bump 2023-03-06 22:51:57 +01:00
Andrey Meshkov aeff595567 Fix linter warnings 2022-08-29 10:07:17 +03:00
Andrey Meshkov 5c9fe7834f Upgrade dependencies, fix #15 2022-08-29 09:58:58 +03:00
Ainar Garipov 180dea3b91
imp docs, rm unused field, go mod tidy (#13) 2021-08-31 20:33:03 +03:00
Andrey Meshkov ef90099c2d increase the default UDP buffer 2021-08-31 19:34:31 +03:00
Eugene 10ee7b1b81
udp: fix remote addr source (#12) 2021-07-27 18:06:28 +03:00
Andrey Meshkov 3416ca53bc Added UDPSize properties to client and server 2021-07-13 14:07:12 +03:00
Andrey Meshkov b5bcf754ca assert -> require 2021-07-13 13:13:59 +03:00
iamsurfing 42711ade6a
Update README.md (#9)
Add import to example code
2021-06-02 19:28:36 +03:00
Andrey Meshkov 70b18f35f7 minor doc changes 2021-06-02 11:31:07 +03:00
Andrey Meshkov b7fd5d3700 Fix compatibility with the old dnscrypt-proxy version 2021-04-14 18:20:03 +03:00
Andrey Meshkov 27514f9fe6 added brew installation instruction 2021-04-04 19:52:18 +03:00
Andrey Meshkov 165eb8d225 removed travis from README 2021-03-19 16:21:47 +03:00
Andrey Meshkov d2deac6243 added github actions 2021-03-19 16:13:44 +03:00
Andrey Meshkov 5ddb58f703
Graceful shutdown of the DNSCrypt server (#6)
Graceful shutdown of the DNSCrypt server

This PR implements Server.Shutdown(ctx context.Context) method that allows
to shut down the DNSCrypt server gracefully.

Some additional changes that were inadvertently made while doing that:
1. Added benchmark tests
2. Started using dns.ReadFromSessionUDP / dns.WriteToSessionUDP instead of implementing it by ourselves
3. Generally improved tests
4. Added depguard 
5. Improved comments overall in the code
2021-03-19 15:42:48 +03:00
sdbochkarev d0ae1d198d
Add convert-dnscrypt-wrapper command
The new command allows to convert keys generated by dnscrypt-wrapper to a configuration compatible with the "dnscrypt" tool
2021-02-02 13:54:52 +03:00
Andrey Meshkov 053da1d64f
Merge pull request #4 from sdbochkarev/master
add 'network' flag to lookup cmd
2020-12-28 14:22:07 +03:00
semen bochkarev dc81d8d2ce add flag 'network' into readme 2020-12-28 14:21:20 +03:00
semen bochkarev 839bc63547 add 'network' flag to lookup cmd 2020-12-28 14:15:34 +03:00
Andrey Meshkov a401f89d57
Merge pull request #3 from ainar-g/fix-makefile
all: fix Makefile
2020-11-30 19:54:17 +03:00
Ainar Garipov 4c4361a4f3 all: fix Makefile 2020-11-30 19:40:06 +03:00
Andrey Meshkov ec8cdd3529 Upgrade to v2 2020-10-19 18:36:54 +03:00
Andrey Meshkov 109bdeae42 Upgrade to v2 2020-10-19 18:03:02 +03:00
Andrey Meshkov 98e325955a cleanup repo 2020-10-19 17:45:36 +03:00
Andrey Meshkov 1b4a041840
DNSCrypt server implementation, major refactoring
This is a major refactoring of this library.

Here's what changed:

1. Added DNSCrypt server implementation.
2. Added a command-line tool that can be used for everything related to DNSCrypt: generating resolver config, making lookups, running a DNSCrypt resolver

The programming interface was also updated, this library can be used by other software to incorporate DNSCrypt for both server-side or client-side.
2020-10-19 17:35:08 +03:00
Andrey Meshkov c61ddcb786 Set target coverage to 60% 2020-10-19 17:31:54 +03:00
Andrey Meshkov 2789624e34 Improved instruction 2020-10-19 17:26:57 +03:00
Andrey Meshkov d2621f55d2 Added DNSCrypt server implementation 2020-10-19 17:20:49 +03:00
Andrey Meshkov 24c055c2b8 refactor: 💡 upgrade to go v1.14 2020-04-03 18:29:07 +03:00
Andrey Meshkov d0f3e26a39 Use newer miekg/dns 2019-04-24 20:39:57 +03:00
Andrey Meshkov 1a4d8914f8 Remove Proto from ServerInfo 2019-01-22 13:29:29 +03:00
Andrey Meshkov 144ee17f5e Fix adjustPayloadSize method 2019-01-22 13:13:41 +03:00
Andrey Meshkov a3a21511cb upd dnsstamps 2018-12-29 16:20:13 +03:00
Andrey Meshkov a1a856d5d6 use github.com/ameshkov/dnsstamps 2018-12-29 14:25:36 +03:00
Andrey Meshkov 673d093636 fix timeout behavior 2018-12-27 11:05:11 +03:00
Andrey Meshkov 227ce1fa8f fix dependency 2018-12-25 01:39:34 +03:00
Andrey Meshkov a12971f563 fix tests 2018-12-18 13:13:44 +03:00
Andrey Meshkov 45e0327548 Added Client.AdjustPayloadSize field and more tests 2018-12-18 13:03:57 +03:00
Andrey Meshkov 1215bb8b15 fix mistake in the doc 2018-12-17 12:04:31 +03:00