]> git.ipfire.org Git - thirdparty/knot-dns.git/log
thirdparty/knot-dns.git
3 years agoload: refactor and unify catalog/generate checks
Libor Peltan [Tue, 25 Apr 2023 12:43:04 +0000 (14:43 +0200)] 
load: refactor and unify catalog/generate checks

3 years agoreverse-generate: don't require configuring by user, perform relevant conf automatically
Libor Peltan [Tue, 25 Apr 2023 10:25:26 +0000 (12:25 +0200)] 
reverse-generate: don't require configuring by user, perform relevant conf automatically

3 years agokdig: fail to process truncated transfer
Daniel Salzman [Tue, 25 Apr 2023 13:58:13 +0000 (15:58 +0200)] 
kdig: fail to process truncated transfer

3 years agorequestor: fail if TC is set
Daniel Salzman [Mon, 24 Apr 2023 11:54:49 +0000 (13:54 +0200)] 
requestor: fail if TC is set

3 years agosystemd: improve zero KNOT_ZONE_LOAD_TIMEOUT_SEC handling
Daniel Salzman [Fri, 21 Apr 2023 08:06:22 +0000 (10:06 +0200)] 
systemd: improve zero KNOT_ZONE_LOAD_TIMEOUT_SEC handling

3 years agotests-extra: remove unused test case params (moved to Context)
Daniel Salzman [Fri, 21 Apr 2023 06:01:40 +0000 (08:01 +0200)] 
tests-extra: remove unused test case params (moved to Context)

3 years agodoc: update introduction
Daniel Salzman [Fri, 21 Apr 2023 06:22:03 +0000 (08:22 +0200)] 
doc: update introduction

3 years agodoc: improve complete example of dynamic configuration
Daniel Salzman [Fri, 21 Apr 2023 05:59:10 +0000 (07:59 +0200)] 
doc: improve complete example of dynamic configuration

3 years agodoc/keymgr: link the lists of DNSSEC and TSIG key algorithms in reference
David Vašek [Wed, 19 Apr 2023 10:59:36 +0000 (12:59 +0200)] 
doc/keymgr: link the lists of DNSSEC and TSIG key algorithms in reference

3 years agoMerge branch 'test_no_resign_fix' into 'master'
Daniel Salzman [Tue, 18 Apr 2023 12:07:52 +0000 (14:07 +0200)] 
Merge branch 'test_no_resign_fix' into 'master'

Test no resign fix

See merge request knot/knot-dns!1505

3 years agotests/no_resign: fix messy keys/keys/keys directory
Libor Peltan [Tue, 18 Apr 2023 11:58:53 +0000 (13:58 +0200)] 
tests/no_resign: fix messy keys/keys/keys directory

3 years agotests: align with bind9 now having default 0 nsec3iter
Libor Peltan [Tue, 18 Apr 2023 11:13:43 +0000 (13:13 +0200)] 
tests: align with bind9 now having default 0 nsec3iter

3 years agodoc: remove triple grave accents
David Vašek [Tue, 4 Apr 2023 07:31:07 +0000 (09:31 +0200)] 
doc: remove triple grave accents

3 years agodoc/operation: add a section describing zone expiration
David Vašek [Fri, 31 Mar 2023 14:48:43 +0000 (16:48 +0200)] 
doc/operation: add a section describing zone expiration

3 years agokdig: be careful about the received EDNS EXPIRE value
David Vašek [Mon, 3 Apr 2023 22:14:49 +0000 (00:14 +0200)] 
kdig: be careful about the received EDNS EXPIRE value

3 years agorrset-dump: comment zero values in multiline SOA format too
David Vašek [Mon, 3 Apr 2023 22:13:07 +0000 (00:13 +0200)] 
rrset-dump: comment zero values in multiline SOA format too

3 years agosample: fix typo in dbus_client.py
Daniel Salzman [Mon, 3 Apr 2023 17:38:51 +0000 (19:38 +0200)] 
sample: fix typo in dbus_client.py

