Commit Graph

3952 Commits

Author SHA1 Message Date
christos 3b53ecd493 Handle OpenSSL-3.x 2023-05-09 15:02:59 +00:00
christos 7e65eca671 Handle OpenSSL-3.x 2023-05-09 14:31:55 +00:00
christos dfe7b6ae9d accommodate OpenSSL-3.x 2023-05-09 01:21:09 +00:00
christos 616ffa0105 Handle OpenSSL-3.x 2023-05-08 23:45:52 +00:00
christos 50dfd7d5ed Elide OpenSSL-3 deprecation warning 2023-05-08 21:20:29 +00:00
roy a3a592bb82 dhcpcd: Fix non INET6 builds.
Thanks to J. Hannken-Illjes for the fix.
2023-04-27 13:21:59 +00:00
roy 74820ea053 Merge changes 2023-04-21 16:54:26 +00:00
roy 794dfa7744 Update to dhcpcd-10.0.1 with the following changes:
* privsep: keep resources open rather than open/close
 * dhcp6: OPTION_NTP_SERVER is now preferred over OPTION_SNTP_SERVER
 * Misc bug fixes mainly around privsep for many platforms.
 * Fix for reading the some BSD routing table entries.
 * Fix reading authtokens from config.

Big new release, mainly around better privsep process management
which allows us to detect when they exit unexpectedly.
2023-04-21 16:52:28 +00:00
gutteridge bc0862c3a1 atf-run_test.sh: fix spelling of "through"
Reported by Jim Spath in PR misc/57318.
2023-04-03 16:26:50 +00:00
gutteridge d5ef91429e atf-c-api.3: correct ATF_TP_ADD_TC() examples to use "tp" 2023-03-14 00:55:31 +00:00
gutteridge a3205d7c90 search.c: correctly handle escaped backslashes
Addresses PR bin/57106 from Bosco G. G., who supplied the patch.
(This was also committed in the nvi2 sources:
e7054267a3)
2023-02-13 23:08:43 +00:00
christos de7b513124 remove trash (pointed out by des @ freebsd) 2023-02-03 20:07:35 +00:00
mlelstv 4e9a22b91b Shut down SSL when closing connection. 2023-01-24 08:02:57 +00:00
mlelstv e60dc8a798 Use SNI. 2023-01-24 08:01:25 +00:00
wiz 56697cef97 Remove unneeded -D_OPENBSD_SOURCE 2022-12-21 17:20:07 +00:00
christos b9606fa0cc importdate is no more 2022-12-13 21:16:38 +00:00
christos da8bb7f219 Remove the importdate hack to make things more similar with the upstream
script.
2022-12-13 18:36:41 +00:00
christos 1790571ce3 preserve the original logic if we don't have MKREPRO_TIMESTAMP, use consistent
version string with other builds.
2022-12-13 18:27:45 +00:00
martin 47ace57a28 When doing reproducible builds, don't import a "run" number in the
ntp tools config version files.
2022-12-13 18:15:29 +00:00
christos 9f9a2935e6 dedup 2022-12-10 20:57:10 +00:00
christos 0fb72f70ae new file 2022-12-10 17:41:05 +00:00
jakllsch 6471fd16f0 Add magic to recognize FFSv2ea 2022-12-10 16:22:21 +00:00
christos b1530fa8dc Allow configuration of addresses without a mask/prefix (Jose Luis Duran) 2022-11-18 16:01:00 +00:00
christos c385234de5 More ipfilter fixes (Jose Luis Duran) 2022-11-15 21:05:00 +00:00
christos 37baa798b1 NetBSD uses ipf.conf for ipfilter not ipfilter.conf (Hose Luis Duran) 2022-11-15 20:58:50 +00:00
wiz 018c746c3c mdocml: stop building (empty) compat replacement file for reallocarray 2022-10-31 09:37:37 +00:00
wiz 4bcdf1483a remove (AFAIKT) unused _OPENBSD_SOURCE 2022-10-31 09:30:43 +00:00
wiz b4f71e776b dhcpcd: _OPENBSD_SOURCE does not need to be defined any longer
reallocarray() is in the public namespace now
2022-10-31 09:27:23 +00:00
christos 7249f2dbd3 fix typo (jlduran) 2022-10-12 19:50:29 +00:00
christos b0da0ffd38 fix logging function which should have used function pointer (jlduran at github) 2022-10-12 18:36:02 +00:00
christos 9e87d8cc74 From pjuran at github:
- Be quiet
- Kill active tcp connections from the blocked address
- Fix purge operation for pf, which must dynamically determine which filters
  have been created, so the filters can be flushed by name.
2022-10-12 18:34:43 +00:00
christos 50c1bace96 merge conflicts between ntp-4.2.8p1{4,5} 2022-10-09 21:41:03 +00:00
christos b8da6a3f08 (4.2.8p15) 2020/06/23 Released by Harlan Stenn <stenn@ntp.org>
* [Sec 3661] memory leak with AES128CMAC keys <perlinger@ntp.org>
* [Bug 3670] Regression from bad merge of 3592 and 3596 <perlinger@ntp.org>
  - fixed a bad merge that happened before 4.2.8-p14. Thanks to
    Sylar Tao for noticing this!
* [Bug 3667] decodenetnum fails with numeric port <perlinger@ntp.org>
  - rewrite 'decodenetnum()' in terms of inet_pton
* [Bug 3666] avoid unlimited receive buffer allocation <perlinger@ntp.org>
  - limit number of receive buffers, with an iron reserve for refclocks
* [Bug 3664] Enable openSSL CMAC support on Windows <burnicki@ntp.org>
* [Bug 3662] Fix build errors on Windows with VS2008 <burnicki@ntp.org>
* [Bug 3660] Manycast orphan mode startup discovery problem. <stenn@ntp.org>
  - integrated patch from Charles Claggett
* [Bug 3659] Move definition of psl[] from ntp_config.h to
  ntp_config.h <perlinger@ntp.org>
* [Bug 3657] Wrong "Autokey group mismatch" debug message <perlinger@ntp.org>
* [Bug 3655] ntpdc memstats hash counts <perlinger@ntp.org>
  - fix by Gerry garvey
* [Bug 3653] Refclock jitter RMS calculation <perlinger@ntp.org>
  - thanks to Gerry Garvey
* [Bug 3646] Avoid sync with unsync orphan <perlinger@ntp.org>
  - patch by Gerry Garvey
* [Bug 3644] Unsynchronized server [...] selected as candidate <perlinger@ntp.org>
* [Bug 3639] refclock_jjy: TS-JJY0x can skip time sync depending on the STUS reply. <abe@ntp.org>
  - applied patch by Takao Abe
2022-10-09 21:00:00 +00:00
christos 866f4acb5b more autoconf files 2022-09-25 00:48:37 +00:00
christos 24fa2cb049 compile is needed too 2022-09-25 00:47:27 +00:00
christos c20607ae2b Add configure glue 2022-09-24 20:33:29 +00:00
christos 2b2c7ba895 Add build glue, bump version 2022-09-24 20:22:16 +00:00
christos 1d4cb158d5 merge changes between 5.40 and 5.43 2022-09-24 20:21:45 +00:00
christos a77ebd8684 Import file-5.43+; last was file-5.40
2022-09-20  17:12  Christos Zoulas <christos@zoulas.com>

	* fixed various clustefuzz issues

2022-09-19  15:54  Christos Zoulas <christos@zoulas.com>

	* Fix error detection for decompression code (Vincent Mihalkovic)

2022-09-15  13:50  Christos Zoulas <christos@zoulas.com>

	* Add MAGIC_NO_COMPRESS_FORK and use it to produce a more
	  meaningful error message if we are sandboxing.

2022-09-15  10:45  Christos Zoulas <christos@zoulas.com>

	* Add built-in lzip decompression support (Michal Gorny)

2022-09-14  10:35  Christos Zoulas <christos@zoulas.com>

	* Add built-in zstd decompression support (Martin Rodriguez Reboredo)

