]>
git.ipfire.org Git - thirdparty/knot-dns.git/log
Daniel Salzman [Tue, 22 Jun 2021 05:49:23 +0000 (07:49 +0200)]
tests/libzsanner: add optional output spliting
Daniel Salzman [Sun, 20 Jun 2021 14:11:51 +0000 (16:11 +0200)]
tests/libzscanner: fix typo in 56_ZONEMD test
Daniel Salzman [Mon, 21 Jun 2021 13:31:55 +0000 (15:31 +0200)]
libzscanner: fix defective multiline record processing
Daniel Salzman [Sun, 20 Jun 2021 19:19:41 +0000 (21:19 +0200)]
libzscanner: fix incorrect error line number
Daniel Salzman [Sun, 20 Jun 2021 17:20:33 +0000 (19:20 +0200)]
libzscanner: fix multiline rdata processing if error occurs
Daniel Salzman [Wed, 16 Jun 2021 11:37:54 +0000 (11:37 +0000)]
libzscanner: fix 'applying zero offset to null pointer'
Daniel Salzman [Tue, 15 Jun 2021 18:41:48 +0000 (18:41 +0000)]
libzscanner: finalize SVCB/HTTPS parsing, including mandatory and params sorting
Daniel Salzman [Mon, 14 Jun 2021 20:16:00 +0000 (22:16 +0200)]
rrset-dump: extra escape ',' and '\\' characters in SVCB alpn string
Libor Peltan [Mon, 4 Jan 2021 20:54:37 +0000 (21:54 +0100)]
WIP: implemented reading SVCB/HTTPS from zonefile
Libor Peltan [Tue, 5 Jan 2021 15:43:04 +0000 (16:43 +0100)]
tests: test read/write of SVCB and HTTPS in zonefile
Libor Peltan [Tue, 29 Dec 2020 21:03:58 +0000 (22:03 +0100)]
svcb/https: implemented dump from wire to zonefile
Daniel Salzman [Thu, 10 Jun 2021 07:01:10 +0000 (09:01 +0200)]
Revert "Revert "libknot: add basic support for SVCB and HTTPS records""
Let's implement full support for these rrtypes.
This reverts commit
b83533e3a2251e0954506cfea9bae8f5076afbf2 .
Daniel Salzman [Fri, 18 Jun 2021 09:17:08 +0000 (09:17 +0000)]
Merge branch 'knotc_memleaks' into 'master'
knotc: fix one memory leak, document another leak in the 3rd party library
See merge request knot/knot-dns!1317
David Vašek [Tue, 15 Jun 2021 19:50:49 +0000 (21:50 +0200)]
knotc: document a long-term memory leak in libedit2 library
There is a known memory leak in libedit2 library, when el_set()
function is called with EL_ADDFN parameter. It has been known
by the library author Christos Zoulas from the very beginning.
The existence of the leak is already mentioned in the source code of
the library:
https://salsa.debian.org/debian/libedit/-/blob/master/src/eln.c#L226
The leak exists since the following commit to the library:
http://cvsweb.netbsd.org/bsdweb.cgi/src/lib/libedit/eln.c#rev1.4
There are hints that el_wset() doesn't suffer the same issue, so some
prjects are moving to wide charecters in order to avoid this memory leak.
https://reviews.llvm.org/rGc11e249bfdf406dc609048ca88af406007426630
[ LLDB is leaking memory in Editline.cpp on MacOSX. ]
We are keeping Knot code as is for now.
David Vašek [Tue, 15 Jun 2021 18:06:04 +0000 (20:06 +0200)]
knotc: fix one memory leak in interactive mode
Daniel Salzman [Fri, 18 Jun 2021 08:42:33 +0000 (08:42 +0000)]
Merge branch 'replan_failed_key_gen' into 'master'
dnssec: proper signing failover delay when key generation fails
See merge request knot/knot-dns!1316
Libor Peltan [Fri, 18 Jun 2021 08:27:31 +0000 (10:27 +0200)]
dnssec: proper signing failover delay when key generation fails
Daniel Salzman [Tue, 15 Jun 2021 13:26:10 +0000 (13:26 +0000)]
Merge branch 'remove_auto_soa_incr' into 'master'
load: remove automatic SOA increment feature...
See merge request knot/knot-dns!1314
Libor Peltan [Tue, 15 Jun 2021 13:18:38 +0000 (15:18 +0200)]
load: remove automatic SOA increment feature...
...in favor of difference-no-serial
Libor Peltan [Tue, 15 Jun 2021 12:51:22 +0000 (14:51 +0200)]
load: warn deprecated auto SOA increment
Daniel Salzman [Tue, 15 Jun 2021 09:11:34 +0000 (09:11 +0000)]
Merge branch 'spinlock_update' into 'master'
Spinlock update
See merge request knot/knot-dns!1311
David Vašek [Sun, 13 Jun 2021 21:21:41 +0000 (23:21 +0200)]
tests: add a test for contrib/spinlock.h
Daniel Salzman [Mon, 14 Jun 2021 18:24:13 +0000 (20:24 +0200)]
libknot/probe: replace fchmod() with chmod() to fix permission setting
David Vašek [Fri, 11 Jun 2021 18:52:20 +0000 (20:52 +0200)]
contrib/spinlock: add a missing include
Daniel Salzman [Mon, 14 Jun 2021 13:46:19 +0000 (15:46 +0200)]
dthreads: add simple check that dt_online_cpus() returns a reasonable value
David Vašek [Mon, 14 Jun 2021 11:45:03 +0000 (13:45 +0200)]
Revert "dthreads: fix the detection of available CPU cores on some platforms (mainly *BSDs)"
This reverts commit
3f19f25b6ef726226bc71dde463bf0d8ffc856a8 .
The wrong/obsolete comments are being corrected.
closes #743
Daniel Salzman [Mon, 14 Jun 2021 13:10:10 +0000 (13:10 +0000)]
Merge branch 'zij_zero_fix' into 'master'
zone-in-journal: bugfix: zero SOA serial wrongly triggers loop detection
See merge request knot/knot-dns!1309
Libor Peltan [Mon, 14 Jun 2021 09:37:15 +0000 (11:37 +0200)]
zone-in-journal: bugfix: zero SOA serial wrongly triggers loop detection
David Vašek [Thu, 10 Jun 2021 09:55:29 +0000 (11:55 +0200)]
dthreads: fix the detection of available CPU cores on some platforms (mainly *BSDs)
Found by Matthieu Guegan on OpenBSD. Thanks!
On OpenBSD, cheloha@ describes the related change very clear:
https://cvsweb.openbsd.org/src/sys/sys/sysctl.h#rev1.179
Some other sources:
https://www.freebsd.org/cgi/man.cgi?smp
https://man.netbsd.org/sysctl.7
https://man.openbsd.org/sysctl.2
https://man.dragonflybsd.org/?command=sysctl§ion=3
fixes #743
Libor Peltan [Thu, 10 Jun 2021 10:27:45 +0000 (12:27 +0200)]
server: fix is_xdp_thread() if reuseport isn't available
Daniel Salzman [Mon, 7 Jun 2021 18:05:48 +0000 (20:05 +0200)]
configure: try to use external libbpf first if --enable-xdp=yes is set
Daniel Salzman [Wed, 9 Jun 2021 07:12:17 +0000 (07:12 +0000)]
Merge branch 'alg_roll_rem' into 'master'
dnssec/auto key mgmt: last step of alg roll...
See merge request knot/knot-dns!1307
Libor Peltan [Tue, 8 Jun 2021 15:48:48 +0000 (17:48 +0200)]
dnssec/auto key mgmt: last step of alg roll...
...is enough to take DNSKEY TTL + prop-delay
Daniel Salzman [Tue, 8 Jun 2021 13:37:49 +0000 (13:37 +0000)]
Merge branch 'notify_in_timers' into 'master'
Keep last notified serial in timers
See merge request knot/knot-dns!1306
Daniel Salzman [Mon, 7 Jun 2021 16:34:44 +0000 (18:34 +0200)]
scripts: update timerdb-info.py with last-notify-serial timer
Daniel Salzman [Mon, 7 Jun 2021 14:55:30 +0000 (16:55 +0200)]
timers: code cleanup
Libor Peltan [Fri, 4 Jun 2021 16:27:07 +0000 (18:27 +0200)]
notify: keep last notified serial in timers,...
...don't re-notify upon cold start if not necessary
Daniel Salzman [Mon, 7 Jun 2021 17:44:03 +0000 (19:44 +0200)]
distro/deb: update libdnssec symbols
Daniel Salzman [Mon, 7 Jun 2021 17:15:18 +0000 (19:15 +0200)]
distro/pkg/rpm: update patch for test_net
Daniel Salzman [Fri, 4 Jun 2021 11:44:38 +0000 (11:44 +0000)]
Merge branch 'some_experiment' into 'master'
ZONEMD verification
See merge request knot/knot-dns!1280
Libor Peltan [Thu, 3 Jun 2021 08:50:38 +0000 (10:50 +0200)]
ZONEMD: bugfix: proper calculation of ZONEMD in NSEC3 zones
Libor Peltan [Thu, 3 Jun 2021 14:06:39 +0000 (16:06 +0200)]
zone contents/cow: slight code improvements
Daniel Salzman [Thu, 3 Jun 2021 14:26:38 +0000 (16:26 +0200)]
digest: refactor rdata construction
Daniel Salzman [Thu, 3 Jun 2021 10:33:47 +0000 (10:33 +0000)]
Merge branch 'lmdb_maxreaders' into 'master'
LMDB: increase max readers for all databases (journal, kasp, timers..)
See merge request knot/knot-dns!1303
Daniel Salzman [Thu, 3 Jun 2021 10:10:33 +0000 (10:10 +0000)]
Merge branch 'keymgr_master_serial' into 'master'
keymgr/on-slave-signing: allow printing master serial
See merge request knot/knot-dns!1305
Jan Hak [Thu, 3 Jun 2021 09:05:55 +0000 (11:05 +0200)]
kdig: https refactoring
Jan Hak [Thu, 3 Jun 2021 07:30:47 +0000 (09:30 +0200)]
kdig: fix https for big responses
Daniel Salzman [Wed, 2 Jun 2021 11:28:22 +0000 (13:28 +0200)]
digest: get rid of redundant conf_zonemd_algorithm()
Libor Peltan [Mon, 31 May 2021 18:28:06 +0000 (20:28 +0200)]
ZONEMD: allow independent verify and generate
Libor Peltan [Wed, 7 Apr 2021 16:44:19 +0000 (18:44 +0200)]
digest: implemented ZONEMD generation in server
Libor Peltan [Thu, 1 Apr 2021 14:49:40 +0000 (16:49 +0200)]
digest: implemented ZONEMD verification in server
Libor Peltan [Tue, 23 Mar 2021 17:15:26 +0000 (18:15 +0100)]
implemented zonemd calculation/verification
Libor Peltan [Tue, 23 Mar 2021 16:25:16 +0000 (17:25 +0100)]
zone node: ensure that rrsets are sorted by rrtype
Libor Peltan [Thu, 3 Jun 2021 08:16:52 +0000 (10:16 +0200)]
keymgr/on-slave-signing: allow printing master serial
Daniel Salzman [Wed, 2 Jun 2021 14:42:21 +0000 (14:42 +0000)]
Merge branch 'test_net_is_int' into 'master'
tests: better debuggability of problematic contrib/net
See merge request knot/knot-dns!1304
Libor Peltan [Wed, 2 Jun 2021 14:27:57 +0000 (16:27 +0200)]
tests: better debuggability of problematic contrib/net
Jan Hak [Wed, 2 Jun 2021 11:32:40 +0000 (13:32 +0200)]
kdig: fix https for big responses
Libor Peltan [Wed, 2 Jun 2021 08:26:30 +0000 (10:26 +0200)]
LMDB: increase max readers for all databases (journal, kasp, timers..)
This has 2 consequences:
1) increased size of lock.mdb file (8k -> 80k)
this seems fine since the number of databases is limited for Knot
and independent on number of zones
2) possibly longer linear search in lock table upon txn_begin
however, it depends rather on real number of readers
than on maximum readers limit
Daniel Salzman [Tue, 1 Jun 2021 15:47:36 +0000 (15:47 +0000)]
Merge branch 'keymgr_ed448' into 'master'
Keymgr ed448
Closes #739
See merge request knot/knot-dns!1302
Libor Peltan [Tue, 1 Jun 2021 15:18:44 +0000 (17:18 +0200)]
keymgr: bugfix: used proper default key size if not specified
Libor Peltan [Tue, 1 Jun 2021 15:10:14 +0000 (17:10 +0200)]
keymgr: bugfix: recognize textual representation of ED448 algorithm
Daniel Salzman [Tue, 1 Jun 2021 14:42:04 +0000 (14:42 +0000)]
Merge branch 'systemd_extend_to' into 'master'
Systemd integration improvements
Closes #733
See merge request knot/knot-dns!1301
Daniel Salzman [Tue, 1 Jun 2021 11:33:33 +0000 (13:33 +0200)]
systemd: set STATUS only when loading zones
Jan Hak [Tue, 1 Jun 2021 08:56:23 +0000 (10:56 +0200)]
knotd: fix multiple signal processing
Jan Hák [Wed, 19 May 2021 12:54:09 +0000 (14:54 +0200)]
systemd: service reload using signal
Jan Hák [Fri, 21 May 2021 14:43:28 +0000 (16:43 +0200)]
systemd: add adptive service start timeout, increase service stop timeout, and add status
Jan Hák [Fri, 21 May 2021 14:44:21 +0000 (16:44 +0200)]
workers: add worker_pool_wait_cb() and extend worker_pool_status()
Daniel Salzman [Wed, 26 May 2021 12:16:41 +0000 (14:16 +0200)]
python: add README skeleton
Daniel Salzman [Mon, 31 May 2021 12:52:07 +0000 (14:52 +0200)]
libknot/probe: fix send() data length for resend in knot_probe_produce()
Jan Hák [Mon, 31 May 2021 11:43:19 +0000 (13:43 +0200)]
libknot/probe: initialize also unused structure parts
Jan Hak [Thu, 27 May 2021 09:07:36 +0000 (11:07 +0200)]
tests-extra: add test for module probe
Daniel Salzman [Wed, 26 May 2021 11:18:17 +0000 (13:18 +0200)]
tests-extra: update to refactored libknot Python wrapper
Daniel Salzman [Tue, 25 May 2021 18:27:44 +0000 (20:27 +0200)]
python: add libknot.probe module
Daniel Salzman [Tue, 25 May 2021 18:27:20 +0000 (20:27 +0200)]
python: refactor libknot.control module
Daniel Salzman [Sun, 30 May 2021 18:16:40 +0000 (20:16 +0200)]
libknot/probe: fill EDE if EDNS is present
Daniel Salzman [Tue, 25 May 2021 18:26:30 +0000 (20:26 +0200)]
libknot/probe: return 0 instead of KNOT_ENOENT when timeouted
Daniel Salzman [Mon, 31 May 2021 06:47:09 +0000 (08:47 +0200)]
tests-extra: increase dig attempts to 100 in case of Valgrind
Daniel Salzman [Sun, 30 May 2021 06:00:01 +0000 (06:00 +0000)]
Merge branch 'tests_fix_many_zones' into 'master'
A fix for tests-extra: ixfr/many_zones.
See merge request knot/knot-dns!1299
David Vašek [Fri, 28 May 2021 22:37:09 +0000 (00:37 +0200)]
fixup -- optional
David Vašek [Fri, 28 May 2021 13:45:19 +0000 (15:45 +0200)]
tests-extra: ixfr/many_zones -- replace BIND with Knot as the master
This change solves the issue of undelivered NOTIFY's over UDP when the slave
is under high load with Valgrind. From now, the master, being Knot, will run
under Valgrind as well as the slave.
Daniel Salzman [Thu, 27 May 2021 07:54:12 +0000 (07:54 +0000)]
Merge branch 'cds_sha384' into 'master'
dnssec: allow optional sha384 for generated CDS
Closes #738
See merge request knot/knot-dns!1297
Libor Peltan [Wed, 26 May 2021 12:45:54 +0000 (14:45 +0200)]
dnssec: allow optional sha384 for generated CDS
Daniel Salzman [Wed, 26 May 2021 16:17:24 +0000 (18:17 +0200)]
ci: udapt to changes for apkg
Daniel Salzman [Wed, 26 May 2021 14:46:17 +0000 (14:46 +0000)]
Merge branch 'apkg' into 'master'
distro: add apkg support
See merge request knot/knot-dns!1298
Jakub Ružička [Wed, 21 Apr 2021 15:49:11 +0000 (17:49 +0200)]
distro: add apkg support
Change packaging templates distro/pkg/* to use {{ version }}.
Add scripts/make_dev_archive.sh to create dev archives.
Add apkg config: distro/config/apkg.toml
With these changes, apkg can be used to package Knot DNS.
Jakub Ružička [Fri, 30 Apr 2021 01:08:31 +0000 (03:08 +0200)]
distro: add missing build deps
autoreconf: command not found
Can't exec "aclocal": No such file or directory at ...
autoreconf: failed to run aclocal: No such file or directory
error: Libtool library used but 'LIBTOOL' is undefined
Jakub Ružička [Wed, 21 Apr 2021 16:37:44 +0000 (18:37 +0200)]
deb: update symbols to enable package builds
Jakub Ružička [Thu, 4 Mar 2021 19:04:19 +0000 (20:04 +0100)]
move distro files into apkg tempalte dir
Libor Peltan [Tue, 25 May 2021 16:09:39 +0000 (16:09 +0000)]
Merge branch 'wildcard_expansion' into 'master'
Correct owner of answered CNAME from wildcard expansion
Closes #715
See merge request knot/knot-dns!1295
Daniel Salzman [Tue, 25 May 2021 15:41:09 +0000 (15:41 +0000)]
Merge branch 'journal_various' into 'master'
various journal fixes
Closes #736
See merge request knot/knot-dns!1296
Daniel Salzman [Fri, 21 May 2021 11:23:28 +0000 (13:23 +0200)]
nameserver: correct owner of answered CNAME from wildcard expansion
fixes #715
Daniel Salzman [Tue, 25 May 2021 14:28:16 +0000 (14:28 +0000)]
tests/journal: fix 'unused variable' warning if NDEBUG
Libor Peltan [Tue, 25 May 2021 10:14:37 +0000 (12:14 +0200)]
journal+kjournalprint: displayed per-zone occupation considers last_inserter
Libor Peltan [Tue, 25 May 2021 09:54:00 +0000 (11:54 +0200)]
journal: avoid storing zone-in-journal bigger than max-journal-usage
Libor Peltan [Tue, 25 May 2021 09:19:09 +0000 (11:19 +0200)]
journal: return ESPACE when unable to free up space to honor max-journal-usage
Libor Peltan [Tue, 25 May 2021 08:34:56 +0000 (10:34 +0200)]
test/journal: remove unnecessary test "cases" for better debugging...
...make them silent if OK as there atre thousands of them
Libor Peltan [Tue, 25 May 2021 08:33:42 +0000 (10:33 +0200)]
journal: optional code change for better debugging
Daniel Salzman [Mon, 24 May 2021 10:43:23 +0000 (12:43 +0200)]
dynarray: rename DYNARRAY_VISIBILITY_PUBLIC to DYNARRAY_VISIBILITY_NORMAL
Daniel Salzman [Mon, 24 May 2021 10:39:54 +0000 (12:39 +0200)]
dynarray: use _unused_ instead of explicit __attribute__
Daniel Salzman [Mon, 24 May 2021 10:39:33 +0000 (12:39 +0200)]
keymgr: use _unused_ instead of explicit __attribute__