]> git.ipfire.org Git - thirdparty/knot-dns.git/log
thirdparty/knot-dns.git
3 years agoquic: adapt to ngtcp2 v0.16.0
Daniel Salzman [Mon, 5 Jun 2023 07:20:01 +0000 (09:20 +0200)] 
quic: adapt to ngtcp2 v0.16.0

3 years agocontrib: upgrade embedded library ngtcp2 to v0.16.0
Daniel Salzman [Mon, 5 Jun 2023 07:06:32 +0000 (09:06 +0200)] 
contrib: upgrade embedded library ngtcp2 to v0.16.0

3 years agokjournaprint: reformat and add serial information to '-z -d' output
Daniel Salzman [Sun, 4 Jun 2023 19:35:51 +0000 (21:35 +0200)] 
kjournaprint: reformat and add serial information to '-z -d' output

3 years agoMerge branch 'kxdpgun_quic_close' into 'master'
Daniel Salzman [Thu, 1 Jun 2023 14:09:42 +0000 (16:09 +0200)] 
Merge branch 'kxdpgun_quic_close' into 'master'

kxdpgun: enable gracefully closing connections

See merge request knot/knot-dns!1529

3 years agokxdpgun: enable gracefully closing connections
Libor Peltan [Thu, 1 Jun 2023 11:44:15 +0000 (13:44 +0200)] 
kxdpgun: enable gracefully closing connections

3 years agoMerge branch 'quic_requestor_close' into 'master'
Daniel Salzman [Thu, 1 Jun 2023 10:22:57 +0000 (12:22 +0200)] 
Merge branch 'quic_requestor_close' into 'master'

quic/requestor: gracefully close connection

See merge request knot/knot-dns!1526

3 years agoquic: fix knot_quic_init_creds_peer() if no local cert provided
Daniel Salzman [Thu, 1 Jun 2023 09:24:10 +0000 (11:24 +0200)] 
quic: fix knot_quic_init_creds_peer() if no local cert provided

3 years agoquic/requestor: gracefully close connection
Libor Peltan [Wed, 31 May 2023 14:40:31 +0000 (16:40 +0200)] 
quic/requestor: gracefully close connection

3 years agoMerge branch 'timers_atomic_read' into 'master'
Daniel Salzman [Wed, 31 May 2023 17:46:00 +0000 (19:46 +0200)] 
Merge branch 'timers_atomic_read' into 'master'

nameserver: read timers atomically from udp/tcp-workers

See merge request knot/knot-dns!1528

3 years agoMerge branch 'emb_ngtcp2' into 'master'
Daniel Salzman [Wed, 31 May 2023 17:44:24 +0000 (19:44 +0200)] 
Merge branch 'emb_ngtcp2' into 'master'

Emb ngtcp2

See merge request knot/knot-dns!1527

3 years agonameserver: read timers atomically from udp/tcp-workers
Libor Peltan [Wed, 31 May 2023 16:40:25 +0000 (18:40 +0200)] 
nameserver: read timers atomically from udp/tcp-workers

3 years agolibknot/quic: bugfix missing table->ibufs_size computation
Libor Peltan [Wed, 31 May 2023 15:29:45 +0000 (17:29 +0200)] 
libknot/quic: bugfix missing table->ibufs_size computation

3 years agoconfigure: add 'embedded' value for --enable-quic
Daniel Salzman [Wed, 31 May 2023 14:51:27 +0000 (16:51 +0200)] 
configure: add 'embedded' value for --enable-quic

3 years agokdig: print QUIC, TLS, and HTTPS protocols in the final stats
Jan Hák [Fri, 26 May 2023 13:13:19 +0000 (15:13 +0200)] 
kdig: print QUIC, TLS, and HTTPS protocols in the final stats

3 years agoMerge branch 'quic_fin' into 'master'
Daniel Salzman [Wed, 31 May 2023 09:07:53 +0000 (11:07 +0200)] 
Merge branch 'quic_fin' into 'master'

Quic fin

See merge request knot/knot-dns!1524

3 years agolibknot/quic: fix zero-initializing stream structure
Libor Peltan [Tue, 30 May 2023 15:08:21 +0000 (17:08 +0200)] 
libknot/quic: fix zero-initializing stream structure

