]>
git.ipfire.org Git - thirdparty/knot-dns.git/log
Jan Doskočil [Wed, 14 May 2025 11:03:39 +0000 (13:03 +0200)]
conf: implemented certificate hostname validation
Daniel Salzman [Tue, 3 Jun 2025 13:45:13 +0000 (15:45 +0200)]
tls: avoid passing NULL to strlen() when generating a certificate
Daniel Salzman [Tue, 3 Jun 2025 11:35:18 +0000 (13:35 +0200)]
ctl: add 'parser failed,' prefix to zone-(un)set error messages
Daniel Salzman [Tue, 3 Jun 2025 11:00:05 +0000 (13:00 +0200)]
Merge branch 'pkg_rpm_python' into 'master'
distro/rpm: use modern %pyproject_* macros
See merge request knot/knot-dns!1784
Jakub Ružička [Mon, 12 May 2025 11:38:56 +0000 (13:38 +0200)]
distro/rpm: use modern %pyproject_* macros
Support new %pyproject_* macros where they're supported, otherwise use
older %py3_* macros which work everywhere.
Introduce new %{PYPROJECT} var which is only set on distros supporting
new macros - Fedora >= 40 and EL >= 9.
Jakub Ružička [Mon, 28 Apr 2025 16:13:58 +0000 (18:13 +0200)]
distro/rpm: add knot-exporter and python3-libknot RPM subpackages
Daniel Salzman [Mon, 2 Jun 2025 14:33:17 +0000 (16:33 +0200)]
zonefile: add libgen.h for basename(), cleanup
Daniel Salzman [Mon, 2 Jun 2025 14:10:08 +0000 (16:10 +0200)]
Merge branch 'pkt-trailing' into 'master'
pkt: fix our check for trailing rdata when parsing
See merge request knot/knot-dns!1783
Vladimír Čunát [Mon, 2 Jun 2025 13:57:23 +0000 (15:57 +0200)]
pkt: fix our check for trailing rdata when parsing
- in case the \0 terminator got "compressed", we would get
a spurious KNOT_EMALF
- if real compression happened, we could miss the fact
that there are trailing data
Libor Peltan [Mon, 2 Jun 2025 13:55:43 +0000 (15:55 +0200)]
Merge branch 'zonemd_dbus' into 'master'
zonemd: emit 'dnssec-invalid' dbus event when validation fails
See merge request knot/knot-dns!1782
Daniel Salzman [Mon, 2 Jun 2025 10:33:59 +0000 (12:33 +0200)]
Merge branch 'temp-cert-sanonly' into 'master'
self-signed cert SANonly
See merge request knot/knot-dns!1778
Jan Doskočil [Fri, 23 May 2025 12:05:52 +0000 (14:05 +0200)]
kdig: support certificates missing Subject field
Jan Doskočil [Fri, 23 May 2025 12:05:29 +0000 (14:05 +0200)]
knotd: self-signed cert with SAN instead of Subject: CN
Daniel Salzman [Mon, 2 Jun 2025 06:30:28 +0000 (08:30 +0200)]
ctl: don't log zone-(un)set parser failed, send details to the client instead
Daniel Salzman [Sun, 1 Jun 2025 07:06:44 +0000 (09:06 +0200)]
quic-handler: add check for empty conn to prevent assert
Daniel Salzman [Sun, 1 Jun 2025 06:56:59 +0000 (08:56 +0200)]
zonefile: fix possible memory leak (Coverity)
Daniel Salzman [Fri, 30 May 2025 11:50:19 +0000 (13:50 +0200)]
zonemd: emit 'dnssec-invalid' dbus event when validation fails
Daniel Salzman [Thu, 29 May 2025 08:53:57 +0000 (10:53 +0200)]
kzonecheck: consider zone file name with origin auto-detection
Partially revert
38f65806dd9b7af15ecd17ae3f2e71d2569a1dee
Daniel Salzman [Fri, 30 May 2025 10:44:26 +0000 (12:44 +0200)]
dnskey-sync: use deterministic jitter always if keytag-modulo is configured
Daniel Salzman [Mon, 26 May 2025 16:10:03 +0000 (18:10 +0200)]
Merge branch 'ngtcp2-update' into 'master'
libngtcp2 update
See merge request knot/knot-dns!1780
Jan Doskočil [Mon, 26 May 2025 15:59:37 +0000 (17:59 +0200)]
libngtcp2: update to v1.13.0
Jan Doskočil [Mon, 26 May 2025 15:41:36 +0000 (17:41 +0200)]
scripts: more robust update_ngtcp2.sh script
Libor Peltan [Mon, 26 May 2025 11:19:54 +0000 (13:19 +0200)]
Merge branch 'cat_tpl_check' into 'master'
conf: call zone checks for catalog-templates
See merge request knot/knot-dns!1772
Daniel Salzman [Wed, 14 May 2025 15:52:53 +0000 (17:52 +0200)]
conf: call zone checks for catalog-templates
Note that these checks cannot be called for normal templates as templates
can be combined with zone-specific options (i.e. a template itself can be
invalid)!
Daniel Salzman [Wed, 14 May 2025 15:50:03 +0000 (17:50 +0200)]
conf: move checks to more context-logical places
Daniel Salzman [Mon, 26 May 2025 08:45:29 +0000 (10:45 +0200)]
Merge branch 'dnskey_sync_keytag' into 'master'
DNSKEY sync keytag
See merge request knot/knot-dns!1777
Daniel Salzman [Fri, 16 May 2025 07:56:27 +0000 (09:56 +0200)]
dnskey-sync: add jitter to scheduled event to minimize race condition
Libor Peltan [Thu, 22 May 2025 11:38:44 +0000 (13:38 +0200)]
logging: alg/ksk roll: inform about pre-scheduled retirement after DS TTL
Libor Peltan [Thu, 22 May 2025 11:02:37 +0000 (13:02 +0200)]
dnskey sync: skip rrs with different keytag modulo
Libor Peltan [Thu, 22 May 2025 11:01:11 +0000 (13:01 +0200)]
benevolent IXFR: bugfix: when ignoring rem/add, dont skip whole rrset
Daniel Salzman [Sun, 25 May 2025 08:59:38 +0000 (10:59 +0200)]
utils: mute Coverity (invalid type)
Daniel Salzman [Fri, 23 May 2025 14:50:29 +0000 (16:50 +0200)]
distro: adapt authoritative-server test for kzonecheck to autodetection
Daniel Salzman [Fri, 23 May 2025 11:31:50 +0000 (13:31 +0200)]
python3-libknot: improve README example
Daniel Salzman [Fri, 23 May 2025 11:30:13 +0000 (13:30 +0200)]
knot-exporter: remove return within a finally block
fixes #957
Daniel Salzman [Thu, 22 May 2025 16:17:50 +0000 (18:17 +0200)]
CI: add fedora-42 and alma-10
Daniel Salzman [Thu, 22 May 2025 11:15:55 +0000 (13:15 +0200)]
Merge branch 'tests_fix_startup' into 'master'
fix tests-extra server startup routines
See merge request knot/knot-dns!1774
Daniel Salzman [Thu, 22 May 2025 06:57:57 +0000 (08:57 +0200)]
Merge branch 'notify-delay' into 'master'
Notify delay
See merge request knot/knot-dns!1776
Jan Doskočil [Wed, 21 May 2025 12:58:42 +0000 (14:58 +0200)]
conf: implement notify-delay option
David Vašek [Sat, 17 May 2025 10:34:27 +0000 (12:34 +0200)]
tests-extra: allow lower number of server start retries for recoverable start failures
David Vašek [Sat, 17 May 2025 10:34:15 +0000 (12:34 +0200)]
tests-extra: when ports are busy, really allow a retry with a different configuration
David Vašek [Mon, 19 May 2025 09:26:42 +0000 (11:26 +0200)]
tests-extra: if a servers doesn't start during test startup, restart the startup process
In the past, knotd server continued running even after binding of some ports failed.
This is no longer true for some time. The tests didn't reflect it.
David Vašek [Fri, 16 May 2025 12:42:27 +0000 (14:42 +0200)]
tests-extra: fix the repeated server startup
A workaround of already fixed flaw doesn't apply anymore.
Daniel Salzman [Wed, 21 May 2025 12:14:33 +0000 (14:14 +0200)]
Merge branch 'slavesign_serial_indep' into 'master'
xfr/slave-sign: independent SOA serial series on slave-side
See merge request knot/knot-dns!1775
Libor Peltan [Wed, 21 May 2025 10:27:22 +0000 (12:27 +0200)]
xfr/slave-sign: independent SOA serial series on slave-side
Libor Peltan [Tue, 20 May 2025 12:17:49 +0000 (14:17 +0200)]
Merge branch 'catalog_check' into 'master'
Check if member zone configured with non-generated catalog
See merge request knot/knot-dns!1771
Daniel Salzman [Fri, 13 Sep 2024 12:48:01 +0000 (20:48 +0800)]
tls: DEBUG: print Subject Alternative Name
Based on https://github.com/CZ-NIC/knot/pull/31
Daniel Salzman [Mon, 14 Apr 2025 06:06:30 +0000 (08:06 +0200)]
libzscanner: use _public_ from libknot/attribute.h
Daniel Salzman [Sat, 8 Mar 2025 19:40:34 +0000 (20:40 +0100)]
libknot: extend TLS API to be used for non-DNS communication
Daniel Salzman [Tue, 13 May 2025 07:37:29 +0000 (09:37 +0200)]
catalog: check if member zone configured with non-generated catalog
Daniel Salzman [Mon, 12 May 2025 17:15:25 +0000 (19:15 +0200)]
Fix zs_init() callings with empty origin which newly enables autodetection
Libor Peltan [Mon, 12 May 2025 15:12:42 +0000 (17:12 +0200)]
Merge branch 'kzonecheck_soa' into 'master'
kzonecheck: use SOA owner from zone file as origin if not specified
See merge request knot/knot-dns!1770
Daniel Salzman [Wed, 7 May 2025 14:50:24 +0000 (16:50 +0200)]
kzonecheck: use SOA owner from zone file as origin if not specified
Libor Peltan [Mon, 12 May 2025 14:31:06 +0000 (16:31 +0200)]
Merge branch 'module_reload_solid' into 'master'
Allow zone-reload/reload to fail due to module configuration errors
See merge request knot/knot-dns!1769
Daniel Salzman [Mon, 28 Apr 2025 12:30:03 +0000 (14:30 +0200)]
modules: allow zone-reload/reload to fail due to module configuration errors
Based on https://github.com/CZ-NIC/knot/pull/34
Daniel Salzman [Fri, 9 May 2025 16:39:21 +0000 (18:39 +0200)]
kru: don't compile optimized version on macOS
This fixes compilation and CPU detection issues. The optimized version requires
x86 SIMD anyway.
Daniel Salzman [Tue, 6 May 2025 13:44:34 +0000 (15:44 +0200)]
Merge branch 'log_eagain_reverse' into 'master'
Log eagain reverse
See merge request knot/knot-dns!1768
Libor Peltan [Tue, 6 May 2025 12:10:24 +0000 (14:10 +0200)]
doc: zone/reverse: some more description
Libor Peltan [Tue, 6 May 2025 11:32:11 +0000 (13:32 +0200)]
libknot/errors: refactoring -- reordering error codes
Libor Peltan [Tue, 6 May 2025 11:19:16 +0000 (13:19 +0200)]
refactoring/errors: two more specific codes instead of most KNOT_EAGAIN
Libor Peltan [Tue, 6 May 2025 11:09:25 +0000 (13:09 +0200)]
errors: less misleading message
Libor Peltan [Tue, 6 May 2025 11:07:35 +0000 (13:07 +0200)]
reverse/load: bump level of explaining log when referenced zone not loaded
Libor Peltan [Tue, 6 May 2025 12:17:08 +0000 (14:17 +0200)]
Merge branch 'tls_compat_epel8' into 'master'
Improve TLS compatibility
See merge request knot/knot-dns!1767
Daniel Salzman [Tue, 6 May 2025 10:32:26 +0000 (12:32 +0200)]
kdig: print warning if TLS 1.2 is used
Daniel Salzman [Tue, 6 May 2025 08:30:57 +0000 (10:30 +0200)]
libknot/tls: don't use %DISABLE_TLS13_COMPAT_MODE with old GnuTLS versions...
and allow TLS 1.2 in kdig.
Jan Hák [Fri, 2 May 2025 11:01:50 +0000 (13:01 +0200)]
kzonecheck: support specified job count
Jan Hák [Mon, 5 May 2025 08:55:21 +0000 (10:55 +0200)]
sem-checks: add new DNSSEC algorithms 5 and 6 - RFC-9558, RFC-9563
Libor Peltan [Wed, 30 Apr 2025 11:34:07 +0000 (13:34 +0200)]
semantic-check: allow missing glue if NS is at other delegation...
...not only below
Daniel Salzman [Sat, 26 Apr 2025 19:27:04 +0000 (21:27 +0200)]
knot_exporter: add maximum libknot dependency version to ensure library consistency
fixes #956
Daniel Salzman [Mon, 28 Apr 2025 06:58:24 +0000 (08:58 +0200)]
Merge branch 'xfr_lock_nonrcu' into 'master'
nameserver/XFRout: multi-msg locked by rwlock instead RCU...
See merge request knot/knot-dns!1765
Libor Peltan [Tue, 15 Apr 2025 08:53:40 +0000 (10:53 +0200)]
nameserver/XFRout: multi-msg locked by rwlock instead RCU...
...prevents locking updates to unrelated zones as well
Daniel Salzman [Mon, 28 Apr 2025 06:47:17 +0000 (08:47 +0200)]
Dockerfile: use some t64 libraries to build on armhf
Daniel Salzman [Mon, 28 Apr 2025 05:48:20 +0000 (07:48 +0200)]
Dockerfile: switch to Debian Trixie
Jan Doskočil [Thu, 24 Apr 2025 13:27:47 +0000 (15:27 +0200)]
Merge branch 'typo-fix' into 'master'
tests: fix a typo
See merge request knot/knot-dns!1766
Jan Doskočil [Thu, 24 Apr 2025 13:16:46 +0000 (15:16 +0200)]
tests: fix a typo
Daniel Salzman [Wed, 23 Apr 2025 14:28:04 +0000 (16:28 +0200)]
ci: install awk to Fedora Docker image
Daniel Salzman [Wed, 23 Apr 2025 09:31:23 +0000 (11:31 +0200)]
docker: add knotd restart to the example
Jan Doskočil [Wed, 16 Apr 2025 12:05:15 +0000 (14:05 +0200)]
libngtcp2: update embedded library to v1.12
Daniel Salzman [Wed, 16 Apr 2025 07:58:36 +0000 (09:58 +0200)]
tls/quic: revert %DISABLE_TLS13_COMPAT_MODE removal
The compatibility doesn't make sense with QUIC. With TLS it doesn't seem
to be necessary any more.
fixes #954
Daniel Salzman [Tue, 15 Apr 2025 13:44:01 +0000 (15:44 +0200)]
tests-extra: fix arguments of ctl_sock_rnd() in zone_wait()
David Vašek [Tue, 15 Apr 2025 12:09:19 +0000 (14:09 +0200)]
knotd: fix default ctl socket init
Daniel Salzman [Mon, 14 Apr 2025 16:15:50 +0000 (18:15 +0200)]
Merge branch 'ctl_sockets_multi' into 'master'
implemented multi-socket CTL...
See merge request knot/knot-dns!1742
David Vašek [Wed, 9 Apr 2025 15:38:15 +0000 (17:38 +0200)]
confio: report an error when trying to abort from a wrong thread
Daniel Salzman [Wed, 5 Mar 2025 22:25:04 +0000 (23:25 +0100)]
ctl: hide unused API
Libor Peltan [Fri, 17 Jan 2025 12:36:46 +0000 (13:36 +0100)]
implemented multi-socket CTL...
...with each socket handled by a thread
Libor Peltan [Fri, 3 Jan 2025 15:45:43 +0000 (16:45 +0100)]
ctl: move socket handling to separate thread (not main thread)
Libor Peltan [Fri, 3 Jan 2025 13:52:16 +0000 (14:52 +0100)]
confio: additional check of same thread for whole confio txn
Libor Peltan [Fri, 3 Jan 2025 12:30:13 +0000 (13:30 +0100)]
refactoring: move ctlsocket-related and signal-related code from knotd/main.c
Daniel Salzman [Mon, 14 Apr 2025 15:44:12 +0000 (17:44 +0200)]
Merge branch 'kdig_msgdelay' into 'master'
kdig: implemented message read delay...
See merge request knot/knot-dns!1764
Libor Peltan [Mon, 14 Apr 2025 12:33:04 +0000 (14:33 +0200)]
kdig: implemented message read delay...
...in order to debug slow XFRs and their interferences
Libor Peltan [Mon, 14 Apr 2025 11:17:40 +0000 (13:17 +0200)]
Merge branch 'ctl_canon' into 'master'
ctl: add missing rdata canonicalization to zone-(un)set
See merge request knot/knot-dns!1763
Daniel Salzman [Mon, 14 Apr 2025 10:32:41 +0000 (12:32 +0200)]
ctl: add missing rdata canonicalization to zone-(un)set
Jan Doskočil [Mon, 14 Apr 2025 09:19:58 +0000 (11:19 +0200)]
doc/knot.conf: cert-key doesnt rule out TLS
Jan Doskočil [Sat, 12 Apr 2025 14:42:10 +0000 (16:42 +0200)]
knotc: avoid logging knot configuration warnings upon tab-completion events
Jan Doskočil [Thu, 10 Apr 2025 13:49:05 +0000 (15:49 +0200)]
knotc: decrease log level in most contexts
David Vašek [Thu, 10 Apr 2025 14:45:53 +0000 (16:45 +0200)]
doc/kdig: mark options enabled by default with (*) only
Daniel Salzman [Wed, 9 Apr 2025 08:40:32 +0000 (10:40 +0200)]
Merge branch 'fix_zscanner_pipe' into 'master'
Fix zscanner pipe
See merge request knot/knot-dns!1762
Libor Peltan [Wed, 9 Apr 2025 08:14:17 +0000 (10:14 +0200)]
scripts: enable calling update_parser from anywhere
Libor Peltan [Wed, 9 Apr 2025 08:10:26 +0000 (10:10 +0200)]
zscanner: bugfix: buffering from pipe
Daniel Salzman [Tue, 8 Apr 2025 16:22:59 +0000 (18:22 +0200)]
Merge branch 'fix_tls_0rtt' into 'master'
fix tls 0rtt
See merge request knot/knot-dns!1761
Libor Peltan [Tue, 8 Apr 2025 14:54:38 +0000 (16:54 +0200)]
libknot/DoT: use GNUTLS_NO_END_OF_EARLY_DATA for QUIC only...
...as ngtcp2 seems to require it