]> git.ipfire.org Git - thirdparty/unbound.git/log
thirdparty/unbound.git
4 years ago- Better fix for reuse tree comparison for is-tls sockets. Where
W.C.A. Wijngaards [Wed, 25 Nov 2020 09:22:11 +0000 (10:22 +0100)] 
- Better fix for reuse tree comparison for is-tls sockets.  Where
  the tree key identity is preserved after cleanup of the TLS state.

4 years ago- Fix udp-connect on FreeBSD, do send calls on connected UDP socket.
W.C.A. Wijngaards [Wed, 25 Nov 2020 08:55:01 +0000 (09:55 +0100)] 
- Fix udp-connect on FreeBSD, do send calls on connected UDP socket.

4 years ago- with udp-connect ignore connection refused with UDP timeouts.
W.C.A. Wijngaards [Wed, 25 Nov 2020 08:41:06 +0000 (09:41 +0100)] 
- with udp-connect ignore connection refused with UDP timeouts.

4 years agoUse size_t in place of int for length 355/head
Jeffrey Walton [Wed, 25 Nov 2020 00:24:48 +0000 (19:24 -0500)] 
Use size_t in place of int for length

4 years agoMake ICANN Update CA and DS Trust Key static data
Jeffrey Walton [Wed, 25 Nov 2020 00:23:08 +0000 (19:23 -0500)] 
Make ICANN Update CA and DS Trust Key static data

4 years ago- Fix padding of struct regional for 32bit systems.
W.C.A. Wijngaards [Tue, 24 Nov 2020 16:06:54 +0000 (17:06 +0100)] 
- Fix padding of struct regional for 32bit systems.

4 years ago- Fix crash when TLS connection is closed prematurely, when
W.C.A. Wijngaards [Tue, 24 Nov 2020 15:58:51 +0000 (16:58 +0100)] 
- Fix crash when TLS connection is closed prematurely, when
  reuse tree comparison is not properly identical to insertion.

4 years agorpz: fix forged response
mb [Tue, 24 Nov 2020 15:29:15 +0000 (16:29 +0100)] 
rpz: fix forged response

4 years ago- tag for the 1.13.0rc1 release. release-1.13.0rc1
W.C.A. Wijngaards [Tue, 24 Nov 2020 14:01:44 +0000 (15:01 +0100)] 
- tag for the 1.13.0rc1 release.

4 years ago- Fix one port unit test for udp-connect.
W.C.A. Wijngaards [Tue, 24 Nov 2020 13:16:06 +0000 (14:16 +0100)] 
- Fix one port unit test for udp-connect.

4 years ago- iana portlist updated.
W.C.A. Wijngaards [Tue, 24 Nov 2020 12:17:15 +0000 (13:17 +0100)] 
- iana portlist updated.

4 years agorpz: fix forged messages
mb [Tue, 24 Nov 2020 11:02:59 +0000 (12:02 +0100)] 
rpz: fix forged messages

4 years agorpz: update ext_state in the iterator
mb [Tue, 24 Nov 2020 10:33:16 +0000 (11:33 +0100)] 
rpz: update ext_state in the iterator

4 years agorpz: forge responses
mb [Tue, 24 Nov 2020 10:25:01 +0000 (11:25 +0100)] 
rpz: forge responses

4 years agorpz: apply trigger at query time not response time
mb [Tue, 24 Nov 2020 08:33:08 +0000 (09:33 +0100)] 
rpz: apply trigger at query time not response time

4 years ago- set version of main branch to 1.13.0 for upcoming release.
Wouter Wijngaards [Tue, 24 Nov 2020 07:28:08 +0000 (08:28 +0100)] 
- set version of main branch to 1.13.0 for upcoming release.

4 years agoChangelog note for #283.
Wouter Wijngaards [Tue, 24 Nov 2020 07:23:24 +0000 (08:23 +0100)] 
Changelog note for #283.
- Merge PR #283 : Stream reuse.  This implements upstream stream
  reuse for performing several queries over the same TCP or TLS
  channel.

4 years agoMerge pull request #283 from NLnetLabs/stream-reuse
Wouter Wijngaards [Tue, 24 Nov 2020 07:21:07 +0000 (08:21 +0100)] 
Merge pull request #283 from NLnetLabs/stream-reuse

