]> git.ipfire.org Git - thirdparty/knot-dns.git/log
thirdparty/knot-dns.git
16 months agom4: remove unused script ax_compare_version.m4
Daniel Salzman [Thu, 20 Mar 2025 09:20:26 +0000 (10:20 +0100)] 
m4: remove unused script ax_compare_version.m4

16 months agom4: remove unused script ax_pkg_check_vars.m4
Daniel Salzman [Thu, 20 Mar 2025 09:03:07 +0000 (10:03 +0100)] 
m4: remove unused script ax_pkg_check_vars.m4

16 months agosamples: relicense to GPL-2.0-or-later
Daniel Salzman [Sat, 22 Mar 2025 10:46:50 +0000 (11:46 +0100)] 
samples: relicense to GPL-2.0-or-later

16 months agoscripts: replace dashes with underscores for some scripts
Daniel Salzman [Sat, 22 Mar 2025 10:41:25 +0000 (11:41 +0100)] 
scripts: replace dashes with underscores for some scripts

16 months agoscripts: move probe_dump.py to samples
Daniel Salzman [Sat, 22 Mar 2025 10:25:41 +0000 (11:25 +0100)] 
scripts: move probe_dump.py to samples

16 months agoscripts: replace dashes with underscores for some scripts
Daniel Salzman [Sat, 22 Mar 2025 10:20:51 +0000 (11:20 +0100)] 
scripts: replace dashes with underscores for some scripts

16 months agoscripts: rename timerdb-info.py to timers_dump.py
Daniel Salzman [Sat, 22 Mar 2025 10:18:50 +0000 (11:18 +0100)] 
scripts: rename timerdb-info.py to timers_dump.py

16 months agoscripts: relicense to GPL-2.0-or-later
Daniel Salzman [Sat, 22 Mar 2025 10:00:44 +0000 (11:00 +0100)] 
scripts: relicense to GPL-2.0-or-later

16 months agoscripts: remove obsolete ksk_submittion_conf.sh
Daniel Salzman [Fri, 21 Mar 2025 13:01:52 +0000 (14:01 +0100)] 
scripts: remove obsolete ksk_submittion_conf.sh

16 months agoscripts: remove obsolete dns_sql2zf.py
Daniel Salzman [Fri, 21 Mar 2025 13:01:27 +0000 (14:01 +0100)] 
scripts: remove obsolete dns_sql2zf.py

16 months agoscripts: add script for GPL relicensing
Daniel Salzman [Thu, 20 Mar 2025 08:39:09 +0000 (09:39 +0100)] 
scripts: add script for GPL relicensing

16 months agoscripts: add last-signed-serial to timerdb-info.py
Daniel Salzman [Fri, 21 Mar 2025 15:01:19 +0000 (16:01 +0100)] 
scripts: add last-signed-serial to timerdb-info.py

16 months agoMerge branch 'kxdpgun_json' into 'master'
Libor Peltan [Thu, 20 Mar 2025 14:10:15 +0000 (15:10 +0100)] 
Merge branch 'kxdpgun_json' into 'master'

kxdpgun json misc

See merge request knot/knot-dns!1723

16 months agomod-dnsproxy: improve example description
Daniel Salzman [Thu, 20 Mar 2025 07:41:02 +0000 (08:41 +0100)] 
mod-dnsproxy: improve example description

16 months agodoc/operation: in logging section, change the text highlight type to avoid possible...
David Vašek [Wed, 5 Mar 2025 10:03:15 +0000 (11:03 +0100)] 
doc/operation: in logging section, change the text highlight type to avoid possible confusion

16 months agokxdpgun: implement some of the missing statistics in json output mode
Jan Doskočil [Fri, 18 Oct 2024 11:27:12 +0000 (13:27 +0200)] 
kxdpgun: implement some of the missing statistics in json output mode

16 months agokxdpgun: cleaner locking in statistics
Jan Doskočil [Fri, 18 Oct 2024 09:14:34 +0000 (11:14 +0200)] 
kxdpgun: cleaner locking in statistics

16 months agoMerge branch 'jpmens-master-patch-63769' into 'master'
Daniel Salzman [Mon, 17 Mar 2025 13:44:33 +0000 (14:44 +0100)] 
Merge branch 'jpmens-master-patch-63769' into 'master'

keystore-test and keystore-bench are actually written with a dash and not an underscore.

See merge request knot/knot-dns!1753

16 months agokeystore-test and keystore-bench are actually written with a dash and not an underscore.
JP Mens [Mon, 17 Mar 2025 12:55:12 +0000 (13:55 +0100)] 
keystore-test and keystore-bench are actually written with a dash and not an underscore.

