]> git.ipfire.org Git - thirdparty/knot-dns.git/log
thirdparty/knot-dns.git
5 years agoconf: remove 'disable-any' warning
Daniel Salzman [Tue, 23 Feb 2021 09:16:20 +0000 (10:16 +0100)] 
conf: remove 'disable-any' warning

5 years agoMerge branch 'mtu' into 'master'
Daniel Salzman [Mon, 22 Feb 2021 17:15:19 +0000 (18:15 +0100)] 
Merge branch 'mtu' into 'master'

UDP payload testing

See merge request knot/knot-dns!1261

5 years agoconf: add MTU check
Jan Hak [Wed, 6 Jan 2021 13:51:43 +0000 (14:51 +0100)] 
conf: add MTU check

5 years agolibknot: add MTU getter
Jan Hak [Wed, 6 Jan 2021 13:36:16 +0000 (14:36 +0100)] 
libknot: add MTU getter

5 years agodocker: build multiarch images
Marcel Waldvogel [Tue, 16 Feb 2021 10:41:05 +0000 (11:41 +0100)] 
docker: build multiarch images

Modified by Daniel Salzman

5 years agoMerge branch 'restore_sanitize' into 'master'
Daniel Salzman [Fri, 12 Feb 2021 15:04:17 +0000 (16:04 +0100)] 
Merge branch 'restore_sanitize' into 'master'

backup: sanitize timers after restore

See merge request knot/knot-dns!1262

5 years agobackup: sanitize timers after restore
Libor Peltan [Fri, 12 Feb 2021 14:19:48 +0000 (15:19 +0100)] 
backup: sanitize timers after restore

5 years agoMerge branch 'backup_ctx_servert' into 'master'
Daniel Salzman [Thu, 11 Feb 2021 08:58:26 +0000 (09:58 +0100)] 
Merge branch 'backup_ctx_servert' into 'master'

backup: put context into server_t...

See merge request knot/knot-dns!1254

5 years agobackup: better warning wording
Libor Peltan [Thu, 11 Feb 2021 08:41:27 +0000 (09:41 +0100)] 
backup: better warning wording

5 years agobackup: allow concurrent backup procedure...
Libor Peltan [Wed, 10 Feb 2021 17:54:36 +0000 (18:54 +0100)] 
backup: allow concurrent backup procedure...

...of distinct zones

5 years agobackup: put context into server_t...
Libor Peltan [Wed, 3 Feb 2021 15:44:01 +0000 (16:44 +0100)] 
backup: put context into server_t...

...in order to gracefully cleanup backup when interrupted by
server shutdown

5 years agoDockerfile: switch to debian bullseye with proper libbpf
Daniel Salzman [Wed, 10 Feb 2021 14:06:50 +0000 (15:06 +0100)] 
Dockerfile: switch to debian bullseye with proper libbpf

5 years agoMerge branch 'kzonecheck_optout_ent' into 'master'
Daniel Salzman [Wed, 10 Feb 2021 12:00:36 +0000 (13:00 +0100)] 
Merge branch 'kzonecheck_optout_ent' into 'master'

kzonecheck/NSEC3: correctly check opt-outed empty-non-terminals

See merge request knot/knot-dns!1259

5 years agokzonecheck/NSEC3: correctly check opt-outed empty-non-terminals
Libor Peltan [Tue, 9 Feb 2021 18:32:41 +0000 (19:32 +0100)] 
kzonecheck/NSEC3: correctly check opt-outed empty-non-terminals

5 years agoknotc: set infinity ctl timeout in the blocking mode only if no timeout is specified
Daniel Salzman [Wed, 10 Feb 2021 08:53:29 +0000 (09:53 +0100)] 
knotc: set infinity ctl timeout in the blocking mode only if no timeout is specified

5 years agoMerge branch 'upstream-release' into 'master'
Daniel Salzman [Tue, 9 Feb 2021 15:55:43 +0000 (16:55 +0100)] 
Merge branch 'upstream-release' into 'master'

distro: differentiate upstream packages

See merge request knot/knot-dns!1258

5 years agodistro: differentiate upstream packages
Jakub Ružička [Tue, 9 Feb 2021 13:27:42 +0000 (14:27 +0100)] 
distro: differentiate upstream packages

