]> git.ipfire.org Git - thirdparty/knot-dns.git/log
thirdparty/knot-dns.git
3 years agotests-extra: code cleanup
David Vašek [Thu, 2 Feb 2023 09:16:46 +0000 (10:16 +0100)] 
tests-extra: code cleanup

The Server.backup_zone method is a duplicate of Server.zone_backup and it isn't currently used.

3 years agosamples: fix working before start and upon knotd restart and extend dbus_client.py
Daniel Salzman [Tue, 7 Feb 2023 11:59:24 +0000 (12:59 +0100)] 
samples: fix working before start and upon knotd restart and extend dbus_client.py

3 years agosamples: dbus_client.sh -- improve compatibility when mawk is used
David Vašek [Mon, 6 Feb 2023 12:03:14 +0000 (13:03 +0100)] 
samples: dbus_client.sh -- improve compatibility when mawk is used

Turn off the default input buffering in mawk.

3 years agodistro/rpm: fix destination path for cz.nic.knotd.conf
Daniel Salzman [Tue, 7 Feb 2023 07:06:53 +0000 (08:06 +0100)] 
distro/rpm: fix destination path for cz.nic.knotd.conf

3 years agoREADME: remove badge for no longer available LGTM.com
Daniel Salzman [Tue, 7 Feb 2023 06:52:39 +0000 (07:52 +0100)] 
README: remove badge for no longer available LGTM.com

3 years agodistro/deb: remove inconsistent 'Multi-Arch: same' hinters
Daniel Salzman [Mon, 6 Feb 2023 14:59:43 +0000 (15:59 +0100)] 
distro/deb: remove inconsistent 'Multi-Arch: same' hinters

Currently the packages are not co-installable.

3 years agodistro: install D-Bus config to /usr/share/dbus-1/system.d/ instead of /etc/dbus...
Daniel Salzman [Mon, 6 Feb 2023 10:29:06 +0000 (11:29 +0100)] 
distro: install D-Bus config to /usr/share/dbus-1/system.d/ instead of /etc/dbus-1/system.d/

3 years agoMerge branch 'load_impr'
Daniel Salzman [Wed, 1 Feb 2023 18:21:42 +0000 (19:21 +0100)] 
Merge branch 'load_impr'

3 years agotests-extra: add test for ZONEMD reload/restart preservation
Daniel Salzman [Wed, 1 Feb 2023 18:00:07 +0000 (19:00 +0100)] 
tests-extra: add test for ZONEMD reload/restart preservation

3 years agoload: replace 'corrected' with 'updated' in log message
Daniel Salzman [Wed, 1 Feb 2023 16:31:31 +0000 (17:31 +0100)] 
load: replace 'corrected' with 'updated' in log message

3 years agoload: don't update ZONEMD upon zone-reload or restart if load changes or whole
Daniel Salzman [Wed, 1 Feb 2023 15:08:36 +0000 (16:08 +0100)] 
load: don't update ZONEMD upon zone-reload or restart if load changes or whole

3 years agoload: don't flush the zone if difference-no-serial and no zone change
Daniel Salzman [Wed, 1 Feb 2023 07:38:28 +0000 (08:38 +0100)] 
load: don't flush the zone if difference-no-serial and no zone change

3 years agoload: don't update ZONEMD upon zone-reload or restart if load changes-no-difference...
Daniel Salzman [Tue, 31 Jan 2023 16:59:40 +0000 (17:59 +0100)] 
load: don't update ZONEMD upon zone-reload or restart if load changes-no-difference enabled

3 years agochangeset: allow more SOA RRSIGs in changeset_differs_just_serial() e.g. during ZSK...
Daniel Salzman [Tue, 31 Jan 2023 14:00:59 +0000 (15:00 +0100)] 
changeset: allow more SOA RRSIGs in changeset_differs_just_serial() e.g. during ZSK rollover

3 years agozone: free the contents if forced check error in zone_load_contents()
Daniel Salzman [Fri, 27 Jan 2023 10:05:18 +0000 (11:05 +0100)] 
zone: free the contents if forced check error in zone_load_contents()

