Commit Graph
1653 Commits
Author SHA1 Message Date
W.C.A. Wijngaards c2758a7c90 - auth-load-thread, cast log argument to int. 2026-11-11 16:40:04 +01:00
W.C.A. Wijngaards 703ac8dad6 - auth-load-thread, wipe away etag when not in use. 2026-10-21 17:19:20 +02:00
W.C.A. Wijngaards 2478ca4c44 - auth-load-thread, fix to pass etag. 2026-10-21 11:40:07 +02:00
W.C.A. Wijngaards 81d192387d Merge branch 'master' into auth-load-thread 2026-10-21 11:24:14 +02:00
W.C.A. Wijngaards 6f2f265616 Merge branch 'branch-1.26.2' 2026-10-21 10:56:27 +02:00
W.C.A. Wijngaards 9dbe744b15 - Fix CVE-2026-109125, Possible cache poisoning vulnerability via
a cache side-channel exposed by 'unwanted-reply-threshold'. Thanks
  to TaoFei Guo (Peking University), and Yang Luo and JianJun Chen
  (Tsinghua University) for the report.
2026-10-21 10:12:12 +02:00
W.C.A. Wijngaards 7efed80355 - Fix CVE-2026-96405, Aggregate DNS name chained pointer decompression
work leads to degradation of service. Thanks to Yuheng Zhang
  (Tsinghua University and Jingxian Technology Co., Ltd.), Jianjun
  Chen (Tsinghua University), Zihan Wang (Z.AI Co., Ltd.) and Kaiwen
  Shen (CloudItera) for the report.
2026-10-21 10:11:46 +02:00
W.C.A. Wijngaards 05aa633403 - Fix CVE-2026-97206, DoQ path-migration can lead to use-after-free on
multi-threaded deployments. Thanks to Kunta Chu and Jianjun Chen
  from Tsinghua University for the report.
2026-10-21 10:10:46 +02:00
a5cd943877 Apply batched suggestions from code review
Review feedback from @wcawijngaards and @gthess