3 years agoquic: dont expect nonzero message len
Libor Peltan [Tue, 30 May 2023 13:40:39 +0000 (15:40 +0200)] 
quic: dont expect nonzero message len

3 years agoquic: fix FIN handling
Libor Peltan [Tue, 30 May 2023 12:40:08 +0000 (14:40 +0200)] 
quic: fix FIN handling

3 years agotests: shut up coverity
Libor Peltan [Mon, 29 May 2023 14:17:09 +0000 (16:17 +0200)] 
tests: shut up coverity

3 years agodoc/operation: describe a failed online backup
David Vašek [Fri, 26 May 2023 17:39:06 +0000 (19:39 +0200)] 
doc/operation: describe a failed online backup

3 years agoserver: fix possible uninitialized scalar access when early deinitializing iface...
Daniel Salzman [Mon, 29 May 2023 07:12:27 +0000 (09:12 +0200)] 
server: fix possible uninitialized scalar access when early deinitializing iface (Coverity)

3 years agodistro/deb: add missing symbol 'knot_quic_init_creds_peer'
Daniel Salzman [Fri, 26 May 2023 17:55:25 +0000 (19:55 +0200)] 
distro/deb: add missing symbol 'knot_quic_init_creds_peer'

3 years agoMerge branch 'fix_quic_test' into 'master'
Daniel Salzman [Fri, 26 May 2023 11:12:35 +0000 (13:12 +0200)] 
Merge branch 'fix_quic_test' into 'master'

Stabilize the quic/xfr test under Valgrind

See merge request knot/knot-dns!1521

3 years agotests-extra: quic/xfr -- stabilize the test under Valgrind
David Vašek [Fri, 26 May 2023 10:14:52 +0000 (12:14 +0200)] 
tests-extra: quic/xfr -- stabilize the test under Valgrind

3 years agotests-extra: add "quic-idle-close-timeout" as a tunable parameter
David Vašek [Fri, 26 May 2023 10:09:34 +0000 (12:09 +0200)] 
tests-extra: add "quic-idle-close-timeout" as a tunable parameter

3 years agoMerge branch 'dnstap_quic' into 'master'
Daniel Salzman [Fri, 26 May 2023 09:25:00 +0000 (11:25 +0200)] 
Merge branch 'dnstap_quic' into 'master'

dnstap: store information about protocot (UDP, TCP, QUIC, ...) into tap file

See merge request knot/knot-dns!1517

3 years agotests-extra: improve test for dnstap and extend it with quic
Libor Peltan [Thu, 11 May 2023 16:12:20 +0000 (18:12 +0200)] 
tests-extra: improve test for dnstap and extend it with quic

3 years agodnstap: store information about protocot (UDP/TCP/QUIC) into tap file
Jan Hák [Thu, 11 May 2023 13:06:14 +0000 (15:06 +0200)] 
dnstap: store information about protocot (UDP/TCP/QUIC) into tap file

3 years agoMerge branch 'quic_inbuf_leak' into 'master'
Daniel Salzman [Fri, 26 May 2023 05:58:59 +0000 (07:58 +0200)] 
Merge branch 'quic_inbuf_leak' into 'master'

libknot/quic: free inbufs when stream teardown

See merge request knot/knot-dns!1520

3 years agolibknot/quic: free inbufs when stream teardown
Libor Peltan [Thu, 25 May 2023 16:10:53 +0000 (18:10 +0200)] 
libknot/quic: free inbufs when stream teardown

3 years agoMerge branch 'ixfr_by_one' into 'master'
Daniel Salzman [Thu, 25 May 2023 15:11:15 +0000 (17:11 +0200)] 
Merge branch 'ixfr_by_one' into 'master'

ixfr: implement one-by-one option

See merge request knot/knot-dns!1518

3 years agoixfr: implement one-by-one option
Libor Peltan [Wed, 17 May 2023 14:18:19 +0000 (16:18 +0200)] 
ixfr: implement one-by-one option

3 years agoquic: create the key directory as executable by user and group
David Vašek [Wed, 24 May 2023 10:36:50 +0000 (12:36 +0200)] 
quic: create the key directory as executable by user and group