3 years agotests-extra/zonemd: remove workaround for old dnssec-verify
Daniel Salzman [Tue, 31 Jan 2023 18:23:47 +0000 (19:23 +0100)] 
tests-extra/zonemd: remove workaround for old dnssec-verify

3 years agoxdp/quic: adapt to ngtcp2 0.13
Daniel Salzman [Tue, 31 Jan 2023 09:03:29 +0000 (10:03 +0100)] 
xdp/quic: adapt to ngtcp2 0.13

3 years agocontrib: upgrade embedded library ngtcp2 to v0.13
Daniel Salzman [Tue, 31 Jan 2023 08:49:16 +0000 (09:49 +0100)] 
contrib: upgrade embedded library ngtcp2 to v0.13

3 years agotests-extra: limit the number of DDNS tries in random_ddns()
David Vašek [Wed, 21 Dec 2022 23:54:09 +0000 (00:54 +0100)] 
tests-extra: limit the number of DDNS tries in random_ddns()

3 years agokxdpgun: print reset QUIC connections in stats
Jan Hák [Thu, 26 Jan 2023 09:31:44 +0000 (10:31 +0100)] 
kxdpgun: print reset QUIC connections in stats

3 years agodoc: fix typo in the reference
Daniel Salzman [Thu, 26 Jan 2023 13:05:20 +0000 (14:05 +0100)] 
doc: fix typo in the reference

3 years agoixfr: add 'zone.provide-ixfr' option for enforcing IXFR fallback
Daniel Salzman [Thu, 19 Jan 2023 12:51:09 +0000 (13:51 +0100)] 
ixfr: add 'zone.provide-ixfr' option for enforcing IXFR fallback

3 years agodistro/deb: add Build-Depends-Package to library symbols files
Daniel Salzman [Wed, 25 Jan 2023 13:22:05 +0000 (14:22 +0100)] 
distro/deb: add Build-Depends-Package to library symbols files

3 years agodistro/deb,rpm: synchronize ownership and permissions for /var/lib/knot, /etc/knot...
Daniel Salzman [Tue, 24 Jan 2023 15:41:47 +0000 (16:41 +0100)] 
distro/deb,rpm: synchronize ownership and permissions for /var/lib/knot, /etc/knot, and /etc/knot/knot.conf

3 years agodistro/deb: add missing directories to purge list in postrm script, refactoring
Daniel Salzman [Tue, 24 Jan 2023 14:52:12 +0000 (15:52 +0100)] 
distro/deb: add missing directories to purge list in postrm script, refactoring

3 years agoCI: keep apkg output as artifacts for pkgtest
Jakub Ružička [Tue, 24 Jan 2023 18:34:57 +0000 (19:34 +0100)] 
CI: keep apkg output as artifacts for pkgtest

3 years agobackup: allow the backup lock file to be fully manageable by the user group
David Vašek [Tue, 24 Jan 2023 15:57:09 +0000 (16:57 +0100)] 
backup: allow the backup lock file to be fully manageable by the user group

3 years agodistro/deb: remove explicit knotd configuration specification to be consistend with...
Daniel Salzman [Tue, 24 Jan 2023 09:22:49 +0000 (10:22 +0100)] 
distro/deb: remove explicit knotd configuration specification to be consistend with knotc

3 years agodistro/deb: fix RUNDIR creation without knot.tmpfiles
Daniel Salzman [Tue, 24 Jan 2023 09:21:25 +0000 (10:21 +0100)] 
distro/deb: fix RUNDIR creation without knot.tmpfiles

3 years agodistro/deb: switch from obsolete lsb-base to sysvinit-utils
Daniel Salzman [Tue, 24 Jan 2023 09:19:18 +0000 (10:19 +0100)] 
distro/deb: switch from obsolete lsb-base to sysvinit-utils

3 years agodoc: fix some typos
Daniel Salzman [Mon, 23 Jan 2023 14:26:54 +0000 (15:26 +0100)] 
doc: fix some typos

3 years agoconf: fix getting member configuration if 'catalog-template' is in a template
Daniel Salzman [Sat, 21 Jan 2023 20:07:44 +0000 (21:07 +0100)] 
conf: fix getting member configuration if 'catalog-template' is in a template

