]> git.ipfire.org Git - thirdparty/knot-dns.git/log
thirdparty/knot-dns.git
4 years agoconfigure: remove the unwanted compiler flag even if it's the last one
David Vašek [Mon, 1 Nov 2021 15:50:24 +0000 (16:50 +0100)] 
configure: remove the unwanted compiler flag even if it's the last one

4 years agoconfigure: remove one GNU-ism / dependency on GNU sed
David Vašek [Mon, 1 Nov 2021 14:46:29 +0000 (15:46 +0100)] 
configure: remove one GNU-ism / dependency on GNU sed

The original \W and \S are non-portable extensions to regular expressions in GNU sed.
The extra (the third) brackets are needed here as m4 escape characters for the character
class brackets.

4 years agoMerge branch 'catalog_error' into 'master'
Daniel Salzman [Mon, 1 Nov 2021 11:16:21 +0000 (12:16 +0100)] 
Merge branch 'catalog_error' into 'master'

catalog: fail zone-update if failed cat interpret

See merge request knot/knot-dns!1383

4 years agocatalog/interpret: code deduplication
Libor Peltan [Fri, 29 Oct 2021 16:15:43 +0000 (18:15 +0200)] 
catalog/interpret: code deduplication

4 years agocatalog: verify corectness before interpret
Libor Peltan [Wed, 27 Oct 2021 18:11:50 +0000 (20:11 +0200)] 
catalog: verify corectness before interpret

4 years agocatalog: fail zone-update if failed cat interpret
Libor Peltan [Wed, 27 Oct 2021 18:11:15 +0000 (20:11 +0200)] 
catalog: fail zone-update if failed cat interpret

4 years agomod-dnstap: tiny code cleanup
Daniel Salzman [Sat, 30 Oct 2021 18:15:48 +0000 (20:15 +0200)] 
mod-dnstap: tiny code cleanup

4 years agomod-dnstap: Add 'responses-with-queries' option
Robert Edmonds [Thu, 26 Aug 2021 22:09:23 +0000 (18:09 -0400)] 
mod-dnstap: Add 'responses-with-queries' option

This commit adds a 'responses-with-queries' option to the dnstap module.
When enabled, it also adds the original query message to AUTH_RESPONSE
type dnstap message payloads in addition to the response message.

The dnstap protobuf definition has separate 'query_message' and
'response_message' fields for dnstap message objects, and for
AUTH_RESPONSE messages the 'query_message' field can optionally be
filled in.

closes #764

4 years agoMerge branch 'cat_gen_reload' into 'master'
Daniel Salzman [Sat, 30 Oct 2021 18:02:27 +0000 (20:02 +0200)] 
Merge branch 'cat_gen_reload' into 'master'

catalog/generate: plan catz reload when changed

Closes #772

See merge request knot/knot-dns!1384

4 years agocatalog/generate: plan catz reload when changed
Libor Peltan [Fri, 29 Oct 2021 19:27:40 +0000 (21:27 +0200)] 
catalog/generate: plan catz reload when changed

4 years agosystemd: add comments for environment variables to the service file
Daniel Salzman [Tue, 26 Oct 2021 07:28:40 +0000 (09:28 +0200)] 
systemd: add comments for environment variables to the service file

4 years agomod-cookies: add 'dropped' statistics counter
Daniel Salzman [Fri, 22 Oct 2021 10:58:20 +0000 (12:58 +0200)] 
mod-cookies: add 'dropped' statistics counter

4 years agoMerge branch 'log_keys_sort' into 'master'
Daniel Salzman [Fri, 22 Oct 2021 07:58:24 +0000 (09:58 +0200)] 
Merge branch 'log_keys_sort' into 'master'

dnssec/logging: sort keys by timestamp

See merge request knot/knot-dns!1381

4 years agodnssec/logging: sort keys by timestamp
Libor Peltan [Thu, 21 Oct 2021 11:09:37 +0000 (13:09 +0200)] 
dnssec/logging: sort keys by timestamp

4 years agoMerge branch 'zonemd_flush2' into 'master'
Daniel Salzman [Thu, 21 Oct 2021 13:09:32 +0000 (15:09 +0200)] 
Merge branch 'zonemd_flush2' into 'master'

