Commit Graph

286371 Commits

Author SHA1 Message Date
nia
e00e848741 add ale(4) and bge(4) to pci.4 2021-03-17 13:42:03 +00:00
nia
14acd5b28d add alc(4) 2021-03-17 13:12:33 +00:00
simonb
5d56da8aef Handle gas/gcc generating a break/trap 6 for integer overflow and
break/trap 7 for integer divide by zero and setting the SIGFPE
si_code of FPE_INTOVF or FPE_INTDIV respectively.  The break/trap
6/7 seems to have existed since the early days of MIPS but not
well documented anywhere.

Fixes ATF lib/libc/gen/t_siginfo::sigfpe_int .
2021-03-17 11:05:37 +00:00
wiz
b891559281 Remove superfluous article. 2021-03-17 08:13:29 +00:00
dholland
7e9db02257 Clarify use of open flags in open(2).
(Avoid using values of three that are equal to four.)
2021-03-17 08:04:39 +00:00
rillig
d07ef6733f lint: clean up documentation of dinfo_t
No functional change.
2021-03-17 02:24:06 +00:00
rillig
c026af7a30 lint: rename dinfo_t members to be more expressive
While here, sync redundant but diverging comments, split
multi-assignments and initialize the members in declaration order.

No functional change.
2021-03-17 02:18:03 +00:00
rillig
16ce4325a7 lint: move to_int_constant from the grammar to decl.c
This way, the code is covered by running 'make lint'.  The code from the
grammar is not covered, therefore it still uses int instead of bool in a
few places.

Inline the comparison functions for uint64_t.  These functions didn't
add any clarity to the code.

No functional change.
2021-03-17 01:53:21 +00:00
rillig
e61595b13a lint: move main part of idecl over to decl.c and rename it
No functional change.
2021-03-17 01:38:31 +00:00
rillig
ce90f2b2d5 lint: replace a call to LERROR with lint_assert
No functional change.
2021-03-17 01:22:55 +00:00
rillig
068b6bffae lint: rename 'toicon' to 'to_int_constant'
No functional change.
2021-03-17 01:19:50 +00:00
rillig
0351b7e6cb lint: rename 'blklev' to 'block_level'
No functional change.
2021-03-17 01:15:31 +00:00
rillig
923306e4b7 lint: rename 'parn' to 'paren' in the grammar
No functional change.
2021-03-17 01:07:33 +00:00
rillig
e80f308ca7 tests/lint: add tests for a few more messages 2021-03-16 23:39:41 +00:00
rillig
b803b07d9e tests/lint: add test for message 139 about division by zero 2021-03-16 23:18:49 +00:00
rillig
df6d0bccc3 tests/lint: add test for message 128 about incompatible pointers 2021-03-16 23:12:30 +00:00
palle
6fa9e42c13 sun4v: update TODO - update status after hacking on ldom virtual network interfaces 2021-03-16 20:11:30 +00:00
rillig
5850837c3b make: fix documentation for ModChain
The outer ModChain can be interrupted by an inner ModChain, but it
continues to exist.

No functional change.
2021-03-16 16:21:27 +00:00
rin
18d34ecae7 Style. No binary changes. 2021-03-16 08:16:53 +00:00
simonb
553db63954 Disassemble TEQ correctly.
XXX: May be others that use this format?
2021-03-16 07:34:44 +00:00
knakahara
dbbec7e7e3 Fix l2tp(4) ioctl type. Pointed out by yamaguchi@n.o, thanks.
XXX pullup-[89]
2021-03-16 07:00:38 +00:00
christos
9557fc04ad new nsd/unbound 2021-03-15 20:18:21 +00:00
christos
05c935db2f bump libunbound 2021-03-15 20:17:04 +00:00
christos
167761864f merge local changes between unbound 1.9.6 and 1.13.1 2021-03-15 20:15:35 +00:00
christos
d0eba39ba7 Import unbound 1.13.1
4 February 2021: Wouter
	- release 1.13.1rc2 tag on branch-1.13.1 with added changes of 2 feb.
	  This became 1.13.1 release tag on 9 feb.  The main branch is set
	  to version 1.13.2.

2 February 2021: Wouter
	- branch-1.13.1 is created, with release-1.13.1rc1 tag.
	- Fix dynlibmod link on rhel8 for -ldl inclusion.
	- Fix windows dependency on libssp.dll because of default stack
	  protector in mingw.
	- Fix indentation of root anchor for use by windows install script.

1 February 2021: George
	- Attempt to fix NULL keys in the reuse_tcp tree; relates to #411.

29 January 2021: Wouter
	- Fix for doxygen 1.8.20 compatibility.

28 January 2021: Wouter
	- Annotate that we ignore the return value of if_indextoname.
	- Fix to use correct type for label count in rpz routine.
	- Fix empty clause warning in config_file nsid parse.
	- Fix to use correct type for label count in ipdnametoaddr rpz routine.
	- Fix empty clause warning in edns pass for padding.
	- Fix fwd ancil test post script when not supported.