3 years agoDockerfile: add libngtcp2 dependencies
Daniel Salzman [Fri, 20 Jan 2023 18:18:42 +0000 (19:18 +0100)] 
Dockerfile: add libngtcp2 dependencies

3 years agoDockerfile: fix building using buildx
Daniel Salzman [Fri, 20 Jan 2023 18:01:10 +0000 (19:01 +0100)] 
Dockerfile: fix building using buildx

3 years agoDockerfile: fix building on Bookworm
Daniel Salzman [Fri, 20 Jan 2023 13:59:21 +0000 (14:59 +0100)] 
Dockerfile: fix building on Bookworm

3 years agoDockerfile: fix dependencies for Bookworm
Daniel Salzman [Fri, 20 Jan 2023 12:50:39 +0000 (13:50 +0100)] 
Dockerfile: fix dependencies for Bookworm

3 years agoknotc: add error log when zone-check fails due to a general error
Daniel Salzman [Fri, 20 Jan 2023 12:13:46 +0000 (13:13 +0100)] 
knotc: add error log when zone-check fails due to a general error

fixes #829

3 years agoudp-handler: fix IP_PKTINFO getting instead of IP_RECVDSTADDR on FreeBSD and OpenBSD
Daniel Salzman [Thu, 19 Jan 2023 14:54:46 +0000 (15:54 +0100)] 
udp-handler: fix IP_PKTINFO getting instead of IP_RECVDSTADDR on FreeBSD and OpenBSD

3 years agodoc: add section and utility names highlighting, some improvements
Daniel Salzman [Wed, 18 Jan 2023 15:00:59 +0000 (16:00 +0100)] 
doc: add section and utility names highlighting, some improvements

3 years agodoc: improve logging in the Makefile
Daniel Salzman [Thu, 19 Jan 2023 08:31:58 +0000 (09:31 +0100)] 
doc: improve logging in the Makefile

3 years agoconfigure: don't warn if pdflatex or makeinfo is missing
Daniel Salzman [Thu, 19 Jan 2023 08:31:17 +0000 (09:31 +0100)] 
configure: don't warn if pdflatex or makeinfo is missing

3 years agodoc: update reference
Daniel Salzman [Tue, 17 Jan 2023 14:24:23 +0000 (15:24 +0100)] 
doc: update reference

3 years agotests/sockaddr: add some tests for UNIX socket path match
Daniel Salzman [Sun, 15 Jan 2023 10:55:01 +0000 (11:55 +0100)] 
tests/sockaddr: add some tests for UNIX socket path match

3 years agotests-extra: merge ixfr tests knot_knot with knot_knot_unix
Daniel Salzman [Mon, 16 Jan 2023 20:27:41 +0000 (21:27 +0100)] 
tests-extra: merge ixfr tests knot_knot with knot_knot_unix

3 years agosockaddr: some fixups
David Vašek [Sat, 14 Jan 2023 11:27:35 +0000 (12:27 +0100)] 
sockaddr: some fixups

3 years agoMerge branch 'udp_refactor'
Daniel Salzman [Fri, 13 Jan 2023 09:29:34 +0000 (10:29 +0100)] 
Merge branch 'udp_refactor'

3 years agotests-extra: add test for transfers over a UNIX socket
Daniel Salzman [Wed, 11 Jan 2023 14:12:16 +0000 (15:12 +0100)] 
tests-extra: add test for transfers over a UNIX socket

3 years agoserver: refactor and improve local and remote addresses handling
Daniel Salzman [Tue, 10 Jan 2023 09:38:19 +0000 (10:38 +0100)] 
server: refactor and improve local and remote addresses handling

3 years agodoc: update description of YP_TADDR and YP_TNET items
Daniel Salzman [Mon, 9 Jan 2023 14:05:00 +0000 (15:05 +0100)] 
doc: update description of YP_TADDR and YP_TNET items

3 years agosockaddr: improve compatibility with sockaddr_t
Daniel Salzman [Tue, 10 Jan 2023 09:38:28 +0000 (10:38 +0100)] 
sockaddr: improve compatibility with sockaddr_t