3 years agoquic: improve check for no certificate
Daniel Salzman [Mon, 3 Apr 2023 17:42:54 +0000 (19:42 +0200)] 
quic: improve check for no certificate

3 years agoctl: replace 'none' with '-' if no active certificate
Daniel Salzman [Mon, 3 Apr 2023 17:37:58 +0000 (19:37 +0200)] 
ctl: replace 'none' with '-' if no active certificate

3 years agokdig: print EDNS EXPIRE timer in human format
Daniel Salzman [Mon, 3 Apr 2023 15:16:07 +0000 (17:16 +0200)] 
kdig: print EDNS EXPIRE timer in human format

3 years agorrset-dump: print SOA timers in human format if multiline
Daniel Salzman [Mon, 3 Apr 2023 15:15:38 +0000 (17:15 +0200)] 
rrset-dump: print SOA timers in human format if multiline

3 years agocontrib: import from libknot and extend knot_time_print_human()
Daniel Salzman [Mon, 3 Apr 2023 15:27:35 +0000 (17:27 +0200)] 
contrib: import from libknot and extend knot_time_print_human()

3 years agokdig: adds parameter to add or remove the expire EDNS option to the query
Jan Hák [Fri, 31 Mar 2023 11:00:14 +0000 (13:00 +0200)] 
kdig: adds parameter to add or remove the expire EDNS option to the query

3 years agoquic: don't return error when connection closed
Jan Hák [Fri, 3 Mar 2023 13:37:15 +0000 (14:37 +0100)] 
quic: don't return error when connection closed

3 years agolibknot: fix compilation with embedded ngtcp2 if there is another ngtcp2 in path
Daniel Salzman [Thu, 30 Mar 2023 14:05:02 +0000 (16:05 +0200)] 
libknot: fix compilation with embedded ngtcp2 if there is another ngtcp2 in path

3 years agoudp-handler: don't use more workers for QUIC if SO_REUSPORT not available
Daniel Salzman [Thu, 30 Mar 2023 12:20:15 +0000 (14:20 +0200)] 
udp-handler: don't use more workers for QUIC if SO_REUSPORT not available

This is needed for proper operation.

3 years agoctl: add 'cert-pin' option to the 'status' command
Daniel Salzman [Thu, 30 Mar 2023 08:40:54 +0000 (10:40 +0200)] 
ctl: add 'cert-pin' option to the 'status' command

3 years agoserver: move certificate PIN getting to server_cert_pin()
Daniel Salzman [Thu, 30 Mar 2023 08:40:16 +0000 (10:40 +0200)] 
server: move certificate PIN getting to server_cert_pin()

3 years agodoc/reference: mention the use of EDNS Expire value received from the master
David Vašek [Thu, 30 Mar 2023 13:17:33 +0000 (15:17 +0200)] 
doc/reference: mention the use of EDNS Expire value received from the master

3 years agoknotd: optimize configuration cache memory usage
Jan Hák [Wed, 22 Mar 2023 14:14:44 +0000 (15:14 +0100)] 
knotd: optimize configuration cache memory usage

It saves 1 cache line

3 years agoInvoke rcu_register_thread() before its first call to rcu_read_lock()
秦龙飞 [Tue, 28 Mar 2023 05:47:59 +0000 (13:47 +0800)] 
Invoke rcu_register_thread() before its first call to rcu_read_lock()

3 years agoMerge branch 'ede28' into 'master'
Daniel Salzman [Wed, 29 Mar 2023 13:29:05 +0000 (15:29 +0200)] 
Merge branch 'ede28' into 'master'

Add EDE codes 28 and 29

See merge request knot/knot-dns!1503

3 years agolibknot: add EDE codes 28 and 29
Daniel Salzman [Wed, 29 Mar 2023 13:22:36 +0000 (15:22 +0200)] 
libknot: add EDE codes 28 and 29

3 years agoquic: fix quic client/server initialization
Jan Hák [Mon, 27 Mar 2023 13:08:47 +0000 (15:08 +0200)] 
quic: fix quic client/server initialization