26 January 2021: George
	- Merge PR #408 from fobser: Prevent a few more yacc clashes.
	- Merge PR #275 from Roland van Rijswijk-Deij: Add feature to return the
	  original instead of a decrementing TTL ('serve-original-ttl')
	- Merge PR #355 from noloader: Make ICANN Update CA and DS Trust Anchor
	  static data.
	- Ignore cache blacklisting when trying to reply with expired data from
	  cache (#394).

26 January 2021: Wouter
	- Fix compile of unbound-dnstap-socket without dnstap installed.

22 January 2021: Willem
	- Padding of queries and responses with DNS over TLS as specified in
	  RFC7830 and RFC8467.

22 January 2021: George
	- Fix TTL of SOA record for negative answers (localzone and
	  authzone data) to be the minimum of the SOA TTL and the SOA.MINIMUM.

19 January 2021: Willem
	- Support for RFC5001: DNS Name Server Identifier (NSID) Option
	  with the nsid: option in unbound.conf

18 January 2021: Wouter
	- Fix #404: DNS query with small edns bufsize fail.
	- Fix declaration before statement and signed comparison warning in
	  dns64.

15 January 2021: Wouter
	- Merge #402 from fobser: Implement IPv4-Embedded addresses according
	  to RFC6052.

14 January 2021: Wouter
	- Fix for #93: dynlibmodule import library is named libunbound.dll.a.

13 January 2021: Wouter
	- Merge #399 from xiangbao227: The lock of lruhash table should
	  unlocked after markdel entry.
	- Fix for #93: dynlibmodule link fix for Windows.

12 January 2021: Wouter
	- Fix #397: [Feature request] add new type always_null to local-zone
	  similar to always_nxdomain.
	- Fix so local zone types always_nodata and always_deny can be used
	  from the config file.

8 January 2021: Wouter
	- Merge PR #391 from fhriley: Add start_time to reply callbacks so
	  modules can compute the response time.
	- For #391: use struct timeval* start_time for callback information.
	- For #391: fix indentation.
	- For #391: more double casts in python start time calculation.
	- Add comment documentation.
	- Fix clang analysis warning.

6 January 2021: Wouter
	- Fix #379: zone loading over HTTP appears to have buffer issues.
	- Merge PR #395 from mptre: add missing null check.
	- Fix #387: client-subnet-always-forward seems to effectively bypass
	  any caching?

5 January 2021: Wouter
	- Fix #385: autoconf 2.70 impacts unbound build
	- Merge PR #375 by fhriley: Add rpz_enable and rpz_disable commands
	  to unbound-control.

4 January 2021: Wouter
	- For #376: Fix that comm point event is not double removed or double
	  added to event map.
	- iana portlist updated.

16 December 2020: George
	- Fix error cases when udp-connect is set and send() returns an error
	  (modified patch from Xin Li @delphij).

11 December 2020: Wouter
	- Fix #371: unbound-control timeout when Unbound is not running.
	- Fix to squelch permission denied and other errors from remote host,
	  they are logged at higher verbosity but not on low verbosity.
	- Merge PR #335 from fobser: Sprinkle in some static to prevent
	  missing prototype warnings.
	- Merge PR #373 from fobser: Warning: arithmetic on a pointer to void
	  is a GNU extension.
	- Fix missing prototypes in the code.

3 December 2020: Wouter
	- make depend.
	- iana portlist updated.

2 December 2020: Wouter
	- Fix #360: for the additionally reported TCP Fast Open makes TCP
	  connections fail, in that case we print a hint that this is
	  happening with the error in the logs.
	- Fix #356: deadlock when listening tcp.
	- Fix unbound-dnstap-socket to not use log routine from interrupt
	  handler and not print so frequently when invoked in sequence.
	- Fix on windows to ignore connection failure on UDP, unless verbose.
	- Fix for #283: fix stream reuse and tcp fast open.
	- Fix update, with write event check with streamreuse and fastopen.

1 December 2020: Wouter
	- Fix #358: Squelch udp connect 'no route to host' errors on low
	  verbosity.

30 November 2020: Wouter
	- Fix assertion failure on double callback when iterator loses
	  interest in query at head of line that then has the tcp stream
	  not kept for reuse.
	- tag for the 1.13.0rc4 release.  This also became the 1.13.0
	  release version on 3 dec 2020 with the streamreuse and fastopen
	  fix from 2 dec 2020.  The code repo continues for 1.13.1 in
	  development.

27 November 2020: Wouter
	- Fix compile warning for type cast in http2_submit_dns_response.
	- Fix when use free buffer to initialize rbtree for stream reuse.
	- Fix compile warnings for windows.
	- Fix compile warnings in rpz initialization.
	- Fix contrib/metrics.awk for FreeBSD awk compatibility.
	- tag for the 1.13.0rc3 release.

26 November 2020: Wouter
	- Fix to omit UDP receive errors from log, if verbosity low.
	  These happen because of udp-connect.
	- For #352: contrib/metrics.awk for Prometheus style metrics output.
	- Fix that after failed read, the readagain cannot activate.
	- Clear readagain upon decommission of pending tcp structure.

25 November 2020: Wouter
	- with udp-connect ignore connection refused with UDP timeouts.
	- Fix udp-connect on FreeBSD, do send calls on connected UDP socket.
	- Better fix for reuse tree comparison for is-tls sockets.  Where
	  the tree key identity is preserved after cleanup of the TLS state.
	- Remove debug commands from reuse tests.
	- Fix memory leak for edns client tag opcode config element.
	- Attempt fix for libevent state in tcp reuse cases after a packet
	  is written.
	- Fix readagain and writeagain callback functions for comm point
	  cleanup.
	- tag for the 1.13.0rc2 release.

24 November 2020: Wouter
	- Merge PR #283 : Stream reuse.  This implements upstream stream
	  reuse for performing several queries over the same TCP or TLS
	  channel.
	- set version of main branch to 1.13.0 for upcoming release.
	- iana portlist updated.
	- Fix one port unit test for udp-connect.
	- tag for the 1.13.0rc1 release.
	- Fix crash when TLS connection is closed prematurely, when
	  reuse tree comparison is not properly identical to insertion.
	- Fix padding of struct regional for 32bit systems.

23 November 2020: George
	- Merge PR #313 from Ralph Dolmans: Replace edns-client-tag with
	  edns-client-string option.

23 November 2020: Wouter
	- Merge #351 from dvzrv: Add AF_NETLINK to set of allowed socket
	  address families.
	- Fix #350: with the AF_NETLINK permission, to fix 1.12.0 error:
	  failed to list interfaces: getifaddrs: Address family not
	  supported by protocol.
	- Fix #347: IP_DONTFRAG broken on Apple xcode 12.2.
	- Option to toggle udp-connect, default is enabled.
	- Fix for #303 CVE-2020-28935 : Fix that symlink does not interfere
	  with chown of pidfile.
	- Further fix for it and retvalue 0 fix for it.

12 November 2020: Wouter
	- Fix to connect() to UDP destinations, default turned on,
	  this lowers vulnerability to ICMP side channels.
	- Retry for interfaces with unused ports if possible.

10 November 2020: Wouter
	- Fix #341: fixing a possible memory leak.
	- Fix memory leak after fix for possible memory leak failure.
	- Fix #343: Fail to build --with-libnghttp2 with error: 'SSIZE_MAX'
	  undeclared.

27 October 2020: Wouter
	- In man page note that tls-cert-bundle is read before permission
	  drop and chroot.

22 October 2020: Wouter
	- Fix #333: Unbound Segmentation Fault w/ log_info Functions From
	  Python Mod.
	- Fix that minimal-responses does not remove addresses from a priming
	  query response.

21 October 2020: George
	- Fix #327: net/if.h check fails on some darwin versions; contribution by
	  Joshua Root.
	- Fix #320: potential memory corruption due to size miscomputation upton
	  custom region alloc init.

21 October 2020: Wouter
	- Merge PR #228 : infra-keep-probing option to probe hosts that are
	  down.  Add infra-keep-probing: yes option. Hosts that are down are
	  probed more frequently.
	  With the option turned on, it probes about every 120 seconds,
	  eventually after exponential backoff, and that keeps that way. If
	  traffic keeps up for the domain. It probes with one at a time, eg.
	  one query is allowed to probe, other queries within that 120 second
	  interval are turned away.

19 October 2020: George
	- Merge PR #324 from James Renken: Add modern X.509v3 extensions to
	  unbound-control TLS certificates.
	- Fix for PR #324 to attach the x509v3 extensions to the client
	  certificate.

19 October 2020: Ralph
	- local-zone regional allocations outside of chunk

19 October 2020: Wouter
	- Fix that http settings have colon in set_option, for
	  http-endpoint, http-max-streams, http-query-buffer-size,
	  http-response-buffer-size, and http-nodelay.
	- Fix memory leak of https port string when reading config.
	- Fix #330: [Feature request] Add unencrypted DNS over HTTPS support.
	  This adds the option http-notls-downstream: yesno to change that,
	  and the dohclient test code has the -n option.
	- Fix python documentation warning on functions.rst inplace_cb_reply.
	- Fix dnstap test to wait for log timer to see if queries are logged.
	- Log ip address when http session recv fails, eg. due to tls fail.
	- Fix to set the tcp handler event toggle flag back to default when
	  the handler structure is reused.
	- Clean the fix for out of order TCP processing limits on number
	  of queries.  It was tested to work.

16 October 2020: Wouter
	- Fix that the out of order TCP processing does not limit the
	  number of outstanding queries over a connection.

15 October 2020: George
	- Fix that if there are reply callbacks for the given rcode, those
	  are called per reply and a new message created if that was modified
	  by the call.
	- Pass the comm_reply information to the inplace_cb_reply* functions
	  during the mesh state and update the documentation on that.

15 October 2020: Wouter
	- Merge PR #326 from netblue30: DoH: implement content-length
	  header field
	- DoH content length, simplify code, remove declaration after
	  statement and fix cast warning.

14 October 2020: Wouter
	- Fix for python reply callback to see mesh state reply_list member,
	  it only removes it briefly for the commpoint call so that it does
	  not drop it and attempt to modify the reply list during reply.
	- Fix that if there are on reply callbacks, those are called per
	  reply and a new message created if that was modified by the call.
	- Free up auth zone parse region after use for lookup of host

13 October 2020: Wouter
	- Fix #323: unbound testsuite fails on mock build in systemd-nspawn
	  if systemd support is build.

9 October 2020: Wouter
	- Fix dnstap socket and the chroot not applied properly to the dnstap
	  socket path.
	- Fix warning in libnss compile, nss_buf2dsa is not used without DSA.

8 October 2020: Wouter
	- Tag for 1.12.0 release.
	- Current repo is version 1.12.1 in development.
	- Fix #319: potential memory leak on config failure, in rpz config.

1 October 2020: Wouter
	- Current repo is version 1.12.0 for release.  Tag for 1.12.0rc1.

30 September 2020: Wouter
	- Fix doh tests when not compiled in.
	- Add dohclient test executable to gitignore.
	- Fix stream_ssl, ssl_req_order and ssl_req_timeout tests for
	  alloc check debug output.
	- Easier kill of unbound-dnstap-socket tool in test.
	- Fix memory leak of edns tags at libunbound context delete.
	- Fix double loopexit for unbound-dnstap-socket after sigterm.

29 September 2020: Ralph
	- DNS Flag Day 2020: change edns-buffer-size default to 1232.

28 September 2020: Wouter
	- Fix unit test for dnstap changes, so that it waits for the timer.

23 September 2020: Wouter
	- 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.

23 September 2020: Ralph
	- Fix edns-client-tags get_option typo
	- Add edns-client-tag-opcode option
	- Use inclusive language in configuration

21 September 2020: Ralph
	- Fix #304: dnstap logging not recovering after dnstap process restarts

21 September 2020: Wouter
	- Merge PR #311 by luismerino: Dynlibmod leak.
	- Error message is logged for dynlibmod malloc failures.
	- iana portlist updated.

18 September 2020: Wouter
	- Fix that prefer-ip4 and prefer-ip6 can be get and set with
	  unbound-control, with libunbound and the unbound-checkconf option
	  output function.
	- iana portlist updated.

15 September 2020: George
	- Introduce test for statistics.

15 September 2020: Wouter
	- Spelling fix.

11 September 2020: Wouter
	- Remove x file mode on ipset/ipset.c and h files.

9 September 2020: Wouter
	- Fix num.expired statistics output.

31 August 2020: Wouter
	- 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.

27 August 2020: Wouter
	- 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.
	- Review fix, doxygen and assign null in case of error free.

26 August 2020: George
	- Update documentation in python example code.

24 August 2020: Wouter
	- 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.

20 August 2020: Ralph
	- Fix stats double count issue (#289).

13 August 2020: Ralph
	- Create and init edns tags data for libunbound.

10 August 2020: Ralph
	- Merge (modified) PR #277, use EVP_MAC_CTX_set_params if available,
	  by Vít#zslav #í#ek.

10 August 2020: Wouter
	- Fix #287: doc typo: "Additionaly".
	- Rerun autoconf

6 August 2020: Wouter
	- 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.

5 August 2020: Wouter
	- contrib/aaaa-filter-iterator.patch file renewed diff content to
	  apply cleanly to the current coderepo for the current code version.

5 August 2020: Ralph
	- Merge PR #272: Add EDNS client tag functionality.

4 August 2020: George
	- Improve error log message when inserting rpz RR.
	- Merge PR #280, Make tvOS & watchOS checks verify truthiness as well as
	  definedness, by Felipe Gasper.

4 August 2020: Wouter
	- Fix mini_event.h on OpenBSD cannot find fd_set.

31 July 2020: Wouter
	- Fix doxygen comment for no ssl for tls session ticket key callback
	  routine.

27 July 2020: George
	- Merge PR #268, draft-ietf-dnsop-serve-stale-10 has become RFC 8767 on
	  March 2020, by and0x000.

27 July 2020: Ralph
	- Merge PR #269, Fix python module len() implementations, by Torbjörn
	  Lönnemark

27 July 2020: Wouter
	- branch now named 1.11.1.  1.11.0rc1 became the 1.11.0 release.
	- Merge PR #270 from cgzones: munin plugin: always exit 0 in autoconf

20 July 2020: Wouter
	- Fix streamtcp to print packet data to stdout.  This makes the
	  stdout and stderr not mix together lines, when parsing its output.
	- Fix contrib/fastrpz.patch to apply cleanly.  It fixes for changes
	  due to added libdynmod, but it does not compile, it conflicts with
	  new rpz code.
	- branch now named 1.11.0 and 1.11.0rc1 tag.

17 July 2020: Wouter
	- Fix libnettle compile for session ticket key callback function
	  changes.
	- Fix lock dependency cycle in rpz zone config setup.

17 July 2020: Ralph
	- Merge PR #234 - Ensure proper alignment of cmsg buffers by Jérémie
	  Courrèges-Anglas.
	- Fix PR #234 log_assert sizeof to use union buffer.

16 July 2020: Wouter
	- Fix check conf test for referencing installation paths.
	- Fix unused variable warning for clang analyzer.

16 July 2020: George
	- Introduce 'include-toplevel:' configuration option.

16 July 2020: Ralph
	- Add bidirectional frame streams support.

8 July 2020: Wouter
	- Fix add missing DSA header, for compilation without deprecated
	  OpenSSL APIs.
	- Fix to use SSL_CTX_set_tlsext_ticket_key_evp_cb in OpenSSL
	  3.0.0-alpha4.
	- Longer keys for the test set, this avoids weak crypto errors.

7 July 2020: Wouter
	- Fix #259: Fix unbound-checkconf does not check view existence.
	  unbound-checkconf checks access-control-view, access-control-tags,
	  access-control-tag-actions and access-control-tag-datas.
	- Fix offset of error printout for access-control-tag-datas.
	- Review fixes for checkconf #259 change.

6 July 2020: Wouter
	- run_vm cleanup better and removes trailing slash on single argument.

29 June 2020: Wouter
	- Move reply list clean for serve expired mesh callback to after
	  the reply is sent, so that script callbacks have reply_info.
	- Also move reply list clean for mesh callbacks to the scrip callback
	  can see the reply_info.
	- Fix for mesh accounting if the reply list already empty to begin
	  with.
	- Fix for mesh accounting when rpz decides to drop a reply with a
	  tcp stream waiting for it.
	- Review fix for number of detached states due to use of variable
	  after end of loop.
	- Fix tcp req info drop due to size call into mesh accounting
	  removal of mesh state during mesh send reply.

24 June 2020: Wouter
	- iana portlist updated.
	- doxygen file comments for dynlibmodule.

17 June 2020: Wouter
	- Fix default explanation in man page for qname-minimisation-strict.
	- Fix display of event loop method with libev.

8 June 2020: Wouter
	- Mention tls name possible when tls is enabled for stub-addr in the
	  man page.

27 May 2020: George
	- Merge PR #241 by Robert Edmonds: contrib/libunbound.pc.in: Do not use
	  "Requires:".

25 May 2020: George
	- Update contrib/aaaa-filter-iterator.patch for the recent
	  generate_sub_request() change and to apply cleanly.

21 May 2020: George
	- Fix for integer overflow when printing RDF_TYPE_TIME.

19 May 2020: Wouter
	- CVE-2020-12662 Unbound can be tricked into amplifying an incoming
	  query into a large number of queries directed to a target.
	- CVE-2020-12663 Malformed answers from upstream name servers can be
	  used to make Unbound unresponsive.
	- Release 1.10.1 is 1.10.0 with fixes, code repository continues,
	  including those fixes, towards the next release.  Configure has
	  version 1.10.2 version number in it.
	- For PR #93: windows compile warnings removal
	- windows compile warnings removal for ip dscp option code.
	- For PR #93: unit test for dynlib module.

18 May 2020: Wouter
	- For PR #93: dynlibmod can handle reloads and deinit and inits again,
	  with dlclose and dlopen of the library again.  Also for multiple
	  modules.  Fix memory leak by not closing dlopened content.  Fix
	  to allow one dynlibmod instance by unbound-checkconf.
	- For PR #93: checkconf allows multiple dynlib in module-config, for
	  a couple cases.
	- For PR #93: checkconf allows python dynlib in module-config, for
	  a couple cases.
	- For PR #93: man page spelling reference fix.
	- For PR #93: fix link of other executables for dynlibmod dependency.

15 May 2020: Wouter
	- Merge PR #93: Add dynamic library support.
	- Fixed conflicts for PR #93 and make configure, yacc, lex.
	- For PR #93: Fix warnings for dynlibmodule.

15 May 2020: Ralph
	- Cache ECS answers with longest scope of CNAME chain.

22 April 2020: George
	- Explicitly use 'rrset-roundrobin: no' for test cases.

21 April 2020: Wouter
	- Merge #225 from akhait: KSK-2010 has been revoked. It removes the
	  KSK-2010 from the default list in unbound-anchor, now that the
	  revocation period is over.  KSK-2017 is the only trust anchor in
	  the shipped default now.

21 April 2020: George
	- Change default value for 'rrset-roundrobin' to yes.
	- Fix tests for new rrset-roundrobin default.

20 April 2020: Wouter
	- Fix #222: --enable-rpath, fails to rpath python lib.
	- Fix for count of reply states in the mesh.
	- Remove unneeded was_mesh_reply check.

17 April 2020: George
	- Add SNI support on more TLS connections (fixes #193).
	- Add SNI support to unbound-anchor.

16 April 2020: George
	- Add doxygen documentation for DSCP.

16 April 2020: Wouter
	- Fix help return code in unbound-control-setup script.
	- Fix for posix shell syntax for trap in nsd-control-setup.
	- Fix for posix shell syntax for trap in run_msg.sh test script.

15 April 2020: George
	- Fix #220: auth-zone section in config may lead to segfault.

7 April 2020: Wouter
	- Merge PR #214 from gearnode: unbound-control-setup recreate
	  certificates.  With the -r option the certificates are created
	  again, without it, only the files that do not exist are created.

6 April 2020: Ralph
	- Keep track of number of timeouts. Use this counter to determine if
	  capsforid fallback should be started.

6 April 2020: George
	- More documentation for redis-expire-records option.

1 April 2020: George
	- Merge PR #206: Redis TTL, by Talkabout.

30 March 2020: Wouter
	- Merge PR #207: Clarify if-automatic listens on 0.0.0.0 and ::
	- Merge PR #208: Fix uncached CLIENT_RESPONSE'es on stateful
	  transports.

27 March 2020: Wouter
	- Merge PR #203 from noloader: Update README-Travis.md with current
	  procedures.

27 March 2020: Ralph
	- Make unbound-control error returned on missing domain name more user
	  friendly.

26 March 2020: Ralph
	- Fix RPZ concurrency issue when using auth_zone_reload.

25 March 2020: George
	- Merge PR #201 from noloader: Fix OpenSSL cross-compaile warnings.
	- Fix on #201.

24 March 2020: Wouter
	- Merge PR #200 from yarikk: add ip-dscp option to specify the DSCP
	  tag for outgoing packets.
	- Fixes on #200.
	- Travis fix for ios by omitting tools from install.

23 March 2020: Wouter
	- Fix compile on Solaris for unbound-checkconf.

20 March 2020: George
	- Merge PR #198 from fobser: Declare lz_enter_rr_into_zone() static, it's
	  only used in this file.

20 March 2020: Wouter
	- Merge PR #197 from fobser: Make log_ident_revert_to_default() a
	  proper prototype.

19 March 2020: Ralph
	- Merge PR#191: Update iOS testing on Travis, by Jeffrey Walton.
	- Fix #158: open tls-session-ticket-keys as binary, for Windows. By
	  Daisuke HIGASHI.
	- Merge PR#134, Allow the kernel to provide random source ports. By
	  Florian Obser.
	- Log warning when using outgoing-port-permit and outgoing-port-avoid
	  while explicit port randomisation is disabled.
	- Merge PR#194: Add libevent testing to Travis, by Jeffrey Walton.
	- Fix .travis.yml error, missing 'env' option.

16 March 2020: Wouter
	- Fix #192: In the unbound-checkconf tool, the module config of
	  dns64 subnetcache respip validator iterator is whitelisted, it was
	  reported it seems to work.

12 March 2020: Wouter
	- Fix compile of test tools without protobuf.

11 March 2020: Ralph
	- Add check to make sure RPZ records are subdomains of configured
	  zone origin.

11 March 2020: George
	- Fix #189: mini_event.h:142:17: error: field 'ev_timeout' has incomplete
	  type, by noloader.
	- Changelog entry for (Fix #189, Merge PR #190).

11 March 2020: Wouter
	- Fix #188: unbound-control.c:882:6: error: 'execlp' is
	  unavailable: not available on tvOS.

6 March 2020: George
	- Merge PR #186, fix #183: Fix unrecognized 'echo -n' option on OS X, by
	  noloader

5 March 2020: Wouter
	- Fix PR #182 from noloader: Add iOS testing to Travis.

4 March 2020: Ralph
	- Update README-Travis.md (from PR #179), by Jeffrey Walton.

4 March 2020: George
	- Merge PR #181 from noloader: Fix OpenSSL -pie warning on Android.

4 March 2020: Wouter
	- Merge PR #180 from noloader: Avoid calling exit in Travis script.

3 March 2020: George
	- Upgrade config.guess(2020-01-01) and config.sub(2020-01-01).

2 March 2020: Ralph
	- Fix #175, Merge PR #176: fix link error when OpenSSL is configured
 	  with no-engine, thanks noloader.

2 March 2020: George
	- Fix compiler warning in dns64/dns64.c
	- Merge PR #174: Add Android to Travis testing, by noloader.
	- Move android build scripts to contrib/ and allow android tests to fail.

2 March 2020: Wouter
	- Fix #177: dnstap does not build on macOS.

28 February 2020: Ralph
	- Merge PR #172: Add IBM s390x arch for testing, by noloader.

28 February 2020: Wouter
	- Merge PR #173: updated makedist.sh for config.guess and
	  config.sub and sha256 digest for gpg, by noloader.
	- Merge PR #164: Framestreams, this branch implements dnstap
	  unidirectional connectivity in unbound. This has a number of
	  new features.

	  The dependency on libfstrm is removed. The fstrm protocol code
	  resides in dnstap/dnstap_fstrm.h and dnstap/dnstap_fstrm.c. This
	  contains a brief definition of what unbound needs.

	  The make unbound-dnstap-socket builds a debug tool,
	  unbound-dnstap-socket. It can listen, accept multiple DNSTAP
	  streams and print information. Commandline options control it.

	  Unbound can reconnect if the unix domain socket file socket is
	  closed. This uses exponential backoff after which it uses a
	  one second timer to throttle cpu down. There is also support
	  to use TCP and TLS for connecting to the log server. There
	  are new config options to turn them on, in the dnstap section
	  in the man page and example config file. dnstap-ip with IP
	  address of server for TCP or TLS use. dnstap-tls to turn
	  on TLS. And dnstap-tls-server-name, dnstap-tls-cert-bundle,
	  dnstap-tls-client-key-file and dnstap-tls-client-cert-file
	  to configure the certificates for server authentication and
	  client authentication, or leave at "" to not use that.

27 February 2020: George
	- Merge PR #171: Add additional compilers and platforms to Travis
	  testing, by noloader.

27 February 2020: Wouter
	- Fix #169: Fix warning for daemon/remote.c output may be truncated
	  from snprintf.
	- Fix #170: Fix gcc undefined sanitizer signed integer overflow
	  warning in signature expiry RFC1982 serial number arithmetic.
	- Fix more undefined sanitizer issues, in respip copy_rrset null
	  dname, and in the client_info_compare routine for null memcmp.

26 February 2020: Wouter
	- iana portlist updated.

25 February 2020: Wouter
	- Fix #165: Add prefer-ip4: yesno config option to prefer ipv4 for
	  using ipv4 filters, because the hosts ip6 netblock /64 is not owned
	  by one operator, and thus reputation is shared.

24 February 2020: George
	- Merge PR #166: Fix typo in unbound.service.in, by glitsj16.

20 February 2020: Wouter
	- Updated contrib/unbound_smf23.tar.gz with Solaris SMF service for
	  Unbound from Yuri Voinov.
	- master branch has 1.10.1 version.

18 February 2020: Wouter
	- protect X509_CHECK_FLAG_NO_PARTIAL_WILDCARDS with ifdef for
	  different openssl versions.

17 February 2020: Wouter
	- changelog point where the tag for 1.10.0rc2 release is.  And with
	  the unbound_smf23 commit added to it, that is the 1.10.0 release.

17 February 2020: Ralph
	- Add respip to supported module-config options in unbound-checkconf.

17 February 2020: George
	- Remove unused variable.

17 February 2020: Wouter
	- contrib/drop2rpz: perl script that converts the Spamhaus DROP-List
	  in RPZ-Format, contributed by Andreas Schulze.

14 February 2020: Wouter
	- Fix spelling in unbound.conf.5.in.
	- Stop unbound-checkconf from insisting that auth-zone and rpz
	  zonefiles have to exist.  They can not exist, and download later.

13 February 2020: Wouter
	- tag for 1.10.0rc1 release.

12 February 2020: Wouter
	- Fix with libnettle make test with dsa disabled.
	- Fix contrib/fastrpz.patch to apply cleanly.  Fix for serve-stale
	  fixes, but it does not compile, conflicts with new rpz code.
	- Fix to clean memory leak of respip_addr.lock when ip_tree deleted.
	- Fix compile warning when threads disabled.
	- updated version number to 1.10.0.

10 February 2020: George
	- Document 'ub_result.was_ratelimited' in libunbound.
	- Fix use after free on log-identity after a reload; Fixes #163.

6 February 2020: George
	- Fix num_reply_states and num_detached_states counting with
	  serve_expired_callback.
	- Cleaner code in mesh_serve_expired_lookup.
	- Document in unbound.conf manpage that configuration clauses can be
	  repeated in the configuration file.

6 February 2020: Wouter
	- Fix num_reply_addr counting in mesh and tcp drop due to size
	  after serve_stale commit.
	- Fix to create and destroy rpz_lock in auth_zones structure.
	- Fix to lock zone before adding rpz qname trigger.
	- Fix to lock and release once in mesh_serve_expired_lookup.
	- Fix to put braces around empty if body when threading is disabled.

5 February 2020: George
	- Added serve-stale functionality as described in
	  draft-ietf-dnsop-serve-stale-10. `serve-expired-*` options can be used
	  to configure the behavior.
	- Updated cachedb to honor `serve-expired-ttl`; Fixes #107.
	- Renamed statistic `num.zero_ttl` to `num.expired` as expired replies
	  come with a configurable TTL value (`serve-expired-reply-ttl`).
	- Fixed stats when replying with cached, cname-aliased records.
	- Added missing default values for redis cachedb backend.

3 February 2020: Ralph
	- Add assertion to please static analyzer

31 January 2020: Wouter
	- Fix fclose on error in TLS session ticket code.

30 January 2020: Ralph
	- Fix memory leak in error condition remote.c
	- Fix double free in error condition view.c
	- Fix memory leak in do_auth_zone_transfer on success
	- Merge RPZ support into master. Only QNAME and Response IP triggers are
	  supported.
	- Stop working on socket when socket() call returns an error.
	- Check malloc return values in TLS session ticket code

30 January 2020: Wouter
	- Fix subnet tests for disabled DSA algorithm by default.
	- Update contrib/fastrpz.patch for clean diff with current code.
	- Merge PR#151: Fixes for systemd units, by Maryse47, Edmonds
	  and Frzk.  Updates the unbound.service systemd file and adds
	  a portable systemd service file.
	- updated .gitignore for added contrib file.
	- Add build rule for ipset to Makefile
	- Add getentropy_freebsd.o to Makefile dependencies.

29 January 2020: Ralph
	- Merge PR#156 from Alexander Berkes; Added unbound-control
	  view_local_datas_remove command.

29 January 2020: Wouter
	- Fix #157: undefined reference to `htobe64'.

28 January 2020: Ralph
	- Merge PR#147; change rfc reference for reserved top level dns names.

28 January 2020: Wouter
	- iana portlist updated.
	- Fix to silence the tls handshake errors for broken pipe and reset
	  by peer, unless verbosity is set to 2 or higher.

27 January 2020: Ralph
	- Merge PR#154; Allow use of libbsd functions with configure option
	  --with-libbsd. By Robert Edmonds and Steven Chamberlain.
	- Merge PR#148; Add some TLS stats to unbound_munin_. By Fredrik Pettai.

27 January 2020: Wouter
	- Merge PR#155 from Robert Edmonds: contrib/libunbound.pc.in: Fixes
	  to Libs/Requires for crypto library dependencies.
	- Fix #153: Disable validation for DSA algorithms.  RFC 8624
	  compliance.

23 January 2020: Wouter
	- Merge PR#150 from Frzk: Systemd unit without chroot.  It add
	  contrib/unbound_nochroot.service.in, a systemd file for use with
	  chroot: "", see comments in the file, it uses systemd protections
	  instead.

14 January 2020: Wouter
	- Removed the dnscrypt_queries and dnscrypt_queries_chacha tests,
	  because dnscrypt-proxy (2.0.36) does not support the test setup
	  any more, and also the config file format does not seem to have
	  the appropriate keys to recreate that setup.
	- Fix crash after reload where a stats lookup could reference old key
	  cache and neg cache structures.
	- Fix for memory leak when edns subnet config options are read when
	  compiled without edns subnet support.
	- Fix auth zone support for NSEC3 records without salt.

10 January 2020: Wouter
	- Fix the relationship between serve-expired and prefetch options,
	  patch from Saksham Manchanda from Secure64.
	- Fix unreachable code in ssl set options code.

8 January 2020: Ralph
	- Fix #138: stop binding pidfile inside chroot dir in systemd service
	  file.

8 January 2020: Wouter
	- Fix 'make test' to work for --disable-sha1 configure option.
	- Fix out-of-bounds null-byte write in sldns_bget_token_par while
	  parsing type WKS, reported by Luis Merino from X41 D-Sec.
	- Updated sldns_bget_token_par fix for also space for the zero
	  delimiter after the character.  And update for more spare space.

6 January 2020: George
	- Downgrade compat/getentropy_solaris.c to version 1.4 from OpenBSD.
	  The dl_iterate_phdr() function introduced in newer versions raises
	  compilation errors on solaris 10.
	- Changes to compat/getentropy_solaris.c for,
	  ifdef stdint.h inclusion for older systems.
	  ifdef sha2.h inclusion for older systems.

6 January 2020: Wouter
	- Merge #135 from Florian Obser: Use passed in neg and key cache
	  if non-NULL.
	- Fix #140: Document slave not downloading new zonefile upon update.

16 December 2019: George
	- Update mailing list URL.

12 December 2019: Ralph
	- Master is 1.9.7 in development.
	- Fix typo to let serve-expired-ttl work with ub_ctx_set_option(), by
	  Florian Obser

10 December 2019: Wouter
	- Fix to make auth zone IXFR to fallback to AXFR if a single
	  response RR is received over TCP with the SOA in it.
2021-03-15 20:00:53 +00:00
rillig
ebbd921098 make: rename ApplyModifiersState to ModChain
The new name accurately describes the structural element that holds such
properties as the separator character and whether the expression value
is considered a single word.  The old name ApplyModifiersState was too
long and was meant as a placeholder anyway, when I introduced it in
var.c 1.236 from 2020-07-03.
2021-03-15 20:00:50 +00:00
christos
b4110b4891 merge conflicts between our changes for nsd between 4.2.4 and 4.3.5 2021-03-15 19:48:51 +00:00
rillig
ac07af747c make: improve documentation of ApplyModifiersState
No functional change.
2021-03-15 19:15:04 +00:00
rillig
a05498199d make: document an example for a 'chain of modifiers'
No functional change.
2021-03-15 19:02:57 +00:00
rillig
507bcc82b8 make: fix double varname expansion in the variable modifier '::='
This is an edge case that doesn't occur in practice since pretty much
nobody dares to use variable names that contain an actual '$' in their
name.  This is not about the fairly common VAR.${param} (as written in
the makefile), but instead about the variable whose name is literally
'VAR.${param}'.

The test demonstrates that after the fix, the variable name is taken
exactly as-is for the simple assignment modifier '::='.  There are no
such tests for the modifiers '::+=', '::!=' and '::?=', but that's ok.
The code in ApplyModifier_Assign would look assymetrical and suspicious
enough if one of these modifiers would expand its variable name and the
others wouldn't.
2021-03-15 18:56:37 +00:00
rillig
7eea180375 tests/make: demonstrate that the modifier '::=' expands the varname 2021-03-15 18:46:05 +00:00
palle
91d5826a84 sun4v: vnet - cleanup of debug code (no functional changes) 2021-03-15 18:44:04 +00:00
christos
f3d63a561b Import 4.3.5:
19 January 2021: Wouter
	- Set branch ready for 4.3.5 release.  Tag for 4.3.5rc1.
	  Became the 4.3.5 release on 26 january 2021.  This branch continues
	  with 4.3.6 in development.

15 January 2021: Wouter
	- Fix #152: '*' in Rdata causes the return code to be NOERROR instead
	  of NX.
	- Add config.guess and config.sub to .gitignore for autoconf 2.70.
	- Fix #150: TXT record validation difference with BIND.
	- Fixup TXT record validation fix for escaped quotes.
	- Fixup TXT record validation fix for escaped backslashes.
	- Fixup escape character parse for quoted strings.

11 January 2021: Wouter
	- Fix #151: DNAME not applied more than once to resolve the query.
	- Fix dname test for #148.
	- For #151: fix to not produce loops in output.

5 January 2021: Wouter
	- Fix configure.ac for autoconf 2.70.

4 January 2021: Wouter
	- Fix #148: CNAME need not be followed after a synthesized CNAME
	  for a CNAME query.

11 December 2020: Wouter
	- Fix that nsd-control has timeout when connection is down.
	- remove windows socket ifdefs from nsd-control.

3 December 2020: Wouter
	- For #145: Fix that service of remaining TCP and TLS connections
	  does not allow new queries to be made, the connection is closed.
	  Only existing queries and zone transfers are answered, new ones
	  are rejected by a close of the channel.

30 November 2020: Wouter
	- Fix #144: fix better.

27 November 2020: Wouter
	- Fix #144: Typo fix in nsd.conf.5.in.

26 November 2020: Wouter
	- Fix #143: xfrd no hysteresis with NOT IMPLEMENTED rcode.

24 November 2020: Wouter
	- Merge PR #141: ZONEMD RR type.
	- tag for 4.3.4rc1.  This became 4.3.4 release on 1 dec 2020.
	  The code repo continues for 4.3.5 in development.

23 November 2020: Wouter
	- Fix #142: NODATA answers missin SOA in authority section after
	  CNAME chain.
	- Fix for CVE-2020-28935 : Fix that symlink does not interfere
	  with chown of pidfile.
	- fix writepid for retvalue 0.

9 November 2020: Wouter
	- Fix #138: NSD returns non-EDNS answer when QUESTION is empty.
	- Fix to check nscount in previous fix for EDNS in formerr response
	  when there is no question.

28 October 2020: Wouter
	- Remove unused init_cfg_parse routine from configlexer.

20 October 2020: Wouter
	- Fix to add missing closest encloser NSEC3 for wildcard nodata type
	  DS answer.

14 October 2020: Wouter
	- Fix #134: IPV4_MINIMAL_RESPONSE_SIZE vs EDNS_MAX_MESSAGE_LEN.

13 October 2020: Wouter
	- Fix missing parenthesis on size of fix to init buffer.

12 October 2020: Wouter
	- Fix #127: two minor `-Wcast-qual` cleanups
	- Fix #126: minor header hygiene
	- Fix #125: include config.h in compat/setproctitle.c and fix prototype of `setproctitle`
	- Fix #133: fix 0-init of local ( stack ) buffer.

8 October 2020: Wouter
	- tag for 4.3.3 release
	- current repository contains 4.3.4 in development.
	- Fix #129: ambiguous use of errno, in log message if sendmmsg fails.
	- Fix #128: Fix that the invalid port number is logged for sendmmsg
	  failed: Invalid argument.

1 October 2020: Wouter
	- tag for 4.3.3rc1 release.

30 September 2020: Wouter
	- Updated date in nsd -v output.
	- Fixup bug013_truncate, checkconf and cutest_qroot tests for new
	  default EDNS size.

29 September 2020: Willem
	- Follow DNS flag day 2020 advice and
	  set default EDNS message size to 1232.

4 September 2020: Wouter
	- Remove unused space from LIBS on link line.

3 September 2020: Wouter
	- Merge PR #121: Increase log level of recreated database from
	  WARNING to ERR.

1 September 2020: Wouter
	- Fix #119: fix compile warnings from new gcc.
	- Fix #119: warn when trying to parse a directory.

27 August 2020: Wouter
	- Merged PR #113 with fixes.  Instead of listing an IP-address to
	  listen on, an interface name can be specified in nsd.conf, with
	  ip-address: eth0.  The IP-addresses for that interface are then used.

26 August 2020: Wouter
	- Add xstrdup for PR #113.
	- Tidy up code like in PR #113.
	- Import code from PR #113.
	- Fix for unknown EVP_MAC_CTX_free function in openssl 3.0.0 tsig code.

24 August 2020: Wouter
	- Fix that configure checks for EVP_sha256 to detect openssl, because
	  HMAC_CTX_new is deprecated in 3.0.0.
	- Port TSIG code for openssl 3.0.0-alpha6.
	- Sync acx_nlnetlabs.m4 with the unbound repo.
	- Review fixes for tsig, defensive free and zero.

4 August 2020: Wouter
	- Merge #117: mini_event.h (4.3.2 and 4.3.1) on OpenBSD cannot find
	  fd_set - patch.

23 July 2020: Wouter
	- Merge #115 from millert: Fix strlcpy() usage. From OpenBSD.

15 July 2020: Wouter
	- Fix make install with --with-pidfile="".

14 July 2020: Wouter
	- Tag for 4.3.2 release.  Master branch contains the next version
	  in development, 4.3.3.

7 July 2020: Wouter
	- Tag for 4.3.2rc1.

6 July 2020: Wouter
	- Fix compile includes for xfr-inspect tool on FreeBSD.
	- Add tpkg/run_vm.sh that runs test when in a virtual machine.
	- Merge #112 from jaredmauch: log old and new serials when NSD
	  rejects an IXFR due to an old serial number.
	- Fix bug034 test for vm test changes.

22 June 2020: Wouter
	- Remove errno reset behaviour from sendmmsg and recvmmsg
	  replacement functions.
	- Fix unit test for different nsd-control-setup -h exit code.

19 June 2020: Wouter
	- Merge #108 from Nomis: Make the max-retry-time description clearer.
	- Retry when udp send buffer is full to wait until buffer space is
	  available.

18 June 2020: Wouter
	- Do not log EAGAIN errors for sendmmsg, to stop log spam on OpenBSD.

17 June 2020: Wouter
	- Fix #107: nsd -v shows configure line, openssl version and libevent version.

27 May 2020: Wouter
	- Fix unlink of pidfile warning if not possible due to permissions,
	  nsd can display the message at high verbosity levels.
	- Update contrib/nsd.service for chown of nsd.log and /var/log in
	  ReadWritePaths.
	- Removed contrib/nsd.service, example is too complicated and not
	  useful.

15 May 2020: Wouter
	- Merge PR#102 from and0x000: add missing default in documentation
	  for drop-updates.
	- Fix checkconf test for log-only-syslog option.

14 May 2020: Wouter
	- Document default value for tcp-timeout.

13 May 2020: Jeroen
	- Fix #99: Fix copying of socket properties with reuseport enabled.

24 April 2020: Wouter
	- Fix #97: EDNS unknown version: query not in response.

21 April 2020: Wouter
	- Fix #96: log-only-syslog: yes sets to only use syslog, fixes
	  that the default configuration and systemd results in duplicate
	  log messages.

20 April 2020: Wouter
	- Fix #95: Removed make test check because tpkg not included in
	  release tarballs.
	- Fix unused parameter compile warnings.

16 April 2020: Wouter
	- Tag for 4.3.1 release and track 4.3.2 release in code repository.
	- note sha256 digest algo use in makedist.sh.
	- Fix for posix shell syntax for trap in nsd-control-setup.
	- Fix to omit the listen-on lines from log at startup, unless verbose.
	- Fix uninitialised values for bindtodevice option at startup with
	  reuseport and multiple interfaces.

8 April 2020: Wouter
	- Tag for 4.3.1rc2.

7 April 2020: Wouter
	- Merge PR #91 by gearnode: nsd-control-setup recreate certificates.
	  The '-r' option recreates certificates.  Without it it creates them
	  if they do not exist, and does not modify them otherwise.

6 April 2020: Wouter
	- Merge PR #90 by phicoh: O_CLOEXEC should be FD_CLOEXEC.
	- Merge PR #92 by tonysgi: Fix typo.

2 April 2020: Wouter
	- Tag for 4.3.1rc1.

1 April 2020: Wouter
	- Fix for whitespace in minimal responses test for FreeBSD.

25 March 2020: Wouter
	- Merge PR #86 from noloader: Use precious variables for GREP, EGREP,
	  SED, AWK, LEX and YACC.
	- For PR #86: Fix that programs loaded after CFLAGS and stuff is
	  set, specifically the compiler, so that it can work if it needs
	  special flags from that.  Fix that lex only needs to support -i
	  if actually defined, otherwise the output included in the source
	  tarball can be used.
	- Merge PR #72 from noloader: Increase Travis testing coverage

23 March 2020: Wouter
	- Fix unterminated ifdef in nsd.h.
	- Fix unknown u_long in util.c for Issue #80 .

20 March 2020: Wouter
	- Merge PR #83 from noloader: Fix GNU HURD sched_setaffinity compile.
	- Fix #82: print error when system does not have setaffinity.
	- Fix #80: NetBSD and implicit declaration of reallocarray.
	- Fix for #80: Fix reallocarray test to define before include.
	- Fix for #80: Define alternatives for IFNAMSIZ if it does not exist.

19 March 2020: Wouter
	- Fix #76: cpuid typedef for Hurd, DragonflyBSD compile.
	- Fix #75: configure test for sched_setaffinity, and use
	  cpuset_setaffinity otherwise.  Also test for presence of sysconf.
	- Fix #74: GNU Hurd fix cast from pointer to integer of different size.
	- Fix for #74, #75: cpuset test for header contents and provide code.
	- Fix #78: Fix SO_SETFIB error on FreeBSD.

18 March 2020: Wouter
	- Fix #70: error: 'fd_set' undeclared.
	- Fix #71: error: 'for' loop initial declaration used outside C99
	  mode.
	- Fix to move declarations out of for loops in event test too.
	- Fix to move declarations out of for loops in popen3 test too.
	- Another fix to move declaration out of for loop for event test.
	- Fix to move declarations out of for loops in cutest regex display.

17 March 2020: Wouter
	- tag for 4.3.0 release and master branch has version 4.3.1.

10 March 2020: Wouter
	- repository has version number 4.3.0.  Tag for 4.3.0rc1.

3 March 2020: Wouter
	- Fix that the retry wait does not exceed one day for zone transfers.

27 February 2020: Wouter
	- Fix warning on FreeBSD about pointer size cast.

26 February 2020: Wouter
	- Fixup fix of reuseport TCP for server close of sockets not used
	  by it.  And the unit test skips when the necessary debug output
	  is not enabled.

25 February 2020: Wouter
	- Fix event unit test, signal has to be registered with signal_add,
	  event_add not for every backend for signals.  The event_initialized
	  is not possible for every backend, so event_added variable.  The
	  agent write event fires after a timeout, instead of on event write
	  so that it does not trigger a sigpipe event when the handlers stop.
	  Timeout shorted to 0.1 second.  event_get_fd was not implemented,
	  so used ev_fd.  Debug output printfs added to see what happens.
	- Fix checkconf test for new drop-updates config option.
	- Fix errors with reuseport and TCP file descriptors, it was
	  closing them for server-1 in server-2 and server-3..

7 February 2020: Jeroen
	- Add feature to drop queries with opcode UPDATE.

6 February 2020: Jeroen
	- Support SO_BINDTODEVICE on Linux. Specify bindtodevice: yes
	  to bind sockets directly to the network interface.
	- Support SO_SETFIB on FreeBSD. Add setfib=<FIB> after an ip-address
	  option to use the specified FIB for that socket.
	- Require user to add servers=<range> after an ip-address option to
	  specify the servers that must listen on that socket.

6 February 2020: Wouter
	- Merge PR#60: Minor portability fixes from michaelforney, with
	  avoid pointer arithmetic on void* and avoid unnecessary VLA.

4 February 2020: Wouter
	- Merge PR#22: minimise-any: prefer polular and not large RRset,
	  from Daisuke Higashi.
	- Fix responses for IXFR so that the authority section is not echoed
	  in the response.

21 January 2020: Wouter
	- Fix leak in server bitset setup.

16 January 2020: Jeroen
	- Add zone resource record iterator for future zone-verification port.
	- Set FD_CLOEXEC on opened sockets.
	- Add popen3 implementation for future zone-verification port.
	- Add -r option to cutest so that a subset of tests can be run.

15 January 2020: Jeroen
	- Add feature to pin server proccesses to specific cpus.
	- Add feature to pin IP addresses to selected server processes.
	- Set process title to identify individual processes.

13 January 2020: Wouter
	- Merge pull request #59 from buddyns: add FreeBSD support
	  for conf key ip-transparent.

10 January 2020: Wouter
	- Fix unreachable code in ssl set options code.
	- Fix bad shift in assertion code analyzer complaint.

6 January 2020: Wouter
	- Fix #56: Drop sparse TSIG signing support in NSD.
	  Sign every axfr packet with TSIG, according to the latest
	  draft-ietf-dnsop-rfc2845bis-06, Section 5.3.1.

12 December 2019: Wouter
	- Note that use-systemd is not necessary and ignored in man page.

11 December 2019: Wouter
	- Fix whitespace in nsd.conf.sample.in, patch from Paul Wouters.
	- use-systemd is ignored in nsd.conf, when NSD is compiled with
	  libsystemd it always signals readiness, if possible.

9 December 2019: Wouter
	- Fix to define upper bounds on rr counts read from untrusted packet
	  data.
	- Try different annotation for radix_find_prefix_node not reachable.
	- Separate acl_addr_match_range functions for ip4 and ip6, to
	  please checkers.
	- Avoid unused variable warning in new match_range_v4 function.

6 December 2019: Wouter
	- Fix to define max number of EDNS records we are willing to
	  spend time on.
	- Fix size of string len and capacity type cast in udbradtree.
	- Fix to protect rrcount in tsig_find_rr from overflow.
	- Annotate radix_find_prefix_node not reachable trail code.
	- Fix to protect rrcount in packet_find_notify_serial from overflow.
	- Fix to close socket on error in create_tcp_accept_sock.
	- Fix to log on failure to chmod for socket for remote control.
	- Fix to remove unneeded if in open of socket for remote control.
	- Fix to restore input parameter on call failure in create_dirs.
	- Please checker by terminating and initialising string read
	  by remote control.
	- Fixup of random_generate negative modulo, from previous commit,
	  and return srandom when random is used if no getrandom.

5 December 2019: Wouter
	- Fix fname null check of fname in namedb_read_zonefile.
	- Fix implicit cast of size in udb_radnode_array_grow.
	- Fix ignore of return value of ssl_printf in remote.c.
	- Fix unused check of fd in parent_handle_reload_command.
	- Fix to use getrandom() for randomness, if available.
	- Attempt to fix signedness of nscount lookup in ixfr query_process.
	- Fix identical branches for ssl_print of errors in remote.c.
	- Fix type cast bounds, signedness of opt_rdlen in edns_parse_record.
	- Fix to separate header and data lines in parse_zone_list_file.
2021-03-15 18:38:56 +00:00
nia
fb65b08c8d Use inline cross-references. 2021-03-15 18:21:51 +00:00
christos
266bfd152f - 32 bit mips uses oabi, don't force it to n32.
- compile assembly code with soft-float to kill linker warnings
2021-03-15 18:13:54 +00:00
rillig
87c62a5243 tests/make: convert varmod-loop to parse-time
In case of unexpected failures, this provides the line number of the
'.error' directive.
2021-03-15 17:54:49 +00:00
rillig
8d27738a97 tests/make: add position marker in test 'varmod-loop' 2021-03-15 17:11:08 +00:00
rillig
e9a9d1718c make: clean up documentation of ApplyModifiersState
No functional change.
2021-03-15 16:51:14 +00:00
rillig
c066baf306 make: fix documentation of Lst_MoveAll
In CLEANUP mode, was originally meant to track memory allocations but is
useful during debugging as well, initialize the list.  There is no
distinct constant representing an invalid pointer, otherwise that would
have been an even better choice.
2021-03-15 16:45:30 +00:00
rillig
c175751478 make: indent inline functions for lists
No functional change.
2021-03-15 16:06:05 +00:00
rillig
0983b9b566 make: clean up header for runtime type information for enums
An enum with 32 bits would lead to signed integer overflow anyway, so
that definition is not worth keeping even if it works on typical
2-complement platforms.

The definitions for 2, 4 and 8 enum have been unused for several months
now.

No functional change.
2021-03-15 16:00:05 +00:00
rillig
4a38bf21f4 make: change debug log for variable evaluation flags to lowercase
This makes them easier distinguishable from variable names since the
latter are usually uppercase.

No functional change outside debug mode.
2021-03-15 15:39:13 +00:00
rillig
2f8026b0e5 make: replace enum bit-field with struct bit-field for VarEvalFlags
This makes the code easier to read, especially in var.c.  It also makes
debugging sessions easier since some debuggers don't show enum
bit-fields symbolically as soon as more than one bit is set.

The code outside var.c is basically unchanged, except that instead of
passing the individual flags, there are 4 predefined evaluation modes.
These suffice for all practical use cases.  Only in the implementation
deep inside var.c, the value of the flags keepDollar and keepUndef
differs.

There is no way of passing the struct to EnumFlags_ToString, which means
the ToString function has to be spelled out explicitly.  This allows for
fine-tuning the representation in the debug log, to reduce the amount of
uppercae letters.

No functional change.
2021-03-15 12:15:03 +00:00
rillig
4fd3cf6eed make: rename VARE_NONE to VARE_PARSE_ONLY
The name 'NONE' described the bit pattern, which was not useful to
understand its meaning.  Omitting VARE_WANTRES only parses the
expression, without evaluating any part of it.

No functional change, not even in debug mode since Enum_FlagsToString
always returns "none" for all-bits-unset.
2021-03-15 11:41:07 +00:00
nia
53793f01c2 ossv4 mixer API: be extra careful with the inputs to AUDIO_MIXER_READ.
some drivers (not hdaudio(4), but uaudio(4), eap(4), sb(4), various other
old cards) will return error if a AUDIO_MIXER_VALUE is requested and the
number of channels is not specified as input. this is not documented as
well as it should be, unfortunately.
2021-03-15 10:58:05 +00:00
nia
984ee03fd6 regen 2021-03-15 07:30:40 +00:00
nia
1fe45e8161 correct usb device id for BELKIN F5D7050E
matches freebsd / openbsd (sources of urtw driver), various online
sources

PR kern/56056
2021-03-15 07:29:26 +00:00
christos
089f26f664 Specify the emulation explicitly (n32) so this builds when the default
emulation changes.
2021-03-14 22:58:10 +00:00
christos
400a3a1ed4 provide generic cas for _LP64 2021-03-14 22:56:39 +00:00
rillig
0c8fc40bd0 tests/lint: document how lint discards the typedef name in 247 2021-03-14 22:24:24 +00:00