3 years agoyparser: allow unix socket path as network range value
Daniel Salzman [Mon, 9 Jan 2023 13:41:48 +0000 (14:41 +0100)] 
yparser: allow unix socket path as network range value

3 years agoudp-handler: refactor XDP recvmmsg handlers
Daniel Salzman [Thu, 5 Jan 2023 11:58:13 +0000 (12:58 +0100)] 
udp-handler: refactor XDP recvmmsg handlers

3 years agotests-fuzz: adapt to udp-handler changes
Daniel Salzman [Thu, 5 Jan 2023 09:22:40 +0000 (10:22 +0100)] 
tests-fuzz: adapt to udp-handler changes

3 years agoudp-handler: refactor recvmmsg handlers
Daniel Salzman [Wed, 4 Jan 2023 15:56:11 +0000 (16:56 +0100)] 
udp-handler: refactor recvmmsg handlers

3 years agoudp-handler: refactor recvmsg handlers
Daniel Salzman [Wed, 4 Jan 2023 15:31:51 +0000 (16:31 +0100)] 
udp-handler: refactor recvmsg handlers

3 years agoudp-handler: use smaller address storage instead of sockaddr_storage, which is empty...
Daniel Salzman [Wed, 4 Jan 2023 15:08:34 +0000 (16:08 +0100)] 
udp-handler: use smaller address storage instead of sockaddr_storage, which is empty for AF_UNIX anyway

3 years agoddns: mute UBSAN warning 'applying zero offset to null pointer'
Daniel Salzman [Thu, 12 Jan 2023 12:39:38 +0000 (13:39 +0100)] 
ddns: mute UBSAN warning 'applying zero offset to null pointer'

3 years agomod-geoip: mute UBSAN warning 'variable length array bound evaluates to non-positive...
Daniel Salzman [Thu, 12 Jan 2023 07:49:32 +0000 (08:49 +0100)] 
mod-geoip: mute UBSAN warning 'variable length array bound evaluates to non-positive value 0'

3 years agoutils: set remote service to 'UNIX' instead of empty value
Daniel Salzman [Wed, 11 Jan 2023 15:58:45 +0000 (16:58 +0100)] 
utils: set remote service to 'UNIX' instead of empty value

3 years agocontrib: upgrade embedded library ngtcp2 to v0.12.1
Daniel Salzman [Mon, 9 Jan 2023 07:21:01 +0000 (08:21 +0100)] 
contrib: upgrade embedded library ngtcp2 to v0.12.1

3 years agoMerge branch 'ci-pkgtest-update' into 'master'
Daniel Salzman [Thu, 5 Jan 2023 15:33:04 +0000 (16:33 +0100)] 
Merge branch 'ci-pkgtest-update' into 'master'

CI: update for new apkg test images

See merge request knot/knot-dns!1500

3 years agoCI: update for new apkg test images
Jakub Ružička [Thu, 5 Jan 2023 14:58:18 +0000 (15:58 +0100)] 
CI: update for new apkg test images

and also:

* add Fedora 37, remove Fedora 35
* openSUSE updated to 15.4
* centos-release-scl added to CentOS 7

3 years agoprobe: always set 0222 UNIX socket file mode
Daniel Salzman [Tue, 3 Jan 2023 13:03:48 +0000 (14:03 +0100)] 
probe: always set 0222 UNIX socket file mode

3 years agoprobe: add support for UNIX socket protocol
Daniel Salzman [Tue, 3 Jan 2023 13:03:07 +0000 (14:03 +0100)] 
probe: add support for UNIX socket protocol

3 years agocontrol: set 0220 UNIX socket file mode
Daniel Salzman [Tue, 3 Jan 2023 11:44:18 +0000 (12:44 +0100)] 
control: set 0220 UNIX socket file mode

3 years agonameserver: allow UNIX sockets when setting answer EDNS payload
Daniel Salzman [Tue, 3 Jan 2023 10:18:01 +0000 (11:18 +0100)] 
nameserver: allow UNIX sockets when setting answer EDNS payload

3 years agoserver: set 0222 mode to STREAM UNIX listen socket files
Daniel Salzman [Tue, 3 Jan 2023 08:17:04 +0000 (09:17 +0100)] 
server: set 0222 mode to STREAM UNIX listen socket files

