W.C.A. Wijngaards
fac7584830
- Fix #1474 : DoQ responses are never padded - pad-responses
...
does not apply to comm_doq (RFC 9250 §5.4 MUST).
2026-07-20 10:14:26 +02:00
W.C.A. Wijngaards
87f9258fb4
Changelog entry for #1475
...
- Merge #1475 from petrvaganoff: ipsecmod: fix deref on null
in ipsecmod-whitelist after OOM.
2026-07-20 10:05:45 +02:00
W.C.A. Wijngaards
ad9b12a863
- Fix unit test for malformed svcb for test on Windows.
2026-07-09 09:52:09 +02:00
W.C.A. Wijngaards
61ca4111a1
Changelog note and explanation comment for #1383
...
- Merge #1383 from jdek: Fix randomness generation on
macOS/iOS under chroot.
2026-07-09 09:21:56 +02:00
W.C.A. Wijngaards
ba4f8478e6
Add changelog note for #1087 , remove copyright line as discussed, and
...
compile fixes for newer local_zones_lookup, unused variable warnings
fixed, and also manual page description of the feature.
- Merge #1087 : Overload `local_data_remove` to support removing
specific records.
2026-07-02 15:04:51 +02:00
W.C.A. Wijngaards
f35561287a
- iana portlist updated.
2026-06-30 12:38:33 +02:00
W.C.A. Wijngaards
672b9659cf
- Fix #1469 : dohclient: DoH POST missing content-length → :status
...
400 from strict resolvers (Cloudflare, Mullvad).
2026-06-30 12:14:00 +02:00
W.C.A. Wijngaards
1978add0cd
- Merge #1467 : daemon: fix DEREF_AFTER_NULL.EX.COND on
...
worker_init. This fixes error handling if the worker
stat_timer allocation has an out of memory error. That
makes the server not crash later, attempting to use it.
2026-06-26 13:44:27 +02:00
W.C.A. Wijngaards
65e23d4b6f
- Merge #1465 from dag-erling: Add libunbound/remote.h. Add
...
a shared header containing prototypes for functions that
both ends of a remote control connection need to implement.
2026-06-25 11:16:01 +02:00
W.C.A. Wijngaards
01a95108b3
- Fix warning about file_string_matches in unbound-checkconf.
2026-06-19 09:30:46 +02:00
W.C.A. Wijngaards
f75d11821f
- Fix to update github ci actions/checkout to v7.
2026-06-19 09:25:39 +02:00
W.C.A. Wijngaards
6aa5cfc903
- Fix for #1457 : fix thread setname for thread start of
...
dnstap, and fast_reload.
2026-06-19 08:37:23 +02:00
W.C.A. Wijngaards
4c5082ad05
- Fix that fast_reload does not terminate the server if
...
random init for DNS cookies fails. The data is only random
generated if cookies are enabled, and the random data
is necessary. Thanks to Qifan Zhang, Palo Alto Networks,
for the report.
2026-06-17 16:15:15 +02:00
W.C.A. Wijngaards
5fb892a097
- Fix that fast_reload does not terminate the server
...
on config read failure after malloc failure. Thanks to
Qifan Zhang, Palo Alto Networks, for the report.
2026-06-17 16:10:48 +02:00
W.C.A. Wijngaards
55e9532d16
- Fix after malloc failure for stats, then it drains the pipe
...
so the internal messaging stays correct. Also it does
not exit the server if stats pipe communication fails.
Thanks to Qifan Zhang, Palo Alto Networks, for the report.
2026-06-17 16:05:45 +02:00
W.C.A. Wijngaards
fff6657cea
- Fix that fast_reload does not terminate the server
...
on malloc failure for dnstap, or if gethostname fails.
Thanks to Qifan Zhang, Palo Alto Networks, for the report.
2026-06-17 16:02:21 +02:00
W.C.A. Wijngaards
45d1e75caf
- Fix to check for malloc failure in rpz response create,
...
for nodata and nxdomain, so it does not crash later.
Thanks to Qifan Zhang, Palo Alto Networks, for the report.
2026-06-17 15:59:29 +02:00
W.C.A. Wijngaards
b806f16c8b
- Fix to check the return value of auth_xfer_create
...
during fast_reload auth-zone add and change processing.
Thanks to Qifan Zhang, Palo Alto Networks, for the report.
2026-06-17 15:57:30 +02:00
W.C.A. Wijngaards
8d3348c71b
- Fix that malloc failure during edns subnet addrtree
...
insert is checked, so it does not crash later. Thanks to
Qifan Zhang, Palo Alto Networks, for the report.
2026-06-17 15:55:33 +02:00
W.C.A. Wijngaards
e2cc14681e
- Fix that malloc failure for rpz_strip_nsdname is
...
checked and handled, so that it does not crash later.
Thanks to Qifan Zhang, Palo Alto Networks, for the report.
2026-06-17 15:53:28 +02:00
W.C.A. Wijngaards
5ae979bb6e
- Fix that on malloc failure during accept of TCP, the
...
socket is not left to cause a read event loop. It uses
slow-accept to delay accepting new connections, if
that fails it drops the new connections. When the tcp
connection usage is full, it waits for 50msec, to allow
existing queries to be resolved. Thanks to Qifan Zhang,
Palo Alto Networks, for the report.
2026-06-17 15:37:04 +02:00
W.C.A. Wijngaards
8f2fbd66fc
- Fix that malloc failure for ngtcp2_conn_server_new
...
cleans up reference that older ngtcp2 versions can leave.
Thanks to Qifan Zhang, Palo Alto Networks, for the report.
2026-06-17 15:33:06 +02:00
W.C.A. Wijngaards
b5909d8d22
- Fix that malloc failure in doq connection setup, does
...
not crash in doq connection delete later. Thanks to Qifan
Zhang, Palo Alto Networks, for the report.
2026-06-17 15:29:48 +02:00
W.C.A. Wijngaards
fa8e94f155
- Fix that malloc failure for new_local_rrset for RPZ qname
...
trigger RR insert does not crash. It does not link a
partial RRset, and logs an error on failure, and cleans
up the dname allocation. Thanks to Qifan Zhang, Palo Alto
Networks, for the report.
2026-06-17 15:26:56 +02:00
W.C.A. Wijngaards
cb5683aeae
- Fix that malloc failure in dns64_inform_super does
...
not set up a half-built reply for cache store, that could
lead to a crash. Thanks to Qifan Zhang, Palo Alto Networks,
for the report.
2026-06-17 15:23:25 +02:00
W.C.A. Wijngaards
c9715724ec
- Fix that unbound-control auth_zone_reload stops the
...
server answering from the zone after a failure to read.
Thanks to Qifan Zhang, Palo Alto Networks, for the report.
2026-06-17 15:20:22 +02:00
W.C.A. Wijngaards
78d9cfffd8
- Fix that malloc failure in auth-zone insert rr does
...
not create an empty node and does not cause an infinite
loop. Thanks to Qifan Zhang, Palo Alto Networks, for
the report.
2026-06-17 15:16:21 +02:00
W.C.A. Wijngaards
b47b1d048d
- Fix that unbound-checkconf checks if an auth-zone download
...
can overwrite another file, by filename collision.
Thanks to Qifan Zhang, Palo Alto Networks, for the report.
2026-06-17 15:11:42 +02:00
W.C.A. Wijngaards
740952fb82
- Fix to remove debug from auth_transfer_limit test.
2026-06-17 11:38:24 +02:00
W.C.A. Wijngaards
5c550f4548
- Fix that after fast_reload the disown of the auth zone
...
transfer task cleans the chunk list. Also fix the
auth_transfer_limit test to use a forwarder for each type
of failure, so the one is not blocked by the other waiting.
2026-06-17 11:37:06 +02:00
W.C.A. Wijngaards
3d78cb8d9a
- Fix for #1462 : Fix that auth primary host name lookup
...
allows CNAMEs.
2026-06-16 11:13:47 +02:00
W.C.A. Wijngaards
1ab75c0043
- Fix after malloc failure the rrset_insert_rr in
...
localzone processing, during RPZ qname trigger processing,
the RRset retains its previous data correcly. Thanks to
Qifan Zhang, Palo Alto Networks, for the report.
2026-06-16 10:59:37 +02:00
W.C.A. Wijngaards
bebc8d516b
- Fix incorrect cleanup after an allocation failure for
...
a delegation point in a region. Thanks to Qifan Zhang,
Palo Alto Networks, for the report.
2026-06-16 10:56:36 +02:00
W.C.A. Wijngaards
a7debe7ff6
- Fix that after shared memory cannot be created, from
...
`shm-enable`, the server does not crash. Thanks to Qifan
Zhang, Palo Alto Networks, for the report.
2026-06-16 10:53:40 +02:00
W.C.A. Wijngaards
215e3920ef
- Fix that after malloc failure in find_tag_datas, the
...
local_alias is cleaned up. Thanks to Qifan Zhang, Palo
Alto Networks, for the report.
2026-06-16 10:51:49 +02:00
W.C.A. Wijngaards
aabf28aef5
- Fix incorrect cleanup after an allocation failure for
...
a delegation point. Thanks to Qifan Zhang, Palo Alto
Networks, for the report.
2026-06-16 10:49:50 +02:00
W.C.A. Wijngaards
aa09835c90
- Fix for neater solution to clear log thread id after
...
worker init failure. Thanks to Qifan Zhang, Palo Alto
Networks, for the report.
2026-06-16 10:48:17 +02:00
W.C.A. Wijngaards
9b9e13b665
- Fix that libunbound pipe functions fail with error after
...
an event base is set. Thanks to Qifan Zhang, Palo Alto
Networks, for the report.
2026-06-16 10:44:41 +02:00
W.C.A. Wijngaards
f72e11ef5b
- Fix locking in libunbound ub_ctx_set_event call.
...
Thanks to Qifan Zhang, Palo Alto Networks, for the report.
2026-06-16 10:42:39 +02:00
W.C.A. Wijngaards
a45e54555d
- Fix that dnscrypt configuration does not crash, due to
...
inconsistency between secret and public keys. Also
duplicate files are skipped. Thanks to Qifan Zhang, Palo
Alto Networks, for the report.
2026-06-16 10:40:10 +02:00
W.C.A. Wijngaards
4693c00c9f
- Fix that after malloc failure in RPZ load a half built
...
list does not crash later. The newly created RRset is
linked after creation has succeeded. Thanks to Qifan Zhang,
Palo Alto Networks, for the report.
2026-06-16 10:35:41 +02:00
W.C.A. Wijngaards
8fe23e0297
- Fix that for a zonefile only zone, if that file does not
...
exist on server start, the server continues to start with
a warning log message. Thanks to Qifan Zhang, Palo Alto
Networks, for the report.
2026-06-16 10:26:25 +02:00
W.C.A. Wijngaards
8557788699
- Fix that after malloc failure a half-built local_alias does
...
not crash the server. Thanks to Qifan Zhang, Palo Alto
Networks, for the report.
2026-06-16 10:12:19 +02:00
W.C.A. Wijngaards
81a19ebeb3
- Fix that a signed wildcard NSEC, is checked before use,
...
so it does not allow insecure DS proofs inappropriately.
Thanks to Qifan Zhang, Palo Alto Networks, for the report.
2026-06-16 10:09:00 +02:00
W.C.A. Wijngaards
299df5ec77
- Fix that dns64 does not ignore the forward-no-cache and
...
`stub-no-cache` options. Thanks to Qifan Zhang, Palo Alto
Networks, for the report.
2026-06-16 09:52:46 +02:00
W.C.A. Wijngaards
6f9b6db7be
- Fix that auth-zone, and RPZ zones, do not allow out-of-zone
...
records. These are records that are not under the zone apex.
The out-of-zone records are dropped from the zone contents.
Thanks to Qifan Zhang, Palo Alto Networks, for the report.
2026-06-16 09:48:10 +02:00
W.C.A. Wijngaards
96f15b9160
- Fix that a half-written trust anchor file does not crash
...
the server at runtime. It unlinks a wrong file from the list.
Thanks to Qifan Zhang, Palo Alto Networks, for the report.
2026-06-16 09:45:10 +02:00
W.C.A. Wijngaards
159384c2a9
- Fix that when SVCB records cannot be written out, and
...
are written in unknown format, that the zone read allows
such unknown format SVCB records. Thanks to Qifan Zhang,
Palo Alto Networks, for the report.
2026-06-16 09:36:33 +02:00
W.C.A. Wijngaards
621fc91453
- Fix to disallow $INCLUDE for secondary zones. Start up
...
of server continues if a secondary zone fails to load.
Failed loads clear the zone data, so there is no partial
zone. Thanks to Qifan Zhang, Palo Alto Networks, for
the report.
2026-06-16 09:30:52 +02:00
W.C.A. Wijngaards
543c49f76c
- Fix that dns64 bypasses rpz-passthru rule during
...
synthesis. This restricted more than necessary. Thanks to
Qifan Zhang, Palo Alto Networks, for the report.
2026-06-15 16:50:42 +02:00
W.C.A. Wijngaards
d0a760a587
- Fix misconfigured ipsecmod hook causing path name
...
similarity with other file. The ipsecmod is changed for
exec of the hook. The ipsecmod hook, if a script, has to
start now with a line like `#!/bin/sh`. Thanks to Qifan
Zhang, Palo Alto Networks, for the report.
2026-06-15 16:45:53 +02:00
W.C.A. Wijngaards
f68cca4097
- Fix DNAME synthesis from cache that keeps use of 0TTL
...
entries in a sliding window. It did not surpass RRSIG
expiry. Thanks to Qifan Zhang, Palo Alto Networks, for
the report.
2026-06-15 16:39:34 +02:00
W.C.A. Wijngaards
3129357874
- Fix log of an aliased qname, to not use freed region
...
memory. Thanks to Qifan Zhang, Palo Alto Networks, for
the report.
2026-06-15 16:34:17 +02:00
W.C.A. Wijngaards
fc09352df6
- Fix that fast_reload does not terminate the server for
...
errors in config, for key files. Thanks to Qifan Zhang,
Palo Alto Networks, for the report.
2026-06-15 16:31:37 +02:00
W.C.A. Wijngaards
06da5d45a3
- Fix integer overflow for very high values of
...
`sock-queue-timeout`. Thanks to Qifan Zhang, Palo Alto
Networks, for the report.
2026-06-15 16:28:30 +02:00
W.C.A. Wijngaards
69524cadad
- Fix erroneous DNS error report values after bogus AAAA
...
query caused error information that was not cleared by
a successful A subquery. Thanks to Qifan Zhang, Palo Alto
Networks, for the report.
2026-06-15 16:26:35 +02:00
W.C.A. Wijngaards
98e95d80e6
- Fix integer overflow in infra-cache-max-rtt calculation.
...
Thanks to Qifan Zhang, Palo Alto Networks, for the report.
2026-06-15 16:22:50 +02:00
W.C.A. Wijngaards
2f8aa8a43a
- Fix for fast_reload that removes an auth zone while its
...
lookups are in progress, for a primary name. Also after the
change, it no longer picks up the old results. Thanks to
Qifan Zhang, Palo Alto Networks, for the report.
2026-06-15 16:18:56 +02:00
W.C.A. Wijngaards
56e60e37ae
- Fix that fast_reload when a zonemd verification lookup
...
it in progress with subnet loaded, deregisters the
callback. Thanks to Qifan Zhang, Palo Alto Networks,
for the report.
2026-06-15 16:16:50 +02:00
W.C.A. Wijngaards
8f5348ab47
- Fix that misconfigured iter-scrub-ns: 0 causes request
...
failures. Thanks to Qifan Zhang, Palo Alto Networks,
for the report.
2026-06-15 16:04:24 +02:00
W.C.A. Wijngaards
c5d693b21c
- Fix buffer overflow when configured with lower than
...
default size and http transfer. Thanks to Qifan Zhang,
Palo Alto Networks, for the report.
2026-06-15 16:01:51 +02:00
W.C.A. Wijngaards
27e3ac55b9
- Fix assertion failure for long HTTP header that fills
...
buffer. Thanks to Qifan Zhang, Palo Alto Networks, for
the report.
2026-06-15 15:54:37 +02:00
W.C.A. Wijngaards
7879218773
Fix comment.
2026-06-15 15:53:00 +02:00
W.C.A. Wijngaards
1354624ba4
- Fix perform a full transfer every number of incremental
...
transfers, to stop increasing memory usage, for auth-zone
and rpz zones. Thanks to Qifan Zhang, Palo Alto Networks,
for the report.
2026-06-15 15:51:03 +02:00
W.C.A. Wijngaards
153f8d5353
- Fix to add max-transfer-size and max-transfer-time that
...
limit auth-zone and rpz transfer amount and time taken.
Default is disabled. This hardens against unbounded
transfers. Thanks to Qifan Zhang, Palo Alto Networks,
for the report.
2026-06-15 15:45:03 +02:00
W.C.A. Wijngaards
a1cecf7462
- Fix that for auth-zone and rpz zones the allow-notify
...
addresses and netblocks are available from start, and
fix the probe step skip.
2026-06-12 11:48:14 +02:00
W.C.A. Wijngaards
e2dac8a00a
- Fix compile for OpenSSL 1.0.2 and before in server cleanup.
2026-06-11 17:31:19 +02:00
W.C.A. Wijngaards
ecd41bef27
- Fix #1437 : Fix compile with OpenSSL 4.0.1.
2026-06-11 17:31:01 +02:00
W.C.A. Wijngaards
fd2131687a
- Fix for #1306 : configure checks if the ngtcp2_crypto_ossl
...
header file is available, and prints an error otherwise.
2026-06-11 11:43:46 +02:00
W.C.A. Wijngaards
316b9ab4fc
- Fix for #1306 : configure detects specifically the call to
...
SSL_set_quic_tls_early_data_enabled and
SSL_set_quic_early_data_enabled, so the correct one is used.
2026-06-11 11:04:50 +02:00
W.C.A. Wijngaards
d45daaf313
- Fix warnings with gcc in compat/inet_pton.c.
2026-06-10 16:43:41 +02:00
W.C.A. Wijngaards
db1c6d6557
- Fix pythonmod script read for numeric overflow.
2026-06-10 11:24:02 +02:00
W.C.A. Wijngaards
e7a713a525
- Fix unit test for ecs to check for malloc success.
2026-06-09 16:41:37 +02:00
W.C.A. Wijngaards
3eab974ca2
- Fix that dns64 cleans up the allocated message if the adjust
...
routines fail, and checks if there is a reply before cache
store, also unbound checks if A and AAAA are malformed
for auth-zones. Thanks to Qifan Zhang, Palo Alto Networks,
for the report.
2026-06-03 14:56:20 +02:00
W.C.A. Wijngaards
b1d1dcb3b6
- Fix that dump_cache has a larger buffer for records,
...
and it checks that an owner name does not collide with BADRR
on the input, and changes verbosity on the log of failure in
rrset to string. Thanks to Qifan Zhang, Palo Alto Networks,
for the report.
2026-06-03 14:51:16 +02:00
W.C.A. Wijngaards
10cb62aca2
- Fix that validation canonicalization of domain names
...
in rdata checks for buffer bounds. Thanks to Qifan Zhang,
Palo Alto Networks, for the report.
2026-06-03 14:48:06 +02:00
W.C.A. Wijngaards
6da73aba38
- Fix fast_reload for when a ZONEMD lookup is in progress.
...
Thanks to Qifan Zhang, Palo Alto Networks, for the report.
2026-06-03 14:42:47 +02:00
W.C.A. Wijngaards
1b1b9626ee
- Fix negative cache NSEC3 nodata proof, to use the correct
...
message size. Thanks to Qifan Zhang, Palo Alto Networks,
for the report.
2026-06-03 14:40:17 +02:00
W.C.A. Wijngaards
8bc074043a
- Fix PROXYv2 header read and consume, it checks the header
...
size. Thanks to Qifan Zhang, Palo Alto Networks for
the report.
2026-06-03 14:37:37 +02:00
W.C.A. Wijngaards
04a6322aa4
- Fix ipset module to use larger domain name buffers, and
...
check buffer lengths. Thanks to Qifan Zhang, Palo Alto
Networks for the report.
2026-06-03 14:35:06 +02:00
W.C.A. Wijngaards
5748f518d1
- Fix that quotation and escaping works the same in auth-zone
...
url content, as in the zonefile read. Thanks to Qifan Zhang,
Palo Alto Networks for the report.
2026-06-03 14:32:14 +02:00
W.C.A. Wijngaards
d05eff4d54
- Fix parse of svcbparam ech, it had incorrect length. Thanks
...
to Qifan Zhang, Palo Alto Networks for the report.
2026-06-03 14:05:48 +02:00
W.C.A. Wijngaards
5d0770d0ad
- Fix negative cache to work with NSEC3 records without salt.
...
Thanks to Xin Wang, Jiapeng Li, and Jiajia Liu, Northwestern
Polytechnical University, for the report.
2026-06-03 13:56:31 +02:00
W.C.A. Wijngaards
7f4beb846e
- Fix that the processing of class responses does not have
...
a heap use-after-free. That could happen if at least two
distinct classes are configured for resolution. Thanks
to Qifan Zhang, Palo Alto Networks for the report.
In addition, thanks to Xin Wang, Jiapeng Li, and Jiajia
Liu, Northwestern Polytechnical University, for also
reporting this.
2026-06-03 12:14:30 +02:00
W.C.A. Wijngaards
8e8c04e1b9
- Fix unit test to check for new icannbundle.pem.
2026-05-29 12:10:40 +02:00
W.C.A. Wijngaards
bf0da2ed21
- Update icannbundle.pem certificates in unbound-anchor. It
...
has the public keys for 2009 to 2029 and for 2025 to 2045.
2026-05-29 12:10:07 +02:00
W.C.A. Wijngaards
670ece06df
- iana portlist updated.
2026-05-29 11:54:40 +02:00
W.C.A. Wijngaards
9e41903be8
- Fix header_seen detection for trust anchor files, so that it
...
detects the id line.
2026-05-29 11:54:03 +02:00
W.C.A. Wijngaards
57f92cc97e
- Fix #1457 : race condition causes segfault when starting
...
threads.
2026-05-28 09:34:04 +02:00
W.C.A. Wijngaards
c0741ccc68
- Fix analyzer warning in mesh_new_client.
2026-05-27 16:03:15 +02:00
W.C.A. Wijngaards
fb2745024a
- Fix that validator caps number of ANY RRsets it can
...
validate, and the wait timer is shortened. Thanks to Qifan
Zhang, Palo Alto Networks, for the report.
2026-05-27 13:38:10 +02:00
W.C.A. Wijngaards
0c15ddd133
- Fix ipset module for name too long checks, race conditions
...
on local name buffer, and for socket close race condition.
Thanks to Qifan Zhang, Palo Alto Networks, for the report.
2026-05-27 13:34:32 +02:00
W.C.A. Wijngaards
b53504049c
- Fix that dns64 with subnetcache does not write ECS scoped
...
answers to global cache. Thanks to Qifan Zhang, Palo Alto
Networks, for the report.
2026-05-27 13:31:11 +02:00
W.C.A. Wijngaards
a5324e58eb
- Fix, in depth, for respip rewrite of dns64 responses. Thanks
...
to Qifan Zhang, Palo Alto Networks, for the report.
2026-05-27 13:28:41 +02:00
W.C.A. Wijngaards
963cd68535
- Fix manual to document ratelimit, that it is for target
...
nameservers for a domain, and keeps queries limited. Thanks
to Qifan Zhang, Palo Alto Networks, for the report.
2026-05-27 13:24:44 +02:00
W.C.A. Wijngaards
047df73887
- Fix to decrement the per-netblock tcp connection limits, so
...
it keeps usable. Thanks to Qifan Zhang, Palo Alto Networks,
for the report.
2026-05-27 13:20:35 +02:00
W.C.A. Wijngaards
d2e1ea7d19
- Fix to reset the tcp-timeout before applying a load based
...
reduction. Thanks to Qifan Zhang, Palo Alto Networks, for the
report.
2026-05-27 13:17:35 +02:00
W.C.A. Wijngaards
fbbe95ba5b
- Fix that msgencode insert_query has the correct assertion,
...
for a local_alias. Thanks to Qifan Zhang, Palo Alto Networks,
for the report.
2026-05-27 12:20:04 +02:00
W.C.A. Wijngaards
758c649611
- Fix that the ratelimit is decremented on successful
...
referrals. Thanks to Qifan Zhang, Palo Alto Networks, for
the report.
2026-05-27 12:16:23 +02:00
W.C.A. Wijngaards
a23f95f620
- Fix to limit the DSNS per-label walk in the iterator. Thanks
...
to Qifan Zhang, Palo Alto Networks, for the report.
2026-05-27 12:12:39 +02:00