]>
git.ipfire.org Git - thirdparty/knot-dns.git/log
Libor Peltan [Tue, 9 Jun 2020 20:02:41 +0000 (22:02 +0200)]
xdp-gun: use safer alternative of popen because being root
Daniel Salzman [Fri, 10 Jul 2020 12:58:54 +0000 (14:58 +0200)]
libknot/eth.c: remove UTF-8 BOM
Libor Peltan [Wed, 8 Jul 2020 13:34:31 +0000 (15:34 +0200)]
Merge branch 'zone_master_try_logging' into 'master'
zone: improved logging when master is not usable
See merge request knot/knot-dns!1151
David Vašek [Wed, 8 Jul 2020 10:39:00 +0000 (12:39 +0200)]
zone: improved logging when master is not usable
If the preferred master address fails, emit warning immediately.
When trying the configured masters by the list later, warn about the preferred
master only if it has been tried again (i.e. on another of its addresses).
Daniel Salzman [Thu, 2 Jul 2020 10:51:06 +0000 (12:51 +0200)]
distro/deb: extend copyright with url-parser
Daniel Salzman [Thu, 2 Jul 2020 10:31:27 +0000 (12:31 +0200)]
Merge branch 'doh_kdig' into 'master'
DoH kdig
See merge request knot/knot-dns!1147
Daniel Salzman [Thu, 2 Jul 2020 08:30:57 +0000 (10:30 +0200)]
distro: add libnghttp2 for DoH in kdig
Jan Hak [Tue, 7 Jan 2020 13:24:21 +0000 (14:24 +0100)]
kdig: add documentation for DoH
Jan Hák [Wed, 30 Oct 2019 15:26:06 +0000 (16:26 +0100)]
kdig: add DoH support
Jan Hák [Wed, 1 Jul 2020 14:25:51 +0000 (16:25 +0200)]
contrib: import url-parser
Jan Hak [Thu, 28 Nov 2019 15:44:44 +0000 (16:44 +0100)]
contrib: add base64url encoder and decoder
Jan Hák [Tue, 29 Oct 2019 14:54:09 +0000 (15:54 +0100)]
doh: added HTTP library to configuration file (automake)
Daniel Salzman [Tue, 30 Jun 2020 12:23:16 +0000 (14:23 +0200)]
ajust: mute false-positive gcc warning 'argument to variable-length array may be too large'
Daniel Salzman [Thu, 18 Jun 2020 05:56:54 +0000 (07:56 +0200)]
configure: add '-Werror=attributes' to default CFLAGS
Absence of '__attribute__(cleanup)' would lead to memory leaks.
Jan Hák [Wed, 17 Jun 2020 12:01:32 +0000 (14:01 +0200)]
ctl: replace dynamic allocation with global buffers
In the case of many zones, control operations over all zones took lots of memory.
See merge request knot/knot-dns!1150
Daniel Salzman [Wed, 17 Jun 2020 12:01:32 +0000 (14:01 +0200)]
ctl: replace dynamic allocation with global buffers
In the case of many zones, control operations over all zones took lots of memory.
Libor Peltan [Tue, 9 Jun 2020 15:30:06 +0000 (17:30 +0200)]
dnssec: improve too general error codes and messages
Daniel Salzman [Fri, 5 Jun 2020 05:45:11 +0000 (07:45 +0200)]
Merge branch 'edmonds/kdig/edns-opttext' into 'master'
kdig: add +[no]opttext option
See merge request knot/knot-dns!1148
Robert Edmonds [Fri, 5 Jun 2020 02:11:32 +0000 (22:11 -0400)]
kdig: add +[no]opttext option
This commit adds a kdig flag +opttext that attempts to print unknown
EDNS options as text if all of the octets are printable characters. If
any octets are not printable, the whole option will be printed in
hexadecimal, as if the +opttext option were not specified.
Daniel Salzman [Wed, 3 Jun 2020 11:55:01 +0000 (13:55 +0200)]
Merge branch 'fix_roll_ttl_change' into 'master'
dnssec: bugfix: key rollovers timing according to real TTLs
See merge request knot/knot-dns!1146
Libor Peltan [Tue, 2 Jun 2020 16:02:10 +0000 (18:02 +0200)]
dnssec: bugfix: key rollovers timing according to real TTLs
It's necessary to save the DNSKEY TTL and zone maximal TTL
at the time of previous rollover step, so that the next
step corresponds with TTLs in resolvers' caches.
Daniel Salzman [Wed, 3 Jun 2020 07:29:40 +0000 (09:29 +0200)]
Merge branch 'conf_acl_remote' into 'master'
conf: allow configuring acl with a remote
Closes #669
See merge request knot/knot-dns!1144
Libor Peltan [Fri, 29 May 2020 17:24:59 +0000 (19:24 +0200)]
conf: allow configuring acl with a remote
David Vašek [Tue, 2 Jun 2020 12:20:05 +0000 (14:20 +0200)]
tests-extra: modules/rrl -- more robust testing on busy or frequency switching CPU's
Daniel Salzman [Tue, 2 Jun 2020 11:55:03 +0000 (13:55 +0200)]
Merge branch 'onlinesign_nxdomain' into 'master'
onlinesign: bugfix: dont promote NXDOMAIN to NOERROR if not signed
See merge request knot/knot-dns!1145
Libor Peltan [Tue, 2 Jun 2020 11:30:08 +0000 (13:30 +0200)]
onlinesign: bugfix: dont promote NXDOMAIN to NOERROR if not signed
Libor Peltan [Mon, 1 Jun 2020 20:29:37 +0000 (22:29 +0200)]
Merge branch 'tests_extra_updates' into 'master'
Tests extra updates
See merge request knot/knot-dns!1141
Daniel Salzman [Sun, 31 May 2020 14:53:35 +0000 (16:53 +0200)]
xdp-gun: improve stability, log temporary errors instead of immediate program exit
Daniel Salzman [Sun, 31 May 2020 14:33:04 +0000 (16:33 +0200)]
xdp-gun: fix Clang analyzer warning + tiny code cleanup
Daniel Salzman [Sun, 31 May 2020 13:49:08 +0000 (15:49 +0200)]
Merge branch 'rename_xdp_gun' into 'master'
rename xdp-gun to knot-xdp-gun
See merge request knot/knot-dns!1143
Daniel Salzman [Sun, 31 May 2020 07:38:50 +0000 (09:38 +0200)]
xdp-gun: rename to knot-xdp-gun
Daniel Salzman [Sun, 31 May 2020 08:27:42 +0000 (10:27 +0200)]
CI: enable XDP on build:debian:amd64 to fix libknot.symbols mismatch
Daniel Salzman [Sun, 31 May 2020 07:28:44 +0000 (09:28 +0200)]
Merge branch 'xdp_gun_opts' into 'master'
Xdp gun opts
See merge request knot/knot-dns!1133
Daniel Salzman [Wed, 27 May 2020 11:49:14 +0000 (13:49 +0200)]
xdp-gun: improve popen return handling to mute Clang analyzer
Libor Peltan [Mon, 4 May 2020 10:07:49 +0000 (12:07 +0200)]
xdp-gun: proper cli options
Libor Peltan [Mon, 4 May 2020 08:00:19 +0000 (10:00 +0200)]
xdp-gun: enable send-only mode to speed-up
David Vašek [Wed, 27 May 2020 13:30:27 +0000 (15:30 +0200)]
tests-extra: zone generator -- fix generation of the Retry value in SOA
Also, fix an unrelated comment.
David Vašek [Fri, 22 May 2020 21:51:26 +0000 (23:51 +0200)]
tests-extra: modules/rrl -- make the test more stable under Valgrind
By allowing the test to send more requests under Valgrind, there is a better
statistical chance for obtaining more accurate test results and avoiding false
test failure (it should prevent false RRL ERRORs).
Under Valgrind, it is also safer to provide the server more time to respond
(it should prevent false RRL STATS ERRORs).
David Vašek [Fri, 22 May 2020 21:49:32 +0000 (23:49 +0200)]
tests-extra: modules/rrl -- more unified output style
David Vašek [Fri, 22 May 2020 12:17:09 +0000 (14:17 +0200)]
tests-extra: enable zone verification even with Valgrind (zone_backup() can be made synchronous)
zone_backup() can be done synchronously as a result of a recent update to the flush() function
(flush() in zone_backup() is always called in blocking/synchronous mode).
David Vašek [Fri, 22 May 2020 10:38:22 +0000 (12:38 +0200)]
tests-extra: dnssec/ds_push -- make the test more stable (direct KSK rollover triggering)
The blocking option ("wait") of ctl() could be used instead of the first wait_for_dnskey_count() call.
Not using it, keeping the original test style.
David Vašek [Fri, 22 May 2020 06:15:54 +0000 (08:15 +0200)]
tests-extra: dnssec/key_rollovers -- better robustness and xfr_diff testing even with Valgrind
David Vašek [Tue, 12 May 2020 14:47:48 +0000 (16:47 +0200)]
tests-extra: convert tests to use wait with ctl() where needed
David Vašek [Wed, 13 May 2020 13:00:51 +0000 (15:00 +0200)]
tests-extra: add wait as a parameter for ctl()
Also, convert both Bind and Knot flush()'s to use this new functionality.
David Vašek [Mon, 11 May 2020 11:52:52 +0000 (13:52 +0200)]
tests-extra: make flush() wait for the file(s) update completion where it makes sense
David Vašek [Sat, 9 May 2020 14:39:56 +0000 (16:39 +0200)]
tests-extra: random DDNS updates -- don't count apex NS RRset removals as changes
Complete apex NS RRSet removals (ANY NS removals) aren't processed by the server
(see RFC 2136, Section 7.13). If such a removal (or removals) is the only change
in the update, then it's a no-change DDNS update to the zone, which usually breaks
the test. Therefore, generate such removals, but don't count them as changes.
Daniel Salzman [Fri, 29 May 2020 17:22:14 +0000 (19:22 +0200)]
Merge branch 'test_roll_improve' into 'master'
test dnssec/key-rollovers: check for minimal delay between roll steps
See merge request knot/knot-dns!1142
Libor Peltan [Fri, 29 May 2020 09:03:24 +0000 (11:03 +0200)]
dnssec: bugfix: CSK->K+ZSK scheme rollover ends too early
Libor Peltan [Thu, 28 May 2020 15:05:53 +0000 (17:05 +0200)]
test dnssec/key-rollovers: check for minimal delay between roll steps
Libor Peltan [Thu, 28 May 2020 13:43:28 +0000 (15:43 +0200)]
tests: simplified dnssec/key_rollovers
David Vašek [Thu, 7 May 2020 22:13:41 +0000 (00:13 +0200)]
tests-extra: events/freeze_thaw -- make the test stable with Valgrind
David Vašek [Thu, 7 May 2020 13:08:15 +0000 (15:08 +0200)]
tests-extra: events/blocking -- make the test working even on fast CPU's
... not breaking it on slow CPU's (or with Valgrind) at the same time.
David Vašek [Wed, 6 May 2020 18:12:39 +0000 (20:12 +0200)]
tests-extra: dnssec/ixfr_diff -- allow slower responses over control socket under Valgrind
Daniel Salzman [Wed, 27 May 2020 11:34:47 +0000 (13:34 +0200)]
query_module: fix possbile NULL pointer dereference in knotd_mod_stats_free
Daniel Salzman [Wed, 27 May 2020 11:16:42 +0000 (13:16 +0200)]
query_module: unify function parameter names to make Doxygen happy
Daniel Salzman [Wed, 27 May 2020 09:46:55 +0000 (11:46 +0200)]
Merge branch 'parallel_adjust' into 'master'
Parallel adjust
See merge request knot/knot-dns!1126
Daniel Salzman [Tue, 26 May 2020 18:21:26 +0000 (20:21 +0200)]
adjust: refactor zone_adjust_tree_parallel
Daniel Salzman [Tue, 26 May 2020 18:08:08 +0000 (20:08 +0200)]
adjust: rename arg args in zone_adjust_tree_parallel
Libor Peltan [Wed, 29 Apr 2020 16:10:10 +0000 (18:10 +0200)]
adjust: no point in parallelizing this one
Libor Peltan [Thu, 23 Apr 2020 13:50:14 +0000 (15:50 +0200)]
adjust/parallel: also when incremental re-salt
Libor Peltan [Wed, 22 Apr 2020 14:15:45 +0000 (16:15 +0200)]
adjust/parallel: also parallelize when changed_nodes tree exists
Libor Peltan [Thu, 7 Nov 2019 16:56:44 +0000 (17:56 +0100)]
implemented parallel adjusting
Daniel Salzman [Tue, 26 May 2020 16:08:20 +0000 (18:08 +0200)]
tests-extra: set signing-threads randomly from set [1,4]
Daniel Salzman [Mon, 25 May 2020 12:02:29 +0000 (14:02 +0200)]
Merge branch 'packaging-readme' into 'master'
Packaging: update README.md filename
See merge request knot/knot-dns!1140
Daniel Salzman [Mon, 25 May 2020 10:28:57 +0000 (12:28 +0200)]
Include README.md in distribution package
Tomas Krizek [Mon, 25 May 2020 07:55:19 +0000 (09:55 +0200)]
packaging: update README.md filename
Daniel Salzman [Mon, 25 May 2020 06:46:20 +0000 (08:46 +0200)]
Revert "python: add libknot installation"
The change didn't work as expected :-/
This reverts commit
d71091d135d8481407c0fec90835186f3a7cc1c2 .
Daniel Salzman [Thu, 21 May 2020 17:35:35 +0000 (19:35 +0200)]
python: add libknot installation
Karandashov Daniil [Thu, 21 May 2020 10:44:47 +0000 (13:44 +0300)]
Update Readme to markdawn
Improve readability.
Libor Peltan [Fri, 22 May 2020 10:57:28 +0000 (12:57 +0200)]
bugfix: new_cont -> max TTL == 0 during roll-over
Daniel Salzman [Fri, 22 May 2020 10:50:29 +0000 (12:50 +0200)]
configure: allow to manually disable POSIX capabilities
Daniel Salzman [Wed, 20 May 2020 15:59:50 +0000 (17:59 +0200)]
Merge branch 'packaging-xdp' into 'master'
Packaging: xdp and update distrotests
See merge request knot/knot-dns!1137
Daniel Salzman [Thu, 14 May 2020 09:20:14 +0000 (11:20 +0200)]
distro/deb: improve XDP workarounds
Tomas Krizek [Thu, 14 May 2020 09:20:14 +0000 (11:20 +0200)]
distro/rpm: add xdp support
Tomas Krizek [Thu, 14 May 2020 09:08:32 +0000 (11:08 +0200)]
distro/tests: update to leap 15.2
Tomas Krizek [Thu, 14 May 2020 09:08:11 +0000 (11:08 +0200)]
distro/tests: add centos 8
Tomas Krizek [Thu, 14 May 2020 09:07:53 +0000 (11:07 +0200)]
distro/tests: update to ubuntu 20.04
Tomas Krizek [Thu, 14 May 2020 09:00:14 +0000 (11:00 +0200)]
distro/tests: update to f32
Tomas Krizek [Thu, 14 May 2020 08:08:39 +0000 (10:08 +0200)]
distro/rpm: fix gpg warning about unsafe permissions
Daniel Salzman [Tue, 19 May 2020 17:24:15 +0000 (19:24 +0200)]
scripts: add libelf-dev to debian:latest Dockerfile
Daniel Salzman [Tue, 19 May 2020 13:25:29 +0000 (15:25 +0200)]
distro/deb: simplify XDP workarounds
Daniel Salzman [Mon, 18 May 2020 17:13:29 +0000 (19:13 +0200)]
configure: don't allow embedded libbpf if reallocarray not available
It's needed for Debian Stretch and Ubuntu Xenial
Daniel Salzman [Sun, 17 May 2020 18:09:31 +0000 (20:09 +0200)]
CI: update libknot version
Daniel Salzman [Sun, 17 May 2020 17:39:00 +0000 (19:39 +0200)]
distro/deb+configure: set libknot version 11, update symbols
Daniel Salzman [Thu, 14 May 2020 14:43:53 +0000 (16:43 +0200)]
distro/deb: enable XDP + embedded libbpf
Daniel Salzman [Sun, 17 May 2020 15:57:31 +0000 (17:57 +0200)]
doc: add some notes on XDP mode
Daniel Salzman [Sun, 17 May 2020 15:24:56 +0000 (17:24 +0200)]
libdnssec/tsig: mute warning: cast to smaller integer type
Daniel Salzman [Sun, 17 May 2020 15:21:24 +0000 (17:21 +0200)]
distro/deb: add xdp-gun to knot-dnsutils.install
Daniel Salzman [Fri, 15 May 2020 13:42:14 +0000 (15:42 +0200)]
Merge branch 'per_thread_stats' into 'master'
stats/performance: per-thread counters
See merge request knot/knot-dns!1138
Libor Peltan [Thu, 14 May 2020 19:39:18 +0000 (21:39 +0200)]
stats/performance: per-thread counters
Daniel Salzman [Tue, 12 May 2020 15:23:40 +0000 (17:23 +0200)]
Merge branch 'any_tcp' into 'master'
Final ANY and RRSIG query handling
See merge request knot/knot-dns!1136
Daniel Salzman [Tue, 12 May 2020 15:09:14 +0000 (17:09 +0200)]
internet: refactor put_answer
Daniel Salzman [Tue, 12 May 2020 13:08:48 +0000 (15:08 +0200)]
knotd: remove obsolete KNOTD_QUERY_FLAG_LIMIT_ANY flag
Libor Peltan [Tue, 12 May 2020 11:07:48 +0000 (13:07 +0200)]
onlinesign: proper handling of new ANY approach
Libor Peltan [Tue, 12 May 2020 10:46:41 +0000 (12:46 +0200)]
nameserver: answer type RRSIG with just one RR
more precisely, the first RRSIG is chosen and added are all RRSIGS covering the same type
Libor Peltan [Tue, 12 May 2020 09:27:48 +0000 (11:27 +0200)]
ANY over TCP returns one random RRSet not all
Jan Hak [Mon, 27 Jan 2020 15:30:21 +0000 (16:30 +0100)]
contrib: remove embedded LMDB
Daniel Salzman [Mon, 11 May 2020 19:51:32 +0000 (21:51 +0200)]
contrib: force using embedded LMDB
Daniel Salzman [Mon, 11 May 2020 12:34:56 +0000 (14:34 +0200)]
contrib: prepare for embedded LMDB removal
Daniel Salzman [Mon, 11 May 2020 09:01:58 +0000 (11:01 +0200)]
scripts: update Dockerfile for ubuntu:latest + add dnstap prerequisites