3 years agodoc: update year to 2023
Daniel Salzman [Mon, 2 Jan 2023 12:43:04 +0000 (13:43 +0100)] 
doc: update year to 2023

3 years agokdig: add support for server specification as a UNIX socket path
Daniel Salzman [Sun, 1 Jan 2023 16:28:54 +0000 (17:28 +0100)] 
kdig: add support for server specification as a UNIX socket path

3 years agosockaddr: change sockaddr_tostr() to print 'UNIX socket' instead of empty string
Daniel Salzman [Mon, 2 Jan 2023 12:00:03 +0000 (13:00 +0100)] 
sockaddr: change sockaddr_tostr() to print 'UNIX socket' instead of empty string

3 years agoxdp: pass VLAN message if meta data not supported
Daniel Salzman [Thu, 29 Dec 2022 16:48:41 +0000 (17:48 +0100)] 
xdp: pass VLAN message if meta data not supported

3 years agoconfigure: return error if libbpf not available but XDP requested
Daniel Salzman [Thu, 29 Dec 2022 09:56:20 +0000 (10:56 +0100)] 
configure: return error if libbpf not available but XDP requested

3 years agocontrib: upgrade embedded library ngtcp2 to v0.12.0
Daniel Salzman [Sun, 25 Dec 2022 16:15:32 +0000 (17:15 +0100)] 
contrib: upgrade embedded library ngtcp2 to v0.12.0

3 years agotests-extra/reproducible: improve test stability
Daniel Salzman [Thu, 22 Dec 2022 11:54:20 +0000 (12:54 +0100)] 
tests-extra/reproducible: improve test stability

3 years agotests-extra/reproducible: remove obsolete gnutls version detection
Daniel Salzman [Thu, 22 Dec 2022 09:42:20 +0000 (10:42 +0100)] 
tests-extra/reproducible: remove obsolete gnutls version detection

3 years agotests-extra/reproducible: remove redundant key length specification
Daniel Salzman [Thu, 22 Dec 2022 08:54:42 +0000 (09:54 +0100)] 
tests-extra/reproducible: remove redundant key length specification

3 years agoxdp-tcp/quic: simplify data structures for sweeping
Libor Peltan [Thu, 27 Oct 2022 14:32:28 +0000 (16:32 +0200)] 
xdp-tcp/quic: simplify data structures for sweeping

3 years agoscripts: update Fedora Dockerfile
Daniel Salzman [Tue, 20 Dec 2022 08:48:09 +0000 (09:48 +0100)] 
scripts: update Fedora Dockerfile

3 years agoscripts: add libmnl to Rocky Dockerfile
Daniel Salzman [Tue, 20 Dec 2022 08:47:53 +0000 (09:47 +0100)] 
scripts: add libmnl to Rocky Dockerfile

3 years agodoc: update dependencies
Daniel Salzman [Tue, 20 Dec 2022 08:23:43 +0000 (09:23 +0100)] 
doc: update dependencies

3 years agoscripts: add libbpf to Rocky Dockerfile
Daniel Salzman [Tue, 20 Dec 2022 07:50:55 +0000 (08:50 +0100)] 
scripts: add libbpf to Rocky Dockerfile

3 years agodistro: add deb-noxdp for deb distros without libbpf
Daniel Salzman [Sun, 18 Dec 2022 10:48:27 +0000 (11:48 +0100)] 
distro: add deb-noxdp for deb distros without libbpf

3 years agodistro: remove old patch on the test_net unit test
Daniel Salzman [Sat, 17 Dec 2022 12:50:33 +0000 (13:50 +0100)] 
distro: remove old patch on the test_net unit test

3 years agocontrib: remove embedded libbpf 0.0.6, which no longer works with BTF and old kernels
Daniel Salzman [Sat, 17 Dec 2022 11:43:44 +0000 (12:43 +0100)] 
contrib: remove embedded libbpf 0.0.6, which no longer works with BTF and old kernels

Almost every distribution already has a newer libbpf in repository.