Co-authored-by: Wouter Wijngaards <wcawijngaards@users.noreply.github.com>
Co-authored-by: Yorgos Thessalonikefs <yorgos@nlnetlabs.nl>
2026-10-20 16:26:37 +02:00
Willem TooropandWouter Wijngaards efad833e28 Apply batched suggestions from code review
Co-authored-by: Wouter Wijngaards <wcawijngaards@users.noreply.github.com>
2026-10-20 15:41:12 +02:00
Willem Toorop 29bd80e53c Make test compile work 2026-10-20 15:25:58 +02:00
Willem Toorop 2f2d9229e7 Merge branch 'master' into hackathon/get-root-zone-with-etag 2026-10-20 14:39:58 +02:00
Wouter Wijngaards 660bfddeba unbound-checkconf reads config, but zonefiles are read with an option (#1534)
* - checkconf-zone-check, unbound-checkonf only reads config, -a option to read
  zone files of auth-zones and RPZ.

* - checkconf-zone-check, documentation in the man page.
2026-10-20 09:09:29 +02:00
W.C.A. Wijngaards d498d8279f - auth-load-thread, copy the respip data RRset only if present for auth
load thread IXFR work.
2026-10-19 10:05:14 +02:00
pettai 854ef1c2a4 log_nametypeclass -> VERB_DETAIL (#1529)
Don't log this at NO_VERBOSE/VERB_OPS level, it clutters the log especially then big zone updates happens.
This fits better at VERB_DETAIL level
2026-10-19 08:23:25 +02:00
W.C.A. Wijngaards 0c4b782c8e - auth-load-thread, implement RPZ IXFR copy for auth load thread. Add unit
test for IXFR with auth load thread.
2026-10-15 15:55:33 +02:00
W.C.A. Wijngaards 8f022e1aa5 - auth-load-thread, release thread count when auth load thread is stopped
during fast_reload.
2026-10-15 11:49:57 +02:00
W.C.A. Wijngaards 456c85544b - auth-load-thread, fix to not log write error when auth load thread receives
a quit signal.
2026-10-15 11:03:45 +02:00
W.C.A. Wijngaards 276a2db8af - auth-load-thread, fix double delete on auth load thread create failure. 2026-10-15 11:00:48 +02:00
W.C.A. Wijngaards 6180f1b6d0 - auth-load-thread, close file when auth load thread receives quit signal. 2026-10-15 10:58:33 +02:00
W.C.A. Wijngaards 0acb0ab631 - auth-load-thread, release thread count when auth load thread is stopped
during reload and exit. Delete resume timer on cleanup for reload and exit.
2026-10-15 10:19:56 +02:00
W.C.A. Wijngaards 7c624d1dcd - auth-load-thread, fix pick up of active transfer after full list.
Add unit test for list of auth transfers.
2026-10-09 15:55:21 +02:00
W.C.A. Wijngaards e23010c18e - auth-load-thread, more generic result handling of the thread. 2026-10-09 09:47:13 +02:00
W.C.A. Wijngaards ddcbc291fe - auth-load-thread, delete threads postorder. 2026-10-07 11:48:21 +02:00
W.C.A. Wijngaards a119b1abc6 - auth-load-thread, init tree after stopping authloadthreads for worker. 2026-10-07 11:26:17 +02:00
W.C.A. Wijngaards f62214e714 - auth-load-thread, account write threads, unit test for zonefile write. 2026-10-07 11:10:16 +02:00
W.C.A. Wijngaards 3d1aaae57a - auth-load-thread, track thread in worker tree insertion. Remove unused
lines from compare function.
2026-10-07 10:30:57 +02:00
W.C.A. Wijngaards 614dcbf675 - auth-load-thread, quit auth load threads on exit and reload, and also
when fast_reload changes or deletes a zone.
2026-10-06 16:51:23 +02:00
W.C.A. Wijngaards add0065c43 - auth-load-thread, write to zonefile polls for thread quit. 2026-10-06 15:07:54 +02:00
W.C.A. Wijngaards 3d53f08bd8 - auth-load-thread, write to zonefile with thread. 2026-10-06 14:39:41 +02:00
W.C.A. Wijngaards 6932ae18f5 - auth-load-thread, swap rpz contents, not config. Test for auth load rpz. 2026-10-06 11:29:54 +02:00
W.C.A. Wijngaards e2537840ba - auth-load-thread, setup RPZ after IXFR and AXFR processing. 2026-10-06 10:38:32 +02:00
W.C.A. Wijngaards b425be8e10 - auth-load-thread, resume waiting transfers. 2026-10-06 09:54:03 +02:00
W.C.A. Wijngaards bb408e503c - auth-load-thread, add num auth transfers and wait_transfer list. 2026-10-05 16:44:10 +02:00
W.C.A. Wijngaards 8942d11bb3 - auth-load-thread, fix for merge and http chunk list delete. 2026-10-05 09:19:59 +02:00
W.C.A. Wijngaards cb027ae649 Merge branch 'master' into auth-load-thread 2026-10-05 09:02:28 +02:00
W.C.A. Wijngaards 8cf2202c52 Changelog note and remove hash call assertion.
- Merge #1518 from nshopik: rrset: rehash copies after
  changing the key.
2026-09-28 11:56:09 +02:00
Nikolay Shopik f6fff9efcb rrset: rehash copies after changing the key (#1518)
Copied rrsets that got a new owner name or flags kept the hash of
the source, so the rrset cache filed all of them in one hash bin.
Recompute the hash at each such site and assert it on cache update.
2026-09-28 11:53:24 +02:00
W.C.A. Wijngaards a6586ced92 Merge branch 'branch-1.26.1' 2026-09-16 10:26:54 +02:00
W.C.A. Wijngaards 13b6717f17 - Fix CVE-2026-85501, Retrap: Novel Vulnerabilities to launch
Algorithmic Complexity Attacks on DNSSEC. Thanks to Zuyao Xu and
  Xiang Li from Nankai University, AOSP Lab for the report. In
  addition, thanks to Qifan Zhang from Palo Alto Networks for a
  complimentary report.
2026-09-16 09:30:25 +02:00
W.C.A. Wijngaards bd71e3b8a6 - Fix CVE-2026-77860, 'serve-expired' can bypass Unbound 'wait-limit'.
Thanks to Xuanchao Xie, Lutong Chen, and Kaiping Xue from the
  University of Science and Technology of China (USTC) for the
  report.
2026-09-16 09:29:04 +02:00
W.C.A. Wijngaards 565651cd02 - Fix CVE-2026-77955, Possible ZONEMD verification bypass window.
Thanks to Yuqi Qiu and Xiang Li from Nankai University, AOSP Lab,
  for the report. In addition, thanks to Qifan Zhang from Palo Alto
  Networks for also reporting this issue.
2026-09-16 09:26:00 +02:00
W.C.A. Wijngaards 7914901915 - Fix CVE-2026-78227, Use-after-free in DoQ stream output buffer on
reset re-transmission. Thanks to Yuqi Qiu and Xiang Li from Nankai
  University, AOSP Lab for the report.
2026-09-16 09:25:05 +02:00
W.C.A. Wijngaards eba3d35ad4 - Fix CVE-2026-82720, Use-after-free in DoH stream cleanup code path.
Thanks to Yuqi Qiu and Xiang Li from Nankai University, AOSP Lab,
  for the report.
2026-09-16 09:24:29 +02:00
W.C.A. Wijngaards e619ead2db - Fix CVE-2026-80225, Possible degradation of service from continuous
queries on the same TCP/DoT connection. Thanks to Qifan Zhang from
  Palo Alto Networks for the report.
2026-09-16 09:16:29 +02:00
W.C.A. Wijngaards 3ad9b6aade - For #1507: TOCTOU race in store_rrsets() can return a
CNAME chain whose target owns no address.
2026-09-15 13:03:24 +02:00
W.C.A. Wijngaards 5ccee67af2 - Fix to error on missing close parenthesis for zone file
read and for url content read. Thanks to Qifan Zhang, Palo
  Alto Networks, for the report.
2026-09-10 16:12:49 +02:00
W.C.A. Wijngaards 2df646e05f - Fix to not change the action override in rpz_config, before
the cname override has succeeded.
2026-09-04 17:20:15 +02:00
W.C.A. Wijngaards bdfa4d4c5d - Fix to make rpz_config leave the rpz with correct set up
on failure. The struct is not half configured on exit.
  Thanks to Qifan Zhang, Palo Alto Networks, for the report.
2026-09-04 17:06:34 +02:00
W.C.A. Wijngaards ac935b9144 - Fix to not commit to have_zone at apply AXFR time for auth
zone transfers, so that later failure rolls back to not.
  The have_zone value is set later when the SOA is retrieved.
  Also fix to clear the zone data when a transfer does not
  have a valid SOA record in the zone for it.
  Thanks to Qifan Zhang, Palo Alto Networks, for the report.
2026-09-02 11:42:31 +02:00