2022-09-13  14:55  Christos Zoulas <christos@zoulas.com>

	* release 5.43

2022-09-10   9:17  Christos Zoulas <christos@zoulas.com>

	* Add octal indirect magic (Michal Gorny)

2022-08-17  11:43  Christos Zoulas <christos@zoulas.com>

	* PR/374: avoid infinite loop in non-wide code (piru)
	* PR/373: Obey MAGIC_CONTINUE with multiple magic files (vismarli)

2022-07-26  11:10  Christos Zoulas <christos@zoulas.com>

	* Fix bug with large flist (Florian Weimer)

2022-07-07  13:21  Christos Zoulas <christos@zoulas.com>

        * PR/364: Detect non-nul-terminated core filenames from QEMU
	  (mam-ableton)

2022-07-04  15:45  Christos Zoulas <christos@zoulas.com>

	* PR/359: Add support for http://ndjson.org/ (darose)
	* PR/362: Fix wide printing (ro-ee)
	* PR/358: Fix width for -f - (jpalus)
	* PR/356: Fix JSON constant parsing (davewhite)

2022-06-10   9:40  Christos Zoulas <christos@zoulas.com>

	* release 5.42

2022-05-31  14:50   Christos Zoulas <christos@zoulas.com>

	* PR/348: add missing cases to prevent file from aborting on
	  random magic files.

2022-05-27  21:05   Christos Zoulas <christos@zoulas.com>

	* PR/351: octalify filenames when not raw before printing.

2022-04-18  17:51   Christos Zoulas <christos@zoulas.com>

	* fix regex cacheing bug (Dirk Mueller)
	* merge file_regcomp and file_regerror() to simplify the code
	  and reduce memory requirements for storing regexes (Dirk Mueller)

2022-03-19  12:56   Christos Zoulas <christos@zoulas.com>

	* cache regex (Dirk Mueller)
	* detect filesystem full by flushing output (Dirk Mueller)

2021-11-19  12:36   Christos Zoulas <christos@zoulas.com>

	* implement running decompressor programs using
	  posix_spawnp(2) instead of vfork(2)

2021-10-24  11:51   Christos Zoulas <christos@zoulas.com>

	* Add support for msdos dates and times

2021-10-20   9:55   Christos Zoulas <christos@zoulas.com>

	* use the system byte swapping functions if available (Werner Fink)

2021-10-18  11:57  Christos Zoulas <christos@zoulas.com>

	* release 5.41

2021-09-23  03:51  Christos Zoulas <christos@zoulas.com>

	* Avinash Sonawane: Fix tzname detection

2021-09-03  09:17  Christos Zoulas <christos@zoulas.com>

	* Fix relationship tests with "search" magic, don't short circuit
	  logic

2021-07-13  01:06  Christos Zoulas <christos@zoulas.com>

	* Fix memory leak in compile mode

2021-07-01  03:51  Christos Zoulas <christos@zoulas.com>

	* PR/272: kiefermat: Only set returnval = 1 when we printed something
	  (in all cases print or !print). This simplifies the logic and fixes
	  the issue in the PR with -k and --mime-type there was no continuation
	  printed before the default case.

2021-06-30  13:07  Christos Zoulas <christos@zoulas.com>

	* PR/270: Don't translate unprintable characters in %s magic formats
	  when -r
	* PR/269: Avoid undefined behavior with clang (adding offset to NULL)

2021-05-09  18:38  Christos Zoulas <christos@zoulas.com>

	* Add a new flag (f) that requires that the match is a full word,
	   not a partial word match.
	* Add varint types (unused)

2021-04-19  17:17  Christos Zoulas <christos@zoulas.com>

	* PR/256: mutableVoid: If the file is less than 3 bytes, use the file
	  length to determine type
	* PR/259: aleksandr.v.novichkov: mime printing through indirect magic
	  is not taken into account, use match directly so that it does.

2021-04-04  17:02  Christos Zoulas <christos@zoulas.com>

	* count the total bytes found not the total byte positions
	  in order to determine encoding (Anatol Belski)
2022-09-24 20:07:53 +00:00
christos 1481e2a94f merge conflicts and update configuration between 1.13.1 and 1.16.3 2022-09-24 18:11:42 +00:00
christos 7a540f2bd4 Import unbound-1.16.3; last import was 1.13.1
21 September 2022: Wouter
	- Patch for CVE-2022-3204 Non-Responsive Delegation Attack.
	- This patch was released in 1.16.3, the code repository continues
	  with the previous features and fixes for 1.17.0.
	- Fix doxygen warning in respip.h.

20 September 2022: George
	- Convert tdir tests to use the new skip_test functionality.
	- Remove unused testcode/mini_tpkg.sh file.

16 September 2022: George
	- Merge #753: ACL per interface. (New interface-* configuration
	  options).

2 September 2022: Wouter
	- Remove include that was there for debug purposes.
	- Fix to check pthread_t size after pthread has been detected.

1 September 2022: Wouter
	- Fix to update config tests to fix checking if nonblocking sockets
	  work on OpenBSD.
	- Slow down log frequency of write wait failures.
	- Fix to set out of file descriptor warning to operational verbosity.
	- Fix to log a verbose message at operational notice level if a
	  thread is not responding, to stats requests. It is logged with
	  thread identifiers.

31 August 2022: Wouter
	- Fix to avoid process wide fcntl calls mixed with nonblocking
	  operations after a blocked write.
	- Patch from Vadim Fedorenko that adds MSG_DONTWAIT to receive
	  operations, so that instruction reordering does not cause mistakenly
	  blocking socket operations.
	- Fix to wait for blocked write on UDP sockets, with a timeout if it
	  takes too long the packet is dropped.
	- Fix for wait for udp send to stop when packet is successfully sent.

22 August 2022: Wouter
	- Fix #741: systemd socket activation fails on IPv6.

12 August 2022: Wouter
	- Fix to log accept error ENFILE and EMFILE errno, but slowly, once
	  per 10 seconds. Also log accept failures when no slow down is used.

5 August 2022: Wouter
	- Fix #734 [FR] enable unbound-checkconf to detect more (basic)
	  errors.

4 August 2022: Wouter
	- Fix ratelimit inconsistency, for ip-ratelimits the value is the
	  amount allowed, like for ratelimits.

2 August 2022: Wouter
	- Fix edns subnet so that scope 0 answers only match sourcemask 0
	  queries for answers from cache if from a query with sourcemask 0.
	- Fix unittest for edns subnet change.
	- Merge #730 from luisdallos: Fix startup failure on Windows 8.1 due
	  to unsupported IPV6_USER_MTU socket option being set.

1 August 2022: Wouter
	- Fix the novel ghost domain issues CVE-2022-30698 and CVE-2022-30699.
	- Tests for ghost domain fixes.
	- Tag for 1.16.2 release. The code repo continues with 1.16.3.
	- Fix #728: alloc_reg_obtain() core dump. Stop double
	  alloc_reg_release when serviced_create fails.

19 July 2022: George
	- Update documentation for 'outbound-msg-retry:'.

19 July 2022: Wouter
	- Merge #718: Introduce infra-cache-max-rtt option to config max
	  retransmit timeout.

15 July 2022: Wouter
	- Merge PR 714: Avoid treat normal hosts as unresponsive servers.
	  And fixup the lock code.
	- iana portlist update.

12 July 2022: George
	- For windows crosscompile, fix setting the IPV6_MTU socket option
	  equivalent (IPV6_USER_MTU); allows cross compiling with latest
	  cross-compiler versions.

12 July 2022: Wouter
	- Fix dname count in sldns parse type descriptor for SVCB and HTTPS.

11 July 2022: Wouter
	- Fix verbose EDE error printout.

4 July 2022: George
	- Fix bug introduced in 'improve val_sigcrypt.c::algo_needs_missing for
	  one loop pass'.
	- Merge PR #668 from Cristian Rodríguez: Set IP_BIND_ADDRESS_NO_PORT on
	  outbound tcp sockets.