3 years agotests-extra: set BIND to use full format for its zone files
David Vašek [Fri, 16 Dec 2022 08:53:59 +0000 (09:53 +0100)] 
tests-extra: set BIND to use full format for its zone files

The default relative format isn't fully compatible with Knot testing tools.

3 years agotests-extra/validate_bind: skip zones with invalid signature, add external validation
Daniel Salzman [Wed, 14 Dec 2022 07:40:26 +0000 (08:40 +0100)] 
tests-extra/validate_bind: skip zones with invalid signature, add external validation

3 years agolibknot: properly evaluate that no color is being used for output
David Vašek [Thu, 15 Dec 2022 08:22:34 +0000 (09:22 +0100)] 
libknot: properly evaluate that no color is being used for output

This fix removes unwanted color reset sequences in non-color output.

3 years agomod-geoip: fix memory leaks if invalid geodb-key
Daniel Salzman [Thu, 15 Dec 2022 09:25:52 +0000 (10:25 +0100)] 
mod-geoip: fix memory leaks if invalid geodb-key

3 years agomod-geoip: fix crash if geodb-key prefix is unknown
Daniel Salzman [Thu, 15 Dec 2022 08:35:58 +0000 (09:35 +0100)] 
mod-geoip: fix crash if geodb-key prefix is unknown

3 years agomod-geoip: fix memory leak in geoip_conf_check
秦龙飞 [Thu, 15 Dec 2022 02:32:21 +0000 (10:32 +0800)] 
mod-geoip: fix memory leak in geoip_conf_check

3 years agotests-extra: catalog/expire -- make the test more robust
David Vašek [Mon, 12 Dec 2022 11:53:17 +0000 (12:53 +0100)] 
tests-extra: catalog/expire -- make the test more robust

There's a non-trivial delay in t.start() under Valgrind,
this change makes the test resistant to any such delays.

Keep "slave.zones_wait(members)" to verify that members have been created
on slave and their contents have been transferred to slave automatically.

3 years agomod-synthrecords: add simple support for reverse CIDR records
Daniel Salzman [Thu, 8 Dec 2022 10:04:16 +0000 (11:04 +0100)] 
mod-synthrecords: add simple support for reverse CIDR records

closes #826

3 years agoknot: fail to initialize DNSSEC context if no offline records
Daniel Salzman [Fri, 9 Dec 2022 10:28:16 +0000 (11:28 +0100)] 
knot: fail to initialize DNSSEC context if no offline records

3 years agoMerge branch 'expire_fixes'
Daniel Salzman [Thu, 8 Dec 2022 15:35:38 +0000 (16:35 +0100)] 
Merge branch 'expire_fixes'

3 years agodoc: update the description of the zone refresh bootstrap
David Vašek [Wed, 7 Dec 2022 16:43:39 +0000 (17:43 +0100)] 
doc: update the description of the zone refresh bootstrap

3 years agoctl/refresh, retransfer: when called manually, restart the incremental backoff
David Vašek [Wed, 7 Dec 2022 09:07:11 +0000 (10:07 +0100)] 
ctl/refresh, retransfer: when called manually, restart the incremental backoff

3 years agorefresh: simplify and fix rebootstrap planning
Daniel Salzman [Mon, 5 Dec 2022 14:09:17 +0000 (15:09 +0100)] 
refresh: simplify and fix rebootstrap planning

3 years agotests-extra: use zero SOA EXPIRE for catalog/basic zone to check if has no effect
Daniel Salzman [Mon, 5 Dec 2022 10:09:08 +0000 (11:09 +0100)] 
tests-extra: use zero SOA EXPIRE for catalog/basic zone to check if has no effect

3 years agorefresh: ignore possible EDNS EXPIRE if catalog zone
Daniel Salzman [Mon, 5 Dec 2022 09:57:19 +0000 (10:57 +0100)] 
refresh: ignore possible EDNS EXPIRE if catalog zone

3 years agonameserver: don't put EDNS EXPIRE to reply if catalog zone
Daniel Salzman [Mon, 5 Dec 2022 09:50:25 +0000 (10:50 +0100)] 
nameserver: don't put EDNS EXPIRE to reply if catalog zone