Zonemd flush2

See merge request knot/knot-dns!1379

4 years agoZONEMD: fixed and refactored handling without DNSSEC
Libor Peltan [Wed, 20 Oct 2021 10:25:09 +0000 (12:25 +0200)] 
ZONEMD: fixed and refactored handling without DNSSEC

4 years agozone-update: remove useless flag
Libor Peltan [Wed, 20 Oct 2021 08:32:20 +0000 (10:32 +0200)] 
zone-update: remove useless flag

4 years agoMerge branch 'doc_auto_dnssec' into 'master'
Daniel Salzman [Thu, 21 Oct 2021 11:14:09 +0000 (13:14 +0200)] 
Merge branch 'doc_auto_dnssec' into 'master'

doc: updated Automatic signing section

See merge request knot/knot-dns!1380

4 years agodoc: updated Automatic signing section
Libor Peltan [Thu, 21 Oct 2021 10:30:44 +0000 (12:30 +0200)] 
doc: updated Automatic signing section

4 years agoserver: don't try to detect an XDP config change if there aren't any interfaces
David Vašek [Tue, 19 Oct 2021 08:10:59 +0000 (10:10 +0200)] 
server: don't try to detect an XDP config change if there aren't any interfaces

fixes #770

4 years agokzonesign: add missing zone name lowercasing
Daniel Salzman [Sun, 17 Oct 2021 18:52:51 +0000 (20:52 +0200)] 
kzonesign: add missing zone name lowercasing

4 years agozonedb-load: fix possible NULL dereference
Daniel Salzman [Fri, 15 Oct 2021 16:03:36 +0000 (18:03 +0200)] 
zonedb-load: fix possible NULL dereference

4 years agokjournalprint: fix memory leak
Daniel Salzman [Fri, 15 Oct 2021 10:14:45 +0000 (12:14 +0200)] 
kjournalprint: fix memory leak

4 years agomod-stats: add tcp4-xdp and tcp6-xdp protocol counters
Daniel Salzman [Fri, 15 Oct 2021 12:38:04 +0000 (14:38 +0200)] 
mod-stats: add tcp4-xdp and tcp6-xdp protocol counters

4 years agoMerge branch 'kjournalprint_enoent' into 'master'
Daniel Salzman [Fri, 15 Oct 2021 08:42:34 +0000 (10:42 +0200)] 
Merge branch 'kjournalprint_enoent' into 'master'

Kjournalprint enoent

See merge request knot/knot-dns!1378

4 years agokeymgr: print error if failed to list zones
Daniel Salzman [Fri, 15 Oct 2021 07:51:53 +0000 (09:51 +0200)] 
keymgr: print error if failed to list zones

4 years agojournal(+libknot): special errcode for nonexisting LMDB
Libor Peltan [Thu, 14 Oct 2021 16:44:17 +0000 (18:44 +0200)] 
journal(+libknot): special errcode for nonexisting LMDB

4 years agolmdb: existence check may return error
Libor Peltan [Thu, 14 Oct 2021 16:23:48 +0000 (18:23 +0200)] 
lmdb: existence check may return error

4 years agoutils: fix initialization of dot_alpn
Daniel Salzman [Thu, 14 Oct 2021 12:15:06 +0000 (14:15 +0200)] 
utils: fix initialization of dot_alpn

4 years agoMerge remote-tracking branch 'origin/man_kdig_url_v2'
Daniel Salzman [Thu, 14 Oct 2021 07:38:49 +0000 (09:38 +0200)] 
Merge remote-tracking branch 'origin/man_kdig_url_v2'

closes #767

4 years agodoc/kdig: improve the description of the URL parameter
David Vašek [Wed, 13 Oct 2021 15:08:03 +0000 (17:08 +0200)] 
doc/kdig: improve the description of the URL parameter

4 years agokdig: in an HTTPS URL, ignore any scheme:// prefix
David Vašek [Wed, 13 Oct 2021 14:14:15 +0000 (16:14 +0200)] 
kdig: in an HTTPS URL, ignore any scheme:// prefix

4 years agokdig: improve the inline description of the +https=URL parameter
David Vašek [Wed, 13 Oct 2021 14:12:00 +0000 (16:12 +0200)] 
kdig: improve the inline description of the +https=URL parameter