16 months agoMerge branch 'log_evsched_pause' into 'master'
Daniel Salzman [Mon, 17 Mar 2025 09:41:26 +0000 (10:41 +0100)] 
Merge branch 'log_evsched_pause' into 'master'

logging: when zone events are paused and resumed

See merge request knot/knot-dns!1747

16 months agologging: when zone events are paused and resumed
Libor Peltan [Mon, 17 Feb 2025 12:10:55 +0000 (13:10 +0100)] 
logging: when zone events are paused and resumed

16 months agoMerge branch 'lastsigned_serial_timers' into 'master'
Daniel Salzman [Mon, 17 Mar 2025 07:41:12 +0000 (08:41 +0100)] 
Merge branch 'lastsigned_serial_timers' into 'master'

dnssec: moved last_signed_serial from kaspDB to timers...

See merge request knot/knot-dns!1750

16 months agodnssec: moved last_signed_serial from kaspDB to timers...
Libor Peltan [Wed, 12 Mar 2025 09:37:05 +0000 (10:37 +0100)] 
dnssec: moved last_signed_serial from kaspDB to timers...

...to gain performance with many zones signing at once

16 months agozonefile: refactor zcreator_step() arguments
Daniel Salzman [Thu, 20 Feb 2025 18:17:21 +0000 (19:17 +0100)] 
zonefile: refactor zcreator_step() arguments

16 months agozonefile: remove unused zcreator_t.master item
Daniel Salzman [Thu, 20 Feb 2025 16:25:12 +0000 (17:25 +0100)] 
zonefile: remove unused zcreator_t.master item

16 months agobackup: code cleanup
Daniel Salzman [Wed, 26 Feb 2025 11:00:30 +0000 (12:00 +0100)] 
backup: code cleanup

16 months agoMerge branch 'dnskey-flags' into 'master'
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

16 months agolibdnssec: ignore reserved bits in DNSKEY flags
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/

16 months agoMerge branch 'zonefile_skip' into 'master'
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

16 months agonotify: fix bsearch in unsorted dynarray
Libor Peltan [Mon, 17 Feb 2025 11:45:01 +0000 (12:45 +0100)] 
notify: fix bsearch in unsorted dynarray

16 months agozone/skip: also applies to zone diff computation
Libor Peltan [Tue, 4 Feb 2025 16:45:42 +0000 (17:45 +0100)] 
zone/skip: also applies to zone diff computation

16 months agoimplemented zonefile-skip option
Libor Peltan [Thu, 30 Jan 2025 15:22:04 +0000 (16:22 +0100)] 
implemented zonefile-skip option

17 months agoMerge branch 'tcp_log' into 'master'
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

17 months agotcp: add tcp_io_timeout and tcp_idle_timeout server stats counters
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

17 months agotcp: change 'terminated inactive client' log level to debug
Daniel Salzman [Fri, 21 Feb 2025 19:34:47 +0000 (20:34 +0100)] 
tcp: change 'terminated inactive client' log level to debug

17 months agoscripts: avoid name collisions in update_ngtcp2.sh
Jan Doskočil [Fri, 21 Feb 2025 15:18:39 +0000 (16:18 +0100)] 
scripts: avoid name collisions in update_ngtcp2.sh

17 months agolibngtcp2: update to v1.11.0
Jan Doskočil [Fri, 21 Feb 2025 12:51:40 +0000 (13:51 +0100)] 
libngtcp2: update to v1.11.0

17 months agoCI: use the latest apkg to fix error on Debian 13
Daniel Salzman [Thu, 20 Feb 2025 12:59:27 +0000 (13:59 +0100)] 
CI: use the latest apkg to fix error on Debian 13

17 months agoCI: add Debian 13 for package testing
Daniel Salzman [Thu, 20 Feb 2025 06:27:47 +0000 (07:27 +0100)] 
CI: add Debian 13 for package testing

17 months agotests-extra: increase robustness of edns/nsid
Daniel Salzman [Fri, 14 Feb 2025 07:25:49 +0000 (08:25 +0100)] 
tests-extra: increase robustness of edns/nsid

17 months agoMerge branch 'knotc_autocomplete_links' into 'master'
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

17 months agoknotc: autocomplete symlinked dirs even as subdirectories
David Vašek [Mon, 10 Feb 2025 15:06:41 +0000 (16:06 +0100)] 
knotc: autocomplete symlinked dirs even as subdirectories

17 months agoutils: fix UBSAN 'applying zero offset to null pointer' if empty XFR response
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

