]>
git.ipfire.org Git - thirdparty/unbound.git/log
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
Robert Edmonds [Mon, 27 Jan 2020 03:23:53 +0000 (22:23 -0500)]
contrib/libunbound.pc.in: Embed the correct crypto dependencies
This commit removes the hardcoded dependency in the libunbound
pkg-config .pc file on the libcrypto and libssl modules and instead
populates the .pc file based on which crypto library was selected at
configure time.
Note that the .pc file specifies pkg-config module names for the
"Requires" line and this can vary from the library filename (e.g. "nss"
is the pkg-config module name vs. "nss3" being the library name).
Robert Edmonds [Mon, 27 Jan 2020 03:01:38 +0000 (22:01 -0500)]
contrib/libunbound.pc.in: Only specify -lunbound for Libs
According to the pkg-config manpage, the "Libs" line in a .pc file
should give the link flags "specific to your package", and specifically
says not to include link flags for dependencies:
Libs: This line should give the link flags specific to your
package. Don't add any flags for required packages;
pkg-config will add those automatically.
Steven Chamberlain [Thu, 16 Feb 2017 12:37:41 +0000 (12:37 +0000)]
Allow use of libbsd functions with configure option --with-libbsd
Add a new configure option `--with-libbsd', which allows to use libbsd's
portable implementations of:
strlcpy strlcat arc4random arc4random_uniform reallocarray
instead of the embedded code copies in contrib/, which will be
difficult to maintain in the long term.
Also patch util/random.c so that, when building with libbsd and without
OpenSSL, arc4random can still be used as the PRNG. Otherwise, building
with libnettle would need a kernel-specific getentropy implementation,
and libbsd does not export one.
[edmonds@debian.org: Imported patch description from BTS, refreshed
patch against Unbound 1.9.6.]
W.C.A. Wijngaards [Thu, 23 Jan 2020 15:51:57 +0000 (16:51 +0100)]
dnstap io, nicer layout for wouldblock calls.
W.C.A. Wijngaards [Thu, 23 Jan 2020 15:49:44 +0000 (16:49 +0100)]
dnstap io, fix event reference in winevent wouldblock call.
W.C.A. Wijngaards [Thu, 23 Jan 2020 15:24:54 +0000 (16:24 +0100)]
Merge branch 'master' into framestreams
W.C.A. Wijngaards [Thu, 23 Jan 2020 15:16:52 +0000 (16:16 +0100)]
Changelog and contrib/README note for PR#150.
- 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.
Wouter Wijngaards [Thu, 23 Jan 2020 15:14:17 +0000 (16:14 +0100)]
Merge pull request #150 from Frzk/systemd_unit_without_chroot
Systemd unit without chroot
W.C.A. Wijngaards [Thu, 23 Jan 2020 14:56:12 +0000 (15:56 +0100)]
dnstap io, remove --with-libfstrm, it is not required to build dnstap
support. protobuf-c is still used for handling the dnstap encoding.
François KUBLER [Thu, 23 Jan 2020 14:51:07 +0000 (15:51 +0100)]
Patch configure.ac file to take the new contrib/unbound_nochroot.service unit file in consideration.
All props to Wouter Wijngaards for this work.
W.C.A. Wijngaards [Thu, 23 Jan 2020 14:49:36 +0000 (15:49 +0100)]
dnstap io, remove libfstrm calls from dnstap.c.
François KUBLER [Thu, 23 Jan 2020 14:46:53 +0000 (15:46 +0100)]
Added a new unit file to run unbound with systemd and without chroot.
See https://github.com/NLnetLabs/unbound/pull/149
W.C.A. Wijngaards [Thu, 23 Jan 2020 14:39:27 +0000 (15:39 +0100)]
dnstap io, failure to add event closes and attempts to reopen the output.
W.C.A. Wijngaards [Thu, 23 Jan 2020 14:17:43 +0000 (15:17 +0100)]
in stop flush use timer_del to remove timer.
W.C.A. Wijngaards [Thu, 23 Jan 2020 14:11:08 +0000 (15:11 +0100)]
dnstap io, reconnect attempts with exponential backoff to once per second.
W.C.A. Wijngaards [Thu, 23 Jan 2020 12:38:10 +0000 (13:38 +0100)]
dnstap io, fixup error exit of event add routines.
W.C.A. Wijngaards [Thu, 23 Jan 2020 12:27:21 +0000 (13:27 +0100)]
dnstap io, sleeps thread when there is no traffic.
W.C.A. Wijngaards [Thu, 23 Jan 2020 10:51:10 +0000 (11:51 +0100)]
dnstap io, make sure to free current message when stream closes.
W.C.A. Wijngaards [Thu, 23 Jan 2020 10:44:32 +0000 (11:44 +0100)]
loop in output callback for performance.
W.C.A. Wijngaards [Thu, 23 Jan 2020 10:16:41 +0000 (11:16 +0100)]
check close neater also with a write at the same time.
W.C.A. Wijngaards [Thu, 23 Jan 2020 10:07:30 +0000 (11:07 +0100)]
dnstap io: check for close of channel by the other side.
W.C.A. Wijngaards [Thu, 23 Jan 2020 09:34:38 +0000 (10:34 +0100)]
dtio_find_msg loop roundrobin instead of first queue only, with
state in the dtio struct for loop iterator.
W.C.A. Wijngaards [Thu, 23 Jan 2020 08:55:15 +0000 (09:55 +0100)]
dnstap io fixup socket creation, stop flush dtio pointer, connect reports.
frpet [Thu, 23 Jan 2020 07:23:16 +0000 (08:23 +0100)]
Update unbound_munin_
Add TLS (DoT) counters
W.C.A. Wijngaards [Wed, 22 Jan 2020 16:41:34 +0000 (17:41 +0100)]
dnstap io output performs nonblocking connect.
W.C.A. Wijngaards [Wed, 22 Jan 2020 14:26:04 +0000 (15:26 +0100)]
output event del before free.
W.C.A. Wijngaards [Wed, 22 Jan 2020 14:20:48 +0000 (15:20 +0100)]
write data and stop flush for dnstap io.
W.C.A. Wijngaards [Wed, 22 Jan 2020 11:05:52 +0000 (12:05 +0100)]
remove fatal_exit from runtime reopen routines.
W.C.A. Wijngaards [Wed, 22 Jan 2020 10:57:15 +0000 (11:57 +0100)]
improve fstrm routine documentation.
W.C.A. Wijngaards [Wed, 22 Jan 2020 10:44:11 +0000 (11:44 +0100)]
fstrm routines for start and stop, fstrm_create_control_frame_start and
fstrm_create_control_frame_stop, suitable for reuse, together with fstrm
protocol defines.
W.C.A. Wijngaards [Tue, 21 Jan 2020 16:15:37 +0000 (17:15 +0100)]
Remove editor file that was added by mistake.
W.C.A. Wijngaards [Tue, 21 Jan 2020 16:14:47 +0000 (17:14 +0100)]
iothread find msg.
W.C.A. Wijngaards [Tue, 21 Jan 2020 16:01:25 +0000 (17:01 +0100)]
iothread work.
W.C.A. Wijngaards [Tue, 21 Jan 2020 13:50:37 +0000 (14:50 +0100)]
the framestream queue.
W.C.A. Wijngaards [Tue, 21 Jan 2020 13:02:45 +0000 (14:02 +0100)]
dnstap unit test.
W.C.A. Wijngaards [Tue, 21 Jan 2020 09:14:30 +0000 (10:14 +0100)]
dnstap test program prints messages and timestamps in long format.
W.C.A. Wijngaards [Tue, 21 Jan 2020 08:56:28 +0000 (09:56 +0100)]
dnstap test program prints identity and version.
W.C.A. Wijngaards [Mon, 20 Jan 2020 16:23:01 +0000 (17:23 +0100)]
dnstap test progam can log on one line type,ip,qname,qtype,qclass
W.C.A. Wijngaards [Mon, 20 Jan 2020 14:45:31 +0000 (15:45 +0100)]
unbound-dnstap-socket debug test program.
W.C.A. Wijngaards [Mon, 20 Jan 2020 11:12:27 +0000 (12:12 +0100)]
iolist item added.
W.C.A. Wijngaards [Mon, 20 Jan 2020 10:44:45 +0000 (11:44 +0100)]
Writeup of FrameStreams protocol.
W.C.A. Wijngaards [Mon, 20 Jan 2020 10:04:06 +0000 (11:04 +0100)]
git branch to track feature for framestreams. The aim is to make
reconnecting work, TLS support and not depend on the libfstrm library,
but keep compatibility with the Frame Streams protocol spec for
existing DNSTAP tools.
Ralph Dolmans [Thu, 16 Jan 2020 16:52:09 +0000 (17:52 +0100)]
- extend rpz_respip.rpl with ipv6 without zz label case
Ralph Dolmans [Thu, 16 Jan 2020 16:50:44 +0000 (17:50 +0100)]
- improve dname_has_label(), add unit test
W.C.A. Wijngaards [Thu, 16 Jan 2020 16:12:32 +0000 (17:12 +0100)]
Stream reuse branch, for TCP and TLS stream reuse.
This is for upstream pipes and using them again for the next query.
Signposted code for reuse_tcp structure in outside_network.h
Ralph Dolmans [Thu, 16 Jan 2020 11:39:23 +0000 (12:39 +0100)]
- Add cname target wc synth. to testbound test
Ralph Dolmans [Thu, 16 Jan 2020 00:41:25 +0000 (01:41 +0100)]
Revert travis verbosity
Ralph Dolmans [Thu, 16 Jan 2020 00:36:07 +0000 (01:36 +0100)]
- Fix the dname_has_label fix
Ralph Dolmans [Wed, 15 Jan 2020 23:51:42 +0000 (00:51 +0100)]
attemp to get more info out of travis
Ralph Dolmans [Wed, 15 Jan 2020 23:18:00 +0000 (00:18 +0100)]
try to understand travis
Ralph Dolmans [Wed, 15 Jan 2020 22:44:10 +0000 (23:44 +0100)]
Merge branch 'master' of github.com:NLnetLabs/unbound into rpz
Ralph Dolmans [Wed, 15 Jan 2020 22:19:24 +0000 (23:19 +0100)]
- Fix faulty assert
Ralph Dolmans [Wed, 15 Jan 2020 22:14:24 +0000 (23:14 +0100)]
- Fix doxygen issue
Ralph Dolmans [Wed, 15 Jan 2020 22:03:44 +0000 (23:03 +0100)]
- fix compiler warnings
Ralph Dolmans [Wed, 15 Jan 2020 21:45:29 +0000 (22:45 +0100)]
- processed RPZ review feedback
- fix potential locking issue
- add extra out of bound checks
Ralph Dolmans [Wed, 15 Jan 2020 21:42:18 +0000 (22:42 +0100)]
- Implement RPZ CNAME target wildcard synthesis
W.C.A. Wijngaards [Tue, 14 Jan 2020 15:03:29 +0000 (16:03 +0100)]
- Fix auth zone support for NSEC3 records without salt.
W.C.A. Wijngaards [Tue, 14 Jan 2020 14:48:27 +0000 (15:48 +0100)]
- Fix for memory leak when edns subnet config options are read when
compiled without edns subnet support.
W.C.A. Wijngaards [Tue, 14 Jan 2020 14:18:52 +0000 (15:18 +0100)]
- Fix crash after reload where a stats lookup could reference old key
cache and neg cache structures.
W.C.A. Wijngaards [Tue, 14 Jan 2020 13:40:44 +0000 (14:40 +0100)]
- 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.
W.C.A. Wijngaards [Fri, 10 Jan 2020 10:28:01 +0000 (11:28 +0100)]
- Fix unreachable code in ssl set options code.
W.C.A. Wijngaards [Fri, 10 Jan 2020 09:04:50 +0000 (10:04 +0100)]
- Fix the relationship between serve-expired and prefetch options,
patch from Saksham Manchanda from Secure64.
Ralph Dolmans [Wed, 8 Jan 2020 15:36:18 +0000 (16:36 +0100)]
- Add changelog entry for fix #138 (stop binding pidfile inside chroot dir in
systemd service file).
Ralph Dolmans [Wed, 8 Jan 2020 15:23:23 +0000 (16:23 +0100)]
Merge pull request #142 from Maryse47/patch-1
unbound.service.in: stop binding pidfile inside chroot dir
Maryse47 [Wed, 8 Jan 2020 15:21:22 +0000 (15:21 +0000)]
unbound.service.in: stop binding pidfile inside chroot dir
Apparently pidfile isn't used inside chroot and binding it may cause some weird failures with older systemd.
Fixes https://github.com/NLnetLabs/unbound/issues/138
W.C.A. Wijngaards [Wed, 8 Jan 2020 11:58:07 +0000 (12:58 +0100)]
- And update for more spare space.
W.C.A. Wijngaards [Wed, 8 Jan 2020 10:55:42 +0000 (11:55 +0100)]
- Updated sldns_bget_token_par fix for also space for the zero
delimiter after the character.
W.C.A. Wijngaards [Wed, 8 Jan 2020 10:08:16 +0000 (11:08 +0100)]
- Fix out-of-bounds null-byte write in sldns_bget_token_par while
parsing type WKS, reported by Luis Merino from X41 D-Sec.
W.C.A. Wijngaards [Wed, 8 Jan 2020 08:23:46 +0000 (09:23 +0100)]
- Fix 'make test' to work for --disable-sha1 configure option.
George Thessalonikefs [Tue, 7 Jan 2020 13:19:15 +0000 (15:19 +0200)]
- Changes to compat/getentropy_solaris.c for,
ifdef stdint.h inclusion for older systems.
ifdef sha2.h inclusion for older systems.
George Thessalonikefs [Tue, 7 Jan 2020 13:06:14 +0000 (15:06 +0200)]
- 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.
W.C.A. Wijngaards [Mon, 6 Jan 2020 15:36:44 +0000 (16:36 +0100)]
- Fix #140: Document slave not downloading new zonefile upon update.
W.C.A. Wijngaards [Mon, 6 Jan 2020 15:18:46 +0000 (16:18 +0100)]
(Changelog note for #135).
- Merge #135 from Florian Obser: Use passed in neg and key cache
if non-NULL.
Wouter Wijngaards [Mon, 6 Jan 2020 15:17:16 +0000 (16:17 +0100)]
Merge pull request #135 from fobser/pass-in-neg-key-cache
Use passed in neg and key cache if non-NULL.
Ralph Dolmans [Mon, 23 Dec 2019 16:35:11 +0000 (17:35 +0100)]
- Fix dname_has_label() code review changes
Ralph Dolmans [Mon, 23 Dec 2019 15:02:43 +0000 (16:02 +0100)]
Proccess more review feedback
Florian Obser [Thu, 19 Dec 2019 12:20:34 +0000 (13:20 +0100)]
Use passed in neg and key cache if non-NULL.
With this the neg and key caches can be shared between multiple
libunbound contexts.
The msg and rrset caches already allowed this since context_finalize()
did not touch those if they are already available and have the correct
size.
Care must be taken to properly unhook the caches from the validator
environment before calling ub_ctx_delete() otherwise one risks double
free or use after free bugs.
George Thessalonikefs [Mon, 16 Dec 2019 15:03:31 +0000 (16:03 +0100)]
- Update mailing list URL.
W.C.A. Wijngaards [Thu, 12 Dec 2019 14:52:21 +0000 (15:52 +0100)]
Fixup 1.9.7 version commit in configure.ac.
Ralph Dolmans [Thu, 12 Dec 2019 12:05:09 +0000 (13:05 +0100)]
- Fix typo to let serve-expired-ttl work with ub_ctx_set_option(), by
Florian Obser
Ralph Dolmans [Thu, 12 Dec 2019 11:59:28 +0000 (12:59 +0100)]
Merge pull request #129 from fobser/serve-expired-ttl-typo
Fix typo to let serve-expired-ttl work with ub_ctx_set_option().
Ralph Dolmans [Thu, 12 Dec 2019 11:48:29 +0000 (12:48 +0100)]
Make master 1.9.7 in development.
Florian Obser [Tue, 10 Dec 2019 17:03:21 +0000 (18:03 +0100)]
Fix typo to let serve-expired-ttl work with ub_ctx_set_option().
W.C.A. Wijngaards [Tue, 10 Dec 2019 12:09:50 +0000 (13:09 +0100)]
- Fix to make auth zone IXFR to fallback to AXFR if a single
response RR is received over TCP with the SOA in it.
W.C.A. Wijngaards [Fri, 6 Dec 2019 10:31:34 +0000 (11:31 +0100)]
- Fix Makefile.in for ipset module compile, from Adi Prasaja.
W.C.A. Wijngaards [Fri, 6 Dec 2019 06:59:55 +0000 (07:59 +0100)]
- Fix ipsecmod compile.
W.C.A. Wijngaards [Thu, 5 Dec 2019 10:21:46 +0000 (11:21 +0100)]
- tag for 1.9.6rc1.
W.C.A. Wijngaards [Thu, 5 Dec 2019 08:10:49 +0000 (09:10 +0100)]
- unbound-fuzzers.tar.bz2: three programs for fuzzing, that are 1:1
replacements for unbound-fuzzme.c that gets created after applying
the contrib/unbound-fuzzme.patch. They are contributed by
Eric Sesterhenn from X41 D-Sec.
W.C.A. Wijngaards [Wed, 4 Dec 2019 15:23:52 +0000 (16:23 +0100)]
- Fix Make Test Fails when Configured With --enable-alloc-nonregional,
reported by X41 D-Sec.
W.C.A. Wijngaards [Wed, 4 Dec 2019 10:41:13 +0000 (11:41 +0100)]
- update contrib/fastrpz.patch to apply more cleanly.
W.C.A. Wijngaards [Wed, 4 Dec 2019 10:37:24 +0000 (11:37 +0100)]
- Fix testbound for alloccheck runs, memory purify and lock checks.
W.C.A. Wijngaards [Wed, 4 Dec 2019 08:44:31 +0000 (09:44 +0100)]
- Fix lock type for memory purify log lock deletion.