4 July 2022: Wouter
	- Tag for 1.16.1rc1 release. This became 1.16.1 on 11 July 2022.
	  The code repo continues with version 1.16.2 under development.

3 July 2022: George
	- Merge PR #671 from Petr Men#ík: Disable ED25519 and ED448 in FIPS
	  mode on openssl3.
	- Merge PR #660 from Petr Men#ík: Sha1 runtime insecure.
	- For #660: formatting, less verbose logging, add EDE information.
	- Fix for correct openssl error when adding windows CA certificates to
	  the openssl trust store.
	- Improve val_sigcrypt.c::algo_needs_missing for one loop pass.
	- Reintroduce documentation and more EDE support for
	  val_sigcrypt.c::dnskeyset_verify_rrset_sig.

1 July 2022: George
	- Merge PR #706: NXNS fallback.
	- From #706: Cached NXDOMAIN does not increase the target nx
	  responses.
	- From #706: Don't generate parent side queries if we already
	  have the lame records in cache.
	- From #706: When a lame address is the best choice, don't try to
	  generate target queries when the missing targets are all lame.

29 June 2022: Wouter
	- iana portlist update.
	- Fix detection of libz on windows compile with static option.
	- Fix compile warning for windows compile.

29 June 2022: George
	- Add debug option to the mini_tdir.sh test code.
	- Fix #704: [FR] Statistics counter for number of outgoing UDP queries
	  sent; introduces 'num.query.udpout' to the 'unbound-control stats'
	  command.
	- Fix to not count cached NXDOMAIN for MAX_TARGET_NX.
	- Allow fallback to the parent side when MAX_TARGET_NX is reached.
	  This will also allow MAX_TARGET_NX more NXDOMAINs.

28 June 2022: George
	- Show the output of the exact .rpl run that failed with 'make test'.
	- Fix for cached 0 TTL records to not trigger prefetching when
	  serve-expired-client-timeout is set.

28 June 2022: Wouter
	- Fix test program dohclient close to use portability routine.

23 June 2022: Tom
	- Clarify -v flag manpage entry (#705)

22 June 2022: Philip
	- Fix #663: use after free issue with edns options.

21 June 2022: Philip
	- Fix for loading locally stored zones that have lines with blanks or
	  blanks and comments.

20 June 2022: George
	- Remove unused LDNS function check for GOST Engine unloading.

14 June 2022: George
	- Merge PR #688: Rpz url notify issue.
	- Note in the unbound.conf text that NOTIFY is allowed from the url:
	  addresses for auth and rpz zones.

3 June 2022: George
	- Fix for edns client subnet to respect not looking in its cache when
	  instructed to do so (e.g., prefetch).

3 June 2022: Wouter
	- makedist.sh picks up 32bit libssp-0.dll when 32bit compile.

27 May 2022: Wouter
	- Fix #684: [FTBS] configure script error with libmnl on openSUSE 15.3 (and possibly other distributions)
	- Version is set to 1.16.0 for release. Release tag 1.16.0rc1. This
	  became release 1.16.0 on 2 June 2022. The source code branch
	  continues with version 1.16.1 under development.

20 May 2022: Wouter
	- Fix to silence test for ede error output to the console from the
	  test setup script.
	- Fix ede test to not use default pidfile, and use local interface.
	- Fix some lint type warnings.

18 May 2022: George
	- Fix typos in config_set_option for the 'num-threads' and
	  'ede-serve-expired' options.

15 May 2022: George
	- Fix #678: [FR] modify behaviour of unbound-control rpz_enable zone,
	  by updating unbound-control's documentation.

12 May 2022: George
	- Fix #417: prefetch and ECS causing cache corruption when used
	  together.

12 May 2022: Wouter
	- Merge #677: Allow using system certificates not only on Windows,
	  from pemensik.
	- For #677: Added tls-system-cert to config parser and documentation.

11 May 2022: Wouter
	- Fix #673: DNS over TLS: error: SSL_handshake syscall: No route to
	  host.

10 May 2022: George
	- Fix Python build in non-source directory; based on patch by
	  Michael Tokarev.

6 May 2022: Tom
	- Merge PR #604: Add basic support for EDE (RFC8914).

28 April 2022: Wouter
	- Fix #670: SERVFAIL problems with unbound 1.15.0 running on
	  OpenBSD 7.1.

8 April 2022: Wouter
	- Fix zonemd check to allow unsupported algorithms to load.
	  If there are only unsupported algorithms, or unsupported schemes,
	  and no failed or successful other ZONEMD records, or malformed
	  or bad ZONEMD records, the unsupported records allow the zone load.
	- Fix zonemd unsupported algo check.
	- Fix zonemd unsupported algo check reason to not copy to next record,
	  and check for success for debug printout.
	- Fix zonemd unsupported algo check to print unsupported reason before
	  zeroing it.
	- Fix zonemd unsupported algo check to set reason to NULL before the
	  check routine, but after malformed checks, to get the correct NULL
	  output when the digest matches.

25 March 2022: Wouter
	- Fix spelling error in comment in sldns_str2wire_svcparam_key_lookup.

23 March 2022: Wouter
	- Fix #651: [FR] Better logging for refused queries.

18 March 2022: George
	- Merge PR #648 from eaglegai: fix -q doesn't work when use with
	  'unbound-control stats_shm'.

17 March 2022: Wouter
	- Fix to describe auth-zone and other configuration at the local-zone
	  configuration option, to allow for more broadly view of the options.

16 March 2022: Wouter
	- Fix to ensure uniform handling of spaces and tabs when parsing RRs.

9 March 2022: Wouter
	- Merge #644: Make `install-lib` make target install the pkg-config
	  file.

7 March 2022: Wouter
	- Fix configure for python to use sysutils, because distutils is
	  deprecated. It uses sysutils when available, distutils otherwise.

3 March 2022: Wouter
	- Fix #637: Integer Overflow in sldns_str2period function.
	- Fix for #637: fix integer overflow checks in sldns_str2period.

2 March 2022: George
	- Merge PR #632 from scottrw93: Match cnames in ipset.
	- Various fixes for #632: variable initialisation, convert the qinfo
	  to str once, accept trailing dot in the local-zone ipset option.

2 March 2022: Wouter
	- Fix compile warnings for printf ll format on mingw compile.

1 March 2022: Wouter
	- Fix pythonmod for change in iter_dp_is_useless function prototype.

28 February 2022: George
	- Fix #630: Unify the RPZ log messages.
	- Merge #623 from rex4539: Fix typos.

28 February 2022: Wouter
	- Fix #633: Document unix domain socket support for unbound-control.
	- Fix for #633: updated fix with new text.
	- Fix edns client subnet to add the option based on the option list,
	  so that it is not state dependent, after the state fix of #605 for
	  double EDNS options.
	- Fix for edns client subnet option add fix in removal code, from review.

25 February 2022: Wouter
	- Fix to detect that no IPv6 support means that IPv6 addresses are
	  useless for delegation point lookups.
	- update Makefile dependencies.
	- Fix check interface existence for support detection in remote lookup.

18 February 2022: Wouter
	- Fix that address not available is squelched from the logs for
	  udp connect failures. It is visible on verbosity 4 and more.
	- Merge #631 from mollyim: Replace OpenSSL's ERR_PACK with
	  ERR_GET_REASON.

16 February 2022: Wouter
	- Fix for #628: fix rpz-passthru for qname trigger by localzone type.

15 February 2022: Wouter
	- Fix #628: A rpz-passthru action is not ending RPZ zone processing.

11 February 2022: Wouter
	- Fix #624: Unable to stop Unbound in Windows console (does not
	  respond to CTRL+C command).
	- Fix #618: enabling interface-automatic disables DNS-over-TLS.
	  Adds the option to list interface-automatic-ports.
	- Remove debug info from #618 fix.

