]>
git.ipfire.org Git - thirdparty/knot-dns.git/log
Libor Peltan [Tue, 2 Jul 2024 14:31:20 +0000 (16:31 +0200)]
tests: fix forwarded DDNS with possible master's XDP
Daniel Salzman [Fri, 28 Jun 2024 05:42:28 +0000 (07:42 +0200)]
Merge branch 'nsec_rem_empty_even_nonauth' into 'master'
dnssec/NSEC: remove empty node's NSEC even when nonauth
See merge request knot/knot-dns!1678
Libor Peltan [Thu, 27 Jun 2024 12:05:03 +0000 (14:05 +0200)]
dnssec/NSEC: remove empty node's NSEC even when nonauth
Daniel Salzman [Mon, 24 Jun 2024 11:53:26 +0000 (13:53 +0200)]
distro/rpm: update minimum knot-resolver version
Daniel Salzman [Mon, 24 Jun 2024 11:05:30 +0000 (13:05 +0200)]
configure: upgrade version to libknot15 (libdnssec and libzscanner unchanged)
Daniel Salzman [Fri, 21 Jun 2024 06:46:31 +0000 (08:46 +0200)]
doc: add and update information about TLS
Daniel Salzman [Fri, 21 Jun 2024 08:55:40 +0000 (10:55 +0200)]
Merge branch 'journal_fix_prefixing' into 'master'
Fix journal corruption when SOA serial matches some metadata name
See merge request knot/knot-dns!1677
Libor Peltan [Thu, 20 Jun 2024 17:52:02 +0000 (19:52 +0200)]
journal: fix corruption when SOA serial matches some metadata name
Daniel Salzman [Wed, 19 Jun 2024 11:33:10 +0000 (13:33 +0200)]
Merge branch 'backup_byteorder' into 'master'
mark the CPU architecture in the backup, in restore, make sure that the data is compatible
See merge request knot/knot-dns!1675
David Vašek [Wed, 19 Jun 2024 09:04:39 +0000 (11:04 +0200)]
backup: write the LMDB version in the label file
David Vašek [Fri, 31 May 2024 14:39:24 +0000 (16:39 +0200)]
backup: check that the system CPU architecture and the backup data are compatible
Notes about the tests: many tests still relies on 64LE architecture.
This currently applies also to:
zone/backup_lock
dnssec/keytag_conflict
dnssec/no_resign
modules/geoip.
The 64BE-architecture backup is simulated by a modified 64LE backup in the test zone/backup_lock.
Test of restore of QUIC keys from incompatible architecture should be added to zone/backup_lock too.
David Vašek [Fri, 31 May 2024 14:35:03 +0000 (16:35 +0200)]
libknot/error: add a new error code for incompatible architecture -- KNOT_ECPUCOMPAT
Daniel Salzman [Mon, 17 Jun 2024 11:48:35 +0000 (13:48 +0200)]
Merge branch 'xfr_serial_logging_new' into 'master'
refresh: log remote zone serials immediately after incoming transfers are received
See merge request knot/knot-dns!1676
David Vašek [Tue, 10 Oct 2023 10:55:16 +0000 (12:55 +0200)]
refresh: log remote zone serials immediately after incoming transfers are received
David Vašek [Fri, 14 Jun 2024 17:31:27 +0000 (19:31 +0200)]
tests-extra: zone/backup -- fix the recently added testing
Daniel Salzman [Fri, 14 Jun 2024 15:25:39 +0000 (17:25 +0200)]
Merge branch 'forced_backup' into 'master'
forced zone-backup to overwrite already existing backup
See merge request knot/knot-dns!1674
David Vašek [Fri, 24 May 2024 17:35:15 +0000 (19:35 +0200)]
backup: use the force option to overwrite an already existing backupdir
David Vašek [Tue, 28 May 2024 10:28:02 +0000 (12:28 +0200)]
contrib/files: in remove_file(), remove all cases of directory as a directory
David Vašek [Wed, 29 May 2024 16:10:10 +0000 (18:10 +0200)]
libknot/error: add a new error code -- KNOT_EPERM
The error string should be different from KNOT_EACCES, but it already uses
the same string.
David Vašek [Fri, 24 May 2024 16:16:19 +0000 (18:16 +0200)]
contrib/files: return an error code from remove_path()
David Vašek [Fri, 24 May 2024 15:31:43 +0000 (17:31 +0200)]
contrib/files: in remove_path(), allow remove of directory contents only
Daniel Salzman [Fri, 14 Jun 2024 08:51:25 +0000 (10:51 +0200)]
Merge branch 'xfr_zonemd_assert' into 'master'
knotd: remove assert that doesnt hold in specific circmstances
See merge request knot/knot-dns!1673
Libor Peltan [Wed, 12 Jun 2024 12:37:26 +0000 (14:37 +0200)]
knotd: remove assert that doesnt hold in specific circmstances
Daniel Salzman [Thu, 13 Jun 2024 19:08:14 +0000 (21:08 +0200)]
Merge branch 'fix_flush_xfr_rcu' into 'master'
rcu: protect also zonefile flush and XFRout against simultaneous zone CTL update
See merge request knot/knot-dns!1671
Libor Peltan [Tue, 11 Jun 2024 13:17:52 +0000 (15:17 +0200)]
rcu: protect also zonefile flush and XFRout against simultaneous zone CTL update
Daniel Salzman [Thu, 13 Jun 2024 14:08:18 +0000 (16:08 +0200)]
contrib: upgrade embedded library ngtcp2 to v1.6.0
Libor Peltan [Wed, 12 Jun 2024 11:33:59 +0000 (13:33 +0200)]
Merge branch 'purge_slave_assert' into 'master'
after purging timers, set them to sensible values
See merge request knot/knot-dns!1672
Libor Peltan [Tue, 11 Jun 2024 06:46:52 +0000 (08:46 +0200)]
purge: after purging timers, set them to sensible values
Daniel Salzman [Wed, 5 Jun 2024 15:25:07 +0000 (17:25 +0200)]
nameserver: add TSIG key name to event and nameserver logs
Daniel Salzman [Tue, 4 Jun 2024 20:33:43 +0000 (22:33 +0200)]
Merge branch 'fix_notify_rcu' into 'master'
Fix notify rcu
See merge request knot/knot-dns!1670
Libor Peltan [Tue, 4 Jun 2024 08:48:28 +0000 (10:48 +0200)]
tests/many_nsec3: more lightweight under valgrind to prevent fail and long run
Libor Peltan [Tue, 4 Jun 2024 06:45:27 +0000 (08:45 +0200)]
notify/out: use RCU_lock to protect from SOA change during event
Daniel Salzman [Mon, 3 Jun 2024 07:03:42 +0000 (09:03 +0200)]
Merge branch 'ctl_txn_zone_conf' into 'master'
Disallow parallel zone and configuration control transactions
See merge request knot/knot-dns!1669
Libor Peltan [Fri, 31 May 2024 11:06:07 +0000 (13:06 +0200)]
ctl: disallow parallel zone txn (zone-begin) and..
... either config reload (knotc reload) or
config txn (conf-begin)
Daniel Salzman [Sun, 2 Jun 2024 17:41:55 +0000 (19:41 +0200)]
distro/deb: remove omitted debian/ufw/knot from knot.install
Jan Doskočil [Fri, 31 May 2024 09:13:15 +0000 (11:13 +0200)]
tests: terminate tcpdump on test fail
Jan Doskočil [Fri, 31 May 2024 09:10:03 +0000 (11:10 +0200)]
tests: give tcpdump the correct port
Jan Hák [Thu, 30 May 2024 12:38:30 +0000 (14:38 +0200)]
kdig: allow query section be omnited
Jan Hák [Thu, 30 May 2024 12:38:04 +0000 (14:38 +0200)]
utils: add condition for zero-length string in get_fqd_name()
Jan Hák [Wed, 29 May 2024 11:30:02 +0000 (13:30 +0200)]
tests-extra: increase timeouts to fix tls/xfr issues under Valgrind
Daniel Salzman [Tue, 28 May 2024 13:13:12 +0000 (15:13 +0200)]
distro/deb: remove ufw configuration
No other nameserver packages contain this file either.
Daniel Salzman [Mon, 27 May 2024 06:51:48 +0000 (08:51 +0200)]
tests-extra: yet another stabilization of modules/rrl
Jan Hák [Mon, 27 Nov 2023 09:49:05 +0000 (10:49 +0100)]
kxdpgun: add cli option for reading binary file
Jan Hák [Thu, 23 May 2024 12:31:47 +0000 (14:31 +0200)]
tests-extra: fix wrong whitelist address and add small margin to dropped packets count
David Vašek [Thu, 16 May 2024 14:58:53 +0000 (16:58 +0200)]
doc: for ACL, use 'action' as the only synonymum for request type
In Reference, explicitly mention that normal DNS queries are allowed by default.
Petr Špaček [Thu, 16 May 2024 14:54:36 +0000 (16:54 +0200)]
doc/configuration: make it clear that all request types except queries require authorization
Daniel Salzman [Fri, 17 May 2024 12:59:51 +0000 (14:59 +0200)]
Merge branch 'ctl_blocking_txn_bis' into 'master'
ctl: allow backup (not restore) during zone transaction...
See merge request knot/knot-dns!1667
Libor Peltan [Fri, 17 May 2024 12:52:41 +0000 (14:52 +0200)]
ctl: allow backup (not restore) during zone transaction...
...this is relaxed condition of
a753d828
becuase backup (not restore) actually makes no harm
and also it should be symmetrical
Daniel Salzman [Fri, 17 May 2024 07:39:09 +0000 (09:39 +0200)]
Merge branch 'ctl_blocking_txn' into 'master'
Ctl blocking txn
See merge request knot/knot-dns!1666
Libor Peltan [Thu, 16 May 2024 09:35:04 +0000 (11:35 +0200)]
ctl: disallow simultaneous backup and zone transaction
Libor Peltan [Mon, 13 May 2024 14:41:37 +0000 (16:41 +0200)]
ctl: disallow blocking CTL when zone transaction open
Daniel Salzman [Fri, 17 May 2024 05:58:53 +0000 (07:58 +0200)]
tests-extra: synchronize valgrind parameters with tester
Libor Peltan [Thu, 16 May 2024 15:27:50 +0000 (17:27 +0200)]
Merge branch 'conf_empty' into 'master'
Allow empty reference value for some zone items
See merge request knot/knot-dns!1662
Libor Peltan [Thu, 16 May 2024 13:17:06 +0000 (15:17 +0200)]
tests/ds-push: test empty list in config file
Daniel Salzman [Thu, 16 May 2024 13:53:41 +0000 (15:53 +0200)]
yparser: fix empty list parsing
Daniel Salzman [Thu, 16 May 2024 13:33:53 +0000 (15:33 +0200)]
tests: extend test set for yparser
Daniel Salzman [Thu, 9 May 2024 08:55:06 +0000 (10:55 +0200)]
conf: allow empty value for some zone items (references to remotes)
This allows overriding of corresponding non-empty template items.
Daniel Salzman [Tue, 14 May 2024 06:08:43 +0000 (08:08 +0200)]
python/control: fix setting empty values
Daniel Salzman [Thu, 9 May 2024 08:54:44 +0000 (10:54 +0200)]
conf: move custom schema flags to a common place
Jan Hák [Wed, 15 May 2024 09:33:33 +0000 (11:33 +0200)]
mod-dnstap: add sink for TCP connection
Daniel Salzman [Wed, 15 May 2024 12:04:19 +0000 (14:04 +0200)]
Dockerfile: don't copy /share, which no longer contains man pages
Daniel Salzman [Tue, 14 May 2024 13:52:17 +0000 (15:52 +0200)]
Merge branch 'keytag-modulo' into 'master'
implemented keytag-modulo option
See merge request knot/knot-dns!1650
Libor Peltan [Tue, 27 Feb 2024 10:56:42 +0000 (11:56 +0100)]
implemented keytag-modulo option
Daniel Salzman [Tue, 14 May 2024 07:48:16 +0000 (09:48 +0200)]
distro/rpm: add fix for OpenSUSE Tumbleweed
Daniel Salzman [Mon, 13 May 2024 12:05:58 +0000 (14:05 +0200)]
Merge branch 'tls_handshake_timeout' into 'master'
Tls handshake timeout
See merge request knot/knot-dns!1665
Libor Peltan [Mon, 13 May 2024 11:19:51 +0000 (13:19 +0200)]
tests/TLS: align IO timeouts for valgrind case
Libor Peltan [Fri, 10 May 2024 21:03:08 +0000 (23:03 +0200)]
Merge branch 'zonemd_remove_bugfix' into 'master'
ZONEMD: prevent attempt to sign non-existent ZONEMD
See merge request knot/knot-dns!1663
Libor Peltan [Fri, 10 May 2024 20:47:36 +0000 (22:47 +0200)]
tests/zonemd_flush: random non/usage of DNSSEC
Libor Peltan [Fri, 10 May 2024 16:27:57 +0000 (18:27 +0200)]
TLS: theoretically more realistic handshake timeout depending on IO timeout
Jan Doskočil [Fri, 10 May 2024 10:38:21 +0000 (12:38 +0200)]
ZONEMD: prevent attempt to sign non-existent ZONEMD
David Vašek [Fri, 10 May 2024 10:57:45 +0000 (12:57 +0200)]
zone: improve the log wording when doing refresh
Daniel Salzman [Fri, 10 May 2024 08:55:44 +0000 (10:55 +0200)]
tests-extra: remove no longer needed 'json' from requirements
Daniel Salzman [Thu, 9 May 2024 10:01:41 +0000 (12:01 +0200)]
contrib: upgrade embedded library ngtcp2 to v1.5.0
Daniel Salzman [Tue, 7 May 2024 06:29:24 +0000 (08:29 +0200)]
tls: add check for negative descriptor to close() (Coverity)
Daniel Salzman [Tue, 7 May 2024 05:53:02 +0000 (07:53 +0200)]
Merge branch 'dot'
Jan Hák [Fri, 26 Apr 2024 11:50:00 +0000 (13:50 +0200)]
tls: unification of TLS priority settings
Daniel Salzman [Thu, 2 May 2024 13:39:31 +0000 (15:39 +0200)]
tls: switch credentials atomically, keep previous credentials to fulfit:
"In order to minimize memory usage, and share credentials between several
threads gnutls keeps a pointer to cred, and not the whole cred structure.
Thus you will have to keep the structure allocated until you call gnutls_deinit()."
Daniel Salzman [Fri, 26 Apr 2024 14:03:20 +0000 (16:03 +0200)]
knotd: update cert/key only if changed, slightly rework
Jan Hák [Thu, 11 Apr 2024 13:17:00 +0000 (15:17 +0200)]
knotd: update TLS credentials on server reload
Daniel Salzman [Tue, 23 Apr 2024 18:15:46 +0000 (20:15 +0200)]
tls: set the handshake timeout relatively to the IO timeout
Daniel Salzman [Fri, 19 Apr 2024 13:31:34 +0000 (15:31 +0200)]
tls: set GNUTLS_NO_SIGNAL to disable emitting SIGPIPE by send()
Daniel Salzman [Thu, 18 Apr 2024 05:50:57 +0000 (07:50 +0200)]
tls: rework sending and receiving functions
- Better error reporting
- Full TLS handshake doesn't block when calling from tcp-handler
- IO timeout covers the whole send/recv operation
- DNS message length prefix isn't sent separately due to corking
Daniel Salzman [Tue, 16 Apr 2024 07:01:59 +0000 (09:01 +0200)]
tls: remove debug statistics
Daniel Salzman [Wed, 10 Apr 2024 07:08:25 +0000 (09:08 +0200)]
libknot: rename knot_quic_creds and related functions to knot_creds...
Daniel Salzman [Fri, 15 Mar 2024 16:38:16 +0000 (17:38 +0100)]
libknot/quic: rename functions which are common to QUIC and TLS
Libor Peltan [Thu, 8 Feb 2024 17:22:32 +0000 (18:22 +0100)]
implemented DoT for queries and XFR
Libor Peltan [Fri, 23 Feb 2024 14:12:33 +0000 (15:12 +0100)]
libknot/quic: code moved
Libor Peltan [Wed, 14 Feb 2024 15:00:05 +0000 (16:00 +0100)]
server/tcp: tiny refactoring
Libor Peltan [Wed, 7 Feb 2024 10:27:12 +0000 (11:27 +0100)]
conventional DoQ: rename signal bool to be more generic
Daniel Salzman [Mon, 6 May 2024 12:39:43 +0000 (14:39 +0200)]
Merge branch 'tests_atomic_xchg_gcc'
David Vašek [Mon, 6 May 2024 11:31:12 +0000 (13:31 +0200)]
tests/atomic: silence false positive Coverity warning (missing lock)
David Vašek [Sun, 5 May 2024 09:12:39 +0000 (11:12 +0200)]
tests/atomic: workaround for a GCC optimization bug on i386
With -O1 and higher, the test of atomic_exchange_explicit() doesn't work right for 64-bit variables
on i386 (and possibly other 32-bit architectures). It seems that atomic_exchange_explicit() doesn't
exchange 64-bit values properly when it's used in a loop and GCC compiler optimization is turned
on. As a workaround, we are testing ATOMIC_XCHG on a pointer size of the given architecture.
It isn't sure yet, if atomic_exchange_explicit() is safe for 64-bit variables with GCC on i386 when
not used in a loop. Therefore, ATOMIC_XCHG should not be used on general 64-bit variables until
this GCC bug is solved.
Clang and gcc -O0 don't seem to be affected by this issue.
David Vašek [Sat, 4 May 2024 23:42:25 +0000 (01:42 +0200)]
tests/atomic: finish the thread early once an invalid value occurs
Daniel Salzman [Mon, 6 May 2024 11:28:26 +0000 (13:28 +0200)]
server/xdp: add a check for non-null TCP table (Clang analyzer)
Daniel Salzman [Mon, 6 May 2024 11:14:58 +0000 (13:14 +0200)]
Merge branch 'doc_fixes'
Daniel Salzman [Mon, 6 May 2024 11:10:09 +0000 (13:10 +0200)]
doc: store doctrees in a separate directory per target
Daniel Salzman [Mon, 6 May 2024 09:58:50 +0000 (11:58 +0200)]
configure: fix HAVE_PDFLATEX setting if pdflatex not available
Daniel Salzman [Sun, 5 May 2024 19:23:35 +0000 (21:23 +0200)]
Merge branch 'remove_man'
Daniel Salzman [Sat, 4 May 2024 18:21:10 +0000 (20:21 +0200)]
man: use grouped targets in the Makefile to avoid potential parallel building
fixes #928
Daniel Salzman [Tue, 30 Apr 2024 14:27:58 +0000 (16:27 +0200)]
doc: remove man templates from the repository, keep them in a tarball