Users reported conflicts between upstream and downstream packages. In
order to differentiate, I propose to insert `cznic.` prefix into package
release which will lead to a preference of upstream packages over
downstream ones when same versions are available:

    1.2.3-1 < 1.2.3-cznic.1
    1.2.3-999999999 < 1.2.3-cznic.1

Furthermore it's now possible to tell whether upstream or downstream
packages are in use just by inspecting installed packages' releases
which should make debugging easier. For example:

    dpkg -l | grep cznic

Equivalent change has been merged in Knot Resolver:
https://gitlab.nic.cz/knot/knot-resolver/-/commit/58f48b2b218

5 years agodocker: Transfer much less data for build
Marcel Waldvogel [Tue, 9 Feb 2021 12:55:56 +0000 (12:55 +0000)] 
docker: Transfer much less data for build

5 years agoMerge branch 'deb-tmpfiles' into 'master'
Daniel Salzman [Tue, 9 Feb 2021 13:13:37 +0000 (14:13 +0100)] 
Merge branch 'deb-tmpfiles' into 'master'

distro/deb: rename knot.tmpfile -> knot.tmpfiles

See merge request knot/knot-dns!1257

5 years agodistro/deb: rename knot.tmpfile -> knot.tmpfiles
Jakub Ružička [Tue, 9 Feb 2021 12:56:55 +0000 (13:56 +0100)] 
distro/deb: rename knot.tmpfile -> knot.tmpfiles

do as debhelper says:

dh_installtmpfiles: warning: The name debian/knot.tmpfile is deprecated;
                             please use debian/knot.tmpfiles instead
dh_installtmpfiles: warning: Possible fix:
                             mv -f "debian/knot.tmpfile" "debian/knot.tmpfiles"

5 years agoMerge branch 'event_handlers_updates' into 'master'
Daniel Salzman [Tue, 9 Feb 2021 07:49:04 +0000 (08:49 +0100)] 
Merge branch 'event_handlers_updates' into 'master'

Event error reporting in "knotc -b" and some event handlers updates

See merge request knot/knot-dns!1237

5 years agodoc/knotc: extend blocking mode description with infinity timeout
Daniel Salzman [Tue, 9 Feb 2021 07:41:40 +0000 (08:41 +0100)] 
doc/knotc: extend blocking mode description with infinity timeout

