W.C.A. Wijngaards
0efd3605cc
Merge branch 'master' into auth-load-thread
2026-07-01 16:54:55 +02:00
W.C.A. Wijngaards
a2f2f53ef9
- auth-load-thread, process end of successful transfer.
2026-07-01 16:54:36 +02:00
W.C.A. Wijngaards
b5a03093f6
- auth-load-thread, check for quit during the processing.
2026-07-01 14:41:40 +02:00
W.C.A. Wijngaards
8eba898135
- auth-load-thread, process AXFR, by loading, swap in, delete of old.
2026-07-01 14:27:31 +02:00
W.C.A. Wijngaards
56f66de89f
- auth-load-thread, process IXFR, by making a copy, adjust changes, swap in.
2026-07-01 13:05:19 +02:00
W.C.A. Wijngaards
2fbaee2255
- auth-load-thread, process transfer content and swap result back in.
2026-06-30 16:53:27 +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
a122490461
- auth-load-thread, poll for quit and process load transfer end.
2026-06-29 16:52:20 +02:00
W.C.A. Wijngaards
7826b4f306
Merge branch 'master' into auth-load-thread
2026-06-29 16:00:01 +02:00
W.C.A. Wijngaards
380994219f
- auth-load-thread, make and run auth load thread.
2026-06-26 17:11:12 +02:00
W.C.A. Wijngaards
153accb8de
- auth-load-thread, put create_socketpair and sock_poll_timeout into
...
util/net_help.h
2026-06-26 15:22:08 +02:00
W.C.A. Wijngaards
7bb1c62263
- auth-load-thread, add authload.c to Makefile.in.
2026-06-26 14:27:12 +02:00
W.C.A. Wijngaards
1578b6e180
- auth-load-thread, add services/authload.c and services/authload.h
2026-06-26 14:00:04 +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
Petr Vaganov and GitHub
6cbcea3ac7
daemon: fix DEREF_AFTER_NULL.EX.COND on worker_init ( #1467 )
...
Found by the static analyzer Svace (ISP RAS).
After having been compared to a NULL value at worker.c:2216,
pointer 'worker->stat_timer' is passed in call to function
'worker_restart_timer' at worker.c:2319,where it is
dereferenced at worker.c:2029.
Fix that stat_timer creation failure in worker_init does
not continue with a NULL timer that causes a crash later.
Signed-off-by: Petr Vaganov <petrvaganoff@gmail.com >
2026-06-26 13:42:29 +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
Dag-Erling Smørgrav and GitHub
fbe41cdef9
Add libunbound/remote.h ( #1465 )
...
Add a shared header containing prototypes for functions that both ends
of a remote control connection need to implement.
2026-06-25 11:14:37 +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
Yorgos Thessalonikefs
f6931c794e
- Fix memory leak on DNAME 0TTL records.
2026-06-17 17:30:21 +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