Commit graph

2692 commits

Author SHA1 Message Date
Frank Denis
a533456983 Add AI-POLICY.md
Robotic language is too painful to parse for humans.
2026-11-16 23:53:05 +01:00
Frank Denis
a2d1fa2284 forward: don't ignore response question mismatches 2026-11-16 23:25:12 +01:00
Frank Denis
77420d9ce1 ODoH: nonce sizes above 32 don't make sense
And the spec doesn't define anything larger anyway
2026-11-16 23:16:12 +01:00
Frank Denis
9ccab4fa7c xsalsa: check that the shared key is not H(0) not that it's 0 2026-11-16 23:15:12 +01:00
Frank Denis
6ae6bf8979 Update deps 2026-11-16 23:12:12 +01:00
Frank Denis
1833ff725b Update deps 2026-11-16 23:04:12 +01:00
Frank Denis
aa2c8591ea Update GitHub actions 2026-11-16 12:12:39 +01:00
Frank Denis
0c7fc85b66 Update deps 2026-11-16 12:07:39 +01:00
Frank Denis
9c73f44fec Merge branch 'master' of github.com:DNSCrypt/dnscrypt-proxy
* 'master' of github.com:DNSCrypt/dnscrypt-proxy:
  Create PTR records for every IPv6 address of a cloaked name (#3419)
2026-11-12 16:04:22 +01:00
Frank Denis
e70174db4c Update deps 2026-11-12 16:04:07 +01:00
Aleksey Fedorov
7b9e495e71
Create PTR records for every IPv6 address of a cloaked name (#3419)
With cloak_ptr, the PTR record of an IPv6 rule was always built from the
first IPv6 address of the name. A second address got no PTR record, and
the first one got the name twice.
2026-11-12 15:57:53 +01:00
Aleksey Fedorov
a286175551
Accept ws and wss in X-Forwarded-Proto for the monitoring UI (#3418)
Some reverse proxies, such as Traefik, report WebSocket handshakes as
ws or wss. These values were ignored, so behind a TLS-terminating proxy
the scheme was assumed to be http: the origin check rejected the
https origin of the dashboard, and accepted an http one.

Map ws to http and wss to https.
2026-11-12 15:55:41 +01:00
Frank Denis
8d5b1b5beb Reply from the address the query was sent to on wildcard UDP listeners
Fixes discussion #3397
2026-11-04 23:09:17 +01:00
Slava Olesik
277917a4b8
generate-domains-blocklist: add the NetAPI compromised domains list (#3383) 2026-11-02 15:11:35 +01:00
Frank Denis
56eab06523 Add a quick test for anonymized routes 2026-11-02 23:09:10 +01:00
Frank Denis
14673ae3c9 Fix IPv6 relay selection for wildcard routes
Fixes #3393
2026-11-02 12:17:03 +01:00
Frank Denis
2035d05129 ChangeLog nits 2026-11-02 12:06:43 +01:00
Frank Denis
9c2c96765e Mention that since 2.1.20, cert roots can match hashes 2026-11-02 12:03:31 +01:00
Frank Denis
598056ad6d Remove more Quad9 usage as a default or for tests 2026-10-22 23:44:37 +02:00
Frank Denis
ae965537db Unfortunately, 9.9.9.9 won't be accessible from some countries soon 2026-10-22 23:33:41 +02:00
Frank Denis
f99fe1efb0 Update 2026-10-22 23:15:45 +02:00
Frank Denis
c33302bc27 Update deps 2026-10-22 23:08:45 +02:00
Frank Denis
df01001590 Update ChangeLog 2026-10-22 23:07:45 +02:00
Frank Denis
a83cb0a4ee Add an option to check cert hashes on every client DoH connection 2026-10-22 23:05:45 +02:00
Frank Denis
aaadd1d457 Missing update 2026-10-22 18:39:27 +02:00
Frank Denis
f8e8e1e49d Pad PQ queries sent over TCP
Fixes #3376
2026-10-22 17:17:07 +02:00
Frank Denis
71c139ad0e An interface without a global address cannot reach a resolver
Fixes #3375
2026-10-21 10:01:22 +02:00
Frank Denis
9860de40be Update deps 2026-10-20 14:43:22 +02:00
Frank Denis
ca3690f4e8 Update deps 2026-10-16 23:09:57 +02:00
Frank Denis
7019609060 TCP padding must stay within 1..256, including the 0x80 delimiter
dnsdist drops queries with more.

The minimal padding is 1..64 bytes, so adding 0 to 3 random blocks
of 64 bytes keeps it in range.

Fixes #3368
2026-10-15 23:04:10 +02:00
Frank Denis
121cf7871e Update github actions 2026-10-14 23:05:02 +02:00
Frank Denis
2d2a5df43a Import name_list.go 2026-10-14 12:50:29 +02:00
Frank Denis
252c44cdbe Add support for regex in allowed/blocked names 2026-10-14 12:46:51 +02:00
Frank Denis
c162578d6c Update deps 2026-10-14 08:47:01 +02:00
Frank Denis
ade0c1d682 Enforce a 4K limit for HTTP/3, like HTTP/2 2026-10-10 20:47:43 +02:00
Frank Denis
9cf4bb6822 Merge branch 'master' of github.com:DNSCrypt/dnscrypt-proxy
* 'master' of github.com:DNSCrypt/dnscrypt-proxy:
  netprobe: accept multiple comma-separated addresses (#3358)
  Update deps
2026-10-01 01:11:58 +02:00
Frank Denis
a4bf636c11 NextDNS doesn't publish their domains blocklist any more 2026-10-01 01:11:38 +02:00
Frank Denis
6234d1bb20
netprobe: accept multiple comma-separated addresses (#3358)
This allows probing both an IPv4 and an IPv6 address, so that network
detection works on IPv4-only as well as IPv6-only networks.
2026-09-29 20:26:15 +02:00
Frank Denis
139e66de37 Update deps 2026-09-29 12:07:59 +02:00
Frank Denis
970c500f19 Update deps and CI actions 2026-09-18 23:08:24 +02:00
Frank Denis
f642604592 Bump 2026-09-14 14:31:02 +02:00
Frank Denis
64a40b1191 Update .gitignore 2026-09-14 14:28:21 +02:00
Frank Denis
8cec1e7042 Add a test for IP rules 2026-09-14 14:26:41 +02:00
Frank Denis
232ce38b4b Update ChangeLog 2026-09-14 14:26:17 +02:00
Frank Denis
0777110776 Require go 1.27 2026-09-14 14:21:27 +02:00
Frank Denis
7be8203f10 Add maintainer files 2026-09-09 11:23:12 +02:00
Frank Denis
47ce24df6e Update deps 2026-09-07 23:08:43 +02:00
Frank Denis
9fd8201016 Fix mapped IPv4 filtering and IP rule error line numbers 2026-09-07 12:03:15 +02:00
a1346054
d5b64670e3
Improve comment about Tor circuit sharing (#3300)
There is no guarantee that the Tor exit node is different for isolated
streams. An attempt is made to make the path through the Tor network
different for isolated streams, which means that at least one node will
be different, and that is not necessarily the exit node.
2026-08-22 07:44:54 +02:00
Frank Denis
f41a19c1c8 Require Go 1.26 2026-08-22 07:15:42 +02:00