17 months agoutils: simplify message section counts reading
Daniel Salzman [Fri, 14 Feb 2025 06:50:05 +0000 (07:50 +0100)] 
utils: simplify message section counts reading

17 months agotests: fixing slow run with all valgrind flags
Libor Peltan [Tue, 11 Feb 2025 11:11:13 +0000 (12:11 +0100)] 
tests: fixing slow run with all valgrind flags

17 months agoknotc: explicitly ignore snprintf() return value -- silence Coverity warning
David Vašek [Sun, 9 Feb 2025 09:50:54 +0000 (10:50 +0100)] 
knotc: explicitly ignore snprintf() return value -- silence Coverity warning

17 months agoMerge branch 'serial_modulo_enh' into 'master'
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

17 months agodoc: serial modulo/shift enhancements
Libor Peltan [Tue, 28 Jan 2025 13:40:46 +0000 (14:40 +0100)] 
doc: serial modulo/shift enhancements

17 months agoimplemented SOA serial shift for backup-signer op
Libor Peltan [Mon, 9 Dec 2024 17:35:40 +0000 (18:35 +0100)] 
implemented SOA serial shift for backup-signer op

18 months agoMerge branch 'ddns_no_contents' into 'master'
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

18 months agoddns: allow initial update to empty zone
Daniel Salzman [Thu, 30 Jan 2025 07:14:02 +0000 (08:14 +0100)] 
ddns: allow initial update to empty zone

18 months agoMerge branch 'knotc_autocomplete' into 'master'
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

18 months agodoc/knotc: highlight recently added keywords as others are
David Vašek [Mon, 13 Jan 2025 17:33:40 +0000 (18:33 +0100)] 
doc/knotc: highlight recently added keywords as others are

18 months agoknotc: conf-(import|export) path tab completion
Jan Doskočil [Wed, 8 Jan 2025 11:48:04 +0000 (12:48 +0100)] 
knotc: conf-(import|export) path tab completion

18 months agoknotc: conf-set dont send superfluous LIST_SCHEMA filter
Jan Doskočil [Sun, 29 Dec 2024 18:34:46 +0000 (19:34 +0100)] 
knotc: conf-set dont send superfluous LIST_SCHEMA filter

18 months agoknotc: avoid sending empty FILTERS sections
Jan Doskočil [Sat, 28 Dec 2024 18:56:18 +0000 (19:56 +0100)] 
knotc: avoid sending empty FILTERS sections

18 months agoknotc: zone-key-rollover key type tab completion
Jan Doskočil [Sat, 28 Dec 2024 12:12:48 +0000 (13:12 +0100)] 
knotc: zone-key-rollover key type tab completion

18 months agoctl: define rollover key-type keywords as macros
David Vašek [Wed, 29 Jan 2025 22:43:18 +0000 (23:43 +0100)] 
ctl: define rollover key-type keywords as macros

18 months agoknotc: avoid sending empty FLAGS fields
Jan Doskočil [Mon, 9 Dec 2024 14:59:16 +0000 (15:59 +0100)] 
knotc: avoid sending empty FLAGS fields

18 months agoknotc: prevent segfault upon invalid filter
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.

18 months agoknotc: filters tab completion
Jan Doskočil [Fri, 27 Dec 2024 22:40:16 +0000 (23:40 +0100)] 
knotc: filters tab completion

18 months agoknotc: make knotc command macros available in other knotc modules
David Vašek [Tue, 4 Feb 2025 14:01:09 +0000 (15:01 +0100)] 
knotc: make knotc command macros available in other knotc modules

18 months agoknotc: status detail tab completion
Jan Doskočil [Thu, 26 Dec 2024 18:51:15 +0000 (19:51 +0100)] 
knotc: status detail tab completion

18 months agoctl: define status detail keywords as macros
David Vašek [Tue, 28 Jan 2025 11:19:32 +0000 (12:19 +0100)] 
ctl: define status detail keywords as macros

18 months agoknotc: make filter_desc_t available in other modules
Daniel Salzman [Fri, 24 Jan 2025 11:05:35 +0000 (12:05 +0100)] 
knotc: make filter_desc_t available in other modules

18 months agoknotc: use filter_desc_t for conf-import and conf-export filters
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

18 months agodoc: update features
Daniel Salzman [Tue, 4 Feb 2025 12:12:38 +0000 (13:12 +0100)] 
doc: update features

18 months agoMerge branch 'ctl_commands_fixes' into 'master'
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

18 months agoctl/flush: check params and the output directory once before actual flushing
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