3 years agoquic: adapt to ngtcp2 0.14.0
Daniel Salzman [Sat, 25 Mar 2023 20:20:32 +0000 (21:20 +0100)] 
quic: adapt to ngtcp2 0.14.0

3 years agocontrib: upgrade embedded library ngtcp2 to v0.14.0
Daniel Salzman [Sat, 25 Mar 2023 20:07:15 +0000 (21:07 +0100)] 
contrib: upgrade embedded library ngtcp2 to v0.14.0

3 years agokdig: try to use TCP_NODELAY socket option due to TLS latency
Jan Hák [Thu, 16 Mar 2023 15:00:47 +0000 (16:00 +0100)] 
kdig: try to use TCP_NODELAY socket option due to TLS latency

3 years agoRevert "mod-dnstap: copy response times to query times if 'with_queries' enabled"
Daniel Salzman [Tue, 28 Mar 2023 07:20:18 +0000 (09:20 +0200)] 
Revert "mod-dnstap: copy response times to query times if 'with_queries' enabled"

This reverts commit 5d65f074c568ea3e8fa60f63e69de4cc8235de67.

3 years agodnstap: update dnstap.proto
Daniel Salzman [Mon, 27 Mar 2023 12:59:57 +0000 (14:59 +0200)] 
dnstap: update dnstap.proto

3 years agomod-dnstap: replace time() with clock_gettime()
Daniel Salzman [Mon, 27 Mar 2023 12:54:52 +0000 (14:54 +0200)] 
mod-dnstap: replace time() with clock_gettime()

3 years agotime: remove obsolete fallback for systems without clock_gettime()
Daniel Salzman [Mon, 27 Mar 2023 12:45:07 +0000 (14:45 +0200)] 
time: remove obsolete fallback for systems without clock_gettime()

3 years agomod-dnstap: copy response times to query times if 'with_queries' enabled
Daniel Salzman [Mon, 27 Mar 2023 12:28:24 +0000 (14:28 +0200)] 
mod-dnstap: copy response times to query times if 'with_queries' enabled

This fixes issues with dsc, which requires the time values present.

3 years agomodules: don't skip implicit modules in conf_mod_find()
Daniel Salzman [Wed, 22 Mar 2023 17:56:28 +0000 (18:56 +0100)] 
modules: don't skip implicit modules in conf_mod_find()

The configuration check fails to verify module reference otherwise.

3 years agoMerge branch 'mute_warnings' into 'master'
Jan Hák [Thu, 23 Mar 2023 13:39:55 +0000 (14:39 +0100)] 
Merge branch 'mute_warnings' into 'master'

Mute warnings

See merge request knot/knot-dns!1501

3 years agoreverse: replace sprintf() with snprintf() to mute compile warnings
Daniel Salzman [Thu, 23 Mar 2023 12:29:12 +0000 (13:29 +0100)] 
reverse: replace sprintf() with snprintf() to mute compile warnings

3 years agoutils: replace sprintf() with snprintf() to mute compile warnings
Daniel Salzman [Thu, 23 Mar 2023 12:11:29 +0000 (13:11 +0100)] 
utils: replace sprintf() with snprintf() to mute compile warnings

3 years agobackup: replace sprintf() with snprintf() to mute compile warnings
Daniel Salzman [Thu, 23 Mar 2023 12:01:47 +0000 (13:01 +0100)] 
backup: replace sprintf() with snprintf() to mute compile warnings

3 years agoinet_ntop: replace strcpy() with strlcpy()
Daniel Salzman [Thu, 23 Mar 2023 09:15:19 +0000 (10:15 +0100)] 
inet_ntop: replace strcpy() with strlcpy()

3 years agoknotd: store server version and server identity in cache
Jan Hák [Wed, 22 Mar 2023 12:46:12 +0000 (13:46 +0100)] 
knotd: store server version and server identity in cache

3 years agonet: unify structure initializations
Daniel Salzman [Mon, 20 Mar 2023 15:52:03 +0000 (16:52 +0100)] 
net: unify structure initializations

