]>
git.ipfire.org Git - thirdparty/knot-dns.git/log
Libor Peltan [Tue, 25 Apr 2023 12:43:04 +0000 (14:43 +0200)]
load: refactor and unify catalog/generate checks
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
Daniel Salzman [Tue, 25 Apr 2023 13:58:13 +0000 (15:58 +0200)]
kdig: fail to process truncated transfer
Daniel Salzman [Mon, 24 Apr 2023 11:54:49 +0000 (13:54 +0200)]
requestor: fail if TC is set
Daniel Salzman [Fri, 21 Apr 2023 08:06:22 +0000 (10:06 +0200)]
systemd: improve zero KNOT_ZONE_LOAD_TIMEOUT_SEC handling
Daniel Salzman [Fri, 21 Apr 2023 06:01:40 +0000 (08:01 +0200)]
tests-extra: remove unused test case params (moved to Context)
Daniel Salzman [Fri, 21 Apr 2023 06:22:03 +0000 (08:22 +0200)]
doc: update introduction
Daniel Salzman [Fri, 21 Apr 2023 05:59:10 +0000 (07:59 +0200)]
doc: improve complete example of dynamic configuration
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
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
Libor Peltan [Tue, 18 Apr 2023 11:58:53 +0000 (13:58 +0200)]
tests/no_resign: fix messy keys/keys/keys directory
Libor Peltan [Tue, 18 Apr 2023 11:13:43 +0000 (13:13 +0200)]
tests: align with bind9 now having default 0 nsec3iter
David Vašek [Tue, 4 Apr 2023 07:31:07 +0000 (09:31 +0200)]
doc: remove triple grave accents
David Vašek [Fri, 31 Mar 2023 14:48:43 +0000 (16:48 +0200)]
doc/operation: add a section describing zone expiration
David Vašek [Mon, 3 Apr 2023 22:14:49 +0000 (00:14 +0200)]
kdig: be careful about the received EDNS EXPIRE value
David Vašek [Mon, 3 Apr 2023 22:13:07 +0000 (00:13 +0200)]
rrset-dump: comment zero values in multiline SOA format too
Daniel Salzman [Mon, 3 Apr 2023 17:38:51 +0000 (19:38 +0200)]
sample: fix typo in dbus_client.py
Daniel Salzman [Mon, 3 Apr 2023 17:42:54 +0000 (19:42 +0200)]
quic: improve check for no certificate
Daniel Salzman [Mon, 3 Apr 2023 17:37:58 +0000 (19:37 +0200)]
ctl: replace 'none' with '-' if no active certificate
Daniel Salzman [Mon, 3 Apr 2023 15:16:07 +0000 (17:16 +0200)]
kdig: print EDNS EXPIRE timer in human format
Daniel Salzman [Mon, 3 Apr 2023 15:15:38 +0000 (17:15 +0200)]
rrset-dump: print SOA timers in human format if multiline
Daniel Salzman [Mon, 3 Apr 2023 15:27:35 +0000 (17:27 +0200)]
contrib: import from libknot and extend knot_time_print_human()
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
Jan Hák [Fri, 3 Mar 2023 13:37:15 +0000 (14:37 +0100)]
quic: don't return error when connection closed
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
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.
Daniel Salzman [Thu, 30 Mar 2023 08:40:54 +0000 (10:40 +0200)]
ctl: add 'cert-pin' option to the 'status' command
Daniel Salzman [Thu, 30 Mar 2023 08:40:16 +0000 (10:40 +0200)]
server: move certificate PIN getting to server_cert_pin()
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
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
秦龙飞 [Tue, 28 Mar 2023 05:47:59 +0000 (13:47 +0800)]
Invoke rcu_register_thread() before its first call to rcu_read_lock()
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
Daniel Salzman [Wed, 29 Mar 2023 13:22:36 +0000 (15:22 +0200)]
libknot: add EDE codes 28 and 29
Jan Hák [Mon, 27 Mar 2023 13:08:47 +0000 (15:08 +0200)]
quic: fix quic client/server initialization
Daniel Salzman [Sat, 25 Mar 2023 20:20:32 +0000 (21:20 +0100)]
quic: adapt to ngtcp2 0.14.0
Daniel Salzman [Sat, 25 Mar 2023 20:07:15 +0000 (21:07 +0100)]
contrib: upgrade embedded library ngtcp2 to v0.14.0
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
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 .
Daniel Salzman [Mon, 27 Mar 2023 12:59:57 +0000 (14:59 +0200)]
dnstap: update dnstap.proto
Daniel Salzman [Mon, 27 Mar 2023 12:54:52 +0000 (14:54 +0200)]
mod-dnstap: replace time() with clock_gettime()
Daniel Salzman [Mon, 27 Mar 2023 12:45:07 +0000 (14:45 +0200)]
time: remove obsolete fallback for systems without clock_gettime()
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.
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.
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
Daniel Salzman [Thu, 23 Mar 2023 12:29:12 +0000 (13:29 +0100)]
reverse: 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
Daniel Salzman [Thu, 23 Mar 2023 12:01:47 +0000 (13:01 +0100)]
backup: replace sprintf() with snprintf() to mute compile warnings
Daniel Salzman [Thu, 23 Mar 2023 09:15:19 +0000 (10:15 +0100)]
inet_ntop: replace strcpy() with strlcpy()
Jan Hák [Wed, 22 Mar 2023 12:46:12 +0000 (13:46 +0100)]
knotd: store server version and server identity in cache
Daniel Salzman [Mon, 20 Mar 2023 15:52:03 +0000 (16:52 +0100)]
net: unify structure initializations
Daniel Salzman [Tue, 21 Mar 2023 08:45:45 +0000 (09:45 +0100)]
Merge branch 'quic_impr'
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
Daniel Salzman [Tue, 14 Mar 2023 12:31:27 +0000 (13:31 +0100)]
quic: rename 'xconn' to 'conn'
Daniel Salzman [Tue, 14 Mar 2023 12:28:03 +0000 (13:28 +0100)]
quic: rename 'xquic' and 'XQUIC' to 'xquic' and 'QUIC'
Daniel Salzman [Sun, 12 Mar 2023 16:24:35 +0000 (17:24 +0100)]
quic: add optional peer (server) certificate PIN check upon connection handshake
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()
Daniel Salzman [Sun, 12 Mar 2023 17:44:19 +0000 (18:44 +0100)]
quic: move acl/cert_pin() to libknot/knot_quic_conn_pin()
Daniel Salzman [Fri, 3 Mar 2023 08:25:42 +0000 (09:25 +0100)]
quic: simplify ALPN handling
Daniel Salzman [Mon, 6 Mar 2023 11:30:09 +0000 (12:30 +0100)]
quic: unify connection table handling
Daniel Salzman [Sun, 12 Mar 2023 16:15:17 +0000 (17:15 +0100)]
contrib/inet_ntop: mute Coverity warning
David Vašek [Sat, 11 Mar 2023 10:55:17 +0000 (11:55 +0100)]
zone: update a comment
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
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
Daniel Salzman [Wed, 8 Mar 2023 10:13:04 +0000 (11:13 +0100)]
Merge branch 'musl_inet_ntop'
Daniel Salzman [Tue, 7 Mar 2023 11:14:39 +0000 (12:14 +0100)]
src: replace inet_ntop() with knot_inet_ntop()
Daniel Salzman [Fri, 3 Mar 2023 18:52:11 +0000 (19:52 +0100)]
tests: add test for knot_inet_ntop()
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/
Daniel Salzman [Mon, 6 Mar 2023 06:56:03 +0000 (07:56 +0100)]
udp-handler: remove omitted assert
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
Daniel Salzman [Fri, 24 Feb 2023 08:58:54 +0000 (09:58 +0100)]
server: move some common handling code to one place
Daniel Salzman [Mon, 27 Feb 2023 09:38:27 +0000 (10:38 +0100)]
quic-handler: simplify reply callbacks
Daniel Salzman [Thu, 23 Feb 2023 13:03:36 +0000 (14:03 +0100)]
quic: unify and reduce ALPN for QUIC to just 'doq'
Daniel Salzman [Mon, 20 Feb 2023 09:16:54 +0000 (10:16 +0100)]
acl: add client certificate public key pin check
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()
Libor Peltan [Fri, 13 Jan 2023 12:55:00 +0000 (13:55 +0100)]
knot: implemented non-XDP QUIC answering
Daniel Salzman [Sat, 18 Feb 2023 21:41:13 +0000 (22:41 +0100)]
sockaddr: return just gethostname() if getaddrinfo() fails in sockaddr_hostname()
Daniel Salzman [Fri, 17 Feb 2023 12:24:18 +0000 (13:24 +0100)]
knotd: don't set socket affinity on UNIX socket interfaces
Daniel Salzman [Wed, 15 Feb 2023 15:21:26 +0000 (16:21 +0100)]
quic: some code cleanup
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.
Daniel Salzman [Mon, 13 Feb 2023 19:36:53 +0000 (20:36 +0100)]
kxdpgun: refactor receiving QUIC
Daniel Salzman [Mon, 13 Feb 2023 17:57:33 +0000 (18:57 +0100)]
libknot: add optional server name parameter to knot_xquic_client()
Daniel Salzman [Mon, 13 Feb 2023 13:29:49 +0000 (14:29 +0100)]
libknot: move quic* files from xdp directory to quic directory
Libor Peltan [Wed, 19 Oct 2022 16:02:03 +0000 (18:02 +0200)]
xdp-quic/refactoring: separate XDP from QUIC routines
Daniel Salzman [Tue, 28 Feb 2023 12:01:55 +0000 (13:01 +0100)]
scripts: get rid of colons in directory names
David Vašek [Thu, 16 Feb 2023 14:11:44 +0000 (15:11 +0100)]
configure: adjust coding style
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
David Vašek [Tue, 7 Feb 2023 16:49:39 +0000 (17:49 +0100)]
samples: note required Debian packages for sample DBus scripts
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
Daniel Salzman [Wed, 15 Feb 2023 11:12:45 +0000 (12:12 +0100)]
scripts: remove unused scripts for OBS
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
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
Daniel Salzman [Thu, 9 Feb 2023 13:36:45 +0000 (14:36 +0100)]
contrib: upgrade embedded library ngtcp2 to v0.13.1
Daniel Salzman [Thu, 9 Feb 2023 07:34:01 +0000 (08:34 +0100)]
distro/deb: update copyright
Daniel Salzman [Thu, 9 Feb 2023 07:01:40 +0000 (08:01 +0100)]
eth: add explicit include for string.h
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.
David Vašek [Tue, 7 Feb 2023 13:19:32 +0000 (14:19 +0100)]
tests-extra: zone/zonemd_load -- fix a recent omission
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
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
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
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.