dnscrypt icon indicating copy to clipboard operation
dnscrypt copied to clipboard

DNSCrypt v2 protocol implementation + a command-line tool

Results 7 dnscrypt issues
Sort by recently updated
recently updated
newest added

Caught in `dnsproxy` tests failures: ```none ================== WARNING: DATA RACE Read at 0x00c0001823e0 by goroutine 9: runtime.raceread() :1 +0x24 github.com/ameshkov/dnscrypt/v2.(*Server).ServeTCP() /Users/runner/go/pkg/mod/github.com/ameshkov/dnscrypt/[email protected]/server_tcp.go:65 +0x1ea github.com/AdguardTeam/dnsproxy/upstream.startTestDNSCryptServer.func3() /Users/runner/work/dnsproxy/dnsproxy/upstream/dnscrypt_test.go:79 +0x45 Previous write at 0x00c0001823e0 by...

As discussed over here: https://github.com/AdguardTeam/AdGuardHome/issues/6131 Please lower the default days as the key validity period for this server is excessively long (365 days). Of course, it can be adjusted manually...

enhancement

Bumps [golang.org/x/net](https://github.com/golang/net) from 0.0.0-20220826154423-83b083e8dc8b to 0.7.0. Commits See full diff in compare view [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=golang.org/x/net&package-manager=go_modules&previous-version=0.0.0-20220826154423-83b083e8dc8b&new-version=0.7.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter...

dependencies

The current (v2) version of the module requires the packet connection to be a `*net.UDPConn`, while the TCP part is abstracted behind `net.Listener`. That is done so that `dns.SessionUDP` could...

See the details here: https://github.com/AdguardTeam/AdGuardHome/issues/3947#issuecomment-996530792 > cause: read udp 192.168.11.183:61037->149.112.112.10:8443: read: connection refused

github.com/ameshkov/dnscrypt/[email protected]/client.go:216 r, _, err := client.Exchange(query, stamp.ServerAddrStr) It request certificate using plaintext not encrypted DNS request, so I want 2 functions to set certificate information. new--->func (c *Client) SetCertInfo(stamp dnsstamps.ServerStamp,...