18 months agoctl/backup: make common failure report reusable
David Vašek [Wed, 29 Jan 2025 15:52:00 +0000 (16:52 +0100)] 
ctl/backup: make common failure report reusable

18 months agoctl/flush: report missing outdir value as missing rather than invalid
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

18 months agoctl/backup: check that a backup/restore directory has been provided from ctl
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

18 months agoxdp: fix vlan_map size calculation
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.

18 months agocontrib: list ISC license as such, not as 0BSD license
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.

18 months agocontrib/ucw: clarify source licenses
Daniel Salzman [Fri, 24 Jan 2025 16:52:47 +0000 (17:52 +0100)] 
contrib/ucw: clarify source licenses

18 months agoucw/heap: unify the license header
Daniel Salzman [Fri, 24 Jan 2025 07:38:07 +0000 (08:38 +0100)] 
ucw/heap: unify the license header

18 months agocontrib: remove unused ucw/binsearch.h
Daniel Salzman [Thu, 23 Jan 2025 16:15:51 +0000 (17:15 +0100)] 
contrib: remove unused ucw/binsearch.h

18 months agobugfix/serial modulo: detect uint32 overflow
Libor Peltan [Mon, 9 Dec 2024 15:33:08 +0000 (16:33 +0100)] 
bugfix/serial modulo: detect uint32 overflow

18 months agoMerge branch 'zoneversion' into 'master'
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

18 months agokdig: add +[no]zoneversion support
Daniel Salzman [Sun, 19 Jan 2025 18:14:14 +0000 (19:14 +0100)] 
kdig: add +[no]zoneversion support

18 months agonameserver: add EDNS ZONEVERSION support
Daniel Salzman [Sun, 19 Jan 2025 18:16:41 +0000 (19:16 +0100)] 
nameserver: add EDNS ZONEVERSION support

18 months agolibknot: add EDNS ZONEVERSION support
Daniel Salzman [Sat, 18 Jan 2025 18:07:49 +0000 (19:07 +0100)] 
libknot: add EDNS ZONEVERSION support

18 months agodoc: update network adapters in XDP pre-requisities
Hynek Šabacký [Fri, 17 Jan 2025 09:34:00 +0000 (10:34 +0100)] 
doc: update network adapters in XDP pre-requisities

18 months agoMerge branch 'dname_apex' into 'master'
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

18 months agoadjust: refactor structure initializations to be more descriptive
Daniel Salzman [Thu, 16 Jan 2025 07:29:48 +0000 (08:29 +0100)] 
adjust: refactor structure initializations to be more descriptive

18 months agosem-checks: fix DNAME at the zone apex check if active NSEC3
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

19 months agodoc: update year to 2025
Daniel Salzman [Wed, 8 Jan 2025 12:36:53 +0000 (13:36 +0100)] 
doc: update year to 2025

19 months agoMerge branch 'ctl_dummy_abort_nostuck' into 'master'
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

19 months agoctl: improve error detection and send an error message to the client
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

19 months agoctl: fix ctl stuck when abort sent to nonexisting conf txn...
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

19 months agopython: expanded CTL documentation
Jan Doskočil [Wed, 11 Dec 2024 14:06:23 +0000 (15:06 +0100)] 
python: expanded CTL documentation

19 months agoMerge branch 'xdp_filter_impr' into 'master'
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

19 months agoxdp: update filter binary using Clang 18
Daniel Salzman [Tue, 31 Dec 2024 19:12:20 +0000 (20:12 +0100)] 
xdp: update filter binary using Clang 18

19 months agoxdp: add IPv6 extended headers parsing support with some filtering
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.

19 months agoxdp: unify used byte-order conversion functions
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.

19 months agoxdp: drop DNS messages shorter than DNS header length
Daniel Salzman [Mon, 30 Dec 2024 10:51:52 +0000 (11:51 +0100)] 
xdp: drop DNS messages shorter than DNS header length

19 months agoxdp: add check for IP payload length and udp->len equality
Daniel Salzman [Tue, 31 Dec 2024 19:03:04 +0000 (20:03 +0100)] 
xdp: add check for IP payload length and udp->len equality

19 months agoxdp: refactor access checks to be uniform with the other checks
Daniel Salzman [Tue, 31 Dec 2024 19:01:25 +0000 (20:01 +0100)] 
xdp: refactor access checks to be uniform with the other checks

19 months agotls: call gnutls_bye() when closing a TLS connection
Daniel Salzman [Fri, 20 Dec 2024 14:50:46 +0000 (15:50 +0100)] 
tls: call gnutls_bye() when closing a TLS connection

19 months agoknotd: avoid crash on crafted CTL payload
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.