7 February 2022: Wouter
	- Fix that TCP interface does not use TLS when TLS is also configured.

4 February 2022: Wouter
	- Fix #412: cache invalidation issue with CNAME+A.

3 February 2022: Wouter
	- Fix for #611: Integer overflow in sldns_wire2str_pkt_scan.
	- Tag for 1.15.0rc1 created. That became 1.15.0 on 10 feb 2022.
	  The repository continues with version 1.15.1.

2 February 2022: George
	- Merge PR #532 from Shchelk: Fix: buffer overflow bug.
	- Merge PR #616: Update ratelimit logic. It also introduces
	  ratelimit-backoff and ip-ratelimit-backoff configuration options.
	- Change aggressive-nsec default to yes.
	- Merge PR #617: Update stub/forward-host notation to accept port and
	  tls-auth-name.
	- Update stream_ssl.tdir test to also use the new forward-host
	  notation.

2 February 2022: Wouter
	- Update version number in repo to 1.15.0 for upcoming release,
	  since it changes the aggressive-nsec default and the ratelimit change.
	- Fix header comment for doxygen for authextstrtoaddr.
	- please clang analyzer for loop in test code.
	- Fix docker splint test to use more portable uname.
	- Update contrib/aaaa-filter-iterator.patch with diff for current
	  software version.

1 February 2022: George
	- Merge PR #603 from fobser: Use OpenSSL 1.1 API to access DSA and RSA
	  internals.

31 January 2022: George
	- Fix review comment for use-after-free when failing to send UDP out.

31 January 2022: Wouter
	- iana portlist update.

29 January 2022: George
	- Fix tls-* and ssl-* documented alternate syntax to also be available
	  through remote-control and unbound-checkconf.
	- Better cleanup on failed DoT/DoH listening socket creation.

26 January 2022: George
	- Fix #599: [FR] RFC 9156 (obsoletes RFC 7816), by noting the new RFC
	  document.

26 January 2022: Wouter
	- Test for NSID in SERVFAIL response due to DNSSEC bogus.

25 January 2022: George
	- Fix #588: Unbound 1.13.2 crashes due to p->pc is NULL in
	  serviced_udp_callback.
	- Merge PR #612: TCP race condition.

25 January 2022: Wouter
	- Fix #610: Undefine-shift in sldns_str2wire_hip_buf.

19 January 2022: George
	- For dnstap, do not wakeupnow right there. Instead zero the timer to
	  force the wakeup callback asap.

14 January 2022: George
	- Merge PR #605:
	  - Fix EDNS to upstream where the same option could be attached
	     more than once.
	  - Add a region to serviced_query for allocations.

14 January 2022: Wouter
	- Add rpz: for-downstream: yesno option, where the RPZ zone is
	  authoritatively answered for, so the RPZ zone contents can be
	  checked with DNS queries directed at the RPZ zone.
	- For #602: Allow the module-config "subnetcache validator cachedb
	  iterator".

11 January 2022: George
	- Fix prematurely terminated TCP queries when a reply has the same ID.

7 January 2022: Wouter
	- Merge #600 from pemensik: Change file mode before changing file
	  owner.

5 January 2022: Wouter
	- Fix for #596: fix that rpz return message is returned and not just
	  the rcode from the iterator return path. This fixes signal unset RA
	  after a CNAME.
	- Fix unit tests for rpz now that the AA flag returns successfully from
	  the iterator loop.
	- Fix for #596: add unit test for nsdname trigger and signal unset RA.
	- Fix for #596: add unit test for nsip trigger and signal unset RA.
	- Fix #598: Fix unbound-checkconf fatal error: module conf
	  'respip dns64 validator iterator' is not known to work.
	- Fix for #596: Fix rpz-signal-nxdomain-ra to work for clientip
	  triggered operation.

4 January 2022: Wouter
	- Fix #596: unset the RA bit when a query is blocked by an unbound
	  RPZ nxdomain reply. The option rpz-signal-nxdomain-ra allows to
	  signal that a domain is externally blocked to clients when it
	  is blocked with NXDOMAIN by unsetting RA.
	- Fix to add test for rpz-signal-nxdomain-ra.
	- Fix #596: only unset RA when NXDOMAIN is signalled.
	- Fix that RPZ does not set RD flag on replies, it should be copied
	  from the query.

22 December 2021: George
	- contrib/aaaa-filter-iterator.patch file renewed diff content to
	  apply cleanly to the current coderepo for the current code version.

20 December 2021: George
	- Fix #591: Unbound-anchor manpage links to non-existent license file.

13 December 2021: George
	- Add missing configure flags for optional features in the
	  documentation.
	- Fix Unbound capitalization in the documentation.

13 December 2021: Wouter
	- Fix to pick up other class local zone information before unlock.

10 December 2021: George
	- Allow local-data for classes other than IN to inherit a configured
	  local-zone's type if possible, instead of defaulting to type
	  transparent as per the implicit rule.

10 December 2021: Wouter
	- Add code similar to fix for ldns for tab between strings, for
	  consistency, the test case was not broken.

6 December 2021: Wouter
	- Merge PR #581 from fobser: Fix -Wmissing-prototypes and -Wshadow
	  warnings in rpz.
	- Fix validator debug output about DS support, print correct algorithm.

3 December 2021: Wouter
	- Fix compile warning for if_nametoindex on windows 64bit.

1 December 2021: Wouter
	- configure is set to 1.14.0, and release branch.
	  This was released as version 1.14.0 on 9 Dec 2021, with the doxygen
	  fix below included. The main branch continues as 1.14.1.
	- Fix doc/unbound.doxygen to remove obsolete tag warning.

1 December 2021: George
	- Merge PR #511 from yan12125: Reduce unnecessary linking.
	- Merge PR #493 from Jaap: Fix generation of libunbound.pc.
	- Merge PR #555 from fobser: Allow interface names as scope-id in IPv6
	  link-local addresses.
	- Merge PR #562 from Willem: Reset keepalive per new tcp session.
	- Merge PR #522 from sibeream: memory management violations fixed.
	- Merge PR #530 from Shchelk: Fix: dereferencing a null pointer.
	- Fix #454: listen_dnsport.c:825: error: `IPV6_TCLASS' undeclared.
	- Fix #574: Review fixes for size allocation.

30 November 2021: Wouter
	- Fix to remove git tracking and ci information from release tarballs.
	- iana portlist update.

29 November 2021: Wouter
	- Merge PR #570 from rex4539: Fix typos.
	- Fix for #570: regen aclocal.m4, fix configure.ac for spelling.
	- Fix to make python module opt_list use opt_list_in.
	- Fix #574: unbound-checkconf reports fatal error if interface names
	  are used as value for interfaces:
	- Fix #574: Review fixes for it.
	- Fix #576: [FR] UB_* error codes in unbound.h
	- Fix #574: Review fix for spelling.

15 November 2021: Tom
	- Improve EDNS option handling, now also works for synthesised
	  responses such as local-data and server.id CH TXT responses.

5 November 2021: George
	- Fix for #558: fix loop in comm_point->tcp_free when a comm_point is
	  reclaimed more than once during callbacks.
	- Fix for #558: clear the UB_EV_TIMEOUT bit before adding an event.

5 November 2021: Wouter
	- Fix that forward-zone name is documented as the full name of the
	  zone. It is not relative but a fully qualified domain name.
	- Fix analyzer review failure in rpz action override code to not
	  crash on unlocking the local zone lock.
	- Fix to remove unused code from rpz resolve client and action
	  function.
	- Merge #565: unbound.service.in: Disable ProtectKernelTunables again.

2 November 2021: Wouter
	- Fix #552: Unbound assumes index.html exists on RPZ host.

11 October 2021: Wouter
	- Fix chaos replies to have truncation for short message lengths,
	  or long reply strings.
	- Fix to protect custom regional create against small values.

4 October 2021: Wouter
	- Fix to add example.conf note for outbound-msg-retry.

