git: 0a92a9fca737 - main - unbound: Vendor import 1.16.1

From: Cy Schubert <cy_at_FreeBSD.org>
Date: Wed, 13 Jul 2022 19:31:51 UTC
The branch main has been updated by cy:

URL: https://cgit.FreeBSD.org/src/commit/?id=0a92a9fca737edafbad03ee5a8efebe302851cff

commit 0a92a9fca737edafbad03ee5a8efebe302851cff
Merge: 1dfcff294e44 d57351465531
Author:     Cy Schubert <cy@FreeBSD.org>
AuthorDate: 2022-07-13 19:30:14 +0000
Commit:     Cy Schubert <cy@FreeBSD.org>
CommitDate: 2022-07-13 19:30:14 +0000

    unbound: Vendor import 1.16.1
    
    Merge commit 'd57351465531b38689892ec862de2725b52842dd' into unbound/main2
    
    MFC after:      1 month

 contrib/unbound/Makefile.in                        |  12 +-
 contrib/unbound/config.h.in                        |   4 +
 contrib/unbound/configure                          | 109 ++++-
 contrib/unbound/configure.ac                       |  11 +-
 contrib/unbound/contrib/metrics.awk                |   1 +
 contrib/unbound/contrib/unbound_munin_             |   3 +-
 contrib/unbound/daemon/daemon.c                    |   2 +-
 contrib/unbound/daemon/remote.c                    |   2 +
 contrib/unbound/daemon/stats.c                     |   2 +
 contrib/unbound/daemon/worker.c                    |  24 +-
 contrib/unbound/doc/Changelog                      |  80 ++-
 contrib/unbound/doc/README                         |   2 +-
 contrib/unbound/doc/example.conf.in                |   6 +-
 contrib/unbound/doc/libunbound.3.in                |   4 +-
 contrib/unbound/doc/unbound-anchor.8.in            |   2 +-
 contrib/unbound/doc/unbound-checkconf.8.in         |   2 +-
 contrib/unbound/doc/unbound-control.8.in           |   6 +-
 contrib/unbound/doc/unbound-host.1.in              |   2 +-
 contrib/unbound/doc/unbound.8.in                   |   6 +-
 contrib/unbound/doc/unbound.conf.5.in              |  10 +-
 contrib/unbound/edns-subnet/subnetmod.c            |  49 +-
 contrib/unbound/edns-subnet/subnetmod.h            |   5 +-
 contrib/unbound/iterator/iter_delegpt.c            |  21 +-
 contrib/unbound/iterator/iter_delegpt.h            |   3 +-
 contrib/unbound/iterator/iter_utils.c              |   6 +-
 contrib/unbound/iterator/iterator.c                | 204 ++++++--
 contrib/unbound/iterator/iterator.h                |  29 +-
 contrib/unbound/libunbound/unbound.h               |   2 +
 contrib/unbound/services/authzone.c                |   4 +-
 contrib/unbound/services/mesh.c                    |   3 +-
 contrib/unbound/services/outside_network.c         |  12 +-
 contrib/unbound/services/outside_network.h         |   2 +
 contrib/unbound/sldns/parse.c                      |  55 ++-
 contrib/unbound/smallapp/unbound-control.c         |   2 +
 contrib/unbound/testcode/readzone.c                | 158 ------
 contrib/unbound/testcode/unittcpreuse.c            | 236 ---------
 contrib/unbound/testcode/unitzonemd.c              | 537 ---------------------
 contrib/unbound/testdata/auth_zonemd_anchor.rpl    | 234 ---------
 .../unbound/testdata/auth_zonemd_anchor_fail.rpl   | 236 ---------
 contrib/unbound/testdata/auth_zonemd_chain.rpl     | 234 ---------
 .../unbound/testdata/auth_zonemd_chain_fail.rpl    | 236 ---------
 contrib/unbound/testdata/auth_zonemd_file.rpl      | 183 -------
 contrib/unbound/testdata/auth_zonemd_file_fail.rpl | 185 -------
 .../unbound/testdata/auth_zonemd_file_unknown.rpl  | 184 -------
 contrib/unbound/testdata/auth_zonemd_insecure.rpl  | 215 ---------
 .../testdata/auth_zonemd_insecure_absent.rpl       | 217 ---------
 .../auth_zonemd_insecure_absent_reject.rpl         | 218 ---------
 .../unbound/testdata/auth_zonemd_insecure_fail.rpl | 218 ---------
 contrib/unbound/testdata/auth_zonemd_nokey.rpl     | 212 --------
 .../testdata/auth_zonemd_permissive_mode.rpl       | 187 -------
 contrib/unbound/testdata/auth_zonemd_xfr.rpl       | 238 ---------
 .../unbound/testdata/auth_zonemd_xfr_anchor.rpl    | 285 -----------
 .../testdata/auth_zonemd_xfr_anchor_fail.rpl       | 266 ----------
 contrib/unbound/testdata/auth_zonemd_xfr_chain.rpl | 310 ------------
 .../testdata/auth_zonemd_xfr_chain_fail.rpl        | 321 ------------
 .../testdata/auth_zonemd_xfr_chain_keyinxfr.rpl    | 315 ------------
 contrib/unbound/testdata/auth_zonemd_xfr_fail.rpl  | 241 ---------
 contrib/unbound/testdata/ede.tdir/bogus/clean.sh   |   1 -
 .../testdata/ede.tdir/bogus/dnskey-failures.test   |  10 -
 .../testdata/ede.tdir/bogus/dnssec-failures.test   |  15 -
 .../testdata/ede.tdir/bogus/make-broken-zone.sh    |  67 ---
 .../testdata/ede.tdir/bogus/nsec-failures.test     |  10 -
 .../testdata/ede.tdir/bogus/rrsig-failures.test    |  10 -
 contrib/unbound/testdata/ede.tdir/ede-auth.conf    |  27 --
 contrib/unbound/testdata/ede.tdir/ede.conf         |  49 --
 contrib/unbound/testdata/ede.tdir/ede.dsc          |  16 -
 contrib/unbound/testdata/ede.tdir/ede.post         |  10 -
 contrib/unbound/testdata/ede.tdir/ede.pre          |  37 --
 contrib/unbound/testdata/ede.tdir/ede.test         |  72 ---
 contrib/unbound/testdata/ede_acl_refused.rpl       |  35 --
 .../unbound/testdata/ede_cache_snoop_noth_auth.rpl |  33 --
 .../testdata/ede_localzone_dname_expansion.rpl     |  37 --
 .../testdata/edns_attached_once_per_upstream.rpl   |  90 ----
 contrib/unbound/testdata/fwd_error_retries.rpl     |  27 --
 .../fwd_udp_with_tcp_upstream.conf                 |  20 -
 .../fwd_udp_with_tcp_upstream.dsc                  |  16 -
 .../fwd_udp_with_tcp_upstream.post                 |  10 -
 .../fwd_udp_with_tcp_upstream.pre                  |  31 --
 .../fwd_udp_with_tcp_upstream.test                 |  35 --
 .../fwd_udp_with_tcp_upstream.testns               |  25 -
 .../127.0.0.1/example.com.zone                     |   3 -
 .../http_user_agent.tdir/http_user_agent.conf      |  24 -
 .../http_user_agent.tdir/http_user_agent.dsc       |  16 -
 .../http_user_agent.tdir/http_user_agent.post      |  11 -
 .../http_user_agent.tdir/http_user_agent.pre       |  37 --
 .../http_user_agent.tdir/http_user_agent.test      | 103 ----
 .../testdata/http_user_agent.tdir/petal.key        |  21 -
 .../testdata/http_user_agent.tdir/petal.pem        |  14 -
 .../http_user_agent.tdir/unbound_control.key       |  39 --
 .../http_user_agent.tdir/unbound_control.pem       |  22 -
 .../http_user_agent.tdir/unbound_server.key        |  39 --
 .../http_user_agent.tdir/unbound_server.pem        |  22 -
 contrib/unbound/testdata/ipset.tdir/ipset.conf     |  23 -
 contrib/unbound/testdata/ipset.tdir/ipset.dsc      |  16 -
 contrib/unbound/testdata/ipset.tdir/ipset.post     |  14 -
 contrib/unbound/testdata/ipset.tdir/ipset.pre      |  33 --
 contrib/unbound/testdata/ipset.tdir/ipset.test     | 155 ------
 contrib/unbound/testdata/ipset.tdir/ipset.testns   | 103 ----
 contrib/unbound/testdata/iter_cname_minimise.rpl   | 179 -------
 contrib/unbound/testdata/iter_dp_ip6useless.rpl    | 168 -------
 contrib/unbound/testdata/nsid_bogus.rpl            | 175 -------
 .../unbound/testdata/ratelimit.tdir/ratelimit.conf |  29 --
 .../unbound/testdata/ratelimit.tdir/ratelimit.dsc  |  16 -
 .../unbound/testdata/ratelimit.tdir/ratelimit.post |  14 -
 .../unbound/testdata/ratelimit.tdir/ratelimit.pre  |  33 --
 .../unbound/testdata/ratelimit.tdir/ratelimit.test | 183 -------
 .../testdata/ratelimit.tdir/ratelimit.testns       |  13 -
 .../testdata/ratelimit.tdir/unbound_control.key    |  39 --
 .../testdata/ratelimit.tdir/unbound_control.pem    |  22 -
 .../testdata/ratelimit.tdir/unbound_server.key     |  39 --
 .../testdata/ratelimit.tdir/unbound_server.pem     |  22 -
 contrib/unbound/testdata/rpz_clientip.rpl          | 264 ----------
 contrib/unbound/testdata/rpz_nsdname.rpl           | 390 ---------------
 contrib/unbound/testdata/rpz_nsip.rpl              | 408 ----------------
 contrib/unbound/testdata/rpz_passthru.rpl          | 154 ------
 contrib/unbound/testdata/rpz_qname_tcponly.rpl     | 117 -----
 contrib/unbound/testdata/rpz_respip_tcponly.rpl    | 207 --------
 contrib/unbound/testdata/rpz_rootwc.rpl            | 162 -------
 .../unbound/testdata/rpz_signal_nxdomain_ra.rpl    | 254 ----------
 .../stub_udp_with_tcp_upstream.conf                |  19 -
 .../stub_udp_with_tcp_upstream.dsc                 |  16 -
 .../stub_udp_with_tcp_upstream.post                |  10 -
 .../stub_udp_with_tcp_upstream.pre                 |  35 --
 .../stub_udp_with_tcp_upstream.test                |  37 --
 .../stub_udp_with_tcp_upstream.testns              |  48 --
 contrib/unbound/testdata/subnet_prefetch.crpl      | 215 ---------
 .../testdata/subnet_prefetch_with_client_ecs.crpl  | 221 ---------
 .../testdata/svcb.tdir/crypto.cloudflare.com.zone  |   9 -
 contrib/unbound/testdata/svcb.tdir/svcb.dsc        |  16 -
 .../testdata/svcb.tdir/svcb.failure-cases-01       |   9 -
 .../testdata/svcb.tdir/svcb.failure-cases-02       |   8 -
 .../testdata/svcb.tdir/svcb.failure-cases-03       |   8 -
 .../testdata/svcb.tdir/svcb.failure-cases-04       |   8 -
 .../testdata/svcb.tdir/svcb.success-cases.zone     |  47 --
 .../testdata/svcb.tdir/svcb.success-cases.zone.cmp |  10 -
 contrib/unbound/testdata/svcb.tdir/svcb.test       |  97 ----
 .../testdata/svcb.tdir/svcb.test-vectors-pf.zone   |  92 ----
 .../testdata/svcb.tdir/svcb.test-vectors-wf.zone   | 232 ---------
 contrib/unbound/testdata/zonemd.example1.zone      |   4 -
 contrib/unbound/testdata/zonemd.example10.zone     |  35 --
 contrib/unbound/testdata/zonemd.example11.zone     |  33 --
 contrib/unbound/testdata/zonemd.example12.zone     |  35 --
 contrib/unbound/testdata/zonemd.example13.zone     |  33 --
 contrib/unbound/testdata/zonemd.example14.zone     |  35 --
 contrib/unbound/testdata/zonemd.example15.zone     |  35 --
 contrib/unbound/testdata/zonemd.example16.zone     |  11 -
 contrib/unbound/testdata/zonemd.example17.zone     |  11 -
 contrib/unbound/testdata/zonemd.example2.zone      |  15 -
 contrib/unbound/testdata/zonemd.example3.zone      |  34 --
 contrib/unbound/testdata/zonemd.example4.zone      |  36 --
 contrib/unbound/testdata/zonemd.example5.zone      |  34 --
 contrib/unbound/testdata/zonemd.example6.zone      |  36 --
 contrib/unbound/testdata/zonemd.example7.zone      |  31 --
 contrib/unbound/testdata/zonemd.example8.zone      |  34 --
 contrib/unbound/testdata/zonemd.example9.zone      |  35 --
 contrib/unbound/testdata/zonemd.example_a1.zone    |   6 -
 contrib/unbound/testdata/zonemd.example_a2.zone    |  25 -
 contrib/unbound/testdata/zonemd.example_a3.zone    |  30 --
 contrib/unbound/testdata/zonemd.example_a4.zone    | 127 -----
 contrib/unbound/testdata/zonemd.example_a5.zone    |  48 --
 .../testdata/zonemd_reload.tdir/zonemd_reload.conf |  23 -
 .../testdata/zonemd_reload.tdir/zonemd_reload.dsc  |  16 -
 .../testdata/zonemd_reload.tdir/zonemd_reload.post |  14 -
 .../testdata/zonemd_reload.tdir/zonemd_reload.pre  |  35 --
 .../testdata/zonemd_reload.tdir/zonemd_reload.test |  74 ---
 .../zonemd_reload.tdir/zonemd_reload.testns        |  27 --
 .../testdata/zonemd_reload.tdir/zonemd_reload.zone |   8 -
 contrib/unbound/util/iana_ports.inc                |   9 +
 contrib/unbound/util/net_help.c                    |  10 +-
 contrib/unbound/validator/val_secalgo.c            | 127 +++--
 contrib/unbound/validator/val_sigcrypt.c           | 148 +++---
 contrib/unbound/validator/val_utils.c              |   2 +-
 172 files changed, 728 insertions(+), 12244 deletions(-)