5 years agotests-extra: allow tests to continue after expected errors in knotc (in the blocking...
David Vašek [Sat, 6 Feb 2021 16:57:59 +0000 (17:57 +0100)] 
tests-extra: allow tests to continue after expected errors in knotc (in the blocking mode)

5 years agoknotc: set infinity ctl timeout in the blocking mode
Daniel Salzman [Mon, 8 Feb 2021 12:26:26 +0000 (13:26 +0100)] 
knotc: set infinity ctl timeout in the blocking mode

5 years agoctl: zone-backup -- refactor global catalog zones backup
David Vašek [Tue, 2 Feb 2021 13:38:18 +0000 (14:38 +0100)] 
ctl: zone-backup -- refactor global catalog zones backup

Also, the "backup/restore init failed" error message should always reflect reality.

5 years agoctl: code cleanup
David Vašek [Tue, 22 Dec 2020 17:18:13 +0000 (18:18 +0100)] 
ctl: code cleanup

5 years agorefresh: if refresh isn't supported or fails, return an error
David Vašek [Tue, 22 Dec 2020 15:54:49 +0000 (16:54 +0100)] 
refresh: if refresh isn't supported or fails, return an error

5 years agonotify: return an error if a notify to any slave completely fails
David Vašek [Tue, 22 Dec 2020 13:27:31 +0000 (14:27 +0100)] 
notify: return an error if a notify to any slave completely fails

5 years agoctl: zone-backup/zone-restore -- improved error reporting
David Vašek [Mon, 14 Dec 2020 20:58:31 +0000 (21:58 +0100)] 
ctl: zone-backup/zone-restore -- improved error reporting

5 years agoctl: source code compacting (zone_purge())
David Vašek [Thu, 3 Dec 2020 21:48:17 +0000 (22:48 +0100)] 
ctl: source code compacting (zone_purge())

5 years agoctl: when an error is encountered in zone_purge(), stop purging and report the error
David Vašek [Thu, 3 Dec 2020 16:16:49 +0000 (17:16 +0100)] 
ctl: when an error is encountered in zone_purge(), stop purging and report the error

5 years agoctl: try to report the error in zone_backup_cmd()
David Vašek [Thu, 3 Dec 2020 13:23:12 +0000 (14:23 +0100)] 
ctl: try to report the error in zone_backup_cmd()

5 years agodoc/knotc: describe the new reponses in the blocking mode
David Vašek [Tue, 1 Dec 2020 15:23:00 +0000 (16:23 +0100)] 
doc/knotc: describe the new reponses in the blocking mode

5 years agoctl: report only real errors when operating on all zones
David Vašek [Tue, 1 Dec 2020 17:32:05 +0000 (18:32 +0100)] 
ctl: report only real errors when operating on all zones

Report only single collective error over the ctl interface and in the logs.

5 years agoctl: report errors in events triggered in the blocking mode
David Vašek [Tue, 1 Dec 2020 10:32:59 +0000 (11:32 +0100)] 
ctl: report errors in events triggered in the blocking mode

5 years agoevents: code cleanup (handlers/flush.c)
David Vašek [Mon, 30 Nov 2020 17:10:36 +0000 (18:10 +0100)] 
events: code cleanup (handlers/flush.c)

5 years agoknotd: always create pidfile to prevent instance collision
Daniel Salzman [Mon, 8 Feb 2021 09:44:45 +0000 (10:44 +0100)] 
knotd: always create pidfile to prevent instance collision

5 years agoMerge branch 'tests_extra_updates_io_2' into 'master'
Daniel Salzman [Sun, 7 Feb 2021 17:24:08 +0000 (18:24 +0100)] 
Merge branch 'tests_extra_updates_io_2' into 'master'

tests-extra: ixfr/knot_knot -- increase the tcp-io-timeout value under Valgrind

See merge request knot/knot-dns!1256

5 years agotests-extra: ixfr/knot_knot -- increase the tcp-io-timeout value under Valgrind
David Vašek [Fri, 22 Jan 2021 13:05:02 +0000 (14:05 +0100)] 
tests-extra: ixfr/knot_knot -- increase the tcp-io-timeout value under Valgrind

Even 2500 ms isn't fully reliable.

5 years agokxdpgun: fix stats print when fatal error at sender initialization
Jan Hak [Fri, 5 Feb 2021 14:08:21 +0000 (15:08 +0100)] 
kxdpgun: fix stats print when fatal error at sender initialization

5 years agoDockerfile: enable XDP
Daniel Salzman [Fri, 5 Feb 2021 11:30:42 +0000 (12:30 +0100)] 
Dockerfile: enable XDP

5 years agoMerge branch 'semcheck_nsec_ttl' into 'master'
Daniel Salzman [Fri, 5 Feb 2021 11:23:12 +0000 (12:23 +0100)] 
Merge branch 'semcheck_nsec_ttl' into 'master'

semcheck: align NSEC3 TTL check to new requirements

See merge request knot/knot-dns!1255

5 years agosemcheck: align NSEC3 TTL check to new requirements
Libor Peltan [Thu, 4 Feb 2021 11:16:15 +0000 (12:16 +0100)] 
semcheck: align NSEC3 TTL check to new requirements

see also !1219

5 years agobackup: fix a NULL context test
David Vašek [Thu, 4 Feb 2021 14:32:37 +0000 (15:32 +0100)] 
backup: fix a NULL context test

5 years agoMerge branch 'code-serial' into 'master'
Daniel Salzman [Wed, 3 Feb 2021 11:47:35 +0000 (12:47 +0100)] 
Merge branch 'code-serial' into 'master'

serial policy: streamlined

Closes #717

See merge request knot/knot-dns!1253

5 years agoserial policy: streamlined
Marcel Waldvogel [Wed, 3 Feb 2021 10:24:07 +0000 (11:24 +0100)] 
serial policy: streamlined

5 years agoMerge branch 'kxdpgun_evo' into 'master'
Libor Peltan [Tue, 2 Feb 2021 18:46:32 +0000 (19:46 +0100)] 
Merge branch 'kxdpgun_evo' into 'master'

Kxdpgun evo

See merge request knot/knot-dns!1251

5 years agokxdpgun: replace signal() with sigaction()
Daniel Salzman [Tue, 2 Feb 2021 13:55:18 +0000 (14:55 +0100)] 
kxdpgun: replace signal() with sigaction()

5 years agokxdpgun: remove duration from thread statistics
Daniel Salzman [Tue, 2 Feb 2021 13:54:57 +0000 (14:54 +0100)] 
kxdpgun: remove duration from thread statistics

5 years agokxdpgun: simplify state logic
Daniel Salzman [Tue, 2 Feb 2021 12:15:01 +0000 (13:15 +0100)] 
kxdpgun: simplify state logic

5 years agoknotd: reduce required RLIMIT_MEMLOCK value
Daniel Salzman [Tue, 2 Feb 2021 10:15:51 +0000 (11:15 +0100)] 
knotd: reduce required RLIMIT_MEMLOCK value

5 years agokxdpgun: reduce required RLIMIT_MEMLOCK value
Daniel Salzman [Tue, 2 Feb 2021 09:37:00 +0000 (10:37 +0100)] 
kxdpgun: reduce required RLIMIT_MEMLOCK value

5 years agoman: add some notes to kxdpgun
Daniel Salzman [Tue, 2 Feb 2021 16:43:07 +0000 (17:43 +0100)] 
man: add some notes to kxdpgun

5 years agokxdpgun: print current statistics on SIGUSR1
Libor Peltan [Fri, 29 Jan 2021 14:01:03 +0000 (15:01 +0100)] 
kxdpgun: print current statistics on SIGUSR1

5 years agokxdpgun: improved statistics
Libor Peltan [Fri, 29 Jan 2021 13:04:02 +0000 (14:04 +0100)] 
kxdpgun: improved statistics

5 years agokxdpgun: allow graceful kill
Libor Peltan [Fri, 29 Jan 2021 10:02:03 +0000 (11:02 +0100)] 
kxdpgun: allow graceful kill

5 years agokxdpgun: set memlock rlimit only if not already + no fail
Libor Peltan [Fri, 29 Jan 2021 09:28:05 +0000 (10:28 +0100)] 
kxdpgun: set memlock rlimit only if not already + no fail

5 years agobackup: bugfix: release resources if global_backup fails
Libor Peltan [Tue, 2 Feb 2021 09:40:38 +0000 (10:40 +0100)] 
backup: bugfix: release resources if global_backup fails

5 years agozone backup: improve readibility of the code
David Vašek [Tue, 2 Feb 2021 10:33:58 +0000 (11:33 +0100)] 
zone backup: improve readibility of the code

The resulting binary should benefit a tiny bit too.

5 years agozone backup: remove an excessive directory creation
David Vašek [Tue, 2 Feb 2021 09:09:13 +0000 (10:09 +0100)] 
zone backup: remove an excessive directory creation

The directory has already been created before as a part of the lockfile preparation.

5 years agoMerge branch 'kzonecheck_case' into 'master'
Daniel Salzman [Tue, 2 Feb 2021 13:01:17 +0000 (14:01 +0100)] 
Merge branch 'kzonecheck_case' into 'master'

kzonecheck: accept any-cased origin name

See merge request knot/knot-dns!1252

5 years agokzonecheck: accept any-cased origin name
Libor Peltan [Tue, 2 Feb 2021 12:52:52 +0000 (13:52 +0100)] 
kzonecheck: accept any-cased origin name

5 years agodoc: Clarified unixtime/dateserial
Marcel Waldvogel [Mon, 1 Feb 2021 19:16:10 +0000 (20:16 +0100)] 
doc: Clarified unixtime/dateserial

5 years agocatalog: fix possible memory leak (Coverity)
Daniel Salzman [Sun, 31 Jan 2021 15:49:51 +0000 (16:49 +0100)] 
catalog: fix possible memory leak (Coverity)

5 years agoconfigure: use correct test operator in endianity detection
Daniel Salzman [Fri, 29 Jan 2021 10:25:50 +0000 (11:25 +0100)] 
configure: use correct test operator in endianity detection

5 years agoconfigure: fix XDP detection for libknot headers
Daniel Salzman [Fri, 29 Jan 2021 10:23:58 +0000 (11:23 +0100)] 
configure: fix XDP detection for libknot headers

5 years agoMerge branch 'xdp_refactor2' into 'master'
Daniel Salzman [Fri, 29 Jan 2021 08:54:59 +0000 (09:54 +0100)] 
Merge branch 'xdp_refactor2' into 'master'

XDP refactoring

See merge request knot/knot-dns!1236

5 years agokxdpgun: code cleanup
Daniel Salzman [Thu, 28 Jan 2021 16:59:54 +0000 (17:59 +0100)] 
kxdpgun: code cleanup

5 years agoxdp: replace rand() with dnssec_random_uint32_t() for TCP sequence number generation
Daniel Salzman [Wed, 13 Jan 2021 10:18:59 +0000 (11:18 +0100)] 
xdp: replace rand() with dnssec_random_uint32_t() for TCP sequence number generation

5 years agoxdp: add memory context for TCP relay allocations
Daniel Salzman [Thu, 31 Dec 2020 12:44:10 +0000 (13:44 +0100)] 
xdp: add memory context for TCP relay allocations

5 years agoxdp/tcp: avoid dynarray in favour of resizeable array
Libor Peltan [Tue, 22 Dec 2020 15:12:09 +0000 (16:12 +0100)] 
xdp/tcp: avoid dynarray in favour of resizeable array

5 years agokxdpgun: don't break sending partially allocated message block
Daniel Salzman [Sat, 23 Jan 2021 20:06:44 +0000 (21:06 +0100)] 
kxdpgun: don't break sending partially allocated message block

5 years agokxdpgun: bugfix: free buffers occupied by outgoing messages that wont be sent due...
Libor Peltan [Mon, 21 Dec 2020 10:51:48 +0000 (11:51 +0100)] 
kxdpgun: bugfix: free buffers occupied by outgoing messages that wont be sent due to error

5 years agokxdpgun: support for basic TCP with no session handling
Libor Peltan [Fri, 18 Dec 2020 10:44:48 +0000 (11:44 +0100)] 
kxdpgun: support for basic TCP with no session handling

WARNING it only guesses the state of connection based on incomming
packet

5 years agoxdp: filter checks IP length
Libor Peltan [Thu, 31 Dec 2020 09:31:04 +0000 (10:31 +0100)] 
xdp: filter checks IP length

5 years agoxdp: rework filter with better configuration
Daniel Salzman [Thu, 29 Oct 2020 18:19:20 +0000 (19:19 +0100)] 
xdp: rework filter with better configuration

5 years agoxdp: refactored protocols handling, partial support for TCP
Libor Peltan [Wed, 16 Dec 2020 11:21:22 +0000 (12:21 +0100)] 
xdp: refactored protocols handling, partial support for TCP

5 years agoMerge branch 'synthrecord_improve' into 'master'
Daniel Salzman [Wed, 27 Jan 2021 17:27:49 +0000 (18:27 +0100)] 
Merge branch 'synthrecord_improve' into 'master'

Synthrecord improve

See merge request knot/knot-dns!1249

5 years agotests/synthrecord: use with onlinesign
Libor Peltan [Fri, 22 Jan 2021 08:46:00 +0000 (09:46 +0100)] 
tests/synthrecord: use with onlinesign

5 years agosynthrecord: compress ipv6 forwards
Libor Peltan [Thu, 21 Jan 2021 19:05:46 +0000 (20:05 +0100)] 
synthrecord: compress ipv6 forwards

5 years agomod/synthrecord: answer NODATA to synthesized empty-non-terminals
Libor Peltan [Mon, 25 Jan 2021 11:27:01 +0000 (12:27 +0100)] 
mod/synthrecord: answer NODATA to synthesized empty-non-terminals

5 years agotests-fuzz: fix inconsistent server_reconfigure() API
Daniel Salzman [Wed, 27 Jan 2021 12:11:51 +0000 (13:11 +0100)] 
tests-fuzz: fix inconsistent server_reconfigure() API

5 years agosynthrecord: update link to RFC in the documentation
Daniel Salzman [Wed, 20 Jan 2021 14:02:41 +0000 (15:02 +0100)] 
synthrecord: update link to RFC in the documentation

5 years agoMerge branch 'doc_synthrecord_bugs' into 'master'
Daniel Salzman [Wed, 20 Jan 2021 14:09:47 +0000 (15:09 +0100)] 
Merge branch 'doc_synthrecord_bugs' into 'master'

doc: documented synthrecord known bugs

See merge request knot/knot-dns!1248

5 years agodoc: documented synthrecord known bugs
Libor Peltan [Wed, 20 Jan 2021 11:27:32 +0000 (12:27 +0100)] 
doc: documented synthrecord known bugs

5 years agodoc: replace terms master/slave with primary/secondary where suitable
David Vašek [Mon, 18 Jan 2021 12:33:45 +0000 (13:33 +0100)] 
doc: replace terms master/slave with primary/secondary where suitable

As per RFC 8499, section 6.
https://tools.ietf.org/html/rfc8499#section-6

5 years agotests-extra: ixfr/knot_knot -- make the test stable under Valgrind
David Vašek [Mon, 18 Jan 2021 22:16:25 +0000 (23:16 +0100)] 
tests-extra: ixfr/knot_knot -- make the test stable under Valgrind

5 years agotests-extra: allow custom tcp-io-timeout setting in each test
David Vašek [Sat, 16 Jan 2021 22:30:56 +0000 (23:30 +0100)] 
tests-extra: allow custom tcp-io-timeout setting in each test

5 years agoserver: add configuration option for enabling socket affinity
Daniel Salzman [Mon, 18 Jan 2021 10:19:35 +0000 (11:19 +0100)] 
server: add configuration option for enabling socket affinity

5 years agoMerge branch 'fix_pkcs11_testing' into 'master'
Daniel Salzman [Fri, 15 Jan 2021 18:27:01 +0000 (19:27 +0100)] 
Merge branch 'fix_pkcs11_testing' into 'master'

tests/libdnssec: update the built-in SoftHSM config to work with its current versions

See merge request knot/knot-dns!1246

5 years agoMerge branch 'zonedb-catalog-checks' into 'master'
Libor Peltan [Fri, 15 Jan 2021 16:28:43 +0000 (17:28 +0100)] 
Merge branch 'zonedb-catalog-checks' into 'master'

Zonedb catalog checks

See merge request knot/knot-dns!1245

5 years agotests/libdnssec: update the built-in SoftHSM config to work with its current versions
David Vašek [Fri, 15 Jan 2021 15:06:33 +0000 (16:06 +0100)] 
tests/libdnssec: update the built-in SoftHSM config to work with its current versions

5 years agoMerge branch 'nonauth_cname' into 'master'
Daniel Salzman [Fri, 15 Jan 2021 12:21:35 +0000 (13:21 +0100)] 
Merge branch 'nonauth_cname' into 'master'

Nonauth cname

Closes #713

See merge request knot/knot-dns!1242

5 years agozonedb-load: unify catalog zone checks
Daniel Salzman [Fri, 15 Jan 2021 10:29:41 +0000 (11:29 +0100)] 
zonedb-load: unify catalog zone checks

5 years agozonedb-load: check if non-catalog zone already configured when loading old catalog
Daniel Salzman [Fri, 15 Jan 2021 10:28:14 +0000 (11:28 +0100)] 
zonedb-load: check if non-catalog zone already configured when loading old catalog

fixes https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=977101

5 years agoMerge branch 'module-pkgs' into 'master'
Daniel Salzman [Thu, 14 Jan 2021 17:21:03 +0000 (18:21 +0100)] 
Merge branch 'module-pkgs' into 'master'

Move dnstap and geoip modules into subpackages

See merge request knot/knot-dns!1239

5 years agodistro/tests: add tests for modules
Jakub Ružička [Mon, 11 Jan 2021 16:38:12 +0000 (17:38 +0100)] 
distro/tests: add tests for modules

Make sure knot can be restarted with module packages installed.

5 years agodistro/rpm: move geoip module to subpackage
Jakub Ružička [Mon, 11 Jan 2021 16:23:20 +0000 (17:23 +0100)] 
distro/rpm: move geoip module to subpackage

5 years agodistro/rpm: move dnstap to subpackage
Jakub Ružička [Mon, 11 Jan 2021 13:17:02 +0000 (13:17 +0000)] 
distro/rpm: move dnstap to subpackage

5 years agodistro/deb: move geoip module to subpackage
Jakub Ružička [Thu, 7 Jan 2021 14:13:08 +0000 (15:13 +0100)] 
distro/deb: move geoip module to subpackage