3 years agoMerge branch 'journal_timestamp' into 'master'
Daniel Salzman [Wed, 24 May 2023 07:04:35 +0000 (09:04 +0200)] 
Merge branch 'journal_timestamp' into 'master'

journal/kjournalprint: save/print timestamp of changeset creation

See merge request knot/knot-dns!1519

3 years agojournal/kjournalprint: save/print timestamp of changeset creation
Libor Peltan [Tue, 23 May 2023 09:08:45 +0000 (11:08 +0200)] 
journal/kjournalprint: save/print timestamp of changeset creation

3 years agoMerge branch 'quic_requestor'
Daniel Salzman [Tue, 23 May 2023 08:56:15 +0000 (10:56 +0200)] 
Merge branch 'quic_requestor'

3 years agotcp_iobuf: slight code reorganization
Daniel Salzman [Tue, 23 May 2023 07:45:18 +0000 (09:45 +0200)] 
tcp_iobuf: slight code reorganization

3 years agotest-extra: add test for XFR over QUIC
Daniel Salzman [Wed, 19 Apr 2023 17:28:27 +0000 (19:28 +0200)] 
test-extra: add test for XFR over QUIC

3 years agonameserver: don't put TSIG to error response if denied by ACL check
Daniel Salzman [Thu, 18 May 2023 09:28:39 +0000 (11:28 +0200)] 
nameserver: don't put TSIG to error response if denied by ACL check

3 years agoquic requestor: fix flawed code design
Libor Peltan [Wed, 17 May 2023 11:01:26 +0000 (13:01 +0200)] 
quic requestor: fix flawed code design

3 years agorequestor/quic: bugfix: avoid close() twice on fd
Libor Peltan [Mon, 15 May 2023 15:58:36 +0000 (17:58 +0200)] 
requestor/quic: bugfix: avoid close() twice on fd

3 years agoquic: bugfix handling reassembled inbufs
Libor Peltan [Tue, 16 May 2023 13:48:17 +0000 (15:48 +0200)] 
quic: bugfix handling reassembled inbufs

3 years agolibknot/quic: a comment on meaning of MAX_STREAMS_PER_CONN
Libor Peltan [Thu, 11 May 2023 08:26:27 +0000 (10:26 +0200)] 
libknot/quic: a comment on meaning of MAX_STREAMS_PER_CONN

3 years agoquic requestor: cosmetic changes in implementation
Daniel Salzman [Mon, 8 May 2023 15:37:03 +0000 (17:37 +0200)] 
quic requestor: cosmetic changes in implementation

3 years agolibknot: remove pointer to iovec from linked-list node to save some space in memory
Jan Hák [Wed, 10 May 2023 12:44:46 +0000 (14:44 +0200)] 
libknot: remove pointer to iovec from linked-list node to save some space in memory

3 years agolibknot: remove of unused static functions
Jan Hák [Wed, 10 May 2023 12:20:03 +0000 (14:20 +0200)] 
libknot: remove of unused static functions

3 years agolibknot: remove copying when detecting buffer size
Jan Hák [Wed, 10 May 2023 12:17:02 +0000 (14:17 +0200)] 
libknot: remove copying when detecting buffer size

3 years agolibknot: store incomplete message in buffer
Jan Hák [Wed, 10 May 2023 12:15:04 +0000 (14:15 +0200)] 
libknot: store incomplete message in buffer

3 years agolibknot: allocate and initialize linked-list node, when message is finalized
Jan Hák [Wed, 10 May 2023 12:12:32 +0000 (14:12 +0200)] 
libknot: allocate and initialize linked-list node, when message is finalized

3 years agolibknot: count size of linked-list node
Jan Hák [Wed, 10 May 2023 12:05:11 +0000 (14:05 +0200)] 
libknot: count size of linked-list node

3 years agolibknot: add some asserts to finalizing size bytes stored in buffer
Jan Hák [Wed, 10 May 2023 12:02:31 +0000 (14:02 +0200)] 
libknot: add some asserts to finalizing size bytes stored in buffer

3 years agolibknot: it is good habit to compare against 0 literal
Jan Hák [Wed, 10 May 2023 12:00:44 +0000 (14:00 +0200)] 
libknot: it is good habit to compare against 0 literal