4 years agotests-extra: ensure reproducible test starts at the beginning of a second
Daniel Salzman [Wed, 13 Oct 2021 13:05:05 +0000 (13:05 +0000)] 
tests-extra: ensure reproducible test starts at the beginning of a second

4 years agodoc: some improvements
Daniel Salzman [Tue, 12 Oct 2021 17:03:57 +0000 (19:03 +0200)] 
doc: some improvements

4 years agoMerge branch 'conf_jnl_depth' into 'master'
Libor Peltan [Tue, 12 Oct 2021 17:40:39 +0000 (19:40 +0200)] 
Merge branch 'conf_jnl_depth' into 'master'

Set default journal-max-depth to 20

See merge request knot/knot-dns!1376

4 years agoMerge branch 'journal_zij_merge' into 'master'
Daniel Salzman [Tue, 12 Oct 2021 17:37:06 +0000 (19:37 +0200)] 
Merge branch 'journal_zij_merge' into 'master'

journal: don't skip merge to zone-in-journal in case of recent md->flushed_upto...

See merge request knot/knot-dns!1377

4 years agojournal: don't skip merge to zone-in-journal in case of recent md->flushed_upto...
Libor Peltan [Tue, 12 Oct 2021 16:33:13 +0000 (18:33 +0200)] 
journal: don't skip merge to zone-in-journal in case of recent md->flushed_upto...

in case of zone-in-journal, it might happen that md->flushed upto is set
by zonefile sync or by extra changeset
however, presence of zone-in-journal requires that those changes are
merged into it anyway
which was blocked by direct check

4 years agoconf: set default journal-max-depth to 20
Daniel Salzman [Tue, 12 Oct 2021 10:22:30 +0000 (12:22 +0200)] 
conf: set default journal-max-depth to 20

4 years agoMerge branch 'kdig-tls-alpn' into 'master'
Daniel Salzman [Tue, 12 Oct 2021 08:42:08 +0000 (10:42 +0200)] 
Merge branch 'kdig-tls-alpn' into 'master'

kdig: Add ALPN to TLS (DoT) connect

See merge request knot/knot-dns!1375

4 years agokdig: Add ALPN to TLS (DoT) connect
Jan Hák [Tue, 12 Oct 2021 07:25:05 +0000 (09:25 +0200)] 
kdig: Add ALPN to TLS (DoT) connect

4 years agoMerge branch 'make-obs' into 'master'
Daniel Salzman [Mon, 11 Oct 2021 12:43:12 +0000 (14:43 +0200)] 
Merge branch 'make-obs' into 'master'

scripts: add make-obs.sh to create OBS srcpkg

See merge request knot/knot-dns!1374

4 years agoscripts: add make-obs.sh to create OBS srcpkg
Jakub Ružička [Mon, 11 Oct 2021 12:31:57 +0000 (14:31 +0200)] 
scripts: add make-obs.sh to create OBS srcpkg

This is a lightly modified script from Knot Resolver
which uses apkg to render OBS source package files
in pkg/obs.

4 years agodoc: extend offline-ksk operation
Daniel Salzman [Fri, 8 Oct 2021 07:21:35 +0000 (09:21 +0200)] 
doc: extend offline-ksk operation

4 years agoMerge branch 'distrotests-centos-ca-cert' into 'master'
Daniel Salzman [Wed, 6 Oct 2021 12:46:58 +0000 (14:46 +0200)] 
Merge branch 'distrotests-centos-ca-cert' into 'master'

distro/test: update CA certificates for CentOS

See merge request knot/knot-dns!1369

4 years agodoc: update ready key state description (fixup)
Libor Peltan [Wed, 6 Oct 2021 11:38:52 +0000 (13:38 +0200)] 
doc: update ready key state description (fixup)

4 years agoMerge branch 'little_fixe' into 'master'
Daniel Salzman [Wed, 6 Oct 2021 11:24:49 +0000 (13:24 +0200)] 
Merge branch 'little_fixe' into 'master'

Little fixes

See merge request knot/knot-dns!1372