3 years agoMerge branch 'quic_impr'
Daniel Salzman [Tue, 21 Mar 2023 08:45:45 +0000 (09:45 +0100)] 
Merge branch 'quic_impr'

3 years agodistro/el-7: add patch for compilation fix by using SHA-1 for certificate PIN computation
Daniel Salzman [Sun, 19 Mar 2023 18:55:17 +0000 (19:55 +0100)] 
distro/el-7: add patch for compilation fix by using SHA-1 for certificate PIN computation

3 years agoquic: rename 'xconn' to 'conn'
Daniel Salzman [Tue, 14 Mar 2023 12:31:27 +0000 (13:31 +0100)] 
quic: rename 'xconn' to 'conn'

3 years agoquic: rename 'xquic' and 'XQUIC' to 'xquic' and 'QUIC'
Daniel Salzman [Tue, 14 Mar 2023 12:28:03 +0000 (13:28 +0100)] 
quic: rename 'xquic' and 'XQUIC' to 'xquic' and 'QUIC'

3 years agoquic: add optional peer (server) certificate PIN check upon connection handshake
Daniel Salzman [Sun, 12 Mar 2023 16:24:35 +0000 (17:24 +0100)] 
quic: add optional peer (server) certificate PIN check upon connection handshake

3 years agoquic: store ephemeral private key to a file, refactor knot_xquic_init_creds()
Daniel Salzman [Sun, 12 Mar 2023 16:24:18 +0000 (17:24 +0100)] 
quic: store ephemeral private key to a file, refactor knot_xquic_init_creds()

3 years agoquic: move acl/cert_pin() to libknot/knot_quic_conn_pin()
Daniel Salzman [Sun, 12 Mar 2023 17:44:19 +0000 (18:44 +0100)] 
quic: move acl/cert_pin() to libknot/knot_quic_conn_pin()

3 years agoquic: simplify ALPN handling
Daniel Salzman [Fri, 3 Mar 2023 08:25:42 +0000 (09:25 +0100)] 
quic: simplify ALPN handling

3 years agoquic: unify connection table handling
Daniel Salzman [Mon, 6 Mar 2023 11:30:09 +0000 (12:30 +0100)] 
quic: unify connection table handling

3 years agocontrib/inet_ntop: mute Coverity warning
Daniel Salzman [Sun, 12 Mar 2023 16:15:17 +0000 (17:15 +0100)] 
contrib/inet_ntop: mute Coverity warning

3 years agozone: update a comment
David Vašek [Sat, 11 Mar 2023 10:55:17 +0000 (11:55 +0100)] 
zone: update a comment

3 years agozonedb-load: fix catalog generation by processing them after all other zones
Daniel Salzman [Sun, 5 Mar 2023 12:01:00 +0000 (13:01 +0100)] 
zonedb-load: fix catalog generation by processing them after all other zones

fixes #834

3 years agotest-extra: add test for generated catalog addition together with its members
Daniel Salzman [Sat, 4 Mar 2023 19:41:08 +0000 (20:41 +0100)] 
test-extra: add test for generated catalog addition together with its members

3 years agoMerge branch 'musl_inet_ntop'
Daniel Salzman [Wed, 8 Mar 2023 10:13:04 +0000 (11:13 +0100)] 
Merge branch 'musl_inet_ntop'

3 years agosrc: replace inet_ntop() with knot_inet_ntop()
Daniel Salzman [Tue, 7 Mar 2023 11:14:39 +0000 (12:14 +0100)] 
src: replace inet_ntop() with knot_inet_ntop()

3 years agotests: add test for knot_inet_ntop()
Daniel Salzman [Fri, 3 Mar 2023 18:52:11 +0000 (19:52 +0100)] 
tests: add test for knot_inet_ntop()

3 years agocontrib/musl: take implementation of 'inet_ntop' from musl
Jan Hák [Mon, 20 Feb 2023 14:10:46 +0000 (15:10 +0100)] 
contrib/musl: take implementation of 'inet_ntop' from musl

The reason is that the glibc implementation returns wrong IPv6-mapped-IPv4 addresses.