Stream reuse

4 years agoMerge branch 'master' into stream-reuse 283/head
Wouter Wijngaards [Tue, 24 Nov 2020 07:20:07 +0000 (08:20 +0100)] 
Merge branch 'master' into stream-reuse

4 years agoChangelog note for #313:
George Thessalonikefs [Mon, 23 Nov 2020 16:37:46 +0000 (17:37 +0100)] 
Changelog note for #313:
- Merge PR #313 from Ralph Dolmans: Replace edns-client-tag with
  edns-client-string option.

4 years agoMerge pull request #313 from NLnetLabs/edns-string
gthess [Mon, 23 Nov 2020 16:34:42 +0000 (17:34 +0100)] 
Merge pull request #313 from NLnetLabs/edns-string

Replace edns-client-tag with edns-client-string option

4 years agoMerge branch 'master' into edns-string 313/head
George Thessalonikefs [Mon, 23 Nov 2020 15:58:30 +0000 (16:58 +0100)] 
Merge branch 'master' into edns-string

4 years agoMerge branch 'master' into edns-string
George Thessalonikefs [Mon, 23 Nov 2020 15:35:58 +0000 (16:35 +0100)] 
Merge branch 'master' into edns-string

4 years ago- Update manpage.
George Thessalonikefs [Mon, 23 Nov 2020 15:32:00 +0000 (16:32 +0100)] 
- Update manpage.

4 years agoFix writepid for retvalue 0.
W.C.A. Wijngaards [Mon, 23 Nov 2020 13:17:58 +0000 (14:17 +0100)] 
Fix writepid for retvalue 0.

4 years agoFurther fix for CVE-2020-28935, so the chown is omitted when the pidfile
W.C.A. Wijngaards [Mon, 23 Nov 2020 12:48:04 +0000 (13:48 +0100)] 
Further fix for CVE-2020-28935, so the chown is omitted when the pidfile
fails due to a symlink.

4 years ago- Fix for #303 CVE-2020-28935 : Fix that symlink does not interfere
W.C.A. Wijngaards [Mon, 23 Nov 2020 12:42:11 +0000 (13:42 +0100)] 
- Fix for #303 CVE-2020-28935 : Fix that symlink does not interfere
  with chown of pidfile.

4 years ago- Option to toggle udp-connect, default is enabled.
W.C.A. Wijngaards [Mon, 23 Nov 2020 10:06:53 +0000 (11:06 +0100)] 
- Option to toggle udp-connect, default is enabled.

4 years agostream reuse, up connection reuse time to 60 seconds.
W.C.A. Wijngaards [Mon, 23 Nov 2020 09:36:22 +0000 (10:36 +0100)] 
stream reuse, up connection reuse time to 60 seconds.

4 years ago+ - Fix #347: IP_DONTFRAG broken on Apple xcode 12.2.
W.C.A. Wijngaards [Mon, 23 Nov 2020 08:56:01 +0000 (09:56 +0100)] 
+       - Fix #347: IP_DONTFRAG broken on Apple xcode 12.2.

4 years agoMerge branch 'master' into stream-reuse
W.C.A. Wijngaards [Mon, 23 Nov 2020 08:49:26 +0000 (09:49 +0100)] 
Merge branch 'master' into stream-reuse

4 years agostream reuse, fix review comments.
W.C.A. Wijngaards [Mon, 23 Nov 2020 08:46:26 +0000 (09:46 +0100)] 
stream reuse, fix review comments.

4 years agostream reuse, fix review comments.
W.C.A. Wijngaards [Mon, 23 Nov 2020 08:44:56 +0000 (09:44 +0100)] 
stream reuse, fix review comments.

4 years agostream reuse, review comments.
W.C.A. Wijngaards [Mon, 23 Nov 2020 08:40:15 +0000 (09:40 +0100)] 
stream reuse, review comments.

4 years agostream reuse, fix review comments.
W.C.A. Wijngaards [Mon, 23 Nov 2020 08:37:26 +0000 (09:37 +0100)] 
stream reuse, fix review comments.

