]>
git.ipfire.org Git - thirdparty/unbound.git/log
W.C.A. Wijngaards [Wed, 5 Feb 2020 15:17:21 +0000 (16:17 +0100)]
dnstap io, set tls auth name in outgoing ssl
W.C.A. Wijngaards [Wed, 5 Feb 2020 14:04:04 +0000 (15:04 +0100)]
dnstap io, ssl write.
W.C.A. Wijngaards [Wed, 5 Feb 2020 13:25:47 +0000 (14:25 +0100)]
Merge branch 'master' into framestreams
gthess [Wed, 5 Feb 2020 13:20:27 +0000 (14:20 +0100)]
Serve stale (#159)
- 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.
W.C.A. Wijngaards [Wed, 5 Feb 2020 12:59:56 +0000 (13:59 +0100)]
dnstap io, ssl handshake.
W.C.A. Wijngaards [Wed, 5 Feb 2020 12:03:58 +0000 (13:03 +0100)]
dnstap io, close fd routine.
W.C.A. Wijngaards [Tue, 4 Feb 2020 16:23:19 +0000 (17:23 +0100)]
dnstap io, ssl and ssl ctx creation.
W.C.A. Wijngaards [Tue, 4 Feb 2020 08:45:44 +0000 (09:45 +0100)]
dnstap create debug tool with other debug tools in list.
W.C.A. Wijngaards [Tue, 4 Feb 2020 08:40:00 +0000 (09:40 +0100)]
Merge branch 'master' into framestreams
Ralph Dolmans [Mon, 3 Feb 2020 15:53:50 +0000 (16:53 +0100)]
Merge branch 'master' of github.com:NLnetLabs/unbound
Ralph Dolmans [Mon, 3 Feb 2020 15:52:25 +0000 (16:52 +0100)]
- Reformat rpz disabled stats counter
Alex Band [Mon, 3 Feb 2020 15:51:03 +0000 (16:51 +0100)]
Link to NLnet Labs funding page
Ralph Dolmans [Mon, 3 Feb 2020 15:44:21 +0000 (16:44 +0100)]
- Add assertion to please static analyzer
Ralph Dolmans [Mon, 3 Feb 2020 13:19:44 +0000 (14:19 +0100)]
- remove unused code block in respip
W.C.A. Wijngaards [Fri, 31 Jan 2020 16:07:40 +0000 (17:07 +0100)]
dnstap io, connect and write over TCP.
W.C.A. Wijngaards [Fri, 31 Jan 2020 13:13:41 +0000 (14:13 +0100)]
dnstap unbound-dnstap-sock, comments and log output on tls error close.
W.C.A. Wijngaards [Fri, 31 Jan 2020 13:03:28 +0000 (14:03 +0100)]
dnstap unbound-dnstap-sock, read from TLS.
W.C.A. Wijngaards [Fri, 31 Jan 2020 12:05:06 +0000 (13:05 +0100)]
dnstap unbound-dnstap-sock, verbose accepted stream IP addresses
W.C.A. Wijngaards [Fri, 31 Jan 2020 10:18:14 +0000 (11:18 +0100)]
dnstap unbound-dnstap-sock, add -t option.
W.C.A. Wijngaards [Fri, 31 Jan 2020 10:11:43 +0000 (11:11 +0100)]
dnstap unbound-dnstap-sock, fixup check for ssl context create error.
W.C.A. Wijngaards [Fri, 31 Jan 2020 10:10:04 +0000 (11:10 +0100)]
dnstap unbound-dnstap-sock, tls options and context created.
W.C.A. Wijngaards [Fri, 31 Jan 2020 09:05:00 +0000 (10:05 +0100)]
dnstap unbound-dnstap-sock, fixup constant defines.
W.C.A. Wijngaards [Fri, 31 Jan 2020 09:02:51 +0000 (10:02 +0100)]
dnstap unbound-dnstap-sock, fixup signal handler exit.
W.C.A. Wijngaards [Fri, 31 Jan 2020 08:53:49 +0000 (09:53 +0100)]
dnstap unbound-dnstap-sock, can listen to multiple sockets, can listen
to TCP sockets, cleans up on exit after signal.
W.C.A. Wijngaards [Fri, 31 Jan 2020 06:49:38 +0000 (07:49 +0100)]
Merge branch 'master' into framestreams
W.C.A. Wijngaards [Fri, 31 Jan 2020 06:49:14 +0000 (07:49 +0100)]
- Fix fclose on error in TLS session ticket code.
Ralph Dolmans [Thu, 30 Jan 2020 18:15:58 +0000 (19:15 +0100)]
- Stop working on socket when socket() call returns an error.
- Check malloc return values in TLS session ticket code
W.C.A. Wijngaards [Thu, 30 Jan 2020 16:11:07 +0000 (17:11 +0100)]
- put fstrm protocol contents in separate files, dnstap_fstrm.c
and dnstap_fstrm.h
W.C.A. Wijngaards [Thu, 30 Jan 2020 15:22:12 +0000 (16:22 +0100)]
Merge branch 'master' into framestreams
W.C.A. Wijngaards [Thu, 30 Jan 2020 15:15:51 +0000 (16:15 +0100)]
- Add getentropy_freebsd.o to Makefile dependencies.
W.C.A. Wijngaards [Thu, 30 Jan 2020 15:12:39 +0000 (16:12 +0100)]
- Add build rule for ipset to Makefile
Ralph Dolmans [Thu, 30 Jan 2020 15:04:27 +0000 (16:04 +0100)]
- Add changelog entry for RPZ merge
Ralph Dolmans [Thu, 30 Jan 2020 14:59:01 +0000 (15:59 +0100)]
Merge branch 'rpz'
Ralph Dolmans [Thu, 30 Jan 2020 14:57:34 +0000 (15:57 +0100)]
Merge branch 'master' into rpz
W.C.A. Wijngaards [Thu, 30 Jan 2020 14:49:24 +0000 (15:49 +0100)]
Merge branch 'master' into framestreams
Ralph Dolmans [Thu, 30 Jan 2020 14:47:49 +0000 (15:47 +0100)]
- Add changelog entry for memory leak fix
Ralph Dolmans [Thu, 30 Jan 2020 14:45:54 +0000 (15:45 +0100)]
- Fix memory leak in do_auth_zone_transfer on success
W.C.A. Wijngaards [Thu, 30 Jan 2020 14:13:25 +0000 (15:13 +0100)]
dnstap io, add reconnect test.
Ralph Dolmans [Thu, 30 Jan 2020 13:58:25 +0000 (14:58 +0100)]
Merge branch 'master' of github.com:NLnetLabs/unbound
W.C.A. Wijngaards [Thu, 30 Jan 2020 13:57:03 +0000 (14:57 +0100)]
dnstap io, test threads in unit test.
Ralph Dolmans [Thu, 30 Jan 2020 13:56:48 +0000 (14:56 +0100)]
- Fix small memory leak in error condition remote.c
- Fix double free in error condition view.c
Ralph Dolmans [Thu, 30 Jan 2020 13:46:39 +0000 (14:46 +0100)]
- Fix RPZ locking issues on error conditions
Ralph Dolmans [Thu, 30 Jan 2020 13:25:45 +0000 (14:25 +0100)]
- Revert addition of cscope.out to project .gitignore, should be in
global ignore list
W.C.A. Wijngaards [Thu, 30 Jan 2020 13:20:31 +0000 (14:20 +0100)]
Merge branch 'master' into framestreams
W.C.A. Wijngaards [Thu, 30 Jan 2020 13:20:08 +0000 (14:20 +0100)]
- updated .gitignore for added contrib file.
W.C.A. Wijngaards [Thu, 30 Jan 2020 13:14:29 +0000 (14:14 +0100)]
Merge branch 'master' into framestreams
W.C.A. Wijngaards [Thu, 30 Jan 2020 13:11:41 +0000 (14:11 +0100)]
Changelog note for PR#151.
- 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.
Wouter Wijngaards [Thu, 30 Jan 2020 13:09:29 +0000 (14:09 +0100)]
Merge pull request #151 from Maryse47/systemd_fix
Fixes for systemd units
Ralph Dolmans [Thu, 30 Jan 2020 13:05:56 +0000 (14:05 +0100)]
- Fix RPZ stats RPZ_NO_OVERRIDE_ACTION check
W.C.A. Wijngaards [Thu, 30 Jan 2020 12:39:31 +0000 (13:39 +0100)]
fix dnstap io for lock checks, log identity (numworkers+1), and add locks
around protected area modification in the message queue.
W.C.A. Wijngaards [Thu, 30 Jan 2020 12:39:13 +0000 (13:39 +0100)]
fix ascync test compile with lock checks.
W.C.A. Wijngaards [Thu, 30 Jan 2020 12:10:29 +0000 (13:10 +0100)]
dnstap socket tool better help text.
W.C.A. Wijngaards [Thu, 30 Jan 2020 12:06:52 +0000 (13:06 +0100)]
Merge branch 'master' into framestreams
W.C.A. Wijngaards [Thu, 30 Jan 2020 12:05:35 +0000 (13:05 +0100)]
- Update contrib/fastrpz.patch for clean diff with current code.
W.C.A. Wijngaards [Thu, 30 Jan 2020 08:08:19 +0000 (09:08 +0100)]
- Fix subnet tests for disabled DSA algorithm by default.
W.C.A. Wijngaards [Wed, 29 Jan 2020 15:36:46 +0000 (16:36 +0100)]
Merge branch 'master' into framestreams
Ralph Dolmans [Wed, 29 Jan 2020 15:32:03 +0000 (16:32 +0100)]
- Fix misplaced parentheses from PR#156
W.C.A. Wijngaards [Wed, 29 Jan 2020 15:31:33 +0000 (16:31 +0100)]
dnstap io, move setup with nothreads into its own routine.
W.C.A. Wijngaards [Wed, 29 Jan 2020 15:22:32 +0000 (16:22 +0100)]
dnstap io, fix compile warning when compiled with threading enabled.
W.C.A. Wijngaards [Wed, 29 Jan 2020 15:10:16 +0000 (16:10 +0100)]
Merge branch 'master' into framestreams
Ralph Dolmans [Wed, 29 Jan 2020 14:46:05 +0000 (15:46 +0100)]
- Add PR#156 merge to changelog (Added unbound-control view_local_datas_remove
command)
Ralph Dolmans [Wed, 29 Jan 2020 14:44:39 +0000 (15:44 +0100)]
Merge pull request #156 from n3bul4/master
Added unbound-control view_local_datas_remove command
Alexander Berkes [Wed, 29 Jan 2020 14:32:55 +0000 (15:32 +0100)]
Added view_local_datas_remove description to documentation
Ralph Dolmans [Wed, 29 Jan 2020 14:16:44 +0000 (15:16 +0100)]
- Add extra dnamelen checks to ipdnametoaddr and netblockdnametoaddr
Ralph Dolmans [Wed, 29 Jan 2020 11:07:13 +0000 (12:07 +0100)]
- Use consistent dname buffer sizes for RPZ
W.C.A. Wijngaards [Wed, 29 Jan 2020 10:56:29 +0000 (11:56 +0100)]
- Fix #157: undefined reference to `htobe64'.
Ralph Dolmans [Wed, 29 Jan 2020 10:30:22 +0000 (11:30 +0100)]
- Make dname_has_label's dnamelen check work with 0 length
Ralph Dolmans [Wed, 29 Jan 2020 09:57:29 +0000 (10:57 +0100)]
- Fix RPZ's get_tld_label maxdnamelen check
Alexander Berkes [Wed, 29 Jan 2020 01:28:00 +0000 (02:28 +0100)]
Added unbound-control view_local_datas_remove command
Maryse47 [Tue, 28 Jan 2020 17:47:21 +0000 (18:47 +0100)]
unbound.service.in: don't write pidfile at start
Pidfiles aren't needed while running unbound through systemd.
The PID of the unbound daemon can still be obtained with:
'systemctl show --property MainPID --value unbound'.
While disabling pidfiles we can also drop CAP_CHOWN and writable
/run directory.
Maryse47 [Tue, 28 Jan 2020 17:42:41 +0000 (18:42 +0100)]
unbound.service.in: drop CAP_IPC_LOCK
CAP_IPC_LOCK controls whether a process can lock pages into physical
memory (for instance to prevent passwords or private keys from
being swapped to disk), e.g. mmap() with the MAP_LOCKED flag or
shmctl() with the SHM_LOCK command, neither of which seem to be
used by unbound.
Ralph Dolmans [Tue, 28 Jan 2020 17:35:04 +0000 (18:35 +0100)]
- Address review feedback
W.C.A. Wijngaards [Tue, 28 Jan 2020 14:51:39 +0000 (15:51 +0100)]
dnstap io, without threads, logs from the main event loop.
W.C.A. Wijngaards [Tue, 28 Jan 2020 14:09:21 +0000 (15:09 +0100)]
dnstap io, fix exit when compiled without threads.
W.C.A. Wijngaards [Tue, 28 Jan 2020 13:39:26 +0000 (14:39 +0100)]
Merge branch 'master' into framestreams
W.C.A. Wijngaards [Tue, 28 Jan 2020 13:32:06 +0000 (14:32 +0100)]
- Fix to silence the tls handshake errors for broken pipe and reset
by peer, unless verbosity is set to 2 or higher.
W.C.A. Wijngaards [Tue, 28 Jan 2020 13:25:43 +0000 (14:25 +0100)]
Merge branch 'master' into framestreams
W.C.A. Wijngaards [Tue, 28 Jan 2020 13:24:14 +0000 (14:24 +0100)]
dnstap io, windows portability improvements.
Ralph Dolmans [Tue, 28 Jan 2020 12:41:26 +0000 (13:41 +0100)]
- Add PR#147 merge to changelog
Ralph Dolmans [Tue, 28 Jan 2020 12:39:18 +0000 (13:39 +0100)]
Merge pull request #147 from mnach/minor-rfc-comment
minor #1344 change rfc reference for reserved top level dns names
W.C.A. Wijngaards [Tue, 28 Jan 2020 11:48:36 +0000 (12:48 +0100)]
dnstap io, fix memory leak if dnstap queue full.
W.C.A. Wijngaards [Tue, 28 Jan 2020 11:46:33 +0000 (12:46 +0100)]
Merge branch 'master' into framestreams
W.C.A. Wijngaards [Tue, 28 Jan 2020 11:46:08 +0000 (12:46 +0100)]
dnstap io, fix for msg queue cleanup and make test.
W.C.A. Wijngaards [Tue, 28 Jan 2020 11:25:37 +0000 (12:25 +0100)]
- iana portlist updated.
W.C.A. Wijngaards [Tue, 28 Jan 2020 11:21:05 +0000 (12:21 +0100)]
merge master into framestreams, autoconf again.
W.C.A. Wijngaards [Tue, 28 Jan 2020 11:20:09 +0000 (12:20 +0100)]
Merge branch 'master' into framestreams
Maryse47 [Mon, 27 Jan 2020 17:31:10 +0000 (18:31 +0100)]
unbound.service.in: allow CAP_CHOWN
CAP_CHOWN is needed for changing onwership of pidfile before
dropping privileges and truncate pidfile on exit.
Mikhail Nacharov [Tue, 21 Jan 2020 12:13:50 +0000 (17:13 +0500)]
minor #1344 change rfc reference for reserved top level dns names
Ralph Dolmans [Mon, 27 Jan 2020 15:06:06 +0000 (16:06 +0100)]
- Add changelog entry for PR#148.
Ralph Dolmans [Mon, 27 Jan 2020 15:04:00 +0000 (16:04 +0100)]
Merge pull request #148 from pettai/morestats
Add some TLS stats to unbound_munin_
Ralph Dolmans [Mon, 27 Jan 2020 14:50:12 +0000 (15:50 +0100)]
- Add changelog entry for RP#154
- autoconf after PR#154
Ralph Dolmans [Mon, 27 Jan 2020 14:44:32 +0000 (15:44 +0100)]
Merge pull request #154 from edmonds/edmonds/libbsd-support
Allow use of libbsd functions with configure option --with-libbsd
Ralph Dolmans [Mon, 27 Jan 2020 14:37:33 +0000 (15:37 +0100)]
Merge branch 'master' into edmonds/libbsd-support
Maryse47 [Mon, 27 Jan 2020 12:46:31 +0000 (13:46 +0100)]
unbound.service.in: add StateDirectory
State directory will be created under /var/lib/unbound and will be
useful for writing various files managed at runtime like trust
anchors updates there instead of in ConfigureDirectory which could
be made read-only next. For this chroot needs to be disabled.
Maryse47 [Fri, 24 Jan 2020 23:48:25 +0000 (00:48 +0100)]
Move unbound_nochroot.service to unbound_portable.service
The real purpose of this service is to make it work with
https://systemd.io/PORTABLE_SERVICES/ which are incompatible with
chroot workarounds from original unbound.service.
The service content is identical to unbound.service with exception
for chroot related rules which were modified as needed.
Maryse47 [Fri, 24 Jan 2020 12:41:06 +0000 (13:41 +0100)]
unbound.service.in: add RuntimeDirectory and ConfigurationDirectory
Adding 'RuntimeDirectory' is needed when pidfile path is set to
subdirectory under /run.
Adding ConfigurationDirectory may help in some non-standard setups.
Also add more descriptions about used rules to avoid user confusion
about they meaning and purpose.
W.C.A. Wijngaards [Mon, 27 Jan 2020 08:40:18 +0000 (09:40 +0100)]
- Fix #153: Disable validation for DSA algorithms. RFC 8624
compliance.
W.C.A. Wijngaards [Mon, 27 Jan 2020 08:31:07 +0000 (09:31 +0100)]
Changelog note for PR#155.
- Merge PR#155 from Rober Edmonds: contrib/libunbound.pc.in: Fixes
to Libs/Requires for crypto library dependencies.
W.C.A. Wijngaards [Mon, 27 Jan 2020 08:29:18 +0000 (09:29 +0100)]
Merge branch 'master' of github.com:NLnetLabs/unbound
Wouter Wijngaards [Mon, 27 Jan 2020 08:28:53 +0000 (09:28 +0100)]
Merge pull request #155 from edmonds/edmonds/pkg-config/libs-fixes
contrib/libunbound.pc.in: Fixes to Libs/Requires for crypto library dependencies