]> git.ipfire.org Git - thirdparty/knot-dns.git/log
thirdparty/knot-dns.git
4 years agocatalog: when copying the catalog, ensure the current catalog DB version record
David Vašek [Tue, 14 Sep 2021 10:36:02 +0000 (12:36 +0200)] 
catalog: when copying the catalog, ensure the current catalog DB version record

4 years agozone-update: remove no longer used 'conf' parameter from zone_update_from_differences()
Daniel Salzman [Mon, 20 Sep 2021 10:21:31 +0000 (12:21 +0200)] 
zone-update: remove no longer used 'conf' parameter from zone_update_from_differences()

4 years agodnssec: don't involve public-only keys in algorithm usage checks
Libor Peltan [Mon, 17 May 2021 16:04:35 +0000 (18:04 +0200)] 
dnssec: don't involve public-only keys in algorithm usage checks

4 years agoincremental update: recreate DNSKEYs if affected
Libor Peltan [Mon, 17 May 2021 15:59:55 +0000 (17:59 +0200)] 
incremental update: recreate DNSKEYs if affected

4 years agodnssec/kasp: fix a typo
David Vašek [Fri, 30 Jul 2021 14:45:24 +0000 (16:45 +0200)] 
dnssec/kasp: fix a typo

4 years agoctl/orphans_purge: add a simple error logging
David Vašek [Thu, 29 Jul 2021 08:13:16 +0000 (10:13 +0200)] 
ctl/orphans_purge: add a simple error logging

4 years agodeb/copyright: fix syntax error at url-parser, use the year when the source was imported
Daniel Salzman [Mon, 13 Sep 2021 06:57:36 +0000 (08:57 +0200)] 
deb/copyright: fix syntax error at url-parser, use the year when the source was imported

4 years agopython/setup: remove absolute path to package
Daniel Salzman [Thu, 9 Sep 2021 13:33:12 +0000 (15:33 +0200)] 
python/setup: remove absolute path to package

This reverts 10516d0905f8d27031f851ebb10e88d672dfd173, which broke installation
from PyPi with the message:
error: package directory '...' does not exist

4 years agoconf: log warning instead of returning error if database.storage or explicit database...
Daniel Salzman [Wed, 8 Sep 2021 11:38:23 +0000 (13:38 +0200)] 
conf: log warning instead of returning error if database.storage or explicit database destination invalid

4 years agoMerge branch 'keep_deleted_keys' into 'master'
Daniel Salzman [Tue, 7 Sep 2021 12:26:57 +0000 (14:26 +0200)] 
Merge branch 'keep_deleted_keys' into 'master'

dnssec: preserve deleted keys for one more lifetime

See merge request knot/knot-dns!1343

4 years agodnssec: avoid planning signing event just to delete deleted keys
Libor Peltan [Fri, 3 Sep 2021 11:59:35 +0000 (13:59 +0200)] 
dnssec: avoid planning signing event just to delete deleted keys

4 years agodnssec: configurable period before deleting deleted keys
Libor Peltan [Fri, 3 Sep 2021 09:30:05 +0000 (11:30 +0200)] 
dnssec: configurable period before deleting deleted keys

4 years agodnssec: preserve deleted keys for one more lifetime
Libor Peltan [Thu, 12 Aug 2021 09:50:50 +0000 (11:50 +0200)] 
dnssec: preserve deleted keys for one more lifetime

