pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/unbound Update net/unbound to version 1.12.0.
details: https://anonhg.NetBSD.org/pkgsrc/rev/0f830382af02
branches: trunk
changeset: 440397:0f830382af02
user: he <he%pkgsrc.org@localhost>
date: Thu Oct 08 07:30:39 2020 +0000
description:
Update net/unbound to version 1.12.0.
Pkgsrc changes:
* Add option for doh (DNS-over-HTTPS), default enabled.
Upstream changes:
This release contains the DNS Flag Day 2020 changes. This sets the
default EDNS buffer size to 1232, that should reduce fragmentation.
https://dnsflagday.net/2020/
There is inclusive language in the configuration. There is caps-exempt,
ipsecmod-allow and primary server options for auth-zones. The older
terms are accepted to keep configuration working.
DNS-over-HTTPS is supported in this release. The DoH is enabled when
Unbound is compiled with the nghttp2 library, with configure
--with-libnghttp2. Then have an interface on the https port, that can
be configured with the https-port option. Also have a cert and key
available with the tls-service-key and tls-service-pem options. Further
settings can be configured for the http-endpoint, http-max-streams,
http-query-buffer-size, http-response-buffer-size and http-nodelay
options. The max streams sets the maximum concurrent streams, the
buffer size options the number of bytes in buffers, and the nodelay
option can turn on TCP_NODELAY for DNS-over-HTTPS service. In the
statistics the memory used is reported in mem.http.query_buffer and
mem.http.response_buffer. The number of queries is reported in
num.query.https, they are also included in the tcp and tls counts
because https uses TLS and TCP.
The DLV options and code to handle DLV lookups have been removed from
the code base. The DLV repository is empty nowadays, it has been
decommissioned.
There is a new feature where it is possible to use interface names to
bind to the IP addresses on that interface. It pulls in the addresses
at the start of the server, if the addresses change, use the existing
freebind and other socket options to register for addresses before they
appear, or the interface-automatic option that copies them from queries
to answers with ancillary data.
There is a new option for the edns-tag draft specification. It can be
enabled if you need the tentative implementation to add those tags to
outgoing messages.
Features
- DNS Flag Day 2020: change edns-buffer-size default to 1232.
- Merge PR #255: DNS-over-HTTPS support.
- Use inclusive language in configuration
- Merge PR #284 and Fix #246: Remove DLV entirely from Unbound.
The DLV has been decommisioned and in unbound 1.5.4, in 2015, there
was advise to stop using it. The current code base does not contain
DLV code any more. The use of dlv options displays a warning.
- Similar to NSD PR#113, implement that interface names can be used,
eg. something like interface: eth0 is resolved at server start and
uses the IP addresses for that named interface.
- Merge PR #272: Add EDNS client tag functionality.
- Add edns-client-tag-opcode option
Bug Fixes
- Merge PR #270 from cgzones: munin plugin: always exit 0 in autoconf
- Merge PR #269, Fix python module len() implementations, by Torbjörn
Lönnemark
- Merge PR #268, draft-ietf-dnsop-serve-stale-10 has become RFC 8767 on
March 2020, by and0x000.
- Fix doxygen comment for no ssl for tls session ticket key callback
routine.
- Fix mini_event.h on OpenBSD cannot find fd_set.
- Improve error log message when inserting rpz RR.
- Merge PR #280, Make tvOS & watchOS checks verify truthiness as well as
definedness, by Felipe Gasper.
- contrib/aaaa-filter-iterator.patch file renewed diff content to
apply cleanly to the current coderepo for the current code version.
- Fix #287: doc typo: "Additionaly".
- Merge (modified) PR #277, use EVP_MAC_CTX_set_params if available,
by Vít#zslav #í#ek.
- Create and init edns tags data for libunbound.
- Fix stats double count issue (#289).
- Fix that dnstap reconnects do not spam the log with the repeated
attempts. Attempts on the timer are only logged on high verbosity,
if they produce a connection failure error.
- Fix to apply chroot to dnstap-socket-path, if chroot is enabled.
- Change configure to use EVP_sha256 instead of HMAC_Update for
openssl-3.0.0.
- Update documentation in python example code.
- Review fix interface, doxygen and assign null in case of error free.
- Merge PR #293: Add missing prototype. Also refactor to use the new
shorthand function to clean up the code.
- Refactor to use sock_strerr shorthand function.
- Fix #296: systemd nss-lookup.target is reached before unbound can
successfully answer queries. Changed contrib/unbound.service.in.
- Fix num.expired statistics output.
- Remove x file mode on ipset/ipset.c and h files.
- Spelling fix.
- Introduce test for statistics.
- Fix that prefer-ip4 and prefer-ip6 can be get and set with
unbound-control, with libunbound and the unbound-checkconf option
output function.
- Merge PR #311 by luismerino: Dynlibmod leak.
- Error message is logged for dynlibmod malloc failures.
- iana portlist updated.
- Fix #304: dnstap logging not recovering after dnstap process restarts
- Fix edns-client-tags get_option typo
- Fix #305: dnstap logging significantly affects unbound performance
(regression in 1.11).
- Fix #305: only wake up thread when threshold reached.
- Fix to ifdef fptr wlist item for dnstap.
- Fix memory leak of edns tags at libunbound context delete.
- Fix double loopexit for unbound-dnstap-socket after sigterm.
diffstat:
net/unbound/DESCR | 5 +++--
net/unbound/Makefile | 4 ++--
net/unbound/distinfo | 10 +++++-----
net/unbound/options.mk | 12 +++++++++---
4 files changed, 19 insertions(+), 12 deletions(-)
diffs (65 lines):
diff -r ccee33f410bf -r 0f830382af02 net/unbound/DESCR
--- a/net/unbound/DESCR Thu Oct 08 07:29:59 2020 +0000
+++ b/net/unbound/DESCR Thu Oct 08 07:30:39 2020 +0000
@@ -1,5 +1,6 @@
Unbound is an implementation of a DNS resolver. It provides a library
similiar to libresolv that can be used for synchronous and asynchronous
-DNS look ups. It also provides a caching-only (recursive) DNS server.
+DNS lookups. It also provides a caching-only (recursive) DNS server.
-Unbound has full support for IPv6 and DNSSEC validation.
+Unbound has full support for IPv6 and DNSSEC validation,
+DNS-over-TLS and DNS-over-HTTPS.
diff -r ccee33f410bf -r 0f830382af02 net/unbound/Makefile
--- a/net/unbound/Makefile Thu Oct 08 07:29:59 2020 +0000
+++ b/net/unbound/Makefile Thu Oct 08 07:30:39 2020 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.78 2020/05/19 08:39:31 he Exp $
+# $NetBSD: Makefile,v 1.79 2020/10/08 07:30:39 he Exp $
-DISTNAME= unbound-1.10.1
+DISTNAME= unbound-1.12.0
CATEGORIES= net
MASTER_SITES= http://www.nlnetlabs.nl/downloads/unbound/
diff -r ccee33f410bf -r 0f830382af02 net/unbound/distinfo
--- a/net/unbound/distinfo Thu Oct 08 07:29:59 2020 +0000
+++ b/net/unbound/distinfo Thu Oct 08 07:30:39 2020 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.58 2020/05/19 08:39:31 he Exp $
+$NetBSD: distinfo,v 1.59 2020/10/08 07:30:39 he Exp $
-SHA1 (unbound-1.10.1.tar.gz) = 9932931d495248b4e45d278b4679efae29238772
-RMD160 (unbound-1.10.1.tar.gz) = 0863b910a0d6dcc4eb38f31a455c439592cec2bc
-SHA512 (unbound-1.10.1.tar.gz) = d07f3ac0e751c17a3ff7d99518c22529cf6856861218564a2ca073422905525cb9ddaf76c9600187946fadb7324343bcd85c34ff06bd322e0ea621a2d258bb85
-Size (unbound-1.10.1.tar.gz) = 5729334 bytes
+SHA1 (unbound-1.12.0.tar.gz) = 68009078d5f5025c95a8c9fe20b9e84335d53e2d
+RMD160 (unbound-1.12.0.tar.gz) = 9a7e7e93ae21ac76567bfb457dd2111531fc395e
+SHA512 (unbound-1.12.0.tar.gz) = 90d99bc65e9ba62e50a7809dbf1e98889d0fc9fd50cf3cc99b726c67bcaeda0c2bc176d09f84771adb9796833b595591462f96e949d6969a47d6898d8fae3479
+Size (unbound-1.12.0.tar.gz) = 5918399 bytes
SHA1 (patch-configure) = a949bdb26b37950c0301946af4521c9d0e984cf9
diff -r ccee33f410bf -r 0f830382af02 net/unbound/options.mk
--- a/net/unbound/options.mk Thu Oct 08 07:29:59 2020 +0000
+++ b/net/unbound/options.mk Thu Oct 08 07:30:39 2020 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: options.mk,v 1.3 2019/01/17 14:19:51 he Exp $
+# $NetBSD: options.mk,v 1.4 2020/10/08 07:30:39 he Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.unbound
-PKG_SUPPORTED_OPTIONS+= dnstap
-# PKG_SUGGESTED_OPTIONS+=
+PKG_SUPPORTED_OPTIONS+= dnstap doh
+PKG_SUGGESTED_OPTIONS+= doh
.include "../../mk/bsd.options.mk"
@@ -12,3 +12,9 @@
.include "../../devel/protobuf/buildlink3.mk"
.include "../../devel/protobuf-c/buildlink3.mk"
.endif
+
+# DNS-over-HTTPS
+.if !empty(PKG_OPTIONS:Mdoh)
+.include "../../www/nghttp2/buildlink3.mk"
+CONFIGURE_ARGS+= --with-libnghttp2
+.endif
Home |
Main Index |
Thread Index |
Old Index