]>
git.ipfire.org Git - thirdparty/knot-dns.git/log
Daniel Salzman [Mon, 5 Dec 2022 08:07:11 +0000 (09:07 +0100)]
refresh: add assert to check infinite expiry of catalog zone
Daniel Salzman [Wed, 7 Dec 2022 13:08:07 +0000 (14:08 +0100)]
distro: use devtoolset-11
Daniel Salzman [Mon, 5 Dec 2022 14:42:16 +0000 (15:42 +0100)]
Merge branch 'cat_impr' into 'master'
Reload changed catalog members only (reuse otherwise)
See merge request knot/knot-dns!1499
Daniel Salzman [Tue, 29 Nov 2022 12:00:54 +0000 (13:00 +0100)]
distro: install gcc-7 on CentOS 7 (needed for stdatomic.h)
Daniel Salzman [Thu, 24 Nov 2022 19:31:34 +0000 (20:31 +0100)]
zonedb: reload changed catalog members only (reuse otherwise), refactoring
David Vašek [Fri, 2 Dec 2022 21:00:28 +0000 (22:00 +0100)]
doc/reference: make effect of missing ACL "address" and "key" items clear
Daniel Salzman [Fri, 2 Dec 2022 10:58:07 +0000 (11:58 +0100)]
doc: fix typo in mod-probe example
Daniel Salzman [Fri, 2 Dec 2022 08:09:35 +0000 (09:09 +0100)]
dnssec: add check for RRSIG lifetime and refresh relation
If RRSIG refresh is higher than RRSIG lifetime, DNSSEC signing never finishes.
Daniel Salzman [Wed, 23 Nov 2022 16:43:02 +0000 (17:43 +0100)]
python: add wrapper for some dname operations
Daniel Salzman [Thu, 1 Dec 2022 13:09:43 +0000 (14:09 +0100)]
refresh: don't reuse SOA from IXFR message when processing new AXFR message after fallback
David Vašek [Mon, 21 Nov 2022 18:09:41 +0000 (19:09 +0100)]
tests-extra: in inquirer, reduce generated UDP scrap rate from 50% to 25%
David Vašek [Mon, 28 Nov 2022 09:18:09 +0000 (10:18 +0100)]
tests-extra: zone-generator -- list on unique names is not needed anymore
David Vašek [Mon, 28 Nov 2022 08:50:37 +0000 (09:50 +0100)]
tests-extra: zone-generator -- don't generate CNAME/DNAME RR's
Daniel Salzman [Mon, 28 Nov 2022 14:01:21 +0000 (15:01 +0100)]
tests-extra: increase robustness of events/soa
This fixes occasional FAILED (Unavailable remote control server='knot1') with Valgrind.
Daniel Salzman [Mon, 21 Nov 2022 10:33:22 +0000 (11:33 +0100)]
doc: fix typos in operation/offline-ksk
Daniel Salzman [Fri, 18 Nov 2022 20:40:25 +0000 (21:40 +0100)]
kxdpgun: fix IPv4 source subnet processing
Daniel Salzman [Thu, 17 Nov 2022 18:23:51 +0000 (19:23 +0100)]
scripts: add libmnl and libnghttp2 to Ubuntu Dockerfile
Daniel Salzman [Thu, 17 Nov 2022 17:44:30 +0000 (18:44 +0100)]
scripts: add libxdp to Fedora and libbpf to Ubuntu Dockerfiles
Daniel Salzman [Thu, 17 Nov 2022 16:56:09 +0000 (17:56 +0100)]
Merge branch 'udp_empty_resp' into 'master'
Fix sendmmsg() usage
See merge request knot/knot-dns!1496
Libor Peltan [Tue, 8 Nov 2022 08:23:04 +0000 (09:23 +0100)]
tests-extra: inquirer sends malformed queries randomly
Daniel Salzman [Wed, 9 Nov 2022 16:44:40 +0000 (17:44 +0100)]
udp-handler: cleanup of sendmmsg() handlers
Daniel Salzman [Tue, 8 Nov 2022 07:24:43 +0000 (08:24 +0100)]
udp-handler: don't pass empty responses to sendmmsg()
The function fails and drops the whole messsage batch otherwise.
Daniel Salzman [Wed, 16 Nov 2022 13:43:17 +0000 (14:43 +0100)]
tests: add tests for DS at apex or at non-delegation point
Jan Hák [Wed, 16 Nov 2022 09:09:53 +0000 (10:09 +0100)]
knotd: check that DS record is not at zone apex
Libor Peltan [Mon, 7 Nov 2022 11:36:11 +0000 (12:36 +0100)]
xdp-quic: bugfix: memory-handling obufs lists when adding/removing streams
Libor Peltan [Sat, 5 Nov 2022 07:03:24 +0000 (08:03 +0100)]
xdp-quic: bugfix: memory errors when receiving fragmented query
Daniel Salzman [Sat, 12 Nov 2022 19:58:57 +0000 (20:58 +0100)]
conf: add per zone ds-push config option
Daniel Salzman [Mon, 14 Nov 2022 15:15:22 +0000 (16:15 +0100)]
server: add EDNS padding if a response over QUIC
Daniel Salzman [Sun, 13 Nov 2022 15:13:10 +0000 (16:13 +0100)]
scripts: add libxdp and ngtcp2 dependencies to debian unstable Dockerfile
Daniel Salzman [Sat, 12 Nov 2022 18:58:54 +0000 (19:58 +0100)]
contrib: upgrade embedded library ngtcp2 to v0.11.0
Jan Hák [Wed, 2 Nov 2022 14:13:19 +0000 (15:13 +0100)]
kdig: fix of unsent data in case of incomplete previous communication
Daniel Salzman [Sun, 6 Nov 2022 12:43:27 +0000 (13:43 +0100)]
doc: update capabilites and vlan parameter for kxdpgun
Daniel Salzman [Sun, 6 Nov 2022 12:43:27 +0000 (13:43 +0100)]
knsupdate: fix segfault due to NULL pointer access when sending an update
Daniel Salzman [Tue, 1 Nov 2022 05:27:06 +0000 (06:27 +0100)]
Merge branch 'refresh_retry_logging' into 'master'
Improved failed refresh logging
See merge request knot/knot-dns!1495
Daniel Salzman [Tue, 1 Nov 2022 05:26:19 +0000 (06:26 +0100)]
Merge branch 'test_cat_pairs' into 'master'
tests: simplify and improve catalog/update_pairs
See merge request knot/knot-dns!1493
David Vašek [Mon, 31 Oct 2022 15:01:41 +0000 (16:01 +0100)]
refresh: if refresh fails, log the time of the next retry attempt
Daniel Salzman [Mon, 31 Oct 2022 16:49:06 +0000 (17:49 +0100)]
Merge branch 'doc_ds_push_prop_delay' into 'master'
doc: clarify when DS Push takes place
See merge request knot/knot-dns!1494
Libor Peltan [Mon, 31 Oct 2022 16:38:26 +0000 (17:38 +0100)]
doc: clarify when DS Push takes place
David Vašek [Mon, 31 Oct 2022 15:18:23 +0000 (16:18 +0100)]
tests-extra: catalog/update_pairs -- use always the same number of signing-threads
Libor Peltan [Mon, 31 Oct 2022 13:04:24 +0000 (14:04 +0100)]
tests: simplify and improve catalog/update_pairs
Jan Hák [Thu, 20 Oct 2022 11:14:45 +0000 (13:14 +0200)]
kdig: send message with PROXYv2 header
Jan Hák [Tue, 18 Oct 2022 13:13:17 +0000 (15:13 +0200)]
kdig: add 'proxy' parameter for PROXYv2 support
Daniel Salzman [Sat, 29 Oct 2022 18:09:40 +0000 (20:09 +0200)]
mod-probe: skip rate limit check if it's disabled
Daniel Salzman [Fri, 28 Oct 2022 09:43:39 +0000 (11:43 +0200)]
doc: add info about XDP and VLAN operation
Daniel Salzman [Fri, 28 Oct 2022 10:14:06 +0000 (12:14 +0200)]
Merge branch 'catz_update_pairs_lpe' into 'master'
Combined add/del updates to a catalog fix
Closes #818
See merge request knot/knot-dns!1492
David Vašek [Wed, 26 Oct 2022 16:58:32 +0000 (18:58 +0200)]
tests-extra: catalog/update_pairs -- add testing of a member property update
David Vašek [Wed, 26 Oct 2022 16:54:40 +0000 (18:54 +0200)]
tests-extra: add the 'dnssec.signing_threads' parameter
David Vašek [Tue, 25 Oct 2022 21:11:51 +0000 (23:11 +0200)]
tests-extra: add the 'kcatalogprint_bin' / 'KNOT_TEST_KCATALOGPRINT' parameter
Daniel Salzman [Tue, 25 Oct 2022 13:53:04 +0000 (15:53 +0200)]
catalog: properly handle addition and removal of the same member in one update
David Vašek [Fri, 7 Oct 2022 20:38:04 +0000 (22:38 +0200)]
tests-extra: catalog/update_pairs -- test of paired catalog updates combined to one
Libor Peltan [Wed, 26 Oct 2022 17:16:55 +0000 (19:16 +0200)]
zonedb-load: in a catalog update, log number of changes
Libor Peltan [Wed, 26 Oct 2022 17:15:39 +0000 (19:15 +0200)]
tests-extra: add the 'bg_workers' parameter
Jan Hák [Wed, 26 Oct 2022 10:39:11 +0000 (12:39 +0200)]
kdig: fix typo in +nojson option
David Vašek [Fri, 21 Oct 2022 14:17:52 +0000 (16:17 +0200)]
tests-extra: zone/backup -- fix the setting of the DNSSEC algorithm
David Vašek [Fri, 21 Oct 2022 14:12:41 +0000 (16:12 +0200)]
tests-extra: fix setting of zsk-size and ksk-size
Daniel Salzman [Mon, 24 Oct 2022 14:53:04 +0000 (16:53 +0200)]
Merge branch 'auto_reverse_zone' into 'master'
Auto reverse zone
Closes #576
See merge request knot/knot-dns!1350
Libor Peltan [Wed, 31 Aug 2022 16:31:17 +0000 (18:31 +0200)]
auto-reverse: optional extended test
Libor Peltan [Mon, 16 Aug 2021 14:48:43 +0000 (16:48 +0200)]
knot: implemented auto-generating reverse records
Daniel Salzman [Sun, 23 Oct 2022 08:10:09 +0000 (10:10 +0200)]
libknot/xdp: fetch VLAN mapping only with route check enabled
Daniel Salzman [Fri, 21 Oct 2022 13:29:19 +0000 (15:29 +0200)]
libknot/eth: add missing NULL pointer check
Daniel Salzman [Thu, 20 Oct 2022 14:38:23 +0000 (16:38 +0200)]
Merge branch 'ngtcp2_0.10.0'
Daniel Salzman [Thu, 20 Oct 2022 12:25:56 +0000 (14:25 +0200)]
libknot: adapt to libngtcp 0.10.0
Daniel Salzman [Thu, 20 Oct 2022 12:26:23 +0000 (14:26 +0200)]
contrib: upgrade embedded library ngtcp2 to v0.10.0
Daniel Salzman [Fri, 14 Oct 2022 06:04:24 +0000 (08:04 +0200)]
mod-geoip: respect 'server.answer-rotation' setting
Daniel Salzman [Wed, 5 Oct 2022 18:07:53 +0000 (20:07 +0200)]
dbus: add configurable delay upon D-Bus initialization
Daniel Salzman [Mon, 10 Oct 2022 05:58:32 +0000 (07:58 +0200)]
distro/deb: update libknot symbols
Daniel Salzman [Fri, 7 Oct 2022 13:58:37 +0000 (15:58 +0200)]
kxdpgun: add VLAN support
Daniel Salzman [Fri, 7 Oct 2022 13:18:16 +0000 (15:18 +0200)]
Merge branch 'xdp_vlan'
Daniel Salzman [Sat, 1 Oct 2022 15:15:02 +0000 (17:15 +0200)]
libknot/xdp: update the filter
Daniel Salzman [Sat, 1 Oct 2022 14:53:00 +0000 (16:53 +0200)]
libknot/xdp: add flag for filter deactivation
Daniel Salzman [Fri, 23 Sep 2022 15:40:44 +0000 (17:40 +0200)]
libknot/xdp: process Ethernet frames with VLAN headers
Daniel Salzman [Tue, 4 Oct 2022 09:20:21 +0000 (11:20 +0200)]
proxyv2: slight code reorganization
Robert Edmonds [Sat, 1 Oct 2022 02:23:07 +0000 (22:23 -0400)]
proxyv2_header_strip(): Operate correctly on malformed query packets
Some DNS queries are malformed and generate a FORMERR response from
knot, but when those broken queries are encapsulated with a PROXY v2
header they are simply dropped with no response. This doesn't seem
correct; knot shouldn't be changing its behavior (response vs. no
response) when a PROXY v2 header is added to the query.
Previously, proxyv2_header_strip() was throwing away the knot_pkt_t
result of calling knot_pkt_parse() on the inner, decapsulated query
packet. It looks like this was what was causing the non-response issue,
because the caller couldn't distinguish between the failure of the
proxyv2_header_strip() function (e.g., PROXY v2 signature was wrong) vs.
the knot_pkt_parse() on the inner packet failing.
This commit instead makes sure that the knot_pkt_t result of
knot_pkt_parse() is returned to the caller regardless of the return code
from that function. This causes knot to respond to some kinds of broken
queries that are encapsulated with PROXY v2 in the same way when the
same query is sent as an unencapsulated, bare DNS query packet.
fixes #817
Robert Edmonds [Sat, 1 Oct 2022 02:48:02 +0000 (22:48 -0400)]
proxyv2_addr_store(): Calculate packet bounds correctly
Previously, sizeof() was being called with a pointer-to-struct type
parameter when checking if the packet was large enough to contain the
PROXY v2 address block structs. This is not correct, since the correct
operand to use in these checks is the size of the structure itself.
fixes #816
Daniel Salzman [Sun, 2 Oct 2022 15:50:44 +0000 (17:50 +0200)]
utils: use unsigned long for storing timestamp in JSON
Daniel Salzman [Fri, 23 Sep 2022 11:55:23 +0000 (13:55 +0200)]
contrib: upgrade embedded library ngtcp2 to v0.9.0
Daniel Salzman [Thu, 22 Sep 2022 16:34:28 +0000 (18:34 +0200)]
tests-extra: store both brief and full backtraces
Daniel Salzman [Tue, 20 Sep 2022 14:24:52 +0000 (16:24 +0200)]
kxdpgun: fix mode print
Daniel Salzman [Mon, 19 Sep 2022 11:13:06 +0000 (13:13 +0200)]
libknot/xdp: free unsent buffers if FQ queue is full
Libor Peltan [Thu, 22 Sep 2022 11:32:31 +0000 (13:32 +0200)]
Merge branch 'kdig-json' into 'master'
kdig: JSON output format (RFC 8427)
See merge request knot/knot-dns!902
Daniel Salzman [Wed, 21 Sep 2022 15:12:56 +0000 (17:12 +0200)]
Merge branch 'dthreads_fix6' into 'master'
dthreads: patch early join of destructable threads
See merge request knot/knot-dns!1491
Libor Peltan [Wed, 21 Sep 2022 08:14:45 +0000 (10:14 +0200)]
dthreads: simplify semaphore handling
Jan Hák [Mon, 5 Sep 2022 13:41:59 +0000 (15:41 +0200)]
dthreads: patch early join of destructable threads
There is a flaw in the original implementation that causes `dt_join` to exit before the destructor runs. This patch does not fix this flaw, but covers it.
Daniel Salzman [Sun, 18 Sep 2022 15:02:34 +0000 (17:02 +0200)]
distro/deb: use now macro in changelog
Daniel Salzman [Sun, 18 Sep 2022 07:48:55 +0000 (09:48 +0200)]
distro/deb: partially sync depencencies with debian
Daniel Salzman [Sun, 18 Sep 2022 07:13:03 +0000 (09:13 +0200)]
distro/rpm: unify contact in changelog
Jakub Ružička [Fri, 16 Sep 2022 13:04:29 +0000 (15:04 +0200)]
distro/rpm: Update Conflicts with kresd
Also remove bundled(jquery) version.
Daniel Salzman [Thu, 15 Sep 2022 13:06:31 +0000 (15:06 +0200)]
tests: increase robustness of test_fdset
David Vašek [Mon, 12 Sep 2022 14:37:46 +0000 (16:37 +0200)]
doc/operation: describe how zone bootstrap backoff works
Jan Hák [Sun, 6 May 2018 20:57:29 +0000 (22:57 +0200)]
kdig: add +json (RFC 8427) option
Daniel Salzman [Thu, 4 Aug 2022 10:54:13 +0000 (12:54 +0200)]
tests/net: add small sleep to ensure the server socket is really closed
fixes #806
Daniel Salzman [Sat, 10 Sep 2022 17:44:06 +0000 (19:44 +0200)]
knsupdate: remove extra newline before Answer output
David Vašek [Tue, 6 Sep 2022 15:25:48 +0000 (17:25 +0200)]
tests-extra: update the Readme
Newer dnspython needed as a result of commit
46d2fb8c3a7ccec75435e8c5aed3221f88ff8cc9 .
Daniel Salzman [Thu, 8 Sep 2022 14:13:16 +0000 (16:13 +0200)]
knotd: don't log 'quic-port' changed during reload if quic not enabled
Daniel Salzman [Thu, 8 Sep 2022 09:09:13 +0000 (11:09 +0200)]
libzscanner: update NOTES
Daniel Salzman [Wed, 7 Sep 2022 13:20:38 +0000 (15:20 +0200)]
Merge branch 'doc_prop_delay' into 'master'
doc: better specification of propagation-delay meaning
See merge request knot/knot-dns!1490
Libor Peltan [Wed, 7 Sep 2022 13:10:47 +0000 (15:10 +0200)]
doc: better specification of propagation-delay meaning
Libor Peltan [Tue, 6 Sep 2022 16:16:59 +0000 (18:16 +0200)]
kxdpgun: fix releasing closed conns within attack modes
Daniel Salzman [Tue, 6 Sep 2022 05:59:50 +0000 (07:59 +0200)]
xdp: replace assert with a regular check in knot_xdp_send()
Libor Peltan [Tue, 6 Sep 2022 08:45:53 +0000 (10:45 +0200)]
xdp-tcp: bugfix: free iobuf resources when deiniting conn table