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
Andrey Meshkov
875723a3f9
added certinfo fields: notbefore, notafter
2018-12-17 11:21:45 +03:00
Andrey Meshkov
80e749d9e4
removed unnecessary todo
2018-12-17 11:01:39 +03:00
Andrey Meshkov
484a4dea74
gofmt
2018-12-17 02:39:22 +03:00
Andrey Meshkov
040c11f732
golint issues 2
2018-12-17 02:35:25 +03:00
Andrey Meshkov
6c1e0b5828
golint issues
2018-12-17 02:34:23 +03:00
Andrey Meshkov
0f4b899065
Fix golint issues
2018-12-17 02:31:36 +03:00
Andrey Meshkov
97b46cf0ce
enable modules
2018-12-17 02:07:04 +03:00
Andrey Meshkov
63ea7215f7
Init
2018-12-17 01:55:58 +03:00