3 years agoquic/inbuf: bugfix: alloc and copy recvd data as they may be freed by libngtcp2
Libor Peltan [Thu, 4 May 2023 16:19:56 +0000 (18:19 +0200)] 
quic/inbuf: bugfix: alloc and copy recvd data as they may be freed by libngtcp2

3 years agoquic/requestor: allow quic library logging even for requestor
Libor Peltan [Thu, 4 May 2023 08:27:14 +0000 (10:27 +0200)] 
quic/requestor: allow quic library logging even for requestor

3 years agoquic/tcp/inbuf: allocate incomplete msgs buffer by powers of 2
Libor Peltan [Sat, 29 Apr 2023 11:10:59 +0000 (13:10 +0200)] 
quic/tcp/inbuf: allocate incomplete msgs buffer by powers of 2

3 years agoquic/xdp-tcp/inbuf: store knot_tcp_inbuf_update results in linked-list-of-arrays
Libor Peltan [Fri, 28 Apr 2023 09:05:06 +0000 (11:05 +0200)] 
quic/xdp-tcp/inbuf: store knot_tcp_inbuf_update results in linked-list-of-arrays

3 years agoquic: better max data/streams limits
Libor Peltan [Fri, 21 Apr 2023 13:46:12 +0000 (15:46 +0200)] 
quic: better max data/streams limits

3 years agoconf: use default port 853 for remote address if not specified and QUIC is enabled
Daniel Salzman [Thu, 20 Apr 2023 10:27:25 +0000 (12:27 +0200)] 
conf: use default port 853 for remote address if not specified and QUIC is enabled

3 years agonameserver: add QUIC and key pin to ACL debug log
Daniel Salzman [Sat, 15 Apr 2023 19:53:53 +0000 (21:53 +0200)] 
nameserver: add QUIC and key pin to ACL debug log

3 years agoconf: replace 'cert-pin' with 'cert-key', which is less confusing
Daniel Salzman [Mon, 17 Apr 2023 08:52:59 +0000 (10:52 +0200)] 
conf: replace 'cert-pin' with 'cert-key', which is less confusing

3 years agorequestor: return better error code if peer cert key check fails
Daniel Salzman [Fri, 14 Apr 2023 14:02:50 +0000 (16:02 +0200)] 
requestor: return better error code if peer cert key check fails

3 years agorequestor: fix local certificate initialization
Daniel Salzman [Tue, 4 Apr 2023 17:50:00 +0000 (19:50 +0200)] 
requestor: fix local certificate initialization

3 years agorequestor: add support for remote certificate pin check
Daniel Salzman [Fri, 31 Mar 2023 08:13:43 +0000 (10:13 +0200)] 
requestor: add support for remote certificate pin check

3 years agoupdate: sign responses to forwarded requests by local TSIG key
Daniel Salzman [Fri, 24 Mar 2023 13:22:47 +0000 (14:22 +0100)] 
update: sign responses to forwarded requests by local TSIG key

3 years agoknot: implement QUIC requestor
Libor Peltan [Fri, 4 Nov 2022 09:53:30 +0000 (10:53 +0100)] 
knot: implement QUIC requestor

3 years agoxdp-quic: refactoring: allow multiple incomming DNS msgs in stream
Libor Peltan [Tue, 8 Nov 2022 15:50:23 +0000 (16:50 +0100)] 
xdp-quic: refactoring: allow multiple incomming DNS msgs in stream

3 years agoCI: add libxdp dependency to Dockerfile for Rocky
Daniel Salzman [Mon, 22 May 2023 09:47:05 +0000 (11:47 +0200)] 
CI: add libxdp dependency to Dockerfile for Rocky

3 years agodistro/rpm: require libxdp on rhel >= 9
Daniel Salzman [Sat, 13 May 2023 19:46:02 +0000 (21:46 +0200)] 
distro/rpm: require libxdp on rhel >= 9

closes #844

3 years agoctl: fix zone contents access in zone_read()
Daniel Salzman [Fri, 12 May 2023 07:39:21 +0000 (09:39 +0200)] 
ctl: fix zone contents access in zone_read()