4 years agorrset-wire: fix comparison of narrow type with wide type in loop condition (lgtm...
Daniel Salzman [Tue, 7 Sep 2021 11:26:45 +0000 (13:26 +0200)] 
rrset-wire: fix comparison of narrow type with wide type in loop condition (lgtm.com)

4 years agods query: dont replan if no ready key
Libor Peltan [Tue, 7 Sep 2021 10:07:20 +0000 (12:07 +0200)] 
ds query: dont replan if no ready key

4 years agoMerge branch 'acl_deny' into 'master'
Libor Peltan [Tue, 7 Sep 2021 09:25:14 +0000 (11:25 +0200)] 
Merge branch 'acl_deny' into 'master'

Apply deny ACL rule without tsig to queries with tsig present

See merge request knot/knot-dns!1361

4 years agodistro/deb: remove obsolete knot.maintscript
Daniel Salzman [Tue, 7 Sep 2021 08:57:09 +0000 (10:57 +0200)] 
distro/deb: remove obsolete knot.maintscript

4 years agodistro/deb: update copyright
Daniel Salzman [Tue, 7 Sep 2021 08:01:32 +0000 (10:01 +0200)] 
distro/deb: update copyright

4 years agodoc: fix typo in xdp.tcp description
Daniel Salzman [Tue, 7 Sep 2021 07:35:56 +0000 (09:35 +0200)] 
doc: fix typo in xdp.tcp description

4 years agoMerge branch 'journal_chunk_16k' into 'master'
Daniel Salzman [Mon, 6 Sep 2021 15:22:41 +0000 (17:22 +0200)] 
Merge branch 'journal_chunk_16k' into 'master'

journal: serialize to chunks usually smaller than 4 pages...

See merge request knot/knot-dns!1360

4 years agoacl: apply deny rule without tsig to queries with tsig present
Daniel Salzman [Mon, 6 Sep 2021 14:11:11 +0000 (16:11 +0200)] 
acl: apply deny rule without tsig to queries with tsig present

4 years agojournal: serialize to chunks usually smaller than 4 pages...
Libor Peltan [Mon, 6 Sep 2021 13:48:53 +0000 (15:48 +0200)] 
journal: serialize to chunks usually smaller than 4 pages...

...in order to mitigate LMDB free space fragmentation to some degree

4 years agoMerge branch 'zonemd_flush' into 'master'
Daniel Salzman [Mon, 6 Sep 2021 08:42:13 +0000 (10:42 +0200)] 
Merge branch 'zonemd_flush' into 'master'

Zonemd flush

Closes #758

See merge request knot/knot-dns!1358

4 years agoconf: reload zone if zonemd-generate or zonemd-verify changed dynamically
Libor Peltan [Thu, 2 Sep 2021 14:33:51 +0000 (16:33 +0200)] 
conf: reload zone if zonemd-generate or zonemd-verify changed dynamically

4 years agodoc: update zonemd-generate option details
Libor Peltan [Thu, 2 Sep 2021 14:33:00 +0000 (16:33 +0200)] 
doc: update zonemd-generate option details

4 years agozonemd: reflect changes in configuration when reloaded
Libor Peltan [Thu, 2 Sep 2021 14:27:48 +0000 (16:27 +0200)] 
zonemd: reflect changes in configuration when reloaded

4 years agozonemd: create hash and bump serial when turned on
Libor Peltan [Fri, 20 Aug 2021 13:17:09 +0000 (15:17 +0200)] 
zonemd: create hash and bump serial when turned on

4 years agoMerge branch 'keymgr_d_deprecate' into 'master'
Daniel Salzman [Sun, 5 Sep 2021 18:34:19 +0000 (20:34 +0200)] 
Merge branch 'keymgr_d_deprecate' into 'master'

keymgr: new -D param instead of deprecated -d

See merge request knot/knot-dns!1359

4 years agokeymgr: new -D param instead of deprecated -d
Libor Peltan [Mon, 2 Aug 2021 16:30:21 +0000 (18:30 +0200)] 
keymgr: new -D param instead of deprecated -d

4 years agoworker: rename task_t to worker_task_t to fix redefinition issues with liburcu 0...
Daniel Salzman [Sun, 5 Sep 2021 18:07:50 +0000 (20:07 +0200)] 
worker: rename task_t to worker_task_t to fix redefinition issues with liburcu 0.13.0 on ARM/macOS

4 years agoMerge branch 'verify_improve' into 'master'
Daniel Salzman [Wed, 1 Sep 2021 14:48:03 +0000 (16:48 +0200)] 
Merge branch 'verify_improve' into 'master'

dnssec-verify improvements

See merge request knot/knot-dns!1357

4 years agozone-load: tiny cleanup
Daniel Salzman [Wed, 1 Sep 2021 13:27:56 +0000 (15:27 +0200)] 
zone-load: tiny cleanup

4 years agozone: tell apart an empty zone and other errors
David Vašek [Tue, 31 Aug 2021 07:58:05 +0000 (09:58 +0200)] 
zone: tell apart an empty zone and other errors

4 years agolibknot/error: add a new error code -- KNOT_EEMPTYZONE
David Vašek [Tue, 31 Aug 2021 07:51:24 +0000 (09:51 +0200)] 
libknot/error: add a new error code -- KNOT_EEMPTYZONE

4 years agodnssec-validate: also verify that ent over non-opt-outed deleg is not opt-outed 2
Libor Peltan [Wed, 1 Sep 2021 12:12:59 +0000 (14:12 +0200)] 
dnssec-validate: also verify that ent over non-opt-outed deleg is not opt-outed 2

4 years agodnssec-validate: also check nodes affected by changes of NSEC3 chain...
Libor Peltan [Wed, 1 Sep 2021 11:12:46 +0000 (13:12 +0200)] 
dnssec-validate: also check nodes affected by changes of NSEC3 chain...

...this especially covers the case when only NSEC3 chain is changed, and thus a_ctx->node_ptrs empty

4 years agoxdp: don't increase RLIMIT_MEMLOCK on Linux >= 5.11, not needed
Daniel Salzman [Fri, 27 Aug 2021 06:48:44 +0000 (08:48 +0200)] 
xdp: don't increase RLIMIT_MEMLOCK on Linux >= 5.11, not needed

4 years agokxdpgun: fix error message if failed to get MAC
Daniel Salzman [Fri, 27 Aug 2021 07:28:11 +0000 (09:28 +0200)] 
kxdpgun: fix error message if failed to get MAC

4 years agokxdpgun: don't print usage if error
Daniel Salzman [Fri, 27 Aug 2021 07:21:20 +0000 (09:21 +0200)] 
kxdpgun: don't print usage if error

4 years agoMerge branch 'nsec3_optout_better' into 'master'
Daniel Salzman [Tue, 31 Aug 2021 07:38:12 +0000 (09:38 +0200)] 
Merge branch 'nsec3_optout_better' into 'master'

Nsec3 optout better

See merge request knot/knot-dns!1355

4 years agonsec3: simplify chain creation
Libor Peltan [Mon, 30 Aug 2021 15:27:42 +0000 (17:27 +0200)] 
nsec3: simplify chain creation

4 years agobugfix: fix answering with opt-outed NSEC3 on empty-non-terminal
Libor Peltan [Mon, 30 Aug 2021 12:15:32 +0000 (14:15 +0200)] 
bugfix: fix answering with opt-outed NSEC3 on empty-non-terminal

4 years agoMerge branch 'distrotests-debian11' into 'master' 1135/merge
Daniel Salzman [Thu, 26 Aug 2021 17:37:44 +0000 (17:37 +0000)] 
Merge branch 'distrotests-debian11' into 'master'

distro/tests: add Debian 11

See merge request knot/knot-dns!1354

4 years agodistro/tests: update to leap 15.3
Tomas Krizek [Thu, 26 Aug 2021 14:40:34 +0000 (16:40 +0200)] 
distro/tests: update to leap 15.3

4 years agodistro/tests: add Debian 11
Tomas Krizek [Thu, 19 Aug 2021 11:44:08 +0000 (13:44 +0200)] 
distro/tests: add Debian 11

4 years agokdig: fix double free when query times out
Daniel Salzman [Thu, 26 Aug 2021 06:20:06 +0000 (08:20 +0200)] 
kdig: fix double free when query times out

fixes #763

4 years agoMerge branch 'kxdpgun-help' into 'master'
Daniel Salzman [Wed, 25 Aug 2021 15:19:32 +0000 (15:19 +0000)] 
Merge branch 'kxdpgun-help' into 'master'

kxdpgun: better help

See merge request knot/knot-dns!1347

4 years agokxdpgun: better help
Jan Hak [Tue, 10 Aug 2021 14:26:14 +0000 (16:26 +0200)] 
kxdpgun: better help

4 years agokdig: add +[no]keepopen to the help
Daniel Salzman [Wed, 25 Aug 2021 12:38:10 +0000 (14:38 +0200)] 
kdig: add +[no]keepopen to the help

4 years agodoc: fix xdp timeout item names
Daniel Salzman [Tue, 24 Aug 2021 15:55:55 +0000 (17:55 +0200)] 
doc: fix xdp timeout item names

4 years agokdig: add +keepopen parameter
Jan Hak [Tue, 17 Aug 2021 11:33:23 +0000 (13:33 +0200)] 
kdig: add +keepopen parameter

closes #503

4 years agodistro/deb/control: improve Multi-Arch hints
Jakub Ružička [Tue, 24 Aug 2021 15:20:02 +0000 (17:20 +0200)] 
distro/deb/control: improve Multi-Arch hints

Changes suggested by Multi-Arch hinter:

* libknot-dev conflicts on /usr/include/libknot/libknot.h on armel <-> amd64, arm64, armhf, and 5 more
* knot-module-dnstap could be marked Multi-Arch: same
* knot-module-geoip could be marked Multi-Arch: same

4 years agogitlab-ci: fix dependency on clang-9
Daniel Salzman [Tue, 24 Aug 2021 08:50:40 +0000 (10:50 +0200)] 
gitlab-ci: fix dependency on clang-9

4 years agozone-backup: silent static analyzer tools
David Vašek [Tue, 24 Aug 2021 08:10:42 +0000 (10:10 +0200)] 
zone-backup: silent static analyzer tools

Creating backups in obsolete format won't ever happen.

4 years agoxdp: tiny refactoring, mute Coverity
Daniel Salzman [Tue, 24 Aug 2021 07:17:48 +0000 (09:17 +0200)] 
xdp: tiny refactoring, mute Coverity

4 years agotests: mute Coverity
Daniel Salzman [Tue, 24 Aug 2021 06:36:03 +0000 (08:36 +0200)] 
tests: mute Coverity

4 years agohttps: fix possible out-of-bounds access (Coverity)
Daniel Salzman [Mon, 23 Aug 2021 07:21:29 +0000 (09:21 +0200)] 
https: fix possible out-of-bounds access (Coverity)

4 years agozone-diff: fix possible uninitialized pointer read (Coverity)
Daniel Salzman [Mon, 23 Aug 2021 07:13:21 +0000 (09:13 +0200)] 
zone-diff: fix possible uninitialized pointer read (Coverity)

4 years agoscripts: update Debian docker files
Daniel Salzman [Mon, 23 Aug 2021 06:43:00 +0000 (08:43 +0200)] 
scripts: update Debian docker files

4 years agoMerge branch 'keymgr_color' into 'master'
Daniel Salzman [Fri, 20 Aug 2021 15:39:31 +0000 (15:39 +0000)] 
Merge branch 'keymgr_color' into 'master'

Keymgr color

See merge request knot/knot-dns!1352

4 years agokjournalprint: add options for turning output colorization on and off
David Vašek [Thu, 19 Aug 2021 09:21:55 +0000 (11:21 +0200)] 
kjournalprint: add options for turning output colorization on and off

4 years agokjournalprint: fix line coloring with less -R
Daniel Salzman [Wed, 18 Aug 2021 15:24:57 +0000 (17:24 +0200)] 
kjournalprint: fix line coloring with less -R

4 years agokjournalprint: use color macros from contrib
Daniel Salzman [Tue, 17 Aug 2021 12:44:20 +0000 (14:44 +0200)] 
kjournalprint: use color macros from contrib

4 years agokeymgr: add an option for turning colorization off
David Vašek [Tue, 17 Aug 2021 20:41:53 +0000 (22:41 +0200)] 
keymgr: add an option for turning colorization off

4 years agokeymgr: colorize output to terminals only
David Vašek [Tue, 17 Aug 2021 20:40:07 +0000 (22:40 +0200)] 
keymgr: colorize output to terminals only

4 years agokeymgr: add colored brief mode for listing keys
Daniel Salzman [Tue, 17 Aug 2021 06:14:04 +0000 (08:14 +0200)] 
keymgr: add colored brief mode for listing keys

4 years agokeymgr: don't print OK if show-offline succeeded
Daniel Salzman [Tue, 17 Aug 2021 12:28:04 +0000 (14:28 +0200)] 
keymgr: don't print OK if show-offline succeeded

4 years agocontrib: add macros for terminal colors
Daniel Salzman [Tue, 17 Aug 2021 11:36:42 +0000 (13:36 +0200)] 
contrib: add macros for terminal colors

4 years agoMerge branch 'doc_backup_update' into 'master'
Daniel Salzman [Thu, 19 Aug 2021 13:32:25 +0000 (13:32 +0000)] 
Merge branch 'doc_backup_update' into 'master'

update the documentation about the access rights of the backup directory etc.

See merge request knot/knot-dns!1353

4 years agodoc/knotc: correct some markups
David Vašek [Thu, 19 Aug 2021 12:43:06 +0000 (14:43 +0200)] 
doc/knotc: correct some markups

4 years agodoc/knotc: mention the necessary directory permissions for zone-flush, zone-backup...
David Vašek [Fri, 13 Aug 2021 21:45:10 +0000 (23:45 +0200)] 
doc/knotc: mention the necessary directory permissions for zone-flush, zone-backup, and zone-restore

4 years agodoc/operation: in Online backup, mention the necessary access rights of the backup...
David Vašek [Fri, 13 Aug 2021 12:35:12 +0000 (14:35 +0200)] 
doc/operation: in Online backup, mention the necessary access rights of the backup directory

It is a frequently asked question from users.

4 years agoMerge branch 'conf_check_storage' into 'master'
Daniel Salzman [Thu, 19 Aug 2021 13:15:14 +0000 (13:15 +0000)] 
Merge branch 'conf_check_storage' into 'master'

conf: check writability of storage and databases

See merge request knot/knot-dns!1344

4 years agoconf: improve error log message of previous check
Daniel Salzman [Thu, 19 Aug 2021 12:53:56 +0000 (14:53 +0200)] 
conf: improve error log message of previous check

4 years agoconf: check writability of storage and databases
Libor Peltan [Tue, 10 Aug 2021 15:47:10 +0000 (17:47 +0200)] 
conf: check writability of storage and databases

4 years agoMerge branch 'master_serial_set' into 'master'
Daniel Salzman [Thu, 19 Aug 2021 09:45:03 +0000 (09:45 +0000)] 
Merge branch 'master_serial_set' into 'master'

fix: store master serial once on-slave-signing turned on...

See merge request knot/knot-dns!1351

4 years agofix: store master serial once on-slave-signing turned on...
Libor Peltan [Wed, 18 Aug 2021 15:52:29 +0000 (17:52 +0200)] 
fix: store master serial once on-slave-signing turned on...

...in case the zone had been XFRed before, the master serial
was not stored and after local signing, it was doomed

4 years agoconfio: fix stack-use-after-scope when processing check error
Daniel Salzman [Tue, 17 Aug 2021 16:19:09 +0000 (18:19 +0200)] 
confio: fix stack-use-after-scope when processing check error

4 years agokdig: fix misaligned address load when printing EDE
Daniel Salzman [Mon, 16 Aug 2021 11:20:09 +0000 (13:20 +0200)] 
kdig: fix misaligned address load when printing EDE

4 years agoMerge branch 'conf_utf8' into 'master'
Libor Peltan [Mon, 16 Aug 2021 11:09:04 +0000 (11:09 +0000)] 
Merge branch 'conf_utf8' into 'master'

Allow UTF-8 characters in configuration item data

See merge request knot/knot-dns!1349

4 years agoyparser: allow UTF-8 characters in item data
Daniel Salzman [Mon, 16 Aug 2021 10:25:11 +0000 (12:25 +0200)] 
yparser: allow UTF-8 characters in item data

4 years agoMerge branch 'fix_load_zonemd_fail' into 'master'
Daniel Salzman [Mon, 16 Aug 2021 05:33:04 +0000 (05:33 +0000)] 
Merge branch 'fix_load_zonemd_fail' into 'master'

zonemd: fix reporting error when verify fails on load

Closes #759

See merge request knot/knot-dns!1346

5 years agoMerge branch 'cat_fix_conflict' into 'master'
Daniel Salzman [Sun, 15 Aug 2021 15:39:45 +0000 (15:39 +0000)] 
Merge branch 'cat_fix_conflict' into 'master'

catalog: fix conf conflict detection

Closes #761

See merge request knot/knot-dns!1345

5 years agolibzscanner: add missing output buffer overflow checks to SVCB processing (oss-fuzz...
Daniel Salzman [Sat, 14 Aug 2021 13:11:21 +0000 (15:11 +0200)] 
libzscanner: add missing output buffer overflow checks to SVCB processing (oss-fuzz, asan)

5 years agozonemd: fix reporting error when verify fails on load
Libor Peltan [Sat, 14 Aug 2021 06:46:40 +0000 (08:46 +0200)] 
zonemd: fix reporting error when verify fails on load

5 years agocatalog: fix conf conflict detection
Libor Peltan [Fri, 13 Aug 2021 17:43:20 +0000 (19:43 +0200)] 
catalog: fix conf conflict detection

5 years agodoc: remove reverted libzscanner change from migration
Daniel Salzman [Tue, 10 Aug 2021 06:16:23 +0000 (08:16 +0200)] 
doc: remove reverted libzscanner change from migration

5 years agomod-rrl: always log qname which triggered the action
Daniel Salzman [Tue, 10 Aug 2021 05:34:41 +0000 (07:34 +0200)] 
mod-rrl: always log qname which triggered the action

5 years agoMerge branch 'journal_fixes3' into 'master'
Daniel Salzman [Mon, 9 Aug 2021 15:15:18 +0000 (15:15 +0000)] 
Merge branch 'journal_fixes3' into 'master'

journal: avoid discontinuity after manually flushing with zone-in-journal

See merge request knot/knot-dns!1348

5 years agoMerge branch 'kxdpgun-doc' into 'master'
Daniel Salzman [Mon, 9 Aug 2021 14:53:38 +0000 (14:53 +0000)] 
Merge branch 'kxdpgun-doc' into 'master'

Add TCP option into kxdpgun doc

See merge request knot/knot-dns!1346

5 years agodoc: add TCP option into kxdpgun doc
Jan Hak [Mon, 9 Aug 2021 12:33:56 +0000 (14:33 +0200)] 
doc: add TCP option into kxdpgun doc

5 years agojournal: avoid discontinuity after manually flushing with zone-in-journal
Libor Peltan [Mon, 9 Aug 2021 14:45:44 +0000 (16:45 +0200)] 
journal: avoid discontinuity after manually flushing with zone-in-journal

5 years agoMerge branch 'sphinx-doubledash' into 'master'
Daniel Salzman [Mon, 9 Aug 2021 14:37:05 +0000 (14:37 +0000)] 
Merge branch 'sphinx-doubledash' into 'master'

Change Sphinx configuration to disable double-dashes conversion

See merge request knot/knot-dns!1347

5 years agodoc: unify terminology in catalog zones section
Daniel Salzman [Mon, 9 Aug 2021 14:30:22 +0000 (16:30 +0200)] 
doc: unify terminology in catalog zones section

5 years agosphinx: change configuration to disable convert double-dashes into single unicode...
Jan Hak [Mon, 9 Aug 2021 13:23:40 +0000 (15:23 +0200)] 
sphinx: change configuration to disable convert double-dashes into single unicode character

5 years agoRevert "doc/knotc: fix a typesetting issue"
Jan Hak [Mon, 9 Aug 2021 13:05:44 +0000 (15:05 +0200)] 
Revert "doc/knotc: fix a typesetting issue"

This reverts commit d63f136da7eab6bdb81b53de7fcb4cdecb3e7913.

5 years agoMerge branch 'catalog_fixes2' into 'master'
Daniel Salzman [Mon, 9 Aug 2021 11:43:08 +0000 (11:43 +0000)] 
Merge branch 'catalog_fixes2' into 'master'

catalog fixes 2

See merge request knot/knot-dns!1345

5 years agoMerge branch 'systemd_improvements' into 'master'
Daniel Salzman [Mon, 9 Aug 2021 11:36:37 +0000 (11:36 +0000)] 
Merge branch 'systemd_improvements' into 'master'

Systemd improvements

See merge request knot/knot-dns!1344

5 years agocatalog: document that all zones are reloaded upon catz update
Libor Peltan [Mon, 9 Aug 2021 10:02:53 +0000 (12:02 +0200)] 
catalog: document that all zones are reloaded upon catz update

5 years agocatalog: bugfix: count update count correctly
Libor Peltan [Mon, 9 Aug 2021 09:56:15 +0000 (11:56 +0200)] 
catalog: bugfix: count update count correctly