4 years agostream reuse, rename ssl_reuse test to tls_reuse test.
W.C.A. Wijngaards [Mon, 23 Nov 2020 08:35:58 +0000 (09:35 +0100)] 
stream reuse, rename ssl_reuse test to tls_reuse test.

4 years agostream reuse, renamed ssl_reuse.tdir to tls_reuse.tdir.
W.C.A. Wijngaards [Mon, 23 Nov 2020 08:33:28 +0000 (09:33 +0100)] 
stream reuse, renamed ssl_reuse.tdir to tls_reuse.tdir.

4 years agostream reuse, debug output with verbose level instead of number.
W.C.A. Wijngaards [Mon, 23 Nov 2020 08:29:26 +0000 (09:29 +0100)] 
stream reuse, debug output with verbose level instead of number.

4 years agoChangelog notes for #350 and #351
W.C.A. Wijngaards [Mon, 23 Nov 2020 07:58:41 +0000 (08:58 +0100)] 
Changelog notes for #350 and #351
- 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.

4 years agoMerge pull request #351 from dvzrv/issues/350
Wouter Wijngaards [Mon, 23 Nov 2020 07:57:23 +0000 (08:57 +0100)] 
Merge pull request #351 from dvzrv/issues/350

Add AF_NETLINK to set of allowed socket address families

4 years agoAdd AF_NETLINK to set of allowed socket address families 351/head
David Runge [Sat, 21 Nov 2020 13:10:39 +0000 (14:10 +0100)] 
Add AF_NETLINK to set of allowed socket address families

contrib/unbound{,_portable}.service.in:
With the changes introduced in f6a527c25ad2e60e2dc129fff3605e6ec48c30f2
it is now necessary to also allow access to the AF_NETLINK socket
address family to be able to get information from interfaces.

Without the AF_NETLINK address family the systemd service errors with:

```
error: failed to list interfaces: getifaddrs: Address family not
supported by protocol
```

Fixes #350

4 years agorpz: continue work on the nsip trigger
mb [Mon, 16 Nov 2020 11:42:23 +0000 (12:42 +0100)] 
rpz: continue work on the nsip trigger

4 years agorpz: more nsip
mb [Mon, 16 Nov 2020 08:49:06 +0000 (09:49 +0100)] 
rpz: more nsip

4 years agorpz: stubs for nsip triggers
mb [Fri, 13 Nov 2020 13:33:11 +0000 (14:33 +0100)] 
rpz: stubs for nsip triggers

4 years ago- Retry for interfaces with unused ports if possible.
W.C.A. Wijngaards [Thu, 12 Nov 2020 12:36:37 +0000 (13:36 +0100)] 
- Retry for interfaces with unused ports if possible.

4 years agoChangelog note.
W.C.A. Wijngaards [Thu, 12 Nov 2020 11:28:10 +0000 (12:28 +0100)] 
Changelog note.

4 years ago- Fix to connect() to UDP destinations, default turned on,
W.C.A. Wijngaards [Thu, 12 Nov 2020 11:27:41 +0000 (12:27 +0100)] 
- Fix to connect() to UDP destinations, default turned on,
  this lowers vulnerability to ICMP side channels.

4 years agoMerge branch 'master' into edns-string
Ralph Dolmans [Wed, 11 Nov 2020 10:38:06 +0000 (11:38 +0100)] 
Merge branch 'master' into edns-string

4 years agoMerge branch 'master' into edns-string
Ralph Dolmans [Wed, 11 Nov 2020 10:37:32 +0000 (11:37 +0100)] 
Merge branch 'master' into edns-string

4 years agoRPZ: stub nsip testbound scenario
mb [Wed, 11 Nov 2020 10:21:54 +0000 (11:21 +0100)] 
RPZ: stub nsip testbound scenario

4 years ago- Fix #343: Fail to build --with-libnghttp2 with error: 'SSIZE_MAX'
W.C.A. Wijngaards [Tue, 10 Nov 2020 14:31:20 +0000 (15:31 +0100)] 
- Fix #343: Fail to build --with-libnghttp2 with error: 'SSIZE_MAX'
  undeclared.