3 years agoMerge branch 'eventschedule_at_type' into 'master'
Daniel Salzman [Fri, 12 May 2023 07:32:38 +0000 (09:32 +0200)] 
Merge branch 'eventschedule_at_type' into 'master'

events: bugfix: retype params for va_fun zone_events_schedule_at

Closes #843

See merge request knot/knot-dns!1516

3 years agoMerge branch 'start-sig' into 'master'
Daniel Salzman [Fri, 12 May 2023 07:22:31 +0000 (09:22 +0200)] 
Merge branch 'start-sig' into 'master'

Extended server start signalization

See merge request knot/knot-dns!1504

3 years agoctl: remove redundant 'version: ' prefix from 'status version' output
Daniel Salzman [Thu, 27 Apr 2023 06:27:53 +0000 (08:27 +0200)] 
ctl: remove redundant 'version: ' prefix from 'status version' output

3 years agoknotd: move server start log to the right place
Daniel Salzman [Thu, 13 Apr 2023 06:38:07 +0000 (08:38 +0200)] 
knotd: move server start log to the right place

3 years agoknotd: fix D-Bus server start signalization with catalog zones or in async mode
Daniel Salzman [Thu, 27 Apr 2023 06:18:14 +0000 (08:18 +0200)] 
knotd: fix D-Bus server start signalization with catalog zones or in async mode

3 years agoevents: bugfix: retype params for va_fun zone_events_schedule_at
Libor Peltan [Thu, 11 May 2023 12:40:08 +0000 (14:40 +0200)] 
events: bugfix: retype params for va_fun zone_events_schedule_at

3 years agoMerge branch 'ctl_rcu_locks' into 'master'
Daniel Salzman [Wed, 10 May 2023 08:07:40 +0000 (10:07 +0200)] 
Merge branch 'ctl_rcu_locks' into 'master'

ctl: rework rcu locks...

See merge request knot/knot-dns!1515

3 years agoctl: rework rcu locks...
Libor Peltan [Tue, 9 May 2023 12:46:17 +0000 (14:46 +0200)] 
ctl: rework rcu locks...

...add where zone->contents are accessed;
...remove where only zonedb is iterated. Because
zonedb is only modified by main thread and ctl also
operates only in main thread, so no need for locking.

3 years agoddns: remove unused 'zone' argument
Daniel Salzman [Tue, 9 May 2023 13:36:52 +0000 (15:36 +0200)] 
ddns: remove unused 'zone' argument

3 years agoMerge branch 'fix-sent-pct' into 'master'
Daniel Salzman [Tue, 9 May 2023 11:26:53 +0000 (13:26 +0200)] 
Merge branch 'fix-sent-pct' into 'master'

Fix sent vs. requested QPS percentage

See merge request knot/knot-dns!1514

3 years agoFix sent vs. requested QPS percentage
Petr Špaček [Fri, 5 May 2023 13:29:10 +0000 (15:29 +0200)] 
Fix sent vs. requested QPS percentage

ctx->qps changes semantics from "total" to "per-thread" inside
get_opts(), and as a result the percentage was wrong on systems
with more than 1 thread.

3 years agoMerge branch 'tcp-tc' into 'master'
Libor Peltan [Fri, 5 May 2023 09:02:54 +0000 (11:02 +0200)] 
Merge branch 'tcp-tc' into 'master'

Fail to process truncated incoming transfer

See merge request knot/knot-dns!1507

3 years agoMerge branch 'sent-pct' into 'master'
Daniel Salzman [Thu, 4 May 2023 15:18:43 +0000 (17:18 +0200)] 
Merge branch 'sent-pct' into 'master'

kxdpgun: print ratio of sent vs. requested queries

See merge request knot/knot-dns!1513

3 years agoMerge branch 'fix_xfr_stats' into 'master'
Libor Peltan [Thu, 4 May 2023 14:59:42 +0000 (16:59 +0200)] 
Merge branch 'fix_xfr_stats' into 'master'

Fix transfer size logging

See merge request knot/knot-dns!1509

3 years agokxdpgun: print ratio of sent vs. requested queries
Petr Špaček [Thu, 4 May 2023 14:15:43 +0000 (16:15 +0200)] 
kxdpgun: print ratio of sent vs. requested queries

