]>
git.ipfire.org Git - thirdparty/knot-dns.git/log
Daniel Salzman [Fri, 19 Jan 2018 14:31:47 +0000 (15:31 +0100)]
refresh: fix warning message if IXFR zone_update_commit failed
Daniel Salzman [Thu, 18 Jan 2018 20:13:58 +0000 (21:13 +0100)]
configure: tiny cleanup
Daniel Salzman [Thu, 18 Jan 2018 19:58:01 +0000 (20:58 +0100)]
configure: remove fallback to libatomic
Still there are some problems with clang on 32-bit systems, so the atomic
functionality is no longer required for such systems (statistics or mod-cookies
might work slightly wrong).
Daniel Salzman [Thu, 18 Jan 2018 19:17:16 +0000 (20:17 +0100)]
Merge branch 'tls_poll' into 'master'
kdig: polling on TLS connections
See merge request knot/knot-dns!875
Mark Karpilovskij [Thu, 18 Jan 2018 14:04:26 +0000 (15:04 +0100)]
kdig: fixed memory leak due to bogus TLS input
Mark Karpilovskij [Wed, 17 Jan 2018 12:11:16 +0000 (13:11 +0100)]
utils/common: added polling when receiving data over TLS
Daniel Salzman [Thu, 18 Jan 2018 09:05:37 +0000 (10:05 +0100)]
man/kdig: fix typo
Daniel Salzman [Wed, 17 Jan 2018 15:18:23 +0000 (16:18 +0100)]
Merge branch 'kdig-ednsopt' into 'master'
kdig: add support for +ednsopt
See merge request knot/knot-dns!873
Jan Vcelak [Sat, 13 Jan 2018 15:30:46 +0000 (16:30 +0100)]
kdig: document +ednsopt in manual page
Jan Vcelak [Sat, 13 Jan 2018 15:14:14 +0000 (16:14 +0100)]
kdig: re-align help output
Jan Vcelak [Sat, 13 Jan 2018 15:07:51 +0000 (16:07 +0100)]
kdig: add support for +ednsopt (custom EDNS options)
Jan Vcelak [Sat, 13 Jan 2018 15:06:57 +0000 (16:06 +0100)]
kdig: fix typo
Libor Peltan [Wed, 17 Jan 2018 13:29:21 +0000 (14:29 +0100)]
axfr: fix force_axfr for multi-master setup
Mark Karpilovskij [Fri, 5 Jan 2018 15:07:47 +0000 (16:07 +0100)]
dnssec: replaced obsolete shared/wire by contrib/wire_ctx
Mark Karpilovskij [Fri, 5 Jan 2018 13:17:33 +0000 (14:17 +0100)]
dnssec/shared: moved binary/wire operations to separate file
Daniel Salzman [Sun, 24 Dec 2017 12:57:29 +0000 (13:57 +0100)]
dnssec/shared: moved bignum write from wire.h to bignum.h
Daniel Salzman [Wed, 17 Jan 2018 09:56:54 +0000 (10:56 +0100)]
zscanner: add APL rdata overflow check (oss-fuzz, asan)
Mark Karpilovskij [Fri, 12 Jan 2018 12:00:50 +0000 (13:00 +0100)]
kdig: updated TLS doc
Daniel Salzman [Fri, 12 Jan 2018 12:22:35 +0000 (13:22 +0100)]
Merge branch 'onlinesign_convergence' into 'master'
mod onlinesign: using kdnssec_ctx and zone_keyset instead of just dnssec_key
See merge request knot/knot-dns!865
Libor Peltan [Fri, 15 Dec 2017 15:52:31 +0000 (16:52 +0100)]
mod onlinesign: using kdnssec_ctx and zone_keyset instead of just dnssec_key
Mark Karpilovskij [Thu, 11 Jan 2018 14:29:53 +0000 (15:29 +0100)]
kdig: remove redundant free() call
Daniel Salzman [Wed, 10 Jan 2018 20:49:29 +0000 (21:49 +0100)]
tests-fuzz: add check-compile target
Daniel Salzman [Mon, 8 Jan 2018 15:49:49 +0000 (16:49 +0100)]
dname: change int to size_t return type where reasonable
Daniel Salzman [Tue, 9 Jan 2018 16:00:16 +0000 (17:00 +0100)]
Merge branch 'editing-2-6' into 'master'
Doc Editing 2 6
See merge request knot/knot-dns!872
Lena (zansorgova) [Fri, 5 Jan 2018 15:16:10 +0000 (16:16 +0100)]
doc: Editing
Lena (zansorgova) [Fri, 5 Jan 2018 16:17:08 +0000 (17:17 +0100)]
doc: add admons style to the HTML theme
Daniel Salzman [Mon, 8 Jan 2018 14:29:15 +0000 (15:29 +0100)]
dnssec: temporary fix for static linking
Daniel Salzman [Mon, 8 Jan 2018 10:19:27 +0000 (11:19 +0100)]
doc: fix acl.key description
Daniel Salzman [Sun, 7 Jan 2018 20:43:49 +0000 (21:43 +0100)]
test: fix Siphash test on OpenBSD
Daniel Salzman [Sun, 7 Jan 2018 19:44:35 +0000 (20:44 +0100)]
docker: add 'make' dependency to Fedora Dockerfile
Daniel Salzman [Sun, 7 Jan 2018 19:32:10 +0000 (20:32 +0100)]
dnssec: remove explicit dependency on Nettle
Daniel Salzman [Fri, 5 Jan 2018 14:40:35 +0000 (15:40 +0100)]
zscanner: add explicit comment length init to prevent index overflow (oss-fuzz, ubsan)
The index overflow can happen during multiline record parsing.
Daniel Salzman [Fri, 5 Jan 2018 13:30:25 +0000 (14:30 +0100)]
zscanner: unify buffer index boundary checks
Daniel Salzman [Fri, 5 Jan 2018 12:25:05 +0000 (13:25 +0100)]
zscanner: move auxiliary variables to specific places
Daniel Salzman [Fri, 5 Jan 2018 12:12:47 +0000 (13:12 +0100)]
zscanner: fix uninitialized address buffer use upon EOF (oss-fuzz, msan)
Daniel Salzman [Thu, 4 Jan 2018 14:42:50 +0000 (15:42 +0100)]
zscanner: improve temporary address buffers use
Daniel Salzman [Thu, 4 Jan 2018 10:29:30 +0000 (11:29 +0100)]
zscanner: add missing library prefix to public symbols
Daniel Salzman [Wed, 3 Jan 2018 20:11:57 +0000 (21:11 +0100)]
khost: fix typo in the help
Thanks to Taylor Stearns!
close #562
Daniel Salzman [Wed, 3 Jan 2018 10:41:09 +0000 (11:41 +0100)]
doc: update copyright in the pregenerated man pages
Jonathan Foote [Wed, 3 Jan 2018 00:08:15 +0000 (00:08 +0000)]
tests-fuzz: remove _libfuzzer from fuzz binaries
Daniel Salzman [Mon, 1 Jan 2018 19:12:12 +0000 (20:12 +0100)]
mod-synthrecord: mute uninitialized warning
Daniel Salzman [Sun, 31 Dec 2017 20:01:10 +0000 (21:01 +0100)]
tests: add missing include
Daniel Salzman [Sun, 31 Dec 2017 19:36:58 +0000 (20:36 +0100)]
knotd: fix possible memory leaks (Coverity)
Daniel Salzman [Sun, 31 Dec 2017 19:16:04 +0000 (20:16 +0100)]
dname: include cleanup
Daniel Salzman [Sun, 31 Dec 2017 18:55:42 +0000 (19:55 +0100)]
dname: remove old separators
Daniel Salzman [Tue, 19 Dec 2017 16:18:24 +0000 (17:18 +0100)]
mod-rrl: remove seeding (obsoleted by Siphash), tiny refactoring
Daniel Salzman [Sat, 30 Dec 2017 10:18:03 +0000 (11:18 +0100)]
Merge branch 'jfoote/knot-dns-master'
Jonathan Foote [Sat, 30 Dec 2017 02:33:01 +0000 (21:33 -0500)]
pass flags through for oss-fuzz
Daniel Salzman [Fri, 29 Dec 2017 11:09:10 +0000 (12:09 +0100)]
Merge branch 'synthrecord_multi' into 'master'
Module synthrecord: allow multiple addresses in 'network' conf option
See merge request knot/knot-dns!861
Daniel Salzman [Wed, 27 Dec 2017 21:50:32 +0000 (22:50 +0100)]
mod-synthrecord: refactoring, optimization, missing checks
Libor Peltan [Fri, 1 Dec 2017 14:48:49 +0000 (15:48 +0100)]
mod-synthrecord: allow multiple addresses in 'network' config option
Libor Peltan [Thu, 28 Dec 2017 14:30:00 +0000 (15:30 +0100)]
dnssec: allow zsk-lifetime=0 (infinity)
Libor Peltan [Thu, 28 Dec 2017 12:18:19 +0000 (13:18 +0100)]
zone load: put re-sign into journal even for reload
Daniel Salzman [Wed, 27 Dec 2017 19:50:49 +0000 (20:50 +0100)]
configure: revert double newline, remove the 'make' hint
Daniel Salzman [Wed, 27 Dec 2017 19:18:52 +0000 (20:18 +0100)]
Merge branch 'jfoote/knot-dns-master'
Jonathan Foote [Sun, 24 Dec 2017 14:27:41 +0000 (09:27 -0500)]
Initial integration with google/oss-fuzz
Implements initial support for continuous fuzzing with [google/oss-fuzz](http://github.com/google/oss-fuzz). Changes:
- Removes `--with-santize-coverage` config flag: the clang6 `-fsanitize=fuzzer-no-link` replaces this
- Adds `--with-oss-fuzz` config flag: links `-lFuzzingEngine` into fuzz targets
- Adds logic to `make check` that runs the fuzz targets with a single seed input to ensure they exit successfully
Daniel Salzman [Fri, 22 Dec 2017 13:49:50 +0000 (14:49 +0100)]
Merge branch 'no_resign_nsec3' into 'master'
No resign nsec3
See merge request knot/knot-dns!866
Libor Peltan [Fri, 22 Dec 2017 12:46:16 +0000 (13:46 +0100)]
tests: fixed no_resign nsec3 zone by omitting salt
Daniel Salzman [Fri, 22 Dec 2017 12:28:27 +0000 (13:28 +0100)]
Merge branch 'keymgr_csk' into 'master'
keymgr: handling CSK
See merge request knot/knot-dns!863
Libor Peltan [Fri, 8 Dec 2017 14:20:31 +0000 (15:20 +0100)]
keymgr: handling CSK
Libor Peltan [Wed, 20 Dec 2017 11:54:39 +0000 (12:54 +0100)]
Revert "tests: disable dnssec/no_resign for NSEC3"
This reverts commit
31c75de28166210211456151a66ee975f6fae33a .
Mark Karpilovskij [Thu, 21 Dec 2017 13:42:55 +0000 (14:42 +0100)]
kdig: simplified query creation
Daniel Salzman [Thu, 21 Dec 2017 13:06:59 +0000 (14:06 +0100)]
Merge branch 'doxygen_improvements' into 'master'
Doxygen improvements
Closes #544
See merge request knot/knot-dns!841
Filip Široký [Mon, 2 Oct 2017 15:33:13 +0000 (17:33 +0200)]
doc: enhance doxygen documentation
Mark Karpilovskij [Thu, 21 Dec 2017 08:12:20 +0000 (09:12 +0100)]
tests-extra: fixed test for the cookies module
Libor Peltan [Wed, 20 Dec 2017 15:32:57 +0000 (16:32 +0100)]
dnssec: fix binary comparison if the size is zero
Daniel Salzman [Wed, 20 Dec 2017 11:43:29 +0000 (12:43 +0100)]
tests-extra/cookies: add zone_wait to fix valgrind delays
Daniel Salzman [Tue, 19 Dec 2017 14:56:01 +0000 (15:56 +0100)]
Merge branch 'dns-cookies' into 'master'
DNS cookies
Closes #505
See merge request knot/knot-dns!851
Mark Karpilovskij [Fri, 15 Dec 2017 11:47:15 +0000 (12:47 +0100)]
cookies: cooperation with the RRL module
Mark Karpilovskij [Tue, 21 Nov 2017 15:13:55 +0000 (16:13 +0100)]
cookies: python test for the cookies module
Mark Karpilovskij [Fri, 3 Nov 2017 15:04:25 +0000 (16:04 +0100)]
kdig: +cookie option
Mark Karpilovskij [Mon, 11 Sep 2017 12:02:35 +0000 (14:02 +0200)]
modules: add new DNS Cookies module
Daniel Salzman [Fri, 15 Dec 2017 08:14:43 +0000 (09:14 +0100)]
libknot: update libknot.h
Daniel Salzman [Thu, 14 Dec 2017 20:00:11 +0000 (21:00 +0100)]
tests/cookies: add missing include
Daniel Salzman [Thu, 7 Dec 2017 14:01:07 +0000 (15:01 +0100)]
cookies: simplify interface
Daniel Salzman [Tue, 12 Dec 2017 15:25:14 +0000 (16:25 +0100)]
siphash: fix endianity, add more test vectors
Mark Karpilovskij [Tue, 12 Dec 2017 15:47:44 +0000 (16:47 +0100)]
siphash: fix multiple update processing
Daniel Salzman [Tue, 12 Dec 2017 20:35:02 +0000 (21:35 +0100)]
Merge branch 'edmonds/linux-capability-rewrite' into 'master'
Linux capabilities rewrite
See merge request knot/knot-dns!864
Daniel Salzman [Tue, 12 Dec 2017 14:52:01 +0000 (15:52 +0100)]
libknot: remove unused binary operations
Robert Edmonds [Wed, 6 Dec 2017 18:16:09 +0000 (13:16 -0500)]
udp-handler: Remove capability dropping code
Capabilities should already have been dropped prior to threads being
spawned.
Robert Edmonds [Wed, 6 Dec 2017 18:14:37 +0000 (13:14 -0500)]
tcp-handler: Remove #include <cap-ng.h>
This commit removes the conditional import of <cap-ng.h> in tcp-handler,
because there are no dependencies on the libcap-ng API in tcp-handler.c.
Robert Edmonds [Wed, 6 Dec 2017 18:13:27 +0000 (13:13 -0500)]
dthreads: Remove capability dropping code
Capabilities should have already been dropped prior to threads being
spawned.
Robert Edmonds [Wed, 6 Dec 2017 18:01:07 +0000 (13:01 -0500)]
knotd: Simplify POSIX capabilities setup to drop all capabilities
This commit renames knotd's setup_capabilities() to drop_capabilities(),
and makes this function simply drop all capabilities.
The call to this function from main() was previously very early, prior
to sockets being bound. Since we most likely need to retain some
capabilities in order to bind to privileged sockets, this commit moves
the dropping of capabilities to be just after the dropping of
privileges, since we also need capabilities in order to change uid/gid.
Capabilities dropping is still performed prior to any daemonization or
spawning of threads, so the interaction of capabilities with threads and
child processes should be straight forward to analyze.
We also call drop_capabilities() prior to activating any global query
modules, so any threads spawned by those modules should see the same,
minimal set of privileges and capabilities that the main thread and
worker threads will see during runtime.
Robert Edmonds [Fri, 17 Nov 2017 20:20:07 +0000 (15:20 -0500)]
knotd: Make global query module activation occur later
This commit moves the call to conf_activate_modules() out of the
set_config() function and into main() so that global query modules are
activated after privilege dropping has occurred.
This makes the global query modules match the zone query modules a
little better. The zone query modules are activated later, after
privilege dropping has occurred.
This ensures that if a global query module launches its own threads at
startup, those threads are spawned from a main thread that has already
performed privilege dropping.
Libor Peltan [Fri, 8 Dec 2017 12:32:32 +0000 (13:32 +0100)]
doc: described key rollover schemes
Daniel Salzman [Wed, 6 Dec 2017 10:54:14 +0000 (11:54 +0100)]
log: fix inconsistent zone names in structured logs
fixes #560
Daniel Salzman [Tue, 5 Dec 2017 14:35:13 +0000 (15:35 +0100)]
Merge branch 'ttl_to_rrset'
Daniel Salzman [Mon, 4 Dec 2017 14:43:05 +0000 (15:43 +0100)]
knot: don't fail if TTL mismatch, unify TTL processing
Daniel Salzman [Wed, 29 Nov 2017 13:04:33 +0000 (14:04 +0100)]
libknot: rdataset cleanup
Daniel Salzman [Mon, 6 Nov 2017 15:44:44 +0000 (16:44 +0100)]
rdata: remove superfluous getters/setters
Daniel Salzman [Fri, 3 Nov 2017 14:37:27 +0000 (15:37 +0100)]
libknot/rdata: make it public structure
Daniel Salzman [Wed, 1 Nov 2017 19:46:17 +0000 (20:46 +0100)]
tests: adapt to rdata TTL to rrset migration
Daniel Salzman [Mon, 30 Oct 2017 14:59:32 +0000 (15:59 +0100)]
libknot: move TTL from rdata to rrset
Daniel Salzman [Tue, 5 Dec 2017 14:28:30 +0000 (15:28 +0100)]
zonedb: fix parameter name in the doc
Daniel Salzman [Mon, 4 Dec 2017 11:33:30 +0000 (12:33 +0100)]
tests/semchecks: remove unused constants
Daniel Salzman [Mon, 4 Dec 2017 09:12:54 +0000 (10:12 +0100)]
configure: require shared libraries for a shared module
Daniel Salzman [Sun, 3 Dec 2017 20:02:05 +0000 (21:02 +0100)]
tests/edns: fix possible NULL dereference (Coverity)
Daniel Salzman [Sun, 3 Dec 2017 19:54:10 +0000 (20:54 +0100)]
Check for packet reservation everywhere
Daniel Salzman [Sat, 2 Dec 2017 20:36:22 +0000 (21:36 +0100)]
pkt: tiny code cleanup
Daniel Salzman [Sat, 2 Dec 2017 19:23:14 +0000 (20:23 +0100)]
pkt: fix malformed outgoing transfer if big zone and TSIG