4 years ago- Fix memory leak after fix for possible memory leak failure.
W.C.A. Wijngaards [Tue, 10 Nov 2020 12:51:56 +0000 (13:51 +0100)] 
- Fix memory leak after fix for possible memory leak failure.

4 years agoMerge branch 'master' into zonemd zonemd
W.C.A. Wijngaards [Tue, 10 Nov 2020 07:10:27 +0000 (08:10 +0100)] 
Merge branch 'master' into zonemd

4 years agoChangelog note for #341 and layout change.
W.C.A. Wijngaards [Tue, 10 Nov 2020 07:07:28 +0000 (08:07 +0100)] 
Changelog note for #341 and layout change.
- Fix #341: fixing a possible memory leak.

4 years agoMerge pull request #341 from ihsinme/patch-1
Wouter Wijngaards [Tue, 10 Nov 2020 07:06:46 +0000 (08:06 +0100)] 
Merge pull request #341 from ihsinme/patch-1

fixing a possible memory leak.

4 years agofixing a possible memory leak. 341/head
ihsinme [Mon, 9 Nov 2020 15:41:22 +0000 (18:41 +0300)] 
fixing a possible memory leak.

4 years agoRPZ: refactor clientip to handle multiple rrsets
mb [Mon, 9 Nov 2020 14:14:25 +0000 (15:14 +0100)] 
RPZ: refactor clientip to handle multiple rrsets

4 years agoRPZ: one more testcase
mb [Mon, 9 Nov 2020 11:08:06 +0000 (12:08 +0100)] 
RPZ: one more testcase

4 years agoRPZ: refactor clientip trigger
mb [Fri, 6 Nov 2020 12:42:48 +0000 (13:42 +0100)] 
RPZ: refactor clientip trigger

4 years agoRPZ: towards client ip trigger and local data action
mb [Fri, 6 Nov 2020 11:54:32 +0000 (12:54 +0100)] 
RPZ: towards client ip trigger and local data action

4 years agoRPZ: provide rpz-client-ip trigger and actions
mb [Wed, 4 Nov 2020 16:00:28 +0000 (17:00 +0100)] 
RPZ: provide rpz-client-ip trigger and actions

4 years agoRPZ: fix for c89
mb [Tue, 3 Nov 2020 14:45:26 +0000 (15:45 +0100)] 
RPZ: fix for c89

4 years agoRPZ: testbound: add qname and respip tcp-only examples
mb [Tue, 3 Nov 2020 10:03:29 +0000 (11:03 +0100)] 
RPZ: testbound: add qname and respip tcp-only examples

4 years agoRPZ: provide tcp-only triggers for respip actions
mb [Tue, 3 Nov 2020 10:02:36 +0000 (11:02 +0100)] 
RPZ: provide tcp-only triggers for respip actions

4 years agoRPZ: implement stubs for rpz-tcp-only actions.
mb [Thu, 29 Oct 2020 14:58:13 +0000 (15:58 +0100)] 
RPZ: implement stubs for rpz-tcp-only actions.

4 years agozonemd, unit tests for insecure delegation zones.
W.C.A. Wijngaards [Thu, 29 Oct 2020 13:59:11 +0000 (14:59 +0100)] 
zonemd, unit tests for insecure delegation zones.

4 years agozonemd, unit test for failed zonemd hash after axfr with chain of trust,
W.C.A. Wijngaards [Thu, 29 Oct 2020 09:13:01 +0000 (10:13 +0100)] 
zonemd, unit test for failed zonemd hash after axfr with chain of trust,
zone is written after axfr, but before check.  But zone is then rejected
after check completes..

4 years agozonemd, unit test for failed zonemd hash after axfr, zone is rejected and not
W.C.A. Wijngaards [Thu, 29 Oct 2020 09:00:59 +0000 (10:00 +0100)] 
zonemd, unit test for failed zonemd hash after axfr, zone is rejected and not
written to file.

4 years agozonemd, unit test for zonemd from axfr with trust anchor.
W.C.A. Wijngaards [Thu, 29 Oct 2020 08:55:03 +0000 (09:55 +0100)] 
zonemd, unit test for zonemd from axfr with trust anchor.