4 years agoon-slave-signing: better handling of master serial
Libor Peltan [Wed, 6 Oct 2021 10:36:24 +0000 (12:36 +0200)] 
on-slave-signing: better handling of master serial

4 years agoctl/purge: proper handling of error codes
Libor Peltan [Wed, 6 Oct 2021 10:35:07 +0000 (12:35 +0200)] 
ctl/purge: proper handling of error codes

4 years agoMerge branch 'offline_ksk_enh' into 'master'
Daniel Salzman [Wed, 6 Oct 2021 07:12:09 +0000 (09:12 +0200)] 
Merge branch 'offline_ksk_enh' into 'master'

dnssec (offlineKSK): RRSIG validation does not count with rrsig-refresh...

See merge request knot/knot-dns!1371

4 years agodoc: rework offline-ksk prerequisites
Daniel Salzman [Tue, 5 Oct 2021 13:44:53 +0000 (15:44 +0200)] 
doc: rework offline-ksk prerequisites

4 years agoofflineKSK: take DNSKEY TTL from KSR
Libor Peltan [Tue, 5 Oct 2021 10:38:43 +0000 (12:38 +0200)] 
offlineKSK: take DNSKEY TTL from KSR

4 years agodnssec: remove unnecessary check for RRSIG-SOA validity
Libor Peltan [Tue, 5 Oct 2021 10:14:57 +0000 (12:14 +0200)] 
dnssec: remove unnecessary check for RRSIG-SOA validity

4 years agodnssec (offlineKSK): RRSIG validation does not count with rrsig-refresh...
Libor Peltan [Tue, 5 Oct 2021 08:49:26 +0000 (10:49 +0200)] 
dnssec (offlineKSK): RRSIG validation does not count with rrsig-refresh...

... this removes the need for equal configuration of offline ksk sides

4 years agodoc: update ready key state description
Daniel Salzman [Tue, 5 Oct 2021 09:36:42 +0000 (11:36 +0200)] 
doc: update ready key state description

4 years agodoc: improve queryacl reference
Daniel Salzman [Tue, 5 Oct 2021 09:36:25 +0000 (11:36 +0200)] 
doc: improve queryacl reference

4 years agodoc: extend description of 'remote.via'
Daniel Salzman [Tue, 5 Oct 2021 08:58:51 +0000 (10:58 +0200)] 
doc: extend description of 'remote.via'

4 years agodistro/deb: fix lintian warnings 'embedded-javascript-library'
Daniel Salzman [Mon, 4 Oct 2021 13:37:03 +0000 (15:37 +0200)] 
distro/deb: fix lintian warnings 'embedded-javascript-library'

4 years agodistro/test: update CA certificates for CentOS
Tomas Krizek [Mon, 4 Oct 2021 11:48:41 +0000 (13:48 +0200)] 
distro/test: update CA certificates for CentOS

On CentOS 7, the base image has an outdated LetsEncrypt certificate.

4 years agotests: make flags. zone readable by bind
Libor Peltan [Fri, 1 Oct 2021 08:44:15 +0000 (10:44 +0200)] 
tests: make flags. zone readable by bind

4 years agoMerge branch 'refactor_zone_t' into 'master'
Daniel Salzman [Thu, 30 Sep 2021 13:43:32 +0000 (15:43 +0200)] 
Merge branch 'refactor_zone_t' into 'master'

zone: refactoring: zone_t points to server_t

See merge request knot/knot-dns!1367

4 years agozone: refactoring: zone_t points to server_t
Libor Peltan [Mon, 16 Aug 2021 08:56:41 +0000 (10:56 +0200)] 
zone: refactoring: zone_t points to server_t

4 years agoMerge branch 'additionals_no_loop' into 'master'
Daniel Salzman [Thu, 30 Sep 2021 11:32:30 +0000 (13:32 +0200)] 
Merge branch 'additionals_no_loop' into 'master'

nameserver: dont put additionals induced by additionals

See merge request knot/knot-dns!1368

4 years agonameserver: dont put additionals induced by additionals
Libor Peltan [Thu, 30 Sep 2021 10:48:59 +0000 (12:48 +0200)] 
nameserver: dont put additionals induced by additionals