27 September 2021: Wouter
	- Implement RFC8375: Special-Use Domain 'home.arpa.'.

21 September 2021: Wouter
	- For crosscompile on windows, detect 64bit stackprotector library.
	- Fix crosscompile shell syntax.
	- Fix crosscompile windows to use libssp when it exists.
	- For the windows compile script disable gost.
	- Fix that on windows, use BIO_set_callback_ex instead of deprecated
	  BIO_set_callback.
	- Fix crosscompile script for the shared build flags.

20 September 2021: Wouter
	- Fix crosscompile on windows to work with openssl 3.0.0 the
	  link with ws2_32 needs -l:libssp.a for __strcpy_chk.
	  Also copy results from lib64 directory if needed.

10 September 2021: Wouter
	- Fix initialisation errors reported by gcc sanitizer.
	- Fix lock debug code for gcc sanitizer reports.
	- Fix more initialisation errors reported by gcc sanitizer.

8 September 2021: Wouter
	- Merged #41 from Moritz Schneider: made outbound-msg-retry
	  configurable.
	- Small fixes for #41: changelog, conflicts resolved,
	  processQueryResponse takes an iterator env argument like other
	  functions in the iterator, no colon in string for set_option,
	  and some whitespace style, to make it similar to the rest.
	- Fix for #41: change outbound retry to int to fix signed comparison
	  warnings.
	- Fix root_anchor test to check with new icannbundle date.

3 September 2021: Wouter
	- Fix #538: Fix subnetcache statistics.

1 September 2021: Wouter
	- Fix tcp fastopen failure when disabled, try normal connect instead.

27 August 2021: Wouter
	- Fix #533: Negative responses get cached even when setting
	  cache-max-negative-ttl: 1

25 August 2021: Wouter
	- Merge #401: RPZ triggers. This add additional RPZ triggers,
	  unbound supports a full set of rpz triggers, and this now
	  includes nsdname, nsip and clientip triggers. Also actions
	  are fully supported, and this now includes the tcp-only action.
	- Fix #536: error: RPZ: name of record (drop.spamhaus.org.rpz.local.)
	  to insert into RPZ.
	- Fix the stream wait stream_wait_count_lock and http2 buffer locks
	  setup and desetup from race condition.
	- Fix RPZ locks. Do not unlock zones lock if requested and rpz find
	  zone does not find the zone. Readlock the clientip that is found
	  for ipbased triggers. Unlock the nsdname zone lock when done.
	  Unlock zone and ip in rpz nsip and nsdname callback. Unlock
	  authzone and localzone if clientip found in rpz worker call.
	- Fix compile warning in libunbound for listen desetup routine.
	- Fix asynclook unit test for setup of lockchecks before log.

20 August 2021: Wouter
	- Fix #529: Fix: log_assert does nothing if UNBOUND_DEBUG is
	  undefined.
	- Fix #531: Fix: passed to proc after free.

17 August 2021: Wouter
	- Fix that --with-ssl can use "/usr/include/openssl11" to pass the
	  location of a different openssl version.
	- Fix #527: not sending quad9 cert to syslog (and may be more).
	- Fix sed script in ssldir split handling.

16 August 2021: George
	- Merge PR #528 from fobser: Make sldns_str2wire_svcparam_buf()
	  static.

16 August 2021: Wouter
	- Fix to support harden-algo-downgrade for ZONEMD dnssec checks.

13 August 2021: Wouter
	- Support using system-wide crypto policies.
	- Fix for #431: Squelch permission denied errors for udp connect,
	  and udp send, they are visible at higher verbosity settings.
	- Fix zonemd verification of key that is not in DNS but in the zone
	  and needs a chain of trust.
	- zonemd, fix order of bogus printout string manipulation.

12 August 2021: George
	- Merge PR #514, from ziollek: Docker environment for run tests.
	- For #514: generate configure.

12 August 2021: Wouter
	- And 1.13.2rc1 became the 1.13.2 with the fix for the python module
	  build. The current code repository continues with version 1.13.3.
	- Add test tool readzone to .gitignore.
	- Merge #521: Update mini_event.c.
	- Merge #523: fix: free() call more than once with the same pointer.
	- Merge #519: Support for selective enabling tcp-upstream for
	  stub/forward zones.
	- For #519: note stub-tcp-upstream and forward-tcp-upstream in
	  the example configuration file.
	- For #519: yacc and lex. And fix python bindings, and test program
	  unbound-dnstap-socket.
	- For #519: fix comments for doxygen.
	- Fix to print error from unbound-anchor for writing to the key
	  file, also when not verbose.

5 August 2021: Wouter
	- Tag for 1.13.2rc1 release.
	- Fix #520: Unbound 1.13.2rc1 fails to build python module.

4 August 2021: George
	- Merge PR #415 from sibeream: Use
	  /proc/sys/net/ipv4/ip_local_port_range to determine available outgoing
	  ports. (New --enable-linux-ip-local-port-range configuration option)
	- Bump MAX_RESTART_COUNT to 11 from 8; in relation to #438. This
	  allows longer CNAME chains in Unbound.

4 August 2021: Wouter
	- In unit test use openssl set security level to allow keys in test.
	- Fix static analysis warnings about localzone locks that are unused.
	- Fix missing locks in zonemd unit test.
	- Fix readzone compile under debug config.
	- Fix out of sourcedir run of zonemd unit tests.
	- Fix libnettle zonemd unit test.
	- Fix unit test zonemd_reload for use in run_vm.

3 August 2021: George
	- Listen to read or write events after the SSL handshake.
	  Sticky events on windows would stick on read when write was needed.

3 August 2021: Wouter
	- Merge PR #517 from dyunwei: #420 breaks the mesh reply list
	  function that need to reuse the dns answer.
	- Annotate assertion into error printout; we think it may be an
	  error, but the situation looks harmless.
	- Fix sign comparison warning on FreeBSD.

2 August 2021: Wouter
	- Prepare for OpenSSL 3.0.0 provider API usage, move the sldns
	  keyraw functions to produce EVP_PKEY results.
	- Move RSA and DSA to use OpenSSL 3.0.0 API.
	- Move ECDSA functions to use OpenSSL 3.0.0 API.
	- iana portlist update.
	- Fix verbose printout failure in tcp reuse unit test.

30 July 2021: Wouter
	- Fix #515: Compilation against openssl 3.0.0 beta2 is failing to
	  build unbound.
	- For #515: Fix compilation with openssl 3.0.0 beta2, lib64 dir and
	  SSL_get_peer_certificate.
	- Move acx_nlnetlabs.m4 to version 41, with lib64 openssl dir check.

26 July 2021: George
	- Merge #513: Stream reuse, attempt to fix #411, #439, #469. This
	  introduces a couple of fixes for the stream reuse functionality
	  that could result in broken internal structures.

26 July 2021: Wouter
	- Merge #512: unbound.service.in: upgrade hardening to latest
	  standards.
	- Fix readzone unknown type print for memory resize.

21 July 2021: Wouter
	- Fix that ldns_zone_new_frm_fp_l counts the line number for an empty
	  line after a comment.

16 July 2021: George
	- Introduce 'http-user-agent:' and 'hide-http-user-agent:' options.

16 July 2021: Wouter
	- Merge #510 from ndptech: Don't call a function which hasn't been
	  defined.
	- Fix for #510: in depth, use ifdefs for windows api event calls.
	- Fix spelling in doc/unbound.doxygen comment.
	- Fix spelling in localzone.h comment.
	- Fix unbound-control local_data and local_datas to print detailed
	  syntax errors.
	- review fix to remove duplicate error printout.
	- Insert header into testcode/readzone.c, it was missing.
	- Fix from lint for ignored return value.
	- Fix for older parsers for function call in serve expired get cached.

6 July 2021: Wouter
	- iana portlist update.

5 July 2021: George
	- Fix compiler warnings for #491.
	- Fix clang-analysis warnings for testcode/readzone.c.

4 July 2021: George
	- Fix Wunused-result compile warnings.