4 years agozonemd, please doxygen
W.C.A. Wijngaards [Thu, 29 Oct 2020 07:40:22 +0000 (08:40 +0100)] 
zonemd, please doxygen
zonemd, fix clang analyzer warning about null nsec3 salt pointer access.

4 years agozonemd, unit test for zonemd from file and trust anchor directly for DNSSEC.
W.C.A. Wijngaards [Wed, 28 Oct 2020 14:10:14 +0000 (15:10 +0100)] 
zonemd, unit test for zonemd from file and trust anchor directly for DNSSEC.

4 years agoSprinkle in some static to prevent missing prototype warnings. 335/head
Florian Obser [Wed, 28 Oct 2020 13:15:23 +0000 (14:15 +0100)] 
Sprinkle in some static to prevent missing prototype warnings.

4 years agozonemd, unit test for chain of trust from recursion to check ZONEMD.
W.C.A. Wijngaards [Tue, 27 Oct 2020 12:44:44 +0000 (13:44 +0100)] 
zonemd, unit test for chain of trust from recursion to check ZONEMD.

4 years ago- In man page note that tls-cert-bundle is read before permission
W.C.A. Wijngaards [Tue, 27 Oct 2020 08:00:26 +0000 (09:00 +0100)] 
- In man page note that tls-cert-bundle is read before permission
  drop and chroot.

4 years agozonemd, zonemd-reject-absence config for an auth-zone rejects the zone if
W.C.A. Wijngaards [Mon, 26 Oct 2020 14:37:43 +0000 (15:37 +0100)] 
zonemd, zonemd-reject-absence config for an auth-zone rejects the zone if
no ZONEMD is present.

4 years agozonemd, unit test with correct title.
W.C.A. Wijngaards [Fri, 23 Oct 2020 12:40:00 +0000 (14:40 +0200)] 
zonemd, unit test with correct title.

4 years agozonemd, fix config_get_option for zonemd-permissive-mode and unit test
W.C.A. Wijngaards [Fri, 23 Oct 2020 12:38:57 +0000 (14:38 +0200)] 
zonemd, fix config_get_option for zonemd-permissive-mode and unit test
for zonemd-permissive-mode.

4 years agozonemd, zonemd-permissive-mode: yes logs the failure but does not block
W.C.A. Wijngaards [Fri, 23 Oct 2020 12:33:04 +0000 (14:33 +0200)] 
zonemd, zonemd-permissive-mode: yes logs the failure but does not block
the zone after a ZONEMD verification failure.

4 years agozonemd, unit test for unbound-control auth_zone_reload with zonemd.
W.C.A. Wijngaards [Fri, 23 Oct 2020 10:10:30 +0000 (12:10 +0200)] 
zonemd, unit test for unbound-control auth_zone_reload with zonemd.

4 years agozonemd, unbound-control auth_zone_reload errors when ZONEMD fails.
W.C.A. Wijngaards [Fri, 23 Oct 2020 09:47:00 +0000 (11:47 +0200)] 
zonemd, unbound-control auth_zone_reload errors when ZONEMD fails.

4 years agounbound-control auth_zone_reload sets zone to nonexpired and
W.C.A. Wijngaards [Fri, 23 Oct 2020 09:44:28 +0000 (11:44 +0200)] 
unbound-control auth_zone_reload sets zone to nonexpired and
also updates the xfr soa values from the new zonefile contents.

4 years agozonemd, zonemds are checked when a zone is auth_zone_reload from file,
W.C.A. Wijngaards [Fri, 23 Oct 2020 09:20:08 +0000 (11:20 +0200)] 
zonemd, zonemds are checked when a zone is auth_zone_reload from file,
or reload with unbound-control.

4 years agozonemd, unlock xfr lock for auth zone verify of zonemd for mesh new callback.
W.C.A. Wijngaards [Fri, 23 Oct 2020 08:14:21 +0000 (10:14 +0200)] 
zonemd, unlock xfr lock for auth zone verify of zonemd for mesh new callback.

4 years agozonemd, unit test for auth zone zonemd axfr
W.C.A. Wijngaards [Fri, 23 Oct 2020 07:12:51 +0000 (09:12 +0200)] 
zonemd, unit test for auth zone zonemd axfr
zonemd, zonemds are checked after zone transfer.