4 years agotests: fix occasional fail due to timing
Libor Peltan [Thu, 30 Sep 2021 07:12:27 +0000 (09:12 +0200)] 
tests: fix occasional fail due to timing

4 years agoMerge branch 'svcb2' into 'master'
Daniel Salzman [Wed, 29 Sep 2021 13:14:19 +0000 (15:14 +0200)] 
Merge branch 'svcb2' into 'master'

svcb: put glue + dnssec into additional section

See merge request knot/knot-dns!1366

4 years agosvcb: put nsec covering missing glue if some exist
Libor Peltan [Fri, 24 Sep 2021 10:59:29 +0000 (12:59 +0200)] 
svcb: put nsec covering missing glue if some exist

4 years agosvcb: put targeted svcb into additionals
Libor Peltan [Thu, 23 Sep 2021 12:54:01 +0000 (14:54 +0200)] 
svcb: put targeted svcb into additionals

4 years agosvcb/https: as regular optional glue with rrsig
Libor Peltan [Thu, 23 Sep 2021 11:43:11 +0000 (13:43 +0200)] 
svcb/https: as regular optional glue with rrsig

4 years agoIXFR: better logging of master unsupporting IXFR
Libor Peltan [Mon, 27 Sep 2021 09:49:04 +0000 (11:49 +0200)] 
IXFR: better logging of master unsupporting IXFR

4 years agoIXFR: fallback to AXFR when error recognizing XFR type
Libor Peltan [Mon, 27 Sep 2021 09:03:38 +0000 (11:03 +0200)] 
IXFR: fallback to AXFR when error recognizing XFR type

4 years agodoc/kxdpgun: create the Signals section
David Vašek [Mon, 27 Sep 2021 15:12:37 +0000 (17:12 +0200)] 
doc/kxdpgun: create the Signals section

4 years agodoc: add details about SoftHSM cryptographic algorithms support
David Vašek [Mon, 27 Sep 2021 14:49:17 +0000 (16:49 +0200)] 
doc: add details about SoftHSM cryptographic algorithms support

4 years agodoc/knotd, knotc: unify the Options/Parameters terminology with the rest of man pages
David Vašek [Mon, 27 Sep 2021 14:05:05 +0000 (16:05 +0200)] 
doc/knotd, knotc: unify the Options/Parameters terminology with the rest of man pages

4 years agodoc/knotc: improve the description
David Vašek [Mon, 27 Sep 2021 14:00:21 +0000 (16:00 +0200)] 
doc/knotc: improve the description

4 years agodoc/knotd: add some knotd description
David Vašek [Mon, 27 Sep 2021 13:43:36 +0000 (15:43 +0200)] 
doc/knotd: add some knotd description

4 years agodoc/knotd: document accepted signals
David Vašek [Mon, 27 Sep 2021 13:41:32 +0000 (15:41 +0200)] 
doc/knotd: document accepted signals

4 years agoMerge branch 'load_fail_bootstrap' into 'master'
Daniel Salzman [Mon, 27 Sep 2021 12:37:00 +0000 (14:37 +0200)] 
Merge branch 'load_fail_bootstrap' into 'master'

Load fail bootstrap

See merge request knot/knot-dns!1363

4 years agoscripts: update timerdb-info.py with last_refresh_ok
Daniel Salzman [Mon, 27 Sep 2021 12:28:06 +0000 (14:28 +0200)] 
scripts: update timerdb-info.py with last_refresh_ok

4 years agoreplan: bootstrap immediately if not failed before
Libor Peltan [Wed, 22 Sep 2021 13:19:25 +0000 (15:19 +0200)] 
replan: bootstrap immediately if not failed before

4 years agoload: bugfix: bootstrap when load failed
Libor Peltan [Wed, 22 Sep 2021 11:25:00 +0000 (13:25 +0200)] 
load: bugfix: bootstrap when load failed

4 years agoscripts: switch update-project-files.py to Python3
Daniel Salzman [Mon, 27 Sep 2021 12:11:22 +0000 (14:11 +0200)] 
scripts: switch update-project-files.py to Python3

4 years agoMerge branch 'fix_load_crash' into 'master'
Daniel Salzman [Sun, 26 Sep 2021 16:58:39 +0000 (18:58 +0200)] 
Merge branch 'fix_load_crash' into 'master'

