Skip to content

Commit

Permalink
net/unbound: update to version 1.22.0.
Browse files Browse the repository at this point in the history
This version supposedly supports DNS over QUIC, but we do not yet
have the required packages or support for that in pkgsrc, by the
looks of it.

Upstream changes:

Features
- Add iter-scrub-ns, iter-scrub-cname and max-global-quota
  configuration options.
- Merge patch to fix for glue that is outside of zone, with
  `harden-unverified-glue`, from Karthik Umashankar (Microsoft).
  Enabling this option protects the Unbound resolver against bad
  glue, that is unverified out of zone glue, by resolving them.
  It uses the records as last resort if there is no other working
  glue.
- Add redis-command-timeout: 20 and redis-connect-timeout: 200,
  that can set the timeout separately for commands and the
  connection set up to the redis server. If they are not
  specified, the redis-timeout value is used.
- Fix #1144: [FR] log timestamps in ISO8601 format with timezone.
  This adds the option `log-time-iso: yes` that logs in ISO8601
  format.
- Merge #871: DNS over QUIC. This adds `quic-port: 853` and
  `quic-size: 8m` that enable dnsoverquic, and the counters
  `num.query.quic` and `mem.quic` in the statistics output.
  The feature needs to be enabled by compiling with libngtcp2,
  with `--with-libngtcp2=path` and libngtcp2 needs openssl+quic,
  pass that with `--with-ssl=path` to compile unbound as well.

Bug Fixes
- Fix #1126: unbound-control-setup hangs while testing for openssl
  presence starting from version 1.21.0.
- Add cross platform freebsd, openbsd and netbsd to github ci.
- Fix for char signedness warnings on NetBSD.
- Fix #1127: error: "memory exhausted" when defining more than 9994
  local-zones.
- Fix documentation for cache_fill_missing function.
- Fix #1130: Loads of logs: "validation failure: key for validation
  <domain>. is marked as invalid because of a previous" for
  non-DNSSEC signed zone.
- Fix that when rpz is applied the message does not get picked up by
  the validator. That stops validation failures for the message.
- Fix that stub-zone and forward-zone clauses do not exhaust memory
  for long content.
- Unit test for auth zone transfer TLS, and TLS failure.
- Fix to print port number in logs for auth zone transfer activities.
- Merge #1132: b.root renumbering.
- Fix for #1132, adjusted unit test for change in the test file.
- Fix for #1132, comment about adjusted copy of reference check.
- Merge #1135: Add new IANA trust anchor.
- Fix config file read for dnstap-sample-rate.
- Fix alloc-size and calloc-transposed-args compiler warnings.
- Fix comment to not trigger doxygen unknown command.
- Fix to limit NSEC and NSEC3 TTL when aggressive nsec is
  enabled (RFC9077).
- Add unit test for ttl limit for aggressive nsec.
- Fix and add comments in testdata/val_negcache_ttl.rpl.
- Merge #1140: Fix spelling mistake in comments.
- Fix doxygen warnings by commenting out CLANG_ASSISTED_PARSING,
  CLANG_ADD_INC_PATHS, CLANG_OPTIONS and CLANG_DATABASE_PATH; they were
  already disabled.
- Fix dns64 with prefetch that the prefetch is stored in cache.
- Attempt to further fix doh_downstream_buffer_size.tdir flakiness.
- More clear text for prefetch and minimal-responses in the
  unbound.conf man page.
- Merge #1143: Fix cache update when serve expired is used. Expired
  records are favored over resolution and validation failures when
  serve-expired is used.
- Fix negative cache NSEC3 parameter compares for zero length NSEC3
  salt.
- Fix unbound dnstap socket test program analyzer warnings about
  unused variable assignments and variable initialization.
- Fix #1149: unbound-control-setup hangs sometimes depending on
  the openssl version.
- Fix #1128: Cannot override tcp-upstream and tls-upstream with
  forward-tcp-upstream and forward-tls-upstream.
- Fix to limit NSEC TTL for messages from cachedb. Fix to limit the
  prefetch ttl for messages after a CNAME with short TTL.
- Fix for dnstap compile of doqclient with doq disabled.
- Fix cookie_file test sporadic fails for time change during
  the test.
- Fix add reallocarray to alloc stats unit test, and disable
  override of strdup in unbound-host, and the result of config
  get option is freed properly.
- Fix to disable detection of quic configured ports when quic is
  not compiled in.
- Fix harden-unverified-glue for AAAA cache_fill_missing lookups.
- Fix contrib/aaaa-filter-iterator.patch for change in call
  signature for cache_fill_missing.
- Fix to display warning if quic-port is set but dnsoverquic is not
  enabled when compiled.
- Fix dnsoverquic to extend the number of streams when one is closed.
- Fix for dnstap with dnscrypt and dnstap without dnsoverquic.
- Fix for dnsoverquic and dnstap to use the correct dnstap
  environment.
  • Loading branch information
he32 committed Oct 17, 2024
1 parent 590ce26 commit 3b24ed5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions net/unbound/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# $NetBSD: Makefile,v 1.114 2024/10/03 20:09:48 he Exp $
# $NetBSD: Makefile,v 1.115 2024/10/17 19:15:55 he Exp $

DISTNAME= unbound-1.21.1
DISTNAME= unbound-1.22.0
CATEGORIES= net
MASTER_SITES= https://nlnetlabs.nl/downloads/unbound/

Expand Down
8 changes: 4 additions & 4 deletions net/unbound/distinfo
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
$NetBSD: distinfo,v 1.82 2024/10/03 20:09:48 he Exp $
$NetBSD: distinfo,v 1.83 2024/10/17 19:15:55 he Exp $

BLAKE2s (unbound-1.21.1.tar.gz) = 42d050fc30eb7db09f3bbb7de5c6b31dbd7e0b3880f7056d8d23436bf589a17f
SHA512 (unbound-1.21.1.tar.gz) = 82be3faf5e4f9531342008105f5ab2ecc22a56faab1ef5c86420d85ef48443e5dac3455dbc654178a927e34ca4067c7655443f91a250b87945a63e9ba5f74ba7
Size (unbound-1.21.1.tar.gz) = 6568258 bytes
BLAKE2s (unbound-1.22.0.tar.gz) = 8d931971643cf8029a6a31c2261266113376584b58c617c596d5c64dacd9aaeb
SHA512 (unbound-1.22.0.tar.gz) = 6c873e19902ce6cd59cec7084d5dba1a5bd5fe4437c827ae69bdf9273bcd8d2d1ec0dc183076f8d2e1fd38730bf8c10852d678399f0b2ea8ccf7e39119568978
Size (unbound-1.22.0.tar.gz) = 6682466 bytes
SHA1 (patch-configure) = 0779bb9174e358163430fa0b05e81c464776b12f

0 comments on commit 3b24ed5

Please sign in to comment.