4 years agozonemd, test for server start with zonemd from file.
W.C.A. Wijngaards [Thu, 22 Oct 2020 14:02:37 +0000 (16:02 +0200)] 
zonemd, test for server start with zonemd from file.

4 years agozonemd, pass module stack as function argument.
W.C.A. Wijngaards [Thu, 22 Oct 2020 11:31:37 +0000 (13:31 +0200)] 
zonemd, pass module stack as function argument.

4 years agozonemd, fix to harden against failure in pickup zonemd lookups.
W.C.A. Wijngaards [Thu, 22 Oct 2020 11:20:00 +0000 (13:20 +0200)] 
zonemd, fix to harden against failure in pickup zonemd lookups.

4 years agozonemd, zonemds are checked at start
W.C.A. Wijngaards [Thu, 22 Oct 2020 10:10:46 +0000 (12:10 +0200)] 
zonemd, zonemds are checked at start

4 years agoMerge branch 'master' into zonemd
W.C.A. Wijngaards [Thu, 22 Oct 2020 07:49:27 +0000 (09:49 +0200)] 
Merge branch 'master' into zonemd

4 years ago- Fix that minimal-responses does not remove addresses from a priming
W.C.A. Wijngaards [Thu, 22 Oct 2020 07:26:27 +0000 (09:26 +0200)] 
- Fix that minimal-responses does not remove addresses from a priming
  query response.

4 years ago- Fix #333: Unbound Segmentation Fault w/ log_info Functions From
W.C.A. Wijngaards [Thu, 22 Oct 2020 06:47:40 +0000 (08:47 +0200)] 
- Fix #333: Unbound Segmentation Fault w/ log_info Functions From
  Python Mod.

4 years ago- Fix #320: potential memory corruption due to size miscomputation upton
George Thessalonikefs [Wed, 21 Oct 2020 15:44:04 +0000 (17:44 +0200)] 
- Fix #320: potential memory corruption due to size miscomputation upton
  custom region alloc init.

4 years ago- Fix #327: net/if.h check fails on some darwin versions; contribution by
George Thessalonikefs [Wed, 21 Oct 2020 14:45:18 +0000 (16:45 +0200)] 
- Fix #327: net/if.h check fails on some darwin versions; contribution by
  Joshua Root.

4 years agozonemd, result of dnssec failures includes rrset and dnssec bogus reason.
W.C.A. Wijngaards [Wed, 21 Oct 2020 14:18:28 +0000 (16:18 +0200)] 
zonemd, result of dnssec failures includes rrset and dnssec bogus reason.

4 years agozonemd, unit test remove debug.
W.C.A. Wijngaards [Wed, 21 Oct 2020 13:59:29 +0000 (15:59 +0200)] 
zonemd, unit test remove debug.

4 years agozonemd, unit tests for verifying DNSKEY with trust anchor failures.
W.C.A. Wijngaards [Wed, 21 Oct 2020 13:58:47 +0000 (15:58 +0200)] 
zonemd, unit tests for verifying DNSKEY with trust anchor failures.

4 years agozonemd, unit tests for wrong NSEC RRSIGs.
W.C.A. Wijngaards [Wed, 21 Oct 2020 13:04:06 +0000 (15:04 +0200)] 
zonemd, unit tests for wrong NSEC RRSIGs.

4 years agozonemd, unit tests for DNSSEC type bitmaps.
W.C.A. Wijngaards [Wed, 21 Oct 2020 12:23:44 +0000 (14:23 +0200)] 
zonemd, unit tests for DNSSEC type bitmaps.

4 years agozonemd, unit tests for wrong DNSSEC signatures.
W.C.A. Wijngaards [Wed, 21 Oct 2020 11:17:42 +0000 (13:17 +0200)] 
zonemd, unit tests for wrong DNSSEC signatures.

4 years agozonemd, zonemd unit test in own file.
W.C.A. Wijngaards [Wed, 21 Oct 2020 10:04:53 +0000 (12:04 +0200)] 
zonemd, zonemd unit test in own file.