]> git.ipfire.org Git - thirdparty/unbound.git/log
thirdparty/unbound.git
2 months agoChangelog entry for #1265: branch-1.23.0 release-1.23.0 release-1.23.0rc2
Yorgos Thessalonikefs [Fri, 11 Apr 2025 13:07:25 +0000 (15:07 +0200)] 
Changelog entry for #1265:
- Merge #1265: Fix WSAPoll.

2 months agoFix WSAPoll (#1265)
Yorgos Thessalonikefs [Fri, 11 Apr 2025 13:05:52 +0000 (15:05 +0200)] 
Fix WSAPoll (#1265)

* Fix calling WSAPoll.

* fast_reload: explicitly set tcp_wouldblock on Windows when there is no
  command to read from the fast_reload thread.

* For poll(), also check for ENOMEM (Linux).

* Remove ifdefs for ENOMEM.
* Some systems return EAGAIN for poll.

2 months ago- Fix for print of connection type in log-replies for dot and doh.
W.C.A. Wijngaards [Thu, 10 Apr 2025 07:33:51 +0000 (09:33 +0200)] 
- Fix for print of connection type in log-replies for dot and doh.

2 months agoMerge branch 'master' into branch-1.23.0
W.C.A. Wijngaards [Wed, 9 Apr 2025 12:20:22 +0000 (14:20 +0200)] 
Merge branch 'master' into branch-1.23.0

2 months ago- Fix #1264: unbound 1.22.0 leaks memory when doing DoH.
W.C.A. Wijngaards [Wed, 9 Apr 2025 12:13:58 +0000 (14:13 +0200)] 
- Fix #1264: unbound 1.22.0 leaks memory when doing DoH.

2 months ago- Fix to detect if atomic_store links in configure.
W.C.A. Wijngaards [Wed, 9 Apr 2025 09:06:25 +0000 (11:06 +0200)] 
- Fix to detect if atomic_store links in configure.

2 months agoMerge branch 'branch-1.23.0' of github.com:NLnetLabs/unbound into branch-1.23.0
W.C.A. Wijngaards [Tue, 8 Apr 2025 13:43:05 +0000 (15:43 +0200)] 
Merge branch 'branch-1.23.0' of github.com:NLnetLabs/unbound into branch-1.23.0

2 months ago- Fix fast_reload to print chroot with config file name.
W.C.A. Wijngaards [Tue, 8 Apr 2025 13:42:56 +0000 (15:42 +0200)] 
- Fix fast_reload to print chroot with config file name.

2 months ago- Update to the manpage for the fast_reload part.
Yorgos Thessalonikefs [Tue, 8 Apr 2025 13:34:51 +0000 (15:34 +0200)] 
- Update to the manpage for the fast_reload part.

2 months ago- Tag for 1.23.0rc1. release-1.23.0rc1
W.C.A. Wijngaards [Tue, 8 Apr 2025 06:37:30 +0000 (08:37 +0200)] 
- Tag for 1.23.0rc1.

3 months ago- More explicit text about memory usage during fast_reload.
Yorgos Thessalonikefs [Mon, 7 Apr 2025 14:56:38 +0000 (16:56 +0200)] 
- More explicit text about memory usage during fast_reload.

3 months agoChangelog entry for #902:
Yorgos Thessalonikefs [Mon, 7 Apr 2025 08:28:37 +0000 (10:28 +0200)] 
Changelog entry for #902:
- Merge #902: DNS Error Reporting (RFC 9567). Introduces new
  configuration option 'dns-error-reporting' and new statistics for
  'num.dns_error_reports'.

3 months agoDNS Error Reporting (RFC 9567) (#902)
Willem Toorop [Mon, 7 Apr 2025 08:25:10 +0000 (10:25 +0200)] 
DNS Error Reporting (RFC 9567) (#902)

* v1 EDER poc

* remove superfluous edns_list_get_option function

* create an EDER configurable

* Hackathon 114

* Fixes for version -04

* Generated configparser and configlexer are not versioned in master anymore

* Remove NOERROR DNS Error Reporting; not part of final RFC.
* Use assigned IANA EDNS0 Option Code for Report-Channel.

* Fix buffer protection and agent domain validity

* Use DNS Error Reporting instead of the eder nickname

* Update documentation.

* Fix typo.

* Bail out early if ede is not present.

* Forget previous EDNS options from upstream; this is what was
  implicitly happening but not deterministacally.

* Don't report LDNS_EDE_OTHER and bail early if there is no reporting
  agent.

* Only do DNS error reporting when a client asked for something that
  went wrong.

* Add an error reporting agent in the parent that should be ignored.

* review feedback.

* fixup for fast reload

* Add 'num.dns_error_reports' to stats and test for it.

---------

Co-authored-by: TCY16 <tom@nlnetlabs.nl>
Co-authored-by: Yorgos Thessalonikefs <yorgos@nlnetlabs.nl>
3 months ago- Fix to update common.sh for speed of kill_pid.
W.C.A. Wijngaards [Fri, 4 Apr 2025 09:55:42 +0000 (11:55 +0200)] 
- Fix to update common.sh for speed of kill_pid.

3 months ago- Fix test to speed up common.sh script kill_pid.
W.C.A. Wijngaards [Fri, 4 Apr 2025 09:37:42 +0000 (11:37 +0200)] 
- Fix test to speed up common.sh script kill_pid.

3 months agoFix typo in Changelog entry.
W.C.A. Wijngaards [Fri, 4 Apr 2025 09:00:16 +0000 (11:00 +0200)] 
Fix typo in Changelog entry.

3 months agoChangelog entry for #1019:
Yorgos Thessalonikefs [Fri, 4 Apr 2025 08:58:05 +0000 (10:58 +0200)] 
Changelog entry for #1019:
- Merge #1019: Redis read-only replica support.
  Introduces new 'redis-replica-*' options for the Redis cache backend.

3 months ago- Fix redis_replicat test for unused option defaults and log printout.
W.C.A. Wijngaards [Fri, 4 Apr 2025 08:57:53 +0000 (10:57 +0200)] 
- Fix redis_replicat test for unused option defaults and log printout.

3 months ago- Fix nettle compile for warnings and ticket keys.
W.C.A. Wijngaards [Fri, 4 Apr 2025 08:30:22 +0000 (10:30 +0200)] 
- Fix nettle compile for warnings and ticket keys.

3 months agoRedis read-only replica support (#1019)
Yorgos Thessalonikefs [Fri, 4 Apr 2025 08:20:47 +0000 (10:20 +0200)] 
Redis read-only replica support (#1019)

* Set version to 1.19.1 for point release.

* Initial work for Redis read-only replica support.

* Test for Redis replica.

* Documentation for the Redis replica timeouts.

* redis replica, rewrite set_timeout()

* clean merge.

* Add new options for fast reload.

* Apply suggestions from code review

Co-authored-by: Wouter Wijngaards <wcawijngaards@users.noreply.github.com>
* some more typos

---------

Co-authored-by: W.C.A. Wijngaards <wouter@nlnetlabs.nl>
Co-authored-by: Wouter Wijngaards <wcawijngaards@users.noreply.github.com>
3 months ago- Fix comment name in the rpz nsdname test.
W.C.A. Wijngaards [Fri, 4 Apr 2025 06:58:54 +0000 (08:58 +0200)] 
- Fix comment name in the rpz nsdname test.

3 months ago- Fix mesh_copy_client_info to omit null contents from copy.
W.C.A. Wijngaards [Fri, 4 Apr 2025 06:57:24 +0000 (08:57 +0200)] 
- Fix mesh_copy_client_info to omit null contents from copy.

3 months ago- Fix parameter unused warning in net_help.c.
W.C.A. Wijngaards [Thu, 3 Apr 2025 13:21:16 +0000 (15:21 +0200)] 
- Fix parameter unused warning in net_help.c.

3 months ago- Fix test for stat_values for wait limit defaults for localhost.
W.C.A. Wijngaards [Thu, 3 Apr 2025 12:50:30 +0000 (14:50 +0200)] 
- Fix test for stat_values for wait limit defaults for localhost.

3 months ago- Fix ub_event and include dnstap and win_svc headers.
W.C.A. Wijngaards [Thu, 3 Apr 2025 08:59:41 +0000 (10:59 +0200)] 
- Fix ub_event and include dnstap and win_svc headers.

3 months ago- Fix wait-limit-netblock and wait-limit-cookie-netblock config parse
W.C.A. Wijngaards [Thu, 3 Apr 2025 07:53:27 +0000 (09:53 +0200)] 
- Fix wait-limit-netblock and wait-limit-cookie-netblock config parse
  to allow two arguments.

3 months ago- Fix #1263: Exempt loopback addresses from wait-limit.
W.C.A. Wijngaards [Thu, 3 Apr 2025 07:45:36 +0000 (09:45 +0200)] 
- Fix #1263: Exempt loopback addresses from wait-limit.

3 months ago- Fix that ub_event has the facility to deal with callbacks for
W.C.A. Wijngaards [Wed, 2 Apr 2025 14:25:58 +0000 (16:25 +0200)] 
- Fix that ub_event has the facility to deal with callbacks for
  fast reload, doq, windows-stop and dnstap.
- Fix fast reload test to check if pid exists before acting on it.

3 months ago- Fix unbound-control test so it counts the new flush_negative output,
W.C.A. Wijngaards [Wed, 2 Apr 2025 13:52:20 +0000 (15:52 +0200)] 
- Fix unbound-control test so it counts the new flush_negative output,
  also answers the _ta probe from testns and prints command output
  and skip a thread specific test when no threads are available.

3 months ago- For #1262, ifdef is no longer needed.
Yorgos Thessalonikefs [Wed, 2 Apr 2025 09:53:50 +0000 (11:53 +0200)] 
- For #1262, ifdef is no longer needed.

3 months agoChangelog entry for #1262:
Yorgos Thessalonikefs [Wed, 2 Apr 2025 09:52:04 +0000 (11:52 +0200)] 
Changelog entry for #1262:
- Merge #1262 from markyang92, fix build with
  'gcc-15 -Wbuiltin-declaration-mismatch' error in compat/malloc.c.

3 months agoMerge pull request #1262 from markyang92/master
Yorgos Thessalonikefs [Wed, 2 Apr 2025 09:49:49 +0000 (11:49 +0200)] 
Merge pull request #1262 from markyang92/master

fix build with gcc-15 -Wbuiltin-declaration-mismatch error in compat/malloc.c

3 months agofix build with gcc-15 -Wbuiltin-declaration-mismatch error 1262/head
mark.yang [Wed, 2 Apr 2025 06:25:42 +0000 (15:25 +0900)] 
fix build with gcc-15 -Wbuiltin-declaration-mismatch error

See more details: http://errors.yoctoproject.org/Errors/Details/850313
../git/compat/malloc.c:9:7: warning: conflicting types for built-in function 'malloc'; expected 'void *(long unsigned int)' [-Wbuiltin-declaration-mismatch]
    9 | void *malloc ();
      |       ^~~~~~
../git/compat/malloc.c:5:1: note: 'malloc' is declared in header '<stdlib.h>'
    4 | #include "config.h"
  +++ |+#include <stdlib.h>
    5 | #undef malloc
../git/compat/malloc.c: In function 'rpl_malloc_unbound':
../git/compat/malloc.c:23:10: error: too many arguments to function 'malloc'; expected 0, have 1
   23 |   return malloc (n);
      |          ^~~~~~  ~
../git/compat/malloc.c:9:7: note: declared here
    9 | void *malloc ();
      |       ^~~~~~

* Seeing that there is '#undef malloc', it appears they don't want to
  use the malloc from stdlib.h.
  Therefore, we need to correctly define the parameters for malloc.

Signed-off-by: mark.yang <mark.yang@lge.com>
3 months ago- Enable the auth_tls.tdir and auth_tls_failcert.tdir tests.
W.C.A. Wijngaards [Tue, 1 Apr 2025 12:44:25 +0000 (14:44 +0200)] 
- Enable the auth_tls.tdir and auth_tls_failcert.tdir tests.

3 months ago- Fix escape more characters when printing an RR type with an unquoted
W.C.A. Wijngaards [Tue, 1 Apr 2025 11:53:29 +0000 (13:53 +0200)] 
- Fix escape more characters when printing an RR type with an unquoted
  string.

3 months ago- Skip the unit tests for auth_tls.tdir and auth_tls_failcert.tdir.
W.C.A. Wijngaards [Mon, 31 Mar 2025 14:04:07 +0000 (16:04 +0200)] 
- Skip the unit tests for auth_tls.tdir and auth_tls_failcert.tdir.

3 months agoFast Reload Option (#1042)
Wouter Wijngaards [Mon, 31 Mar 2025 13:25:24 +0000 (15:25 +0200)] 
Fast Reload Option (#1042)

* - fast-reload, add unbound-control fast_reload

* - fast-reload, make a thread to service the unbound-control command.

* - fast-reload, communication sockets for information transfer.

* - fast-reload, fix compile for unbound-dnstap-socket.

* - fast-reload, set nonblocking communication to keep the server thread
  responding to DNS requests.

* - fast-reload, poll routine to test for readiness, timeout fails connection.

* - fast-reload, detect loop in sock_poll_timeout routine.

* - fast-reload, send done and exited notification.

* - fast-reload, defines for constants in ipc.

* - fast-reload, ipc socket recv and send resists partial reads and writes and
  can continue byte by byte. Also it can continue after an interrupt.

* - fast-reload, send exit command to thread when done.

* - fast-reload, output strings for client on string list.

* - fast-reload, add newline to terminal output.

* - fast-reload, send client string to remote client.

* - fast-reload, better debug output.

* - fast-reload, print queue structure, for output to the remote client.

* - fast-reload, move print items to print queue from fast_reload_thread struct.

* - fast-reload, keep list of pending print queue items in daemon struct.

* - fast-reload, comment explains in_list for printq to print remainder.

* - fast-reload, unit test testdata/fast_reload_thread.tdir that tests the
  thread output.

* - fast-reload, fix test link for fast_reload_printq_list_delete function.

* - fast-reload, reread config file from disk.

* - fast-reload, unshare forwards, making the structure locked, with an rwlock.

* - fast-reload, for nonthreaded, the unbound-control commands forward,
  forward_add and forward_delete should be distributed to other processes,
  but when threaded, they should not be distributed to other threads because
  the structure is not thread specific any more.

* - fast-reload, unshared stub hints, making the structure locked, with an rwlock.

* - fast-reload, helpful comments for hints lookup function return value.

* - fast-reload, fix bug in fast reload printout, the strlist appendlist routine,
  and printout time statistics after the reload is done.

* - fast-reload, keep track of reloadtime and deletestime and print them.

* - fast-reload, keep track of constructtime and print it.

* - fast-reload, construct new items.

* - fast-reload, better comment.

* - fast-reload, reload the config and swap trees for forwards and stub hints.

* - fast-reload, in forwards_swap_tree set protection of trees with locks.

* - fast-reload, in hints_swap_tree also swap the node count of the trees.

* - fast-reload, reload ipc to stop and start threads.

* - fast-reload, unused forward declarations removed.

* - fast-reload, unit test that fast reload works with forwards and stubs.

* - fast-reload, fix clang analyzer warnings.

* - fast-reload, small documentation entry in unbound-control -h output.

* - fast-reload, printout memory use by fast reload, in bytes.

* - fast-reload, compile without threads.

* - fast-reload, document fast_reload in man page.

* - fast-reload, print ok when done successfully.

* - fast-reload, option for fast-reload commandline, +v verbosity option,
  with timing and memory use output.

* - fast-reload, option for fast-reload commandline, +p does not pause threads.

* - fast-reload, option for fast-reload commandline, +d drops mesh queries.

* - fast-reload, fix to poll every thread with nopause to make certain that
  resources are not held by the threads and can be deleted.

* - fast-reload, fix to use atomic store for config variables with nopause.

* - fast-reload, reload views.

* - fast-reload, when tag defines are different, it drops the queries.

* - fast-reload, fix tag define check.

* - fast-reload, document that tag change causes drop of queries.

* - fast-reload, fix space in documentation man page.

* - fast-reload, copy respip client information to query state, put views tree
  in module env for lookup.

* - fast-reload, nicer respip view comparison.

* - fast-reload, respip global set is in module env.

* - fast-reload, document that respip_client_info acl info is copied.

* - fast-reload, reload the respip_set.

* - fast-reload, document no pause and pick up of use_response_ip boolean.

* - fast-reload, fix test compile.

* - fast-reload, reload local zones.

* Update locking management for iter_fwd and iter_hints methods. (#1054)

fast reload, move most of the locking management to iter_fwd and
iter_hints methods. The caller still has the ability to handle its
own locking, if desired, for atomic operations on sets of different
structs.

Co-authored-by: Wouter Wijngaards <wcawijngaards@users.noreply.github.com>
* - fast-reload, reload access-control.

* - fast-reload, reload access control interface, such as interface-action.

* - fast-reload, reload tcp-connection-limit.

* - fast-reload, improve comments on acl_list and tcl_list swap tree.

* - fast-reload, fixup references to old tcp connection limits in open tcp
  connections.

* - fast-reload, fixup to clean tcp connection also for different linked order.

* - fast-reload, if no tcp connection limits existed, no need to remove
  references for that.

* - fast-reload, document more options that work and do not work.

* - fast-reload, reload auth_zone and rpz data.

* - fast-reload, fix auth_zones_get_mem.

* - fast-reload, fix compilation of testbound for the new comm_timer_get_mem
  reference in remote control.

* - fast-reload, change use_rpz with reload.

* - fast-reload, list changes in auth zones and stop zonemd callbacks for
  deleted auth zones.

* - fast-reload, note xtree is not swapped, and why it is not swapped.

* - fast-reload, for added auth zones, pick up zone transfer and zonemd tasks.

* - fast-reload, unlock xfr when done with transfer pick up.

* - fast-reload, unlock z when picking up the xfr for it during transfer task
  pick up.

* - fast-reload, pick up task changes for added, deleted and modified auth zones.

* - fast-reload, remove xfr of auth zone deletion without tasks.

* - fast-reload, pick up zone transfer config.

* - fast-reload, the main worker thread picks up the transfer tasks and also
  performs setup of the xfer struct.

* - fast-reload, keep writelock on newzone when auth zone changes.

* - fast-reload, change cachedb_enabled setting.

* - fast-reload, pick up edns-strings config.

* - fast-reload, note that settings are not updated.

* - fast-reload, pick up dnstap config.

* - fast-reload, dnstap options that need to be loaded without +p.

* - fast-reload, fix auth zone reload

* - fast-reload, remove debug for auth zone test.

* - fast-reload, fix auth zone reload with zone transfer.

* - fast-reload, fix auth zone reload lock order.

* - fast-reload, remove debug from fast reload test.

* - fast-reload, remove unused function.

* - fast-reload, fix the worker trust anchor probe timer lock acquisition in
  the probe answer callback routine for trust anchor probes.

* - fast-reload, reload trust anchors.

* - fast-reload, fix trust anchor reload lock on autr global data and test
  for trust anchor reload.

* - fast-reload, adjust cache sizes.

* - fast-reload, reload cache sizes when changed.

* - fast-reload, reload validator env changes.

* - fast-reload, reload mesh changes.

* - fast-reload, check for incompatible changes.

* - fast-reload, improve error text for incompatible change.

* - fast-reload, fix check config option compatibility.

* - fast-reload, improve error text for nopause change.

* - fast-reload, fix spelling of incompatible options.

* - fast-reload, reload target-fetch-policy, outbound-msg-retry, max-sent-count
  and max-query-restarts.

* - fast-reload, check nopause config change for target-fetch-policy.

* - fast-reload, reload do-not-query-address, private-address and capt-exempt.

* - fast-reload, check nopause config change for do-not-query-address,
  private-address and capt-exempt.

* - fast-reload, check fast reload not possible due to interface and
  outgoing-interface changes.

* - fast-reload, reload nat64 settings.

* - fast-reload, reload settings stored in the infra structure.

* - fast-reload, fix modstack lookup and remove outgoing-range check.

* - fast-reload, more explanation for config parse failure.

* - fast-reload, reload worker outside network changes.

* - fast-reload, detect incompatible changes in network settings.

* fast-reload, commit test files.

* - fast-reload, fix warnings for call types in windows compile.

* - fast-reload, fix warnings and comm_point_internal for tcp wouldblock calls.

* - fast-reload, extend lock checks for repeat thread ids.

* - fast-reload, additional test cases, cache change and tag changes.

* - fast-reload, fix documentation for auth_zone_verify_zonemd_with_key.

* - fast-reload, fix copy_cfg type casts and memory leak on config parse failure.

* - fast-reload, fix use of WSAPoll.

* Review comments for the fast reload feature (#1259)

* - fast-reload review, respip set can be null from a view.

* - fast-reload review, typos.

* - fast-reload review, keep clang static analyzer happy.

* - fast-reload review, don't forget to copy tag_actions.

* - fast-reload review, less indentation.

* - fast-reload review, don't leak respip_actions when reloading.

* - fast-reload review, protect NULL pointer dereference in get_mem
  functions.

* - fast-reload review, add fast_reload_most_options.tdir to test most
  options with high verbosity when fast reloading.

* - fast-reload review, don't skip new line on long error printouts.

* - fast-reload review, typo.

* - fast-reload review, use new_z for consistency.

* - fast-reload review, nit for unlock ordering to make eye comparison
  with the lock counterpart easier.

* - fast-reload review, in case of error the sockets are already closed.

* - fast-reload review, identation.

* - fast-reload review, add static keywords.

* - fast-reload review, update unbound-control usage text.

* - fast-reload review, updates to the man page.

* - fast-reload, the fast-reload command is experimental.

* - fast-reload, fix compile of doqclient for fast reload functions.

* Changelog comment for #1042
- Merge #1042: Fast Reload. The unbound-control fast_reload is added.
  It reads changed config in a thread, then only briefly pauses the
  service threads, that keep running. DNS service is only interrupted
  briefly, less than a second.

---------

Co-authored-by: Yorgos Thessalonikefs <yorgos@nlnetlabs.nl>
3 months ago- iana portlist update.
W.C.A. Wijngaards [Mon, 31 Mar 2025 12:25:16 +0000 (14:25 +0200)] 
- iana portlist update.

3 months ago- Fix for ci test, expat is installed on the osx image.
W.C.A. Wijngaards [Thu, 27 Mar 2025 09:52:00 +0000 (10:52 +0100)] 
- Fix for ci test, expat is installed on the osx image.

3 months ago- Fix unit test dname log printout typecast.
W.C.A. Wijngaards [Thu, 27 Mar 2025 09:47:20 +0000 (10:47 +0100)] 
- Fix unit test dname log printout typecast.

3 months ago- For #1255, for ios try the latest expat version again.
Yorgos Thessalonikefs [Wed, 26 Mar 2025 15:51:46 +0000 (16:51 +0100)] 
- For #1255, for ios try the latest expat version again.

3 months ago- For #1255, for ios disable building tests that require C++11.
Yorgos Thessalonikefs [Wed, 26 Mar 2025 15:40:10 +0000 (16:40 +0100)] 
- For #1255, for ios disable building tests that require C++11.

3 months ago- For #1255, for ios use an older expat version that does not require
Yorgos Thessalonikefs [Wed, 26 Mar 2025 15:15:16 +0000 (16:15 +0100)] 
- For #1255, for ios use an older expat version that does not require
  C++11 language features.

3 months ago- Fix #1255: Multiple pinnings to vulnerable copies of libexpat.
Yorgos Thessalonikefs [Wed, 26 Mar 2025 13:58:54 +0000 (14:58 +0100)] 
- Fix #1255: Multiple pinnings to vulnerable copies of libexpat.

3 months ago- Fix #1254: `send failed: Socket is not connected` and
W.C.A. Wijngaards [Mon, 24 Mar 2025 07:54:54 +0000 (08:54 +0100)] 
- Fix #1254: `send failed: Socket is not connected` and
  `remote address is 0.0.0.0 port 53`.

3 months ago- Fix for #1253: Fix for redis cachedb backend to expect an integer
W.C.A. Wijngaards [Fri, 21 Mar 2025 13:07:22 +0000 (14:07 +0100)] 
- Fix for #1253: Fix for redis cachedb backend to expect an integer
  reply for the EXPIRE command.

3 months ago- Fix #1253: Cache entries fail to be removed from Redis cachedb
W.C.A. Wijngaards [Fri, 21 Mar 2025 11:56:21 +0000 (12:56 +0100)] 
- Fix #1253: Cache entries fail to be removed from Redis cachedb
  backend with unbound-control flush* +c.

3 months ago- Fix print of RR type NSAP-PTR, it is an unquoted string.
W.C.A. Wijngaards [Thu, 20 Mar 2025 14:51:03 +0000 (15:51 +0100)] 
- Fix print of RR type NSAP-PTR, it is an unquoted string.

3 months ago- Fix for windows compile create ssl contexts.
W.C.A. Wijngaards [Tue, 18 Mar 2025 13:01:53 +0000 (14:01 +0100)] 
- Fix for windows compile create ssl contexts.

3 months ago- Fix #1251: WSAPoll first argument cannot be NULL.
W.C.A. Wijngaards [Tue, 18 Mar 2025 12:59:53 +0000 (13:59 +0100)] 
- Fix #1251: WSAPoll first argument cannot be NULL.

3 months ago- Fix representation of types GPOS and RESINFO, add rdf type for
W.C.A. Wijngaards [Mon, 17 Mar 2025 15:38:17 +0000 (16:38 +0100)] 
- Fix representation of types GPOS and RESINFO, add rdf type for

3 months ago- Fix 'unbound-control flush_negative' when reporting removed data;
Yorgos Thessalonikefs [Sun, 16 Mar 2025 08:01:03 +0000 (09:01 +0100)] 
- Fix 'unbound-control flush_negative' when reporting removed data;
  reported by David 'eqvinox' Lamparter.

4 months agoChangelog nore for #1238 and add `--help` description.
W.C.A. Wijngaards [Fri, 28 Feb 2025 08:32:49 +0000 (09:32 +0100)] 
Changelog nore for #1238 and add `--help` description.
- Merge #1238: Prefer SOURCE_DATE_EPOCH over actual time.
  Add --help output description for the SOURCE_DATE_EPOCH variable.

4 months agoPrefer SOURCE_DATE_EPOCH over actual time (#1238)
Sefa Eyeoglu [Fri, 28 Feb 2025 08:22:19 +0000 (09:22 +0100)] 
Prefer SOURCE_DATE_EPOCH over actual time (#1238)

* Add ax_build_date_epoch from Autoconf Archive

Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
* Prefer SOURCE_DATE_EPOCH over actual time

Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
---------

Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
4 months agoChangelog note for #1243
W.C.A. Wijngaards [Tue, 25 Feb 2025 08:37:36 +0000 (09:37 +0100)] 
Changelog note for #1243
- Merge #1243: Do not shadow tm on line 236.

4 months agoDo not shadow tm on line 236. (#1243)
Florian Obser [Tue, 25 Feb 2025 08:36:44 +0000 (09:36 +0100)] 
Do not shadow tm on line 236. (#1243)

4 months ago- Fix hash calculation for cachedb to ignore case. Previously, cached
Yorgos Thessalonikefs [Mon, 24 Feb 2025 13:47:13 +0000 (14:47 +0100)] 
- Fix hash calculation for cachedb to ignore case. Previously, cached
  records there were only relevant for same case queries (if not
  already in Unbound's internal cache).

4 months agoChangelog entry for #1241:
Yorgos Thessalonikefs [Wed, 19 Feb 2025 12:46:01 +0000 (13:46 +0100)] 
Changelog entry for #1241:
- Merge #1241: Fix infra-keep-probing for low infra-cache-max-rtt
  values.

4 months agoMerge pull request #1241 from NLnetLabs/bugfix/keep-probing-max-rtt
Yorgos Thessalonikefs [Wed, 19 Feb 2025 12:44:40 +0000 (13:44 +0100)] 
Merge pull request #1241 from NLnetLabs/bugfix/keep-probing-max-rtt

Fix infra-keep-probing for low infra-cache-max-rtt values

4 months ago- The maximum value of a probe rto was not aligned with the 1241/head
Yorgos Thessalonikefs [Wed, 19 Feb 2025 11:14:59 +0000 (12:14 +0100)] 
- The maximum value of a probe rto was not aligned with the
  (configurable) infra-cache-max-rtt value. That could result in
  infra-keep-probing not working if an infra-cache-max-rtt value was chosen
  that was below 12000 ms. This fix still uses a default value of 12000
  ms for the probe but caps it to the infra-cache-max-rtt if that is
  lower.

4 months ago- Fix static analysis report about unhandled EOF on error conditions
Yorgos Thessalonikefs [Wed, 19 Feb 2025 10:24:49 +0000 (11:24 +0100)] 
- Fix static analysis report about unhandled EOF on error conditions
  when reading anchor key files.

4 months ago- Consider reconfigurations when calculating the still_useful_timeout
Yorgos Thessalonikefs [Mon, 17 Feb 2025 14:21:18 +0000 (15:21 +0100)] 
- Consider reconfigurations when calculating the still_useful_timeout
  for servers in the infrastructure cache.

5 months ago- Fix #986: Resolving sas.com with dnssec-validation fails though
W.C.A. Wijngaards [Thu, 30 Jan 2025 15:26:31 +0000 (16:26 +0100)] 
- Fix #986: Resolving sas.com with dnssec-validation fails though
  signed delegations seem to be (mostly) correct.

5 months ago- Make the default value of module-config "validator iterator"
Yorgos Thessalonikefs [Wed, 29 Jan 2025 11:08:28 +0000 (12:08 +0100)] 
- Make the default value of module-config "validator iterator"
  regardless of compilation options. --enable-subnet would implicitly
  change the value to enable the subnetcache module by default in the
  past.

5 months agoChangelog entry for #1220:
Yorgos Thessalonikefs [Fri, 24 Jan 2025 15:56:09 +0000 (16:56 +0100)] 
Changelog entry for #1220:
- Merge #1220 from Petr Menšík, Add unbound members group access to
  control key.

5 months agoMerge pull request #1220 from InfrastructureServices/unbound-control-group-key
Yorgos Thessalonikefs [Fri, 24 Jan 2025 15:53:12 +0000 (16:53 +0100)] 
Merge pull request #1220 from InfrastructureServices/unbound-control-group-key

Add unbound members group access to control key

5 months agoChangelog entry for #1224:
Yorgos Thessalonikefs [Tue, 21 Jan 2025 16:35:00 +0000 (17:35 +0100)] 
Changelog entry for #1224:
- Merge #1224 from Theo Buehler: Do not use DSA API unless USE_DSA is
  set.

5 months agoMerge pull request #1224 from botovq/improve-use-dsa
Yorgos Thessalonikefs [Tue, 21 Jan 2025 16:33:48 +0000 (17:33 +0100)] 
Merge pull request #1224 from botovq/improve-use-dsa

Do not use DSA API unless USE_DSA is set

5 months agoChangelog note for #1229
W.C.A. Wijngaards [Tue, 21 Jan 2025 14:48:46 +0000 (15:48 +0100)] 
Changelog note for #1229
- Merge #1229: check before use daemon->shm_info.

5 months agocheck before use daemon->shm_info (#1229)
eaglegai [Tue, 21 Jan 2025 14:47:51 +0000 (22:47 +0800)] 
check before use daemon->shm_info (#1229)

fix core after the command `unbound-control stop unbound`

fix:https://github.com/NLnetLabs/unbound/issues/1228

Signed-off-by: eaglegai <eaglegai@163.com>
5 months ago- Do not open unencrypted channels next to encrypted ones on the same
Yorgos Thessalonikefs [Tue, 21 Jan 2025 14:25:53 +0000 (15:25 +0100)] 
- Do not open unencrypted channels next to encrypted ones on the same
  port.

5 months ago- Fix to check length in ATMA string to wire.
W.C.A. Wijngaards [Tue, 21 Jan 2025 11:30:30 +0000 (12:30 +0100)] 
- Fix to check length in ATMA string to wire.

5 months ago- Fix encoding of RR type ATMA.
W.C.A. Wijngaards [Tue, 21 Jan 2025 11:27:15 +0000 (12:27 +0100)] 
- Fix encoding of RR type ATMA.

5 months ago- Fix compile of interface check code when dnscrypt or quic is
W.C.A. Wijngaards [Tue, 21 Jan 2025 09:13:48 +0000 (10:13 +0100)] 
- Fix compile of interface check code when dnscrypt or quic is
  disabled.

5 months ago- Use the same interface listening port discovery code for all needed
Yorgos Thessalonikefs [Tue, 21 Jan 2025 09:04:30 +0000 (10:04 +0100)] 
- Use the same interface listening port discovery code for all needed
  protocols.
- Port to string only when needed before getaddrinfo().

5 months ago- Create the quic SSL listening context only when needed.
Yorgos Thessalonikefs [Mon, 20 Jan 2025 14:49:37 +0000 (15:49 +0100)] 
- Create the quic SSL listening context only when needed.

5 months agoChangelog entry for #1222:
Yorgos Thessalonikefs [Mon, 20 Jan 2025 14:45:11 +0000 (15:45 +0100)] 
Changelog entry for #1222:
- Merge #1222: Unique DoT and DoH SSL contexts to allow for different
  ALPN.

5 months agoUnique DoT and DoH SSL contexts to allow for different ALPN (#1222)
Yorgos Thessalonikefs [Mon, 20 Jan 2025 14:43:44 +0000 (15:43 +0100)] 
Unique DoT and DoH SSL contexts to allow for different ALPN (#1222)

5 months agoDo not use DSA API unless USE_DSA is set 1224/head
Theo Buehler [Sat, 18 Jan 2025 09:23:57 +0000 (10:23 +0100)] 
Do not use DSA API unless USE_DSA is set

Even if USE_DSA is unset, unbound ends up linking against OpenSSL
DSA API because these guards are missing.

5 months agoChangelog entry for #1221:
Yorgos Thessalonikefs [Fri, 17 Jan 2025 09:19:26 +0000 (10:19 +0100)] 
Changelog entry for #1221:
- Merge #1221: Consider auth zones when checking for forwarders.

5 months agoMerge pull request #1221 from NLnetLabs/bugfix/consider-auth-zones-when-forwarding
Yorgos Thessalonikefs [Fri, 17 Jan 2025 09:18:32 +0000 (10:18 +0100)] 
Merge pull request #1221 from NLnetLabs/bugfix/consider-auth-zones-when-forwarding

Consider auth zones when checking for forwarders

5 months ago- Use correct RFC number for resolver.arpa.
Yorgos Thessalonikefs [Wed, 15 Jan 2025 09:55:31 +0000 (10:55 +0100)] 
- Use correct RFC number for resolver.arpa.

5 months ago- Add resolver.arpa and service.arpa to the default locally served
Yorgos Thessalonikefs [Tue, 14 Jan 2025 16:18:32 +0000 (17:18 +0100)] 
- Add resolver.arpa and service.arpa to the default locally served
  zones.

5 months ago- Take configured auth zones into consideration when checking if a 1221/head
Yorgos Thessalonikefs [Tue, 14 Jan 2025 15:38:53 +0000 (16:38 +0100)] 
- Take configured auth zones into consideration when checking if a
  request needs to be forwarded.

5 months agoAdd unbound members group access to control key 1220/head
Petr Menšík [Tue, 14 Jan 2025 12:55:10 +0000 (13:55 +0100)] 
Add unbound members group access to control key

Recent openssl genrsa does not use umask for generated keys. There is no
strong reason why every member of unbound group should be able read
server key. But control key would be quite useful to be group readable
and to allow control access to whole group. Allowing access to control
by group membership, not via sudo.

5 months ago- Fix typo.
Yorgos Thessalonikefs [Mon, 13 Jan 2025 11:32:16 +0000 (12:32 +0100)] 
- Fix typo.

5 months ago- Fix #1213: Misleading error message on default access control causing
Yorgos Thessalonikefs [Mon, 13 Jan 2025 10:33:24 +0000 (11:33 +0100)] 
- Fix #1213: Misleading error message on default access control causing
  refuse.

5 months agoChangelog entry for #1214:
Yorgos Thessalonikefs [Fri, 10 Jan 2025 12:54:49 +0000 (13:54 +0100)] 
Changelog entry for #1214:
- Merge #1214: Use TCP_NODELAY on TLS sockets to speed up the TLS
  handshake.

5 months agoMerge pull request #1214 from NLnetLabs/bugfix/tls-handshake
Yorgos Thessalonikefs [Fri, 10 Jan 2025 12:53:46 +0000 (13:53 +0100)] 
Merge pull request #1214 from NLnetLabs/bugfix/tls-handshake

Use TCP_NODELAY on TLS sockets to speed up the TLS handshake.

5 months ago- Use TCP_NODELAY on TLS sockets to speed up the TLS handshake. 1214/head
Yorgos Thessalonikefs [Fri, 10 Jan 2025 11:11:59 +0000 (12:11 +0100)] 
- Use TCP_NODELAY on TLS sockets to speed up the TLS handshake.

6 months agoChangelog entry for #1174:
Yorgos Thessalonikefs [Tue, 31 Dec 2024 15:30:35 +0000 (16:30 +0100)] 
Changelog entry for #1174:
- Merge #1174: Serve expired cache update fixes. Fixes a regression bug
  with serve-expired that appeared in 1.22.0 and would not allow the
  iterator to update the cache with not-yet-validated entries resulting
  in increased outgoing traffic.

6 months agoServe expired cache update fixes (#1174)
Yorgos Thessalonikefs [Tue, 31 Dec 2024 15:28:12 +0000 (16:28 +0100)] 
Serve expired cache update fixes (#1174)

- Fixes a regression bug with serve-expired that appeared in 1.22.0
  and would not allow the iterator to update the cache with
  not-yet-validated entries resulting in increased outgoing traffic.

- Treat serve_expired_norec_ttl as a backoff timer for failed updates of expired records.
- Try to use expired answers instead of SERVFAIL if serve-expired is
  enabled even without serve-expired-client-timeout.
- Add suggestion to refresh the cached norec_ttl and expired_ttl when a
  response cannot update the usable expired entry.

6 months ago- For #1207: [FR] Support for RESINFO RRType 261 (RFC9606), add
Yorgos Thessalonikefs [Fri, 20 Dec 2024 14:04:34 +0000 (15:04 +0100)] 
- For #1207: [FR] Support for RESINFO RRType 261 (RFC9606), add
  LDNS_RR_TYPE_RESINFO similar to LDNS_RR_TYPE_TXT.

6 months agoChangelog entry for #1204:
Yorgos Thessalonikefs [Fri, 13 Dec 2024 12:43:29 +0000 (13:43 +0100)] 
Changelog entry for #1204:
- Merge #1204: ci: set persist-credentials: false for actions/checkout
  per zizmor suggestion.

6 months agoMerge pull request #1204 from NLnetLabs/zizmor-improvements
Yorgos Thessalonikefs [Fri, 13 Dec 2024 12:42:31 +0000 (13:42 +0100)] 
Merge pull request #1204 from NLnetLabs/zizmor-improvements

6 months agoset persist-credentials: false per zizmor suggestion 1204/head
Maarten Aertsen [Fri, 13 Dec 2024 12:12:03 +0000 (13:12 +0100)] 
set persist-credentials: false per zizmor suggestion

7 months ago- Fix typo in log_servfail.tdir test.
Yorgos Thessalonikefs [Tue, 3 Dec 2024 15:03:05 +0000 (16:03 +0100)] 
- Fix typo in log_servfail.tdir test.

7 months agoChangelog entry for #1187:
Yorgos Thessalonikefs [Tue, 3 Dec 2024 13:21:34 +0000 (14:21 +0100)] 
Changelog entry for #1187:
- Merge #1187: Create the SSL_CTX for QUIC before chroot and privilege
  drop.

7 months agoCreate the SSL_CTX for QUIC before chroot and privilege drop (#1187)
Yorgos Thessalonikefs [Tue, 3 Dec 2024 13:20:33 +0000 (14:20 +0100)] 
Create the SSL_CTX for QUIC before chroot and privilege drop (#1187)

Fixes #1185 by creating the SSL_CTX for QUIC before chroot and
privilege drop, just like the other SSL_CTX creations.

---------

Co-authored-by: Wouter Wijngaards <wcawijngaards@users.noreply.github.com>
7 months ago- Safeguard alias loop while looking in the cache for expired answers.
Yorgos Thessalonikefs [Tue, 3 Dec 2024 13:10:17 +0000 (14:10 +0100)] 
- Safeguard alias loop while looking in the cache for expired answers.