3 years agoMerge branch 'stats-pct-float' into 'master'
Daniel Salzman [Thu, 4 May 2023 08:50:41 +0000 (10:50 +0200)] 
Merge branch 'stats-pct-float' into 'master'

kxdpgun: Print percentages as floats

See merge request knot/knot-dns!1512

3 years agokxdpgun: Print percentages as floats
Petr Špaček [Thu, 4 May 2023 08:35:33 +0000 (10:35 +0200)] 
kxdpgun: Print percentages as floats

Rounding to 1% might be too coarse for high QPS or long tests.

3 years agoMerge branch 'kxdpgun-load-limit' into 'master'
Daniel Salzman [Thu, 4 May 2023 07:25:34 +0000 (09:25 +0200)] 
Merge branch 'kxdpgun-load-limit' into 'master'

kxdpgun: load only necessary number of queries

See merge request knot/knot-dns!1511

3 years agokxdpgun: load only necessary number of queries
Petr Špaček [Wed, 3 May 2023 12:12:56 +0000 (14:12 +0200)] 
kxdpgun: load only necessary number of queries

Speeds up startup considerably when query file if very large and/or
test very short.

Duration rounding might cause number of queries to overrun the initial
value. This might result in slight query repetition, but I do not think
it is a real problem.

3 years agoutils: fix compilation with embedded ngtcp2 if there is another ngtcp2 in path
Daniel Salzman [Wed, 3 May 2023 13:44:41 +0000 (15:44 +0200)] 
utils: fix compilation with embedded ngtcp2 if there is another ngtcp2 in path

3 years agoMerge branch 'journal_read_loop' into 'master'
Daniel Salzman [Wed, 3 May 2023 08:36:28 +0000 (10:36 +0200)] 
Merge branch 'journal_read_loop' into 'master'

Journal read loop

See merge request knot/knot-dns!1510

3 years agokjournalprint: ability to print changeset loop
Libor Peltan [Wed, 3 May 2023 08:15:27 +0000 (10:15 +0200)] 
kjournalprint: ability to print changeset loop

3 years agojournal/write: check that stored changeset's SOA serails are strictly increasing
Libor Peltan [Tue, 2 May 2023 11:21:47 +0000 (13:21 +0200)] 
journal/write: check that stored changeset's SOA serails are strictly increasing

3 years agojournal/read: prevent cycling at multi-changeset loop
Libor Peltan [Tue, 2 May 2023 09:41:42 +0000 (11:41 +0200)] 
journal/read: prevent cycling at multi-changeset loop

3 years agoxfr: don't ignore TSIG when counting transfer size
Daniel Salzman [Sun, 30 Apr 2023 18:31:45 +0000 (20:31 +0200)] 
xfr: don't ignore TSIG when counting transfer size

3 years agoxfr: code unification
Daniel Salzman [Fri, 28 Apr 2023 13:49:34 +0000 (15:49 +0200)] 
xfr: code unification

3 years agoxfr: fix logged outgoing transfer size due to added EDNS options (EXPIRE, PADDING)
Daniel Salzman [Fri, 28 Apr 2023 13:49:04 +0000 (15:49 +0200)] 
xfr: fix logged outgoing transfer size due to added EDNS options (EXPIRE, PADDING)

3 years agoquic: adapt to ngtcp2 v0.15.0
Daniel Salzman [Thu, 27 Apr 2023 07:06:31 +0000 (09:06 +0200)] 
quic: adapt to ngtcp2 v0.15.0

3 years agocontrib: upgrade embedded library ngtcp2 to v0.15.0
Daniel Salzman [Thu, 27 Apr 2023 06:58:15 +0000 (08:58 +0200)] 
contrib: upgrade embedded library ngtcp2 to v0.15.0

3 years agotests: tests stderr redirected to the output
Jan Hák [Wed, 26 Apr 2023 11:16:48 +0000 (13:16 +0200)] 
tests: tests stderr redirected to the output

3 years agoMerge branch 'reversegen_conf' into 'master'
Daniel Salzman [Wed, 26 Apr 2023 07:33:31 +0000 (09:33 +0200)] 
Merge branch 'reversegen_conf' into 'master'

Reversegen conf

See merge request knot/knot-dns!1506