Source:
https://git.musl-libc.org/cgit/musl/tree/src/network/inet_ntop.c
(as of 2023-03-01, musl v1.2.3, blob: 4bfef2c557ab4478afeb5c22f5d548fd69e51d3c)

Homepage:
https://musl.libc.org/

3 years agoudp-handler: remove omitted assert
Daniel Salzman [Mon, 6 Mar 2023 06:56:03 +0000 (07:56 +0100)] 
udp-handler: remove omitted assert

3 years agoMerge branch 'convent_quic3' into 'master'
Daniel Salzman [Sat, 4 Mar 2023 18:17:45 +0000 (19:17 +0100)] 
Merge branch 'convent_quic3' into 'master'

Conventional QUIC implementation

Closes #827

See merge request knot/knot-dns!1497

3 years agoserver: move some common handling code to one place
Daniel Salzman [Fri, 24 Feb 2023 08:58:54 +0000 (09:58 +0100)] 
server: move some common handling code to one place

3 years agoquic-handler: simplify reply callbacks
Daniel Salzman [Mon, 27 Feb 2023 09:38:27 +0000 (10:38 +0100)] 
quic-handler: simplify reply callbacks

3 years agoquic: unify and reduce ALPN for QUIC to just 'doq'
Daniel Salzman [Thu, 23 Feb 2023 13:03:36 +0000 (14:03 +0100)] 
quic: unify and reduce ALPN for QUIC to just 'doq'

3 years agoacl: add client certificate public key pin check
Daniel Salzman [Mon, 20 Feb 2023 09:16:54 +0000 (10:16 +0100)] 
acl: add client certificate public key pin check

3 years agoutils: replace cert_get_pin() with gnutls_x509_crt_get_key_id()
Daniel Salzman [Mon, 20 Feb 2023 08:29:11 +0000 (09:29 +0100)] 
utils: replace cert_get_pin() with gnutls_x509_crt_get_key_id()

3 years agoknot: implemented non-XDP QUIC answering
Libor Peltan [Fri, 13 Jan 2023 12:55:00 +0000 (13:55 +0100)] 
knot: implemented non-XDP QUIC answering

3 years agosockaddr: return just gethostname() if getaddrinfo() fails in sockaddr_hostname()
Daniel Salzman [Sat, 18 Feb 2023 21:41:13 +0000 (22:41 +0100)] 
sockaddr: return just gethostname() if getaddrinfo() fails in sockaddr_hostname()

3 years agoknotd: don't set socket affinity on UNIX socket interfaces
Daniel Salzman [Fri, 17 Feb 2023 12:24:18 +0000 (13:24 +0100)] 
knotd: don't set socket affinity on UNIX socket interfaces

3 years agoquic: some code cleanup
Daniel Salzman [Wed, 15 Feb 2023 15:21:26 +0000 (16:21 +0100)] 
quic: some code cleanup

3 years agoxdp-handler: unify remote/local address getting
Daniel Salzman [Wed, 15 Feb 2023 08:57:26 +0000 (09:57 +0100)] 
xdp-handler: unify remote/local address getting

This also fixes possible PROXYv2 processing over XDP.

3 years agokxdpgun: refactor receiving QUIC
Daniel Salzman [Mon, 13 Feb 2023 19:36:53 +0000 (20:36 +0100)] 
kxdpgun: refactor receiving QUIC

3 years agolibknot: add optional server name parameter to knot_xquic_client()
Daniel Salzman [Mon, 13 Feb 2023 17:57:33 +0000 (18:57 +0100)] 
libknot: add optional server name parameter to knot_xquic_client()

3 years agolibknot: move quic* files from xdp directory to quic directory
Daniel Salzman [Mon, 13 Feb 2023 13:29:49 +0000 (14:29 +0100)] 
libknot: move quic* files from xdp directory to quic directory

3 years agoxdp-quic/refactoring: separate XDP from QUIC routines
Libor Peltan [Wed, 19 Oct 2022 16:02:03 +0000 (18:02 +0200)] 
xdp-quic/refactoring: separate XDP from QUIC routines

