]>
git.ipfire.org Git - thirdparty/knot-dns.git/log
David Vašek [Tue, 26 Apr 2022 14:31:19 +0000 (16:31 +0200)]
zone: remove a useless remainder of code
David Vašek [Mon, 25 Apr 2022 14:34:47 +0000 (16:34 +0200)]
evsched: dont't wake up the scheduler loop when it isn't necessary
David Vašek [Sat, 16 Apr 2022 17:05:35 +0000 (19:05 +0200)]
evsched: fix the broken timercmp() workaround
It's said timercmp() == is broken in the same broken implementations too.
Furthemore, this expression is simpler and faster.
While there, fix some coding style.
Daniel Salzman [Sat, 30 Apr 2022 12:26:27 +0000 (14:26 +0200)]
contrib: use bzero() instead of explicit_bzero() inside memzero() if MSAN detected
MSAN is unable to correctly evaluate explicit_bzero() for memory zeroing in
wire_ctx operations. Then OSS-Fuzz creates false-positive issues. Using bzero()
seems to be a reasonable workaround.
Daniel Salzman [Thu, 28 Apr 2022 09:24:35 +0000 (11:24 +0200)]
doc: fix typo
Daniel Salzman [Thu, 28 Apr 2022 08:12:39 +0000 (10:12 +0200)]
Merge branch 'zonedb_delay_replan' into 'master'
zonedb: replan events for new zone_t instance no sooner...
See merge request knot/knot-dns!1451
Daniel Salzman [Thu, 28 Apr 2022 07:00:51 +0000 (09:00 +0200)]
libknot/ctl: change accept poll() timeout from infinity to 5 seconds
This helps the server to process pending operations, which were triggered
by a signal before the poll execution in knot_ctl_accept().
Libor Peltan [Wed, 27 Apr 2022 07:50:48 +0000 (09:50 +0200)]
zonedb-reload: when recreating zone, replan also refresh...
...as it might be planned by incomming NOTIFY during zonedb-reload
and in this case its not in timers
Libor Peltan [Tue, 26 Apr 2022 13:40:17 +0000 (15:40 +0200)]
tests/catalog: frequent updates to catalog zone
Libor Peltan [Tue, 26 Apr 2022 12:47:01 +0000 (14:47 +0200)]
zonereload/catalog: dont proceed to ctl poll if signal arrived...
...if e.g. SIGUSR1 signal has already arrived during
previous server/zonedb reload, dont proceed to ctl
as that ctl poll wont be interrupted by the already
processed signal
Libor Peltan [Mon, 25 Apr 2022 16:28:33 +0000 (18:28 +0200)]
zonedb: replan events for new zone_t instance no sooner...
...than all workers (UDP, TCP...) guaranteed to work...
...with new zonedb and new zone_t instance.
Otherwise they may plan events to old zone_t instance
and it gets lost.
Usually reproduced with catalogs.
Libor Peltan [Wed, 27 Apr 2022 19:35:39 +0000 (21:35 +0200)]
libknot/tsig: add missing other data length check
Libor Peltan [Wed, 27 Apr 2022 19:10:51 +0000 (21:10 +0200)]
Merge branch 'auto_acl' into 'master'
Automatic ACL
See merge request knot/knot-dns!1450
Daniel Salzman [Mon, 25 Apr 2022 13:55:46 +0000 (15:55 +0200)]
doc: update ACL and zone transfer configuration
Daniel Salzman [Fri, 22 Apr 2022 12:26:49 +0000 (14:26 +0200)]
tests-extra: add test for automatic ACL
Daniel Salzman [Fri, 22 Apr 2022 12:25:50 +0000 (14:25 +0200)]
tests-extra: fix key id duplicity check in the Knot config generation
Daniel Salzman [Tue, 19 Apr 2022 12:21:45 +0000 (14:21 +0200)]
samples: simplify sample configuration file
Daniel Salzman [Tue, 12 Apr 2022 12:28:49 +0000 (14:28 +0200)]
conf: add optional automatic ACL rule synthesis for 'master' and 'notify' remotes
Daniel Salzman [Wed, 20 Apr 2022 10:15:41 +0000 (12:15 +0200)]
semantic-check: fix enum value comparison mismatch
Daniel Salzman [Wed, 20 Apr 2022 09:25:53 +0000 (11:25 +0200)]
tests-extra: log non-timeout exceptions from dig
Daniel Salzman [Wed, 20 Apr 2022 09:21:26 +0000 (11:21 +0200)]
tests-extra: update and fix (reserved DS algorithm) test basic/delegation_tc on Ubuntu 22.04
Daniel Salzman [Wed, 20 Apr 2022 08:31:57 +0000 (10:31 +0200)]
tests-extra: remove security/protos as the binaries no longer work on Ubuntu 22.04 and are unavailable
Daniel Salzman [Wed, 20 Apr 2022 08:27:26 +0000 (10:27 +0200)]
tests-extra: fix deprecated use of collections on Ubuntu 22.04, dependency cleanup
Daniel Salzman [Wed, 20 Apr 2022 08:04:56 +0000 (10:04 +0200)]
tests-extra: fix path to named-checkconf on Ubuntu 22.04
Daniel Salzman [Tue, 12 Apr 2022 11:55:11 +0000 (13:55 +0200)]
Merge branch 'multi_signer1' into 'master'
Multi signer support
See merge request knot/knot-dns!1398
Libor Peltan [Fri, 3 Dec 2021 10:30:03 +0000 (11:30 +0100)]
DDNS: don't block DNSSEC-related records...
...this can still be achieved by ACL/update-type
Libor Peltan [Tue, 28 Sep 2021 19:29:43 +0000 (21:29 +0200)]
dnssec: implemented incremental DNSKEY mgmt
Libor Peltan [Tue, 28 Sep 2021 19:13:07 +0000 (21:13 +0200)]
dnskeys: equivalent code refactoring
Libor Peltan [Tue, 12 Apr 2022 11:38:03 +0000 (13:38 +0200)]
Merge branch 'soft-sem-checks' into 'master'
Add soft mode to semantic checks
See merge request knot/knot-dns!1446
Daniel Salzman [Mon, 11 Apr 2022 07:50:34 +0000 (09:50 +0200)]
refresh: bootstrap the zone if SOA query fails in the soft semantic checks mode
This solves the situation when a CNAME is present at the zone apex and SOA query
is responded with the CNAME.
Daniel Salzman [Fri, 8 Apr 2022 08:27:52 +0000 (10:27 +0200)]
tests-extra: simplify Knot config generation
Daniel Salzman [Thu, 31 Mar 2022 10:56:03 +0000 (12:56 +0200)]
conf: change 'semantic-checks' type from boolean to option, add 'soft' mode
Libor Peltan [Mon, 11 Apr 2022 09:32:32 +0000 (11:32 +0200)]
Merge branch 'reload_preserve_flags' into 'master'
Preserve all zone flags (including zone XFR freeze) during reload
See merge request knot/knot-dns!1448
Libor Peltan [Mon, 11 Apr 2022 07:19:52 +0000 (09:19 +0200)]
Merge branch 'lmdb_readers' into 'master'
LMDB readers limit
See merge request knot/knot-dns!1449
Daniel Salzman [Thu, 7 Apr 2022 13:02:01 +0000 (15:02 +0200)]
conf: call mdb_reader_check() if confdb opening fails
Daniel Salzman [Thu, 7 Apr 2022 12:50:21 +0000 (14:50 +0200)]
knot-lmdb: call mdb_reader_check() if db opening fails
Daniel Salzman [Thu, 7 Apr 2022 12:48:07 +0000 (14:48 +0200)]
conf: increase LMDB readers limits a bit
Daniel Salzman [Thu, 7 Apr 2022 10:51:35 +0000 (12:51 +0200)]
ctl: add zone XFR freeze information to zone status
Daniel Salzman [Thu, 7 Apr 2022 10:34:58 +0000 (12:34 +0200)]
tests-extra: fix early check for flushed zone file
Daniel Salzman [Thu, 7 Apr 2022 07:18:58 +0000 (09:18 +0200)]
zonedb: set ZONE_IS_CATALOG for generated catalogs
Daniel Salzman [Thu, 7 Apr 2022 07:18:19 +0000 (09:18 +0200)]
zone: unset 'is_catalog_flag' if removing ZONE_IS_CATALOG flag
Daniel Salzman [Wed, 6 Apr 2022 15:30:26 +0000 (17:30 +0200)]
zonedb: preserve all zone flags (including zone XFR freeze) during reload
Daniel Salzman [Wed, 6 Apr 2022 15:11:44 +0000 (17:11 +0200)]
tests-extra: store more detailed traceback including local variables
Daniel Salzman [Tue, 5 Apr 2022 14:26:39 +0000 (16:26 +0200)]
Merge branch 'rrsig_refresh3' into 'master'
dnssec: calculate rrsig refresh if not configured explicitly
See merge request knot/knot-dns!1447
Libor Peltan [Mon, 4 Apr 2022 16:09:37 +0000 (18:09 +0200)]
dnssec: calculate rrsig refresh if not configured explicitly
Daniel Salzman [Tue, 5 Apr 2022 11:48:00 +0000 (13:48 +0200)]
conf: decrease the maximum limits for some policy items
RRSIG lifetime cannot be higher than INT32_MAX.
Daniel Salzman [Tue, 5 Apr 2022 11:31:45 +0000 (13:31 +0200)]
conf: decrease the maximum limit for DNSKEY and zone maximum TTL
Maximum TTL is restricted to
2147483647 (INT32_MAX) by RFC 2181.
Also this avoids setting to the value (UINT32_MAX) which is internally interpreted as NIL.
Libor Peltan [Mon, 4 Apr 2022 14:53:00 +0000 (16:53 +0200)]
Revert "dnssec: warn when rrsig-refresh configured explicitly"
This reverts commit
02faa275027339c1f48a4036cc46f35141fb84e4 .
David Vašek [Mon, 4 Apr 2022 13:36:31 +0000 (15:36 +0200)]
tests-extra: catalog/generate -- make the test more stable (Valgrind)
Daniel Salzman [Mon, 4 Apr 2022 13:58:46 +0000 (15:58 +0200)]
distro/deb: skip the kdig test if no internet access detected
Daniel Salzman [Mon, 4 Apr 2022 07:24:15 +0000 (09:24 +0200)]
onlinesign: remove unused argument from logging (Coverity)
Daniel Salzman [Fri, 1 Apr 2022 13:02:02 +0000 (15:02 +0200)]
CI: add testing on arm64
Vladimír Čunát [Fri, 1 Apr 2022 13:39:37 +0000 (15:39 +0200)]
CI: add Docker image building for arm64
Libor Peltan [Thu, 31 Mar 2022 15:29:28 +0000 (17:29 +0200)]
Merge branch 'doc_catz_serial' into 'master'
catalog: document and enforce 'unixtime' serial-policy for generated catalog zones
See merge request knot/knot-dns!1445
David Vašek [Wed, 30 Mar 2022 15:24:37 +0000 (17:24 +0200)]
catalog: document and enforce 'unixtime' serial-policy for generated catalog zones
Libor Peltan [Tue, 29 Mar 2022 13:16:41 +0000 (15:16 +0200)]
Merge branch 'flush-fixes' into 'master'
Various flush and event planning fixes
See merge request knot/knot-dns!1444
Daniel Salzman [Tue, 29 Mar 2022 12:08:18 +0000 (14:08 +0200)]
onlinesign: check for disabled offline-ksk mode
Daniel Salzman [Tue, 29 Mar 2022 08:38:56 +0000 (10:38 +0200)]
ctl: don't skip possibly frozen events but print frozen if affected instead
Daniel Salzman [Mon, 28 Mar 2022 19:31:26 +0000 (21:31 +0200)]
tests-extra: update zone/flush_immediate
Daniel Salzman [Mon, 28 Mar 2022 18:21:02 +0000 (20:21 +0200)]
zonedb: preserve frozen state during reload
Daniel Salzman [Fri, 25 Mar 2022 20:32:57 +0000 (21:32 +0100)]
zonedb: replan missing events if already planned during reload
Daniel Salzman [Wed, 23 Mar 2022 16:48:30 +0000 (17:48 +0100)]
tests-extra: extend offline-ksk with on-slave signing (AXFR, IXFR) and DDNS
Daniel Salzman [Wed, 23 Mar 2022 15:10:23 +0000 (16:10 +0100)]
dnssec: fix missing DNSKEY RRSIG when signing update in the offline-ksk mode
Daniel Salzman [Wed, 23 Mar 2022 07:42:46 +0000 (08:42 +0100)]
tests/tcp: mute Coverity
Jan Hák [Mon, 21 Mar 2022 08:20:40 +0000 (09:20 +0100)]
knsupdate: fix tty check
David Vašek [Fri, 18 Mar 2022 13:01:42 +0000 (14:01 +0100)]
tests-extra: journal/serial_arithmetic -- add zone comparisons with a secondary server
Daniel Salzman [Fri, 18 Mar 2022 09:41:53 +0000 (10:41 +0100)]
tests-extra: rework test journal/serial_arithmetic
Daniel Salzman [Fri, 18 Mar 2022 08:18:54 +0000 (09:18 +0100)]
load: distinguish if SOA serial is lower or incomparable in a warning log
Daniel Salzman [Thu, 17 Mar 2022 12:27:45 +0000 (13:27 +0100)]
distro/deb: update copyright for 2022
Daniel Salzman [Thu, 17 Mar 2022 12:24:14 +0000 (13:24 +0100)]
distro/deb: update libknot symbols
Daniel Salzman [Thu, 17 Mar 2022 09:53:52 +0000 (10:53 +0100)]
Merge branch 'xdp_tcp_evo2' into 'master'
xdp-tcp: evolution and bugfixes
See merge request knot/knot-dns!1394
Daniel Salzman [Thu, 17 Mar 2022 09:46:10 +0000 (10:46 +0100)]
doc: update 'xdp.tcp' limitations
Daniel Salzman [Thu, 17 Mar 2022 08:25:20 +0000 (09:25 +0100)]
digest: mute Clang-analyzer
Daniel Salzman [Wed, 16 Mar 2022 15:00:07 +0000 (16:00 +0100)]
tcp: mute Clang-analyzer
Daniel Salzman [Wed, 16 Mar 2022 15:25:04 +0000 (16:25 +0100)]
Merge branch 'restore_nojournal_fix' into 'master'
backup: fix a partial restore without both zonefile and journal
See merge request knot/knot-dns!1442
Daniel Salzman [Wed, 16 Mar 2022 14:08:18 +0000 (15:08 +0100)]
Doxyfile: remove obsolete options
Daniel Salzman [Fri, 11 Mar 2022 14:39:57 +0000 (15:39 +0100)]
kxdpgun: update and improve the documentation
Daniel Salzman [Wed, 9 Mar 2022 13:18:32 +0000 (14:18 +0100)]
conf: merge tcp-max-syn-clients and tcp-max-clients XDP options
Daniel Salzman [Wed, 16 Mar 2022 11:09:54 +0000 (12:09 +0100)]
xdp-tcp: move send_prepare and send_finish out of knot_tcp_send()
Daniel Salzman [Wed, 9 Mar 2022 12:38:12 +0000 (13:38 +0100)]
xdp-handler: reduce sweep log frequency
Daniel Salzman [Mon, 14 Feb 2022 17:27:55 +0000 (18:27 +0100)]
kxdpgun: rework error messages
Libor Peltan [Mon, 14 Feb 2022 14:39:42 +0000 (15:39 +0100)]
xdp-tcp: bugfix: crash by moving pointed conn in reset queue
Daniel Salzman [Mon, 24 Jan 2022 12:16:44 +0000 (13:16 +0100)]
xdp-tcp: tiny code cleanup
Daniel Salzman [Tue, 11 Jan 2022 18:02:57 +0000 (19:02 +0100)]
xdp-tcp: replace tcp_outbufs_t with struct knot_tcp_outbuf
Daniel Salzman [Mon, 24 Jan 2022 12:16:38 +0000 (13:16 +0100)]
xdp-tcp: tiny code fixes
Jan Hák [Wed, 19 Jan 2022 12:48:48 +0000 (13:48 +0100)]
fix: aesthetic adjustment
Libor Peltan [Tue, 16 Nov 2021 11:36:27 +0000 (11:36 +0000)]
kxdpgun: more unique outgoing IP+port pairs
Libor Peltan [Mon, 15 Nov 2021 17:37:40 +0000 (18:37 +0100)]
xdp-tcp: bugfix: check presence in syn_table before adding
Libor Peltan [Mon, 15 Nov 2021 17:21:10 +0000 (18:21 +0100)]
xdp: dont close conns in SYN state...
...this also caused inconsistencies in syn_table and assert crash
Libor Peltan [Mon, 15 Nov 2021 14:24:06 +0000 (15:24 +0100)]
xdp-tcp: bugfix: crash when two packets for same conn...
...and one of them is closing it
Libor Peltan [Fri, 12 Nov 2021 16:29:50 +0000 (17:29 +0100)]
xdp-tcp: allow configuring outbuf memory limit separately
Libor Peltan [Fri, 12 Nov 2021 16:11:18 +0000 (17:11 +0100)]
fixup! kxdpgun: allow various modes exploiting left-open connections
Libor Peltan [Fri, 12 Nov 2021 08:37:01 +0000 (09:37 +0100)]
fixup! xdp-tcp: allow configuring separate SYN table
Libor Peltan [Fri, 12 Nov 2021 08:36:12 +0000 (09:36 +0100)]
fixup! kxdpgun: allow various modes exploiting left-open connections
Libor Peltan [Thu, 11 Nov 2021 20:16:16 +0000 (21:16 +0100)]
kxdpgun: allow various modes exploiting left-open connections
Libor Peltan [Thu, 11 Nov 2021 19:44:17 +0000 (20:44 +0100)]
xdp-tcp: bugfix: perform routine connection-update routines even for newly added conns
Libor Peltan [Thu, 11 Nov 2021 19:39:32 +0000 (20:39 +0100)]
xdp-tcp: bugfix 3
Libor Peltan [Thu, 11 Nov 2021 17:25:59 +0000 (18:25 +0100)]
xdp-tcp: bugfix 2
Libor Peltan [Thu, 11 Nov 2021 17:25:32 +0000 (18:25 +0100)]
xdp-tcp: bugfix 1
Libor Peltan [Wed, 10 Nov 2021 21:44:33 +0000 (22:44 +0100)]
xdp-tcp: more efficient and systematic sweep