load: bugfix: crash upon cold start with specific circumstances

See merge request knot/knot-dns!1365

4 years agoload: bugfix: crash upon cold start with specific circumstances
Libor Peltan [Thu, 23 Sep 2021 15:34:18 +0000 (17:34 +0200)] 
load: bugfix: crash upon cold start with specific circumstances

4 years agoconfigure: remove unused XDP_VISIBLE_HEADERS
Daniel Salzman [Fri, 24 Sep 2021 10:25:42 +0000 (12:25 +0200)] 
configure: remove unused XDP_VISIBLE_HEADERS

4 years agoconf: mute invalid parameter debug log
Daniel Salzman [Thu, 23 Sep 2021 11:03:24 +0000 (13:03 +0200)] 
conf: mute invalid parameter debug log

4 years agoMerge branch 'fix_replan_dnssec' into 'master'
Daniel Salzman [Thu, 23 Sep 2021 10:01:17 +0000 (12:01 +0200)] 
Merge branch 'fix_replan_dnssec' into 'master'

events: replan notify after dnssec properly

See merge request knot/knot-dns!1364

4 years agoevents: replan notify after dnssec properly
Libor Peltan [Thu, 23 Sep 2021 08:47:20 +0000 (10:47 +0200)] 
events: replan notify after dnssec properly

...it makes no sense to call anything on zeroed update

4 years agoMerge branch 'keymgr_conf' into 'master'
Daniel Salzman [Wed, 22 Sep 2021 17:50:09 +0000 (19:50 +0200)] 
Merge branch 'keymgr_conf' into 'master'

Utils: take path to journal/catalog/kasp from configuration

Closes #748

See merge request knot/knot-dns!1336

4 years agokcatalogprint: take path to catalog from configuration
Daniel Salzman [Wed, 22 Sep 2021 17:27:58 +0000 (19:27 +0200)] 
kcatalogprint: take path to catalog from configuration

4 years agokjournalprint: unify program parameter processing, add backward compatibility
Daniel Salzman [Tue, 21 Sep 2021 14:50:51 +0000 (16:50 +0200)] 
kjournalprint: unify program parameter processing, add backward compatibility

4 years agokeymgr: unify program parameter processing
Daniel Salzman [Tue, 21 Sep 2021 14:50:47 +0000 (16:50 +0200)] 
keymgr: unify program parameter processing

4 years agokjournalprint: take path to journal from configuration
Libor Peltan [Mon, 2 Aug 2021 19:36:36 +0000 (21:36 +0200)] 
kjournalprint: take path to journal from configuration

4 years agokjournalprint: rename rarely used -c option to -H
Libor Peltan [Mon, 2 Aug 2021 18:55:21 +0000 (20:55 +0200)] 
kjournalprint: rename rarely used -c option to -H

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

4 years agoutilities/keymgr: move configuration-handling routines to general source file...
Libor Peltan [Mon, 2 Aug 2021 15:54:37 +0000 (17:54 +0200)] 
utilities/keymgr: move configuration-handling routines to general source file...

...while fixing few little bugs

4 years agoRevert "keymgr: new -D param instead of deprecated -d"
Daniel Salzman [Mon, 6 Sep 2021 09:01:28 +0000 (11:01 +0200)] 
Revert "keymgr: new -D param instead of deprecated -d"

This reverts commit 29decc3eb18804409e8c68f16be602bda7ef6e51.

4 years agoMerge branch 'tiny_fix_doc' into 'master'
Daniel Salzman [Tue, 21 Sep 2021 14:51:29 +0000 (16:51 +0200)] 
Merge branch 'tiny_fix_doc' into 'master'

doc: fix overlook in mod-probe reference

See merge request knot/knot-dns!1362

4 years agodoc: fix overlook in mod-probe reference
Libor Peltan [Tue, 21 Sep 2021 14:45:34 +0000 (16:45 +0200)] 
doc: fix overlook in mod-probe reference

4 years agocatalog: change the warning message (catalog version mismatch)
David Vašek [Tue, 14 Sep 2021 10:42:55 +0000 (12:42 +0200)] 
catalog: change the warning message (catalog version mismatch)