3 years agoscripts: get rid of colons in directory names
Daniel Salzman [Tue, 28 Feb 2023 12:01:55 +0000 (13:01 +0100)] 
scripts: get rid of colons in directory names

3 years agoconfigure: adjust coding style
David Vašek [Thu, 16 Feb 2023 14:11:44 +0000 (15:11 +0100)] 
configure: adjust coding style

3 years agoAdd support for building on Cygwin and MSYS
Christopher Ng [Sun, 25 Dec 2022 10:28:47 +0000 (10:28 +0000)] 
Add support for building on Cygwin and MSYS

This commit adds support for building the libraries and utils on Cygwin/MSYS2.
The daemon cannot be built because some of the IPV6 code does not compile.

See more at https://gitlab.nic.cz/knot/knot-resolver/-/issues/781

3 years agosamples: note required Debian packages for sample DBus scripts
David Vašek [Tue, 7 Feb 2023 16:49:39 +0000 (17:49 +0100)] 
samples: note required Debian packages for sample DBus scripts

3 years agosamples: dbus_client.pl -- follow the same output style as .sh and .py samples
David Vašek [Tue, 7 Feb 2023 15:24:23 +0000 (16:24 +0100)] 
samples: dbus_client.pl -- follow the same output style as .sh and .py samples

3 years agoscripts: remove unused scripts for OBS
Daniel Salzman [Wed, 15 Feb 2023 11:12:45 +0000 (12:12 +0100)] 
scripts: remove unused scripts for OBS

3 years agodoc/reference: describe the effects of 'semantic-checks: soft' in a clearer way
David Vašek [Wed, 8 Feb 2023 15:50:47 +0000 (16:50 +0100)] 
doc/reference: describe the effects of 'semantic-checks: soft' in a clearer way

3 years agotests-extra: zone/zonemd_load -- always ensure the time order of backup and purge
David Vašek [Wed, 8 Feb 2023 19:23:07 +0000 (20:23 +0100)] 
tests-extra: zone/zonemd_load -- always ensure the time order of backup and purge

3 years agocontrib: upgrade embedded library ngtcp2 to v0.13.1
Daniel Salzman [Thu, 9 Feb 2023 13:36:45 +0000 (14:36 +0100)] 
contrib: upgrade embedded library ngtcp2 to v0.13.1

3 years agodistro/deb: update copyright
Daniel Salzman [Thu, 9 Feb 2023 07:34:01 +0000 (08:34 +0100)] 
distro/deb: update copyright

3 years agoeth: add explicit include for string.h
Daniel Salzman [Thu, 9 Feb 2023 07:01:40 +0000 (08:01 +0100)] 
eth: add explicit include for string.h

3 years agoutils: add -rdynamic to utilities which link libknotd to solve missing symbols
Daniel Salzman [Tue, 7 Feb 2023 18:42:47 +0000 (19:42 +0100)] 
utils: add -rdynamic to utilities which link libknotd to solve missing symbols

If there is a shared module available, utilities reading the configuration
log an error when loading the module due to missing knotd_* symbols.

3 years agotests-extra: zone/zonemd_load -- fix a recent omission
David Vašek [Tue, 7 Feb 2023 13:19:32 +0000 (14:19 +0100)] 
tests-extra: zone/zonemd_load -- fix a recent omission

3 years agocoding style -- unify the use of file operation modes and flags
David Vašek [Tue, 24 Jan 2023 18:05:52 +0000 (19:05 +0100)] 
coding style -- unify the use of file operation modes and flags

3 years agotests-extra: zone/zonemd_load -- test for unchanged serial upon zonefile restore
David Vašek [Thu, 2 Feb 2023 17:20:45 +0000 (18:20 +0100)] 
tests-extra: zone/zonemd_load -- test for unchanged serial upon zonefile restore

3 years agotests-extra: zone/zonemd_load -- verify the serial on the slave
David Vašek [Thu, 2 Feb 2023 17:19:20 +0000 (18:19 +0100)] 
tests-extra: zone/zonemd_load -- verify the serial on the slave

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.