]>
git.ipfire.org Git - thirdparty/knot-dns.git/log
Daniel Salzman [Wed, 26 Feb 2025 11:00:30 +0000 (12:00 +0100)]
backup: code cleanup
Daniel Salzman [Thu, 13 Mar 2025 11:42:52 +0000 (12:42 +0100)]
Merge branch 'dnskey-flags' into 'master'
libdnssec: ignore reserved bits in DNSKEY flags
See merge request knot/knot-dns!1751
Vladimír Čunát [Thu, 13 Mar 2025 11:31:03 +0000 (12:31 +0100)]
libdnssec: ignore reserved bits in DNSKEY flags
Otherwise Knot Resolver would be breaking a MUST at the very end of
https://datatracker.ietf.org/doc/html/rfc4034#section-2.1.1
Real-life example:
https://mailarchive.ietf.org/arch/msg/dd/W4lOTgd8-3NF0pbjtqP7YUz6Puk/
Daniel Salzman [Wed, 12 Mar 2025 11:47:54 +0000 (12:47 +0100)]
Merge branch 'zonefile_skip' into 'master'
Zonefile skip
See merge request knot/knot-dns!1745
Libor Peltan [Mon, 17 Feb 2025 11:45:01 +0000 (12:45 +0100)]
notify: fix bsearch in unsorted dynarray
Libor Peltan [Tue, 4 Feb 2025 16:45:42 +0000 (17:45 +0100)]
zone/skip: also applies to zone diff computation
Libor Peltan [Thu, 30 Jan 2025 15:22:04 +0000 (16:22 +0100)]
implemented zonefile-skip option
Daniel Salzman [Tue, 25 Feb 2025 14:32:41 +0000 (15:32 +0100)]
Merge branch 'tcp_log' into 'master'
Consistent TCP timeout logging
See merge request knot/knot-dns!1748
Daniel Salzman [Fri, 21 Feb 2025 19:56:54 +0000 (20:56 +0100)]
tcp: add tcp_io_timeout and tcp_idle_timeout server stats counters
Daniel Salzman [Fri, 21 Feb 2025 19:34:47 +0000 (20:34 +0100)]
tcp: change 'terminated inactive client' log level to debug
Jan Doskočil [Fri, 21 Feb 2025 15:18:39 +0000 (16:18 +0100)]
scripts: avoid name collisions in update_ngtcp2.sh
Jan Doskočil [Fri, 21 Feb 2025 12:51:40 +0000 (13:51 +0100)]
libngtcp2: update to v1.11.0
Daniel Salzman [Thu, 20 Feb 2025 12:59:27 +0000 (13:59 +0100)]
CI: use the latest apkg to fix error on Debian 13
Daniel Salzman [Thu, 20 Feb 2025 06:27:47 +0000 (07:27 +0100)]
CI: add Debian 13 for package testing
Daniel Salzman [Fri, 14 Feb 2025 07:25:49 +0000 (08:25 +0100)]
tests-extra: increase robustness of edns/nsid
Jan Doskočil [Fri, 14 Feb 2025 11:12:57 +0000 (12:12 +0100)]
Merge branch 'knotc_autocomplete_links' into 'master'
knotc: autocomplete symlinked dirs even as subdirectories
See merge request knot/knot-dns!1746
David Vašek [Mon, 10 Feb 2025 15:06:41 +0000 (16:06 +0100)]
knotc: autocomplete symlinked dirs even as subdirectories
Daniel Salzman [Fri, 14 Feb 2025 06:51:32 +0000 (07:51 +0100)]
utils: fix UBSAN 'applying zero offset to null pointer' if empty XFR response
Daniel Salzman [Fri, 14 Feb 2025 06:50:05 +0000 (07:50 +0100)]
utils: simplify message section counts reading
Libor Peltan [Tue, 11 Feb 2025 11:11:13 +0000 (12:11 +0100)]
tests: fixing slow run with all valgrind flags
David Vašek [Sun, 9 Feb 2025 09:50:54 +0000 (10:50 +0100)]
knotc: explicitly ignore snprintf() return value -- silence Coverity warning
Daniel Salzman [Sat, 8 Feb 2025 13:07:39 +0000 (14:07 +0100)]
Merge branch 'serial_modulo_enh' into 'master'
Serial modulo shift
See merge request knot/knot-dns!1735
Libor Peltan [Tue, 28 Jan 2025 13:40:46 +0000 (14:40 +0100)]
doc: serial modulo/shift enhancements
Libor Peltan [Mon, 9 Dec 2024 17:35:40 +0000 (18:35 +0100)]
implemented SOA serial shift for backup-signer op
Libor Peltan [Thu, 6 Feb 2025 20:47:13 +0000 (21:47 +0100)]
Merge branch 'ddns_no_contents' into 'master'
Allow initial DDNS to empty zone
See merge request knot/knot-dns!1744
Daniel Salzman [Thu, 30 Jan 2025 07:14:02 +0000 (08:14 +0100)]
ddns: allow initial update to empty zone
David Vasek [Tue, 4 Feb 2025 16:30:28 +0000 (17:30 +0100)]
Merge branch 'knotc_autocomplete' into 'master'
knotc: autocomplete improvements
See merge request knot/knot-dns!1737
David Vašek [Mon, 13 Jan 2025 17:33:40 +0000 (18:33 +0100)]
doc/knotc: highlight recently added keywords as others are
Jan Doskočil [Wed, 8 Jan 2025 11:48:04 +0000 (12:48 +0100)]
knotc: conf-(import|export) path tab completion
Jan Doskočil [Sun, 29 Dec 2024 18:34:46 +0000 (19:34 +0100)]
knotc: conf-set dont send superfluous LIST_SCHEMA filter
Jan Doskočil [Sat, 28 Dec 2024 18:56:18 +0000 (19:56 +0100)]
knotc: avoid sending empty FILTERS sections
Jan Doskočil [Sat, 28 Dec 2024 12:12:48 +0000 (13:12 +0100)]
knotc: zone-key-rollover key type tab completion
David Vašek [Wed, 29 Jan 2025 22:43:18 +0000 (23:43 +0100)]
ctl: define rollover key-type keywords as macros
Jan Doskočil [Mon, 9 Dec 2024 14:59:16 +0000 (15:59 +0100)]
knotc: avoid sending empty FLAGS fields
Jan Doskočil [Sat, 28 Dec 2024 00:34:25 +0000 (01:34 +0100)]
knotc: prevent segfault upon invalid filter
Previously `knotc zone-flush example. +example` would segfault.
Jan Doskočil [Fri, 27 Dec 2024 22:40:16 +0000 (23:40 +0100)]
knotc: filters tab completion
David Vašek [Tue, 4 Feb 2025 14:01:09 +0000 (15:01 +0100)]
knotc: make knotc command macros available in other knotc modules
Jan Doskočil [Thu, 26 Dec 2024 18:51:15 +0000 (19:51 +0100)]
knotc: status detail tab completion
David Vašek [Tue, 28 Jan 2025 11:19:32 +0000 (12:19 +0100)]
ctl: define status detail keywords as macros
Daniel Salzman [Fri, 24 Jan 2025 11:05:35 +0000 (12:05 +0100)]
knotc: make filter_desc_t available in other modules
Daniel Salzman [Fri, 24 Jan 2025 10:54:16 +0000 (11:54 +0100)]
knotc: use filter_desc_t for conf-import and conf-export filters
Daniel Salzman [Tue, 4 Feb 2025 12:12:38 +0000 (13:12 +0100)]
doc: update features
Daniel Salzman [Tue, 4 Feb 2025 10:08:34 +0000 (11:08 +0100)]
Merge branch 'ctl_commands_fixes' into 'master'
zone-backup/zone-restore and zone-flush related fixes and improvements
See merge request knot/knot-dns!1743
David Vašek [Wed, 29 Jan 2025 16:38:34 +0000 (17:38 +0100)]
ctl/flush: check params and the output directory once before actual flushing
David Vašek [Wed, 29 Jan 2025 15:52:00 +0000 (16:52 +0100)]
ctl/backup: make common failure report reusable
David Vašek [Tue, 28 Jan 2025 14:47:20 +0000 (15:47 +0100)]
ctl/flush: report missing outdir value as missing rather than invalid
David Vašek [Tue, 28 Jan 2025 14:16:10 +0000 (15:16 +0100)]
ctl/backup: check that a backup/restore directory has been provided from ctl
Daniel Salzman [Fri, 31 Jan 2025 15:07:06 +0000 (16:07 +0100)]
xdp: fix vlan_map size calculation
All indexes must be considered to avoid out-of-bound array access.
David Vašek [Mon, 27 Jan 2025 09:49:50 +0000 (10:49 +0100)]
contrib: list ISC license as such, not as 0BSD license
These two licenses are different.
Daniel Salzman [Fri, 24 Jan 2025 16:52:47 +0000 (17:52 +0100)]
contrib/ucw: clarify source licenses
Daniel Salzman [Fri, 24 Jan 2025 07:38:07 +0000 (08:38 +0100)]
ucw/heap: unify the license header
Daniel Salzman [Thu, 23 Jan 2025 16:15:51 +0000 (17:15 +0100)]
contrib: remove unused ucw/binsearch.h
Libor Peltan [Mon, 9 Dec 2024 15:33:08 +0000 (16:33 +0100)]
bugfix/serial modulo: detect uint32 overflow
Daniel Salzman [Tue, 21 Jan 2025 09:59:38 +0000 (10:59 +0100)]
Merge branch 'zoneversion' into 'master'
Support for EDNS ZONEVERSION
See merge request knot/knot-dns!1741
Daniel Salzman [Sun, 19 Jan 2025 18:14:14 +0000 (19:14 +0100)]
kdig: add +[no]zoneversion support
Daniel Salzman [Sun, 19 Jan 2025 18:16:41 +0000 (19:16 +0100)]
nameserver: add EDNS ZONEVERSION support
Daniel Salzman [Sat, 18 Jan 2025 18:07:49 +0000 (19:07 +0100)]
libknot: add EDNS ZONEVERSION support
Hynek Šabacký [Fri, 17 Jan 2025 09:34:00 +0000 (10:34 +0100)]
doc: update network adapters in XDP pre-requisities
Libor Peltan [Thu, 16 Jan 2025 15:04:23 +0000 (16:04 +0100)]
Merge branch 'dname_apex' into 'master'
Fix DNAME at the zone apex check if active NSEC3
See merge request knot/knot-dns!1740
Daniel Salzman [Thu, 16 Jan 2025 07:29:48 +0000 (08:29 +0100)]
adjust: refactor structure initializations to be more descriptive
Daniel Salzman [Thu, 16 Jan 2025 07:18:43 +0000 (08:18 +0100)]
sem-checks: fix DNAME at the zone apex check if active NSEC3
Daniel Salzman [Wed, 8 Jan 2025 12:36:53 +0000 (13:36 +0100)]
doc: update year to 2025
Daniel Salzman [Wed, 8 Jan 2025 13:21:52 +0000 (14:21 +0100)]
Merge branch 'ctl_dummy_abort_nostuck' into 'master'
ctl: fix ctl stuck when abort sent to nonexisting conf txn...
See merge request knot/knot-dns!1739
Daniel Salzman [Wed, 8 Jan 2025 11:36:54 +0000 (12:36 +0100)]
ctl: improve error detection and send an error message to the client
Libor Peltan [Wed, 8 Jan 2025 08:05:44 +0000 (09:05 +0100)]
ctl: fix ctl stuck when abort sent to nonexisting conf txn...
...this appeared as a regression when implementing concurrent CTL
Jan Doskočil [Wed, 11 Dec 2024 14:06:23 +0000 (15:06 +0100)]
python: expanded CTL documentation
Daniel Salzman [Sun, 5 Jan 2025 17:36:48 +0000 (18:36 +0100)]
Merge branch 'xdp_filter_impr' into 'master'
XDP filter improvements
Closes #948
See merge request knot/knot-dns!1738
Daniel Salzman [Tue, 31 Dec 2024 19:12:20 +0000 (20:12 +0100)]
xdp: update filter binary using Clang 18
Daniel Salzman [Fri, 3 Jan 2025 15:31:51 +0000 (16:31 +0100)]
xdp: add IPv6 extended headers parsing support with some filtering
- Any packet with more than 3 IPv6 headers is dropped.
- Any packet with an IPPROTO_NONE or a reserved header (253 and 253) is dropped.
- A DNS-related packet is dropped if it contains any extended header.
Daniel Salzman [Wed, 1 Jan 2025 20:37:22 +0000 (21:37 +0100)]
xdp: unify used byte-order conversion functions
Note that functions like bpf_htons() internally disinguish whether the argument
is a constant.
Daniel Salzman [Mon, 30 Dec 2024 10:51:52 +0000 (11:51 +0100)]
xdp: drop DNS messages shorter than DNS header length
Daniel Salzman [Tue, 31 Dec 2024 19:03:04 +0000 (20:03 +0100)]
xdp: add check for IP payload length and udp->len equality
Daniel Salzman [Tue, 31 Dec 2024 19:01:25 +0000 (20:01 +0100)]
xdp: refactor access checks to be uniform with the other checks
Daniel Salzman [Fri, 20 Dec 2024 14:50:46 +0000 (15:50 +0100)]
tls: call gnutls_bye() when closing a TLS connection
Jan Doskočil [Thu, 2 Jan 2025 17:20:01 +0000 (18:20 +0100)]
knotd: avoid crash on crafted CTL payload
There was an incorrect assumption in zones_apply() that the next DATA
unit carries zonename data.
Jan Doskočil [Thu, 2 Jan 2025 12:44:59 +0000 (13:44 +0100)]
doc: knotc: describe the force option for zone-flush
Daniel Salzman [Sat, 28 Dec 2024 09:18:55 +0000 (10:18 +0100)]
Merge branch 'tests_socket_starting' into 'master'
Fix the servers startup in the functional tests.
See merge request knot/knot-dns!1736
David Vašek [Wed, 18 Dec 2024 11:51:03 +0000 (12:51 +0100)]
tests-extra: remove superfluous C-style semicolons from Python code
David Vašek [Wed, 25 Dec 2024 22:42:07 +0000 (23:42 +0100)]
tests-extra: fix the all-servers startup method
When all servers are already running, don't start some of them again.
David Vašek [Mon, 9 Dec 2024 16:50:31 +0000 (17:50 +0100)]
tests-extra: fix Knot server starting when it listens on a socket
Jan Doskočil [Fri, 20 Dec 2024 14:15:37 +0000 (15:15 +0100)]
libngtcp2: update embedded libngtcp2 to v1.10.0
Daniel Salzman [Fri, 20 Dec 2024 13:24:19 +0000 (14:24 +0100)]
Merge branch 'max_ttl_rrsig_bck' into 'master'
RRSIGs/TTL: set rrsig->ttl to zero...
See merge request knot/knot-dns!1734
Libor Peltan [Tue, 17 Dec 2024 13:11:51 +0000 (14:11 +0100)]
RRSIGs/TTL: set rrsig->ttl to zero...
...instead of random relict from the past,
anyway should not be used anywhere
Daniel Salzman [Wed, 18 Dec 2024 15:09:08 +0000 (16:09 +0100)]
stats: fix duplicate XDP counter names in YAML dump
fixes #947
Daniel Salzman [Thu, 19 Dec 2024 09:06:37 +0000 (10:06 +0100)]
Merge branch 'max_ttl_rrsig' into 'master'
Max TTL of RRSIG
See merge request knot/knot-dns!1733
Libor Peltan [Tue, 17 Dec 2024 12:42:33 +0000 (13:42 +0100)]
max_ttl: in case of RRSIG consider orig_ttl and NOT rrsig->ttl
Libor Peltan [Tue, 17 Dec 2024 12:20:44 +0000 (13:20 +0100)]
tests: added max TTL test with signing and incremental realod
Jan Hák [Wed, 18 Dec 2024 10:03:54 +0000 (11:03 +0100)]
mod-dnstap: distinguish between AUTH and UPDATE query/response
Jan Hák [Wed, 18 Dec 2024 09:54:19 +0000 (10:54 +0100)]
utils: use knsupdate style of output when printing UPDATE message
David Vašek [Tue, 17 Dec 2024 09:29:57 +0000 (10:29 +0100)]
tests-extra: zone/expire -- fix a typo
solidcc2 [Thu, 12 Dec 2024 09:32:50 +0000 (17:32 +0800)]
fix: zone hang if last zone-reload oom
Daniel Salzman [Sun, 15 Dec 2024 20:39:38 +0000 (21:39 +0100)]
query_module: fix statistics counters cleanup if allocation fails
David Vašek [Thu, 12 Dec 2024 13:29:04 +0000 (14:29 +0100)]
tests/atomic: lower the iteration counts with spinlock-emulated atomics
Daniel Salzman [Wed, 11 Dec 2024 16:44:01 +0000 (17:44 +0100)]
Merge branch 'custom_atomic'
Jan Hák [Tue, 26 Nov 2024 11:56:51 +0000 (12:56 +0100)]
modules/cookies: fix usage of new atomic in code (variable secret->variable)
Jan Hák [Tue, 26 Nov 2024 11:56:51 +0000 (12:56 +0100)]
libknot/quic: fix usage of new atomic in code (variable cert_creds)
Jan Hák [Tue, 26 Nov 2024 11:56:51 +0000 (12:56 +0100)]
libknot/quic: fix usage of new atomic in code (variable obufs_size)
Jan Hák [Tue, 26 Nov 2024 11:56:51 +0000 (12:56 +0100)]
kxdpgun: fix usage of new atomic in code (variables stats_trigger and stats_switch)
Jan Hák [Tue, 26 Nov 2024 11:56:51 +0000 (12:56 +0100)]
stats: fix usage of new atomic in code (variable stats_vals)
Jan Hák [Tue, 26 Nov 2024 11:56:51 +0000 (12:56 +0100)]
modules/probe: fix usage of new atomic in code (variable last_times)