2 July 2021: Tom
	- Merge PR #491: Add SVCB and HTTPS types and handling according to
	  draft-ietf-dnsop-svcb-https.

2 July 2021: Wouter
	- Fix #506: Python Module Seems to Leak Memory if it Experiences an
	  Unhandled Exception.

25 June 2021: Wouter
	- Fix up permissions on rpl data file in tests.
	- Fix testbound newline treatment in moment_read and tempfile write.
	- Fix configure grep for reuseport default for failure.
	- Fix compat ctime_r return value
	- Fix configure does not require pkg-config if not needed.
	- Fix unit test in the ctime_r calls for autotrust and in testbound.
	- Fix auth zone download on windows to unlink before rename.

24 June 2021: Wouter
	- Add analyzer and port compile github workflow.

23 June 2021: Wouter
	- Fix #503: DNS over HTTPS response truncated.
	- Fix warnings reported by the gcc analyzer.

21 June 2021: George
	- Fix #495: Documentation or implementation of "verbosity" option.

18 June 2021: Wouter
	- Fix a number of warnings reported by the gcc analyzer.

15 June 2021: George
	- Merge #440 by kimheino: Various fixes to contrib/unbound_munin_ file.

14 June 2021: Wouter
	- Fix configure nonblocking test and onmingw test to use host.

10 June 2021: Wouter
	- Fix #500: SPEC file in version 1.13.1 references version 1.4;
	  unable to build RPM from source.
	- Fix contrib/unbound.spec, fixed url and comment.

9 June 2021: George
	- Merge #486 by fobster: Make VAL_MAX_RESTART_COUNT configurable.
	- Generated lexer and parser for #486; updated example.conf.
	- Fix #413 (based on patch by k-ronny): unbound: does not compile
	  on macOS 11.1-x86_64 host.
	- Use host_os instead of target_os in configure for Darwin8 build.

8 June 2021: George
	- Fix unused variable warning when compiling with --enable-dnstap.

7 June 2021: George
	- Merge #448 from shoeper: Update unbound-control.8.in, fix
	  rpz_disable typo.
	- Fix #425: Document auth-zone supports communication with DNS
	  primary on nondefault port.

1 June 2021: George
	- Fix test for zonemd-check option.

27 May 2021: Wouter
	- Merge #496 from banburybill: Use build system endianness if
	  available, otherwise try to work it out.
	- zonemd-check: yesno option, default no, enables the processing
	  of ZONEMD records for that zone.

25 May 2021: Wouter
	- Move the NSEC3 max iterations count in line with the 150 value
	  used by BIND, Knot and PowerDNS. This sets the default value
	  for it in the configuration to 150 for all key sizes.
	- Fix #492: module-config respip missing in unbound.conf.5.in man
	  page. Merges #494 from he32.
	- For #492: Fix font highlighting for the man page on emacs.

21 May 2021: Wouter
	- Test code has -q option for quiet output.

19 May 2021: George
	- Fix for #411, #439, #469: Reset the DNS message ID when moving queries
	  between TCP streams.
	- Refactor for uniform way to produce random DNS message IDs.

17 May 2021: Wouter
	- Fix #489: Compile using MSYS2 MinGW 64-bit.

12 May 2021: Wouter
	- Fix that auth-zone zonefiles use last TTL if no TTL is specified.

10 May 2021: Wouter
	- Merge PR #487: ifdef RLIMIT_AS in recently added check.

7 May 2021: Wouter
	- Fix #485: Unbound occasionally reports broken stats.
	- Add ./configure --with-deprecate-rsa-1024 that turns off RSA 1024.
	- Remove case fallthrough from deprecate-rsa-1024 code.

4 May 2021: George
	- Fix for #367: only attempt to get the interface for queries that are no
	  longer on the tcp_waiting_list.
	- Add more logging for out-of-memory cases.

4 May 2021: Wouter
	- Merge #478: Allow configuration of TCP timeout while waiting for
	  response.
	- Fix to squelch tcp socket bind failures when the interface is gone.
	- Rerun flex and bison.

3 May 2021: Wouter
	- Fix #481: Fix comment in configuration file.

29 April 2021: Wouter
	- Add that log-servfail prints an IP address and more information
	  about one of the last failures for that query.

28 April 2021: George
	- Fix compiler warning for signed/unsigned comparison for
	  max_reuse_tcp_queries.

28 April 2021: Wouter
	- Fix #474: always_null and others inside view.

26 April 2021: Wouter
	- Merge #470 from edevil: Allow configuration of persistent TCP
	  connections.

22 April 2021: Wouter
	- Merge #466 from FGasper: Support OpenSSLs that lack
	  SSL_get0_alpn_selected.
	- Fix #468: OpenSSL 1.0.1 can no longer build Unbound.
	- Further fix for #468: detect SSL_CTX_set_alpn_protos for build with
	  OpenSSL 1.0.1.
	- Fix that testcode dohclient has OpenSSL initialisation calls.

13 April 2021: George
	- Fix documentation comment for files previously residing in checkconf/.
	- Remove unused functions worker_handle_reply and libworker_handle_reply.

13 April 2021: Wouter
	- Fix that nxdomain synthesis does not happen above the stub or
	  forward definition.

12 April 2021: George
	- Fix (increase) verbosity level for iterator error log in
	  processQueryTargets().

12 April 2021: Wouter
	- Fix permission denied sendto log, squelch the log messages
	  unless high verbosity is set.

9 April 2021: Wouter
	- rebuild configure to set EXTRALINK to libunbound.la for #460.

7 April 2021: Wouter
	- Fix for #411: Depth protect for crash on deleted element timeout.

1 April 2021: Wouter
	- Merge #460 from orbea: build: Link with the libtool archive.
	- Fix to stop IPv6 PMTU discovery.

31 March 2021: George
	- Clean makedist.sh.

31 March 2021: Wouter
	- Fix stack-protector change to not override other CFLAGS options.

30 March 2021: George
	- Disable the use of stack-protector for cross compiled 32-bit windows
	  builds; relates to #444.

25 March 2021: Wouter
	- Fix #429: Also fix end of transfer for http download of auth zones.

24 March 2021: Wouter
	- Fix deprecation test to work for iOS TVOS and WatchOS, it uses
	  CFLAGS and CPPFLAGS and also checks if the item is unavailable.
	- Travis, fix script to fail when tasks fail.
	- Travis, fix warning in ubsan compile.
	- Fix configure Targetconfiditionals.h header check, to use compile.
	- Fix that cachedb does not produce empty object files when disabled.

23 March 2021: Wouter
	- Travis enable all tests again. Clang analyzer only a couple times,
	  when there is a difference. homebrew updates disabled, so it does
	  not hang. removed trailing slashes from configure paths. Moved iOS
	  tests to allow-failure.
	- travis, analyzer disabled on test without debug, that does not
	  run anway.  Turn off failing tests except one.  Update iOS test
	  to xcode image 12.2.

22 March 2021: George
	- Fix unused-function warning when compiling with --enable-dnscrypt.
	- Fix for #367: fix memory leak when cannot bind to listening port.
	- Reformat pythonmod/pythonmod_utils.{c,h}.

22 March 2021: Wouter
	- Merge #449 from orbea: build: Add missing linker flags.
	- iana portlist update.
	- Comment out nonworking OSX and IOS travis tests, vm fails to start.
	- Fix compile error in listen_dnsport on Android.
	- Fix memory leak reported by asan in rpz SOA record query name.

19 March 2021: Wouter
	- Fix for #447: squelch connection refused tcp connection failures
	  from the log, unless verbosity is high.

17 March 2021: Wouter
	- Fix #441: Minimal NSEC range not accepted for top level domains.

11 March 2021: Wouter
	- Fix parse of LOC RR type for decimetres.

5 March 2021: Wouter
	- Workaround for #439: prevent loops in the reuse rbtree.
	- Debug output for #411 and #439: printout internal error and details.

