Bug 233796 - dns/unbound: Update to 1.8.2
Summary: dns/unbound: Update to 1.8.2
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Steve Wills
URL:
Keywords:
Depends on:
Blocks: 233229
  Show dependency treegraph
 
Reported: 2018-12-05 09:37 UTC by Jaap Akkerhuis
Modified: 2018-12-09 01:09 UTC (History)
1 user (show)

See Also:


Attachments
Patch to upgrade (1.20 KB, patch)
2018-12-05 09:37 UTC, Jaap Akkerhuis
koobs: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jaap Akkerhuis 2018-12-05 09:37:37 UTC
Created attachment 199844 [details]
Patch to upgrade

The option so-reuseport is by default disabled on FreeBSD, but it has
support to work on FreeBSD 12 with the REUSEPORT_LB variant, if enabled
in unbound.conf.

The python code in unbound supports python 3.6, but also python 2.7
works. The python module prints the python exceptions to the log, so
that compatibility problems are more easy to troubleshoot.

Fast server selection options are added that select from the fastest
servers in the available set, with fast-server-num and
fast-server-permil this can be turned on.  When enabled the fastest
servers are selected, instead of a random server.  Randomness is good
for poisoning prevention, but fast selection can result in faster
roundtrips.

The nameserver records in large returned negative responses are scrubbed
out of the packet to avoid fragmentation based DNS cache poisoning,
from a report from T.Suzuki.

Main Changes

The automated test set now has static code analysis of the source code,
this is performed with the clang analyzer.

There is a new option to deny ANY packets, with deny-any: yes in
unbound.conf.  The option unknown-server-time-limit can be used for
cases behind a slow uplink to avoid multiple timeouts on every query to
attain the necessary long timeout length for that uplink.


Features
- Add fast-server-permil and fast-server-num options.
- Deprecate low-rtt and low-rtt-permil options.
- Change fast-server-num default to 3.
- Fix #4154: make ECS_MAX_TREESIZE configurable, with
  the max-ecs-tree-size-ipv4 and max-ecs-tree-size-ipv6 options.
- Fix #4190: Please create a "ANY" deny option, adds the option
  deny-any: yes in unbound.conf.  This responds with an empty message
  to queries of type ANY.
- Fix #4126: RTT_band too low on VSAT links with 600+ms latency,
  adds the option unknown-server-time-limit to unbound.conf that
  can be increased to avoid the problem.
- Add min-client-subnet-ipv6 and min-client-subnet-ipv4 options.
- Support SO_REUSEPORT_LB in FreeBSD 12 with the so-reuseport: yes
  option in unbound.conf.
- Add unbound-control view_local_datas command, like local_datas.

Bug Fixes
- dnscrypt.c removed sizeof to get array bounds.
- Fix testlock code to set noreturn on error routine.
- Remove unused variable from contrib fastrpz/rpz.c and
  remove unused diagnostic pragmas that themselves generate warnings
- clang analyze test is used only when assertions are enabled.
- Squelch EADDRNOTAVAIL errors when the interface goes away,
  this omits 'can't assign requested address' errors unless
  verbosity is set to a high value.
- Set default for so-reuseport to no for FreeBSD.  It is enabled
  by default for Linux and DragonFlyBSD.  The setting can
  be configured in unbound.conf to override the default.
- iana port update.
- Squelch log of failed to tcp initiate after TCP Fastopen failure.
- Fix #4192: unbound-control-setup generates keys not readable by
  group.
- check that the dnstap socket file can be opened and exists, print
  error if not.
- Add markdel function to ECS slabhash.
- Limit ECS scope returned to client to the scope used for caching.
- Fix #4191: NXDOMAIN vs SERVFAIL during dns64 PTR query.
- Fix #4141: More randomness to rrset-roundrobin.
- Fix #4132: Openness/closeness of RANGE intervals in rpl files.
- remade makefile dependencies.
- Fix #4152: Logs shows wrong time when using log-time-ascii: yes.
- Scrub NS records from NXDOMAIN responses to stop fragmentation
  poisoning of the cache.
- Scrub NS records from NODATA responses as well.
- Add patch from Jan Vcelak for pythonmod,
  add sockaddr_storage getters, add support for query callbacks,
  allow raw address access via comm_reply and update API documentation.
- Removed compile warnings in pythonmod sockaddr routines.
- With ./configure --with-pyunbound --with-pythonmodule
  PYTHON_VERSION=3D3.6 or with 2.7 unbound can compile and unit tests
  succeed for the python module.
- pythonmod logs the python error and traceback on failure.
- ignore debug python module for test in doxygen output.
- review fixes for python module.
- Fix #4209: Crash in libunbound when called from getdns.
- auth zone zonefiles can be in a chroot, the chroot directory
  components are removed before use.
- Fix that empty zonefile means the zonefile is not set and not used.
- Fix to not set GLOB_NOSORT so the unbound.conf include: files are
  sorted and in a predictable order.
- Fix #4193: Fix that prefetch failure does not overwrite valid cache
  entry with SERVFAIL.
- Fix DNS64 to not store intermediate results in cache, this avoids
  other threads from picking up the wrong data.  The module restores
  the previous no_cache_store setting when the the module is finished.
- Fix #4208: 'stub-no-cache' and 'forward-no-cache' not work.
- New and better fix for Fix #4193: Fix that prefetch failure does
  not overwrite valid cache entry with SERVFAIL.
- auth-zone give SERVFAIL when expired, fallback activates when
  expired, and this is documented in the man page.
- stat count SERVFAIL downstream auth-zone queries for expired zones.
- Put new logos into windows installer.
- Fix windows compile for new rrset roundrobin fix.
- Update contrib fastrpz patch for latest release.
- Fix chroot auth-zone fix to remove chroot prefix.
- windows icon updated.
Comment 1 commit-hook freebsd_committer freebsd_triage 2018-12-09 01:06:33 UTC
A commit references this bug:

Author: swills
Date: Sun Dec  9 01:06:26 UTC 2018
New revision: 487005
URL: https://svnweb.freebsd.org/changeset/ports/487005

Log:
  dns/unbound: Update to 1.8.2

  PR:		233796
  Submitted by:	jaap@NLnetLabs.nl (maintainer)

Changes:
  head/dns/unbound/Makefile
  head/dns/unbound/distinfo
  head/dns/unbound/pkg-plist
Comment 2 Steve Wills freebsd_committer freebsd_triage 2018-12-09 01:09:01 UTC
Committed, thanks!