4 March 2021: Wouter
	- iana portlist update.
	- Fix spurious errors about "Could not generate request: out of
	  memory".  The mesh detect cycle routine no longer wrongly stops
	  the check when the calling mesh state is unique.

26 February 2021: George
	- Fix for #367: rc_ports don't have ub_sock; skip cleaning up.

26 February 2021: Wouter
	- Fix: Resolve interface names on control-interface too.

25 February 2021: Wouter
	- Merge PR #367 : DNSTAP log local address.  With code from PR #365
	  and fixes #368 : dnstap does not log the DNS message ID for
	  FORWARDER_QUERY.
	- Fix to allow rpz with wildcard that applies to all TLDs at once.

24 February 2021: George
	- Fix #384: (1) A minor request to improve the log (2) A minor bug in one
	  log message.
	- ipsecmod: Better logging for detecting a cycle when attaching the
	  A/AAAA subquery.

24 February 2021: Wouter
	- On startup of unbound it checks if rlimits on memory size look
	  sufficient for the configured cache size, and logs warning if not.
	- Fix function documentation.
	- Fix unit test for added ulimit checks.
	- spelling fix in header.

23 February 2021: Wouter
	- Fix for zonemd, that domain-insecure zones work without dnssec.
	- Fix for zonemd, do not reject insecure result from trust anchor
	  validation step in dnssec chain of trust.

22 February 2021: Wouter
	- Fix #431: Squelch permission denied errors for tcp connect
	  and udp connect from the logs, unless at high verbosity.
	- Fix for zonemd, that nxdomain for the chain of trust is allowed
	  for island zones, it is treated as an insecure zone for verification.

18 February 2021: Wouter
	- Merge PR #317: ZONEMD Zone Verification, with RFC 8976 support.
	  ZONEMD records are checked for zones loaded as auth-zone,
	  with DNSSEC if available.  There is an added option
	  zonemd-permissive-mode that makes it log but not fail wrong zones.
	  With zonemd-reject-absence for an auth-zone the presence of a
	  zonemd can be mandated for specific zones.
	- Fix doxygen and pydoc warnings.
	- Fix #429: rpz: url: with https: broken (regression in 1.13.1).
	- rpz skip nsec3param records, and nicer log for unsupported actions.

15 February 2021: Wouter
	- Fix #422: IPv6 fallback issues when IPv6 is not properly
	  enabled/configured.
	- Fix to make tests work with support indicators set for iterator.
	- Fix build on Python 3.10.

10 February 2021: Wouter
	- Merge PR #420 from dyunwei: DOH not responsing with
	  "http2_query_read_done failure" logged.

9 February 2021: Wouter
	- Fix for Python 3.9, no longer use deprecated functions of
	  PyEval_CallObject (now PyObject_Call), PyEval_InitThreads (now
	  none), PyParser_SimpleParseFile (now Py_CompileString).
2022-09-24 18:08:44 +00:00
christos e2d5644acf merge conflicts between 4.3.5 and 4.6.0, and update build 2022-09-24 17:38:17 +00:00
christos ee75899804 Import nsd-4.6.0; last import was nsd-4.3.5
23 June 2022: Wouter
	- Tag for 4.6.0rc1. It became 4.6.0 on 30 June 2022, and it continues
	  with version 4.6.1.

17 June 2022: Wouter
	- Fix compilation with libev, without event_base_loopbreak.

16 June 2022: Wouter
	- Fix that the unit test verify_repat cleans up nsd on exit.
	- Fix to remove ixfrcreate.c asserts about uint16 within limits
	  because of warnings from analyzers.

14 June 2022: Wouter
	- Fix compilation without libevent and compilation of nsd-mem.
	- Fix verify handler add of sigchld event for compilation without
	  libevent.

3 June 2022: Wouter
	- Fix static analyzer reports on ixfrcreate temp file.
	- Fixup wrong ixfrcreate fread return check.

13 May 2022: Wouter
	- The code repo continues with version 4.5.1.

6 May 2022: Wouter
	- Merge PR #209: IXFR out
	  This adds IXFR out functionality to NSD. NSD can copy IXFRs from
	  upstream to downstream clients, or create IXFRs from zonefiles.
	  The options store-ixfr: yes and create-ixfr: yes can be used to
	  turn this on. Default is turned off. The options ixfr-number and
	  ixfr-size can be used to tune the number of IXFR transfers and
	  total data size stored. This is configured per zone, the IXFRs
	  are served to the hosts that are allowed to perform zone transfers.
	  And if TSIG is configured, signed with the same key. The content
	  is stored to file if a zonefile is configured for the zone, in
	  the zonefile.ixfr and zonefile.ixfr.2, .. files. They contain
	  readable text format. The number of IXFRs is num.rixfr in
	  statistics output, also per zone if per zone statistics are enabled.
	  If offline, nsd-checkzone -i can create ixfr files.
	  NSD already supports requesting IXFRs, this addition allows NSD
	  to serve IXFR transfers to clients.
	  NSD stops responding with NOTIMPL to IXFR requests, also for zones
	  that do not have IXFR enabled. The clients gets a full zone reply
	  or a status reply if the serial is up to date.
	- set version to 4.5.0 for feature change.
	- Tag for 4.5.0rc1 release. It became the 4.5.0 release on 13 May 2022.

14 April 2022: Wouter
	- Update cirrus script FreeBSD version.

25 March 2022: Wouter
	- Fix spelling error in comment in svcbparam_lookup_key.

2 March 2022: Wouter
	- Fix code analyzer zero divide warning.
	- Fix code analyzer large value with assertion.
	- Fix another code analyzer zero divide warning.
	- Fix code analyzer warning about uninitialized temp storage in loop.

10 February 2022: Wouter
	- Tag for 4.4.0rc1 release. This became 4.4.0 release on 17 Feb 2022,
	  the code repository continues with version 4.4.1.

9 February 2022: Wouter
	- Fix unit tests for nds-control-setup exit code and the
	  xfrd-tcp-max default.

7 February 2022: Wouter
	- Merge #207 Sync nsd-control-setup with unbound-control-setup to
	  generate certificates with SANs.

28 January 2022: Wouter
	- Fix #206: build with --without-ssl fails.

27 January 2022: Wouter
	- current code branch continues as version 4.4.0, because of added
	  feature.

26 January 2022: Wouter
	- Merge #193: Lower memory usage of the XFRD process by default.
	  Instead of preallocating all elements, they are allocated when used.
	  There are options for managing the memory usage, defaults are the
	  same as before. xfrd-tcp-max sets the number of sockets for tcp
	  connections that xfrd can make to download zone contents. And
	  xfrd-tcp-pipeline the number of simultaneous transfers over the
	  same connection.

12 January 2022: Wouter
	- Fix to document nsd-checkzone -p in the man page for nsd-checkzone.

7 January 2022: Wouter
	- Fix to change file mode before changing file owner for the
	  nsd-control unix socket file.

3 January 2022: Wouter
	- Merge #204 from jonathangray: correct some spelling mistakes.

15 December 2021: Wouter
	- Fix #200: nsd-checkzone succeeds even with incorrect serial in SOA
	  record.

2 December 2021: Wouter
	- Fix socket_partitioning unit test for FreeBSD.
	- Fix SVCB test to work around older dig with drill.
	- Fix unit test to not syslog setlogin failures.

1 December 2021: Wouter
	- Set up for branch for 4.3.9 release.
	  This became release 4.3.9 on 9 Dec 2021 and included the changes
	  until the SVCB fix on 2 dec 2021, but not the setlogin fix.
	  The main branch continues as 4.3.10.
	- Fix unit tests for new answer-cookie default.

30 November 2021: Wouter
	- Fix to remove git tracking and ci information from release tarballs.

3 November 2021: Wouter
	- Fix #198: nsd-control reconfig core dump.

12 October 2021: Wouter
	- Tag for 4.3.8 release, from 4.3.8rc2. The main branch continues
	  with version 4.3.9 in development.

7 October 2021: Wouter
	- Set default for answer-cookie to no. Because in server deployments
	  with mixed server software, a default of yes causes issues.
	- Tag for 4.3.8rc2, includes the new answer-cookie default.

4 October 2021: Wouter
	- Tag for 4.3.8rc1.

29 September 2021: Wouter
	- Fix unit tests for svcb and xot to not touch the default
	  zonelistfile.
	- Fix unit test for xot tertiary config for zonelistfile default.
	- Fix unit test for dns-cookies for no unshare, and allow-query
	  for no IPv6 loopback.
	- Fix unit test allow query to check for IPv6.

22 September 2021: Wouter
	- Fix #194: Incorrect NSEC3 response for SOA query below delegation
	  point.

13 September 2021: Wouter
	- Fix compile failure with openssl 1.0.2.

3 September 2021: Wouter
	- Fix not reachable annotation in radix_find_prefix_node.

31 August 2021: Willem
	- Fix #191: dname_parse_wire() returns fqdn wireformat length.

26 August 2021: Wouter
	- Fix #190: NSD returns 3 NSEC3 records for NODATA response.

23 August 2021: Wouter
	- Fix #189: nsd 4.3.7 crash answer_delegation: Assertion
	  `query->delegation_rrset' failed.

17 August 2021: Wouter
	- Fix #188: NSD fails to build against openssl 1.1 on CentOS 7.
	- Fix sed script in ssldir split handling.

13 August 2021: Wouter
	- Merge #187: Support using system-wide crypto policies.

10 August 2021: Wouter
	- Merge #185 by cesarkuroiwa: Mutual TLS.
	- Fixes for #185: Document client-cert, client-key and client-key-pw
	  in the man page. Fix yacc semicolon. Fix unused variable warning.
	  Use strlcpy instead of strncpy. Fix spelling error in error
	  printout.

2 August 2021: Wouter
	- Quieter tpkg/do-tests shell script with -q flag.
	- For #184: Note that all zones can be targeted by some nsd-control
	  commands in the man page.

30 July 2021: Wouter
	- Move acx_nlnetlabs.m4 to version 41, with lib64 openssl dir check.
	- Fix to compile with OpenSSL 3.0.0beta2.
	- Fix configure detection of SSL_CTX_set_security_level.
	- Fix deprecated functions use from openssl 3.0.0beta2.

23 July 2021: Wouter
	- Fix free on shutdown of XoT SSL context.

22 July 2021: Wouter
	- tag 4.3.7 release, with the fixes between rc1 and this release.
	- main branch continues for 4.3.8.

20 July 2021: Wouter
	- Fix typo in xfrd-tcp.c.

15 July 2021: Wouter
	- tag for 4.3.7rc1.
	- Fix compile of cookies on FreeBSD without IPv6.
	- Fix for loop initial declaration for nonc99 compiler.

14 July 2021: Wouter
	- Fix truncate test for EDNS COOKIE making one less RR is added.
	- Attempt to fix gcc11 warning.

13 July 2021: Willem
	- Fixes for child server processes getting out of sync with the
	  dnstap-collector process

13 July 2021: Willem
	- Interoperable DNS Cookies support as per RFC7873 and RFC9018

9 July 2021: Willem
	- Client side DNS Zone Transfer-over-TLS (XoT) support as per
	  draft-ietf-dprive-xfr-over-tls

29 June 2021: Willem
	- Fix #168: Buffer overflow in the dname_to_string() function

14 June 2021: Wouter
	- Update configure nonblocking test to use host.

25 May 2021: Wouter
	- Fix #179: log notice and server-count.

21 May 2021: Wouter
	- Test code has -q option for quiet output.

17 May 2021: Wouter
	- Update the ACX_CHECK_NONBLOCKING_BROKEN test for the configure
	  script.

7 May 2021: Wouter
	- Fix #176: please review Loglevel on missing zonefile.

6 May 2021: Wouter
	- Fix #174: NS Records below delegation are not ignored (nsd-checkzone
	  also does not raise any issue).

4 May 2021: Wouter
	- Fix SVCB sort call sizeof to be the size of the elements sorted.

29 April 2021: Tom
	- Implement Syntax of SVCB and HTTPS RR type as per draft-ietf-dnsop-svcb-https

13 April 2021: Wouter
	- Fix for #128: Skip over sendmmsg invalid argument when port is zero.
	- Fix #171: Invalid negative response (NSEC3) after IXFR.
	- Fix to make nsec3_chain_find_prev return NULL if one nsec3 left.
	- remove debug settings from unit test.

9 April 2021: Wouter
	- Fix for #170: Fix build warnings when IPv6 is disabled.
	- Fix #170: Disabled IPv6 and DNSTAP enabled triggers a build error.

30 March 2021: Wouter
	- Fix configure failure for enable systemd because of autoconf.
	- This became release 4.3.6, the repository continues for 4.3.7
	  in development.

29 March 2021: Wouter
	- Note unlisted changes in RELNOTES and prepare for 4.3.6rc1 tag.

29 March 2021: Willem
	- Per zone Access Control List for queries
	  with an allow-query: option.

24 March 2021: Wouter
	- Update acx_nlnetlabs.m4 to version 38, fix deprecation test.
	- Fix configure to use header checks with compile.
	- Fix warning about unused function log_addr.

18 March 2021: Tom
	- Add Extended DNS Errors RFC8914

15 March 2021: Wouter
	- Fix double config.h include in configlexer.c
	- Fix to remove configyyrename from makedist.sh and also
	  update the flex and bison rules there to add the "c_" prefix.

13 March 2021: Willem
	- Fix #154: TXT with parentheses fails in 4.3.5.
	- Align parsing of TXT elements with how bind does it.
	- A -p option to nsd-checkzone to print a successfully read zone.

12 March 2021: Wouter
	- Fix that wildcard is printed as a star instead of escaped, in
	  logs and in written zone files.
	- Fix unit test for wildcard printout change.

11 March 2021: Wouter
	- Fix #163: A TSIG noncompliance with RFC 2845.

9 March 2021: Willem
	- Enable configuring a control-interface by interface name.

19 February 2021: Wouter
	- Fix segfault on high verbosity for TLS channels with dnstap log
	  local address.

18 February 2021: Wouter
	- Fix #146 with #147: DNSTAP log the local address of the server
	  with the dnstap logs.

16 February 2021: Wouter
	- Man page documentation for dnstap options.

8 February 2021: Wouter
	- Fix AF_LOCAL compile error for Solaris.
	- Fix ifaddrs compile error for Solaris.
	- Fix ifaddrs.h compile error for Solaris.

4 February 2021: Wouter
	- Merge PR #153 from fobser: Repair -fno-common linker errors
	  automatically.
	- Fix uninitialized access of log_buf in error printout on apply ixfr.

26 January 2021: Wouter
	- Prevent a few more yacc clashes.
2022-09-24 17:35:00 +00:00
rillig e2d76f46e0 wpa_supplicant.8: fix typo 2022-09-10 12:39:06 +00:00
hgutch ec184f3bfb Change back various occurrences of \*[Le], \*[Ge] (less/greater equal)
and \*(ua (upwards arrow) to literal "<=", ">=" and "^" whenever
appropriate (e.g., in code examples).
2022-08-28 10:48:15 +00:00
dholland a611fd1e16 Attach tradcpp to the build. 2022-08-27 21:53:38 +00:00
dholland 31615c9617 Import tradcpp 0.5.3 2022-08-27 21:46:47 +00:00
christos deb1251144 remove long cast (thanks RVP) 2022-08-24 05:01:13 +00:00
christos 46f3b50fca fix pointer bug (thanks RVP) and change to use 64 bit times. Don't bother
with backwards compatibility; too much work for little benefit.
2022-08-23 07:42:28 +00:00
wiz 5bea87492d Build and install pkgconfig files for liblzma and libarchive 2022-07-22 15:43:36 +00:00