]>
git.ipfire.org Git - thirdparty/knot-dns.git/log
Libor Peltan [Wed, 11 May 2022 17:52:21 +0000 (19:52 +0200)]
xdp-quic: continued work, mostly kxdpgun attack modes
Libor Peltan [Wed, 11 May 2022 15:34:57 +0000 (17:34 +0200)]
xdp-quic: simplify API, further improvements
Libor Peltan [Tue, 10 May 2022 14:48:21 +0000 (16:48 +0200)]
xdp-tcp: integrate with new BPF filter with configurable QUIC port
Libor Peltan [Tue, 5 Apr 2022 16:34:06 +0000 (18:34 +0200)]
xdp-quic: incremental work on implementation
Libor Peltan [Fri, 1 Apr 2022 10:10:51 +0000 (12:10 +0200)]
xdp-quic: fixed obtaining timestamp
Libor Peltan [Thu, 20 Jan 2022 18:13:12 +0000 (19:13 +0100)]
xdp-quic: initial PoC prototype of QUIC-over-XDP server
Daniel Salzman [Sat, 23 Jul 2022 15:28:04 +0000 (17:28 +0200)]
Merge branch 'catz_logging_fix' into 'master'
Expiration times logging improvements, timers limiting logging, upper limiting of ENDS Expire timers.
See merge request knot/knot-dns!1475
David Vašek [Tue, 19 Jul 2022 17:47:26 +0000 (19:47 +0200)]
refresh: log in debug when timer limits take effect
David Vašek [Thu, 21 Jul 2022 14:58:59 +0000 (16:58 +0200)]
refresh: limit timers instead of times of next events
This change is needed for logging of correct (i.e. possibly limited) expire value.
David Vašek [Tue, 19 Jul 2022 13:06:08 +0000 (15:06 +0200)]
refresh: simplify the code
David Vašek [Tue, 12 Jul 2022 11:18:03 +0000 (13:18 +0200)]
refresh: for catz, zero next_expire soon after a successful XFR
A catalog (i.e. non-expiring) zone needs this set to zero early.
A must in axfr_finalize(), but it's redundant when called from other places.
David Vašek [Tue, 19 Jul 2022 11:15:08 +0000 (13:15 +0200)]
refresh: set (and limit) the expire and refresh timers earlier
This change is neccessary for logging of correct zone expiration values.
David Vašek [Tue, 19 Jul 2022 11:14:25 +0000 (13:14 +0200)]
refresh: reshuffle the source code
David Vašek [Thu, 21 Jul 2022 15:33:41 +0000 (17:33 +0200)]
refresh: omit EDNS expire from lower limiting only
The upper limit (C_EXPIRE_MAX_INTERVAL) is still valid even for
expire timer values received as EDNS EXPIRE options.
This partially changes the effect of commit
b1f7e2f80f35d1a77fbd115631bf7c1884a087f4
"refresh: don't impose limits on expire when EDNS expire takes effect".
Daniel Salzman [Fri, 22 Jul 2022 17:33:50 +0000 (19:33 +0200)]
Merge branch 'no_false_processing_errs' into 'master'
add a requestor state for situations where data are ignored (i.e. not a processing error)
See merge request knot/knot-dns!1474
David Vašek [Fri, 22 Jul 2022 13:57:15 +0000 (15:57 +0200)]
requestor: add a state for data having been ignored
Daniel Salzman [Wed, 20 Jul 2022 18:05:49 +0000 (20:05 +0200)]
ci: don't modify sources.list in Debian images
Daniel Salzman [Wed, 20 Jul 2022 11:25:47 +0000 (13:25 +0200)]
ci: use rockylinux:9 instead of rockylinux:latest as it's not available
Jan Hák [Mon, 18 Jul 2022 11:22:39 +0000 (13:22 +0200)]
fix: typo change in the keymgr man page where the --verbose option was described as --version.
Daniel Salzman [Wed, 13 Jul 2022 10:31:01 +0000 (12:31 +0200)]
Merge branch 'nix-sync' into 'master'
distro/nix: sync changes accumulated over longer time
See merge request knot/knot-dns!1473
Vladimír Čunát [Wed, 13 Jul 2022 10:04:40 +0000 (12:04 +0200)]
distro/nix: sync changes accumulated over longer time
All are quite minor.
David Vašek [Mon, 11 Jul 2022 13:25:22 +0000 (15:25 +0200)]
tests-extra: catalog/expire -- speed up the test
Daniel Salzman [Mon, 11 Jul 2022 09:59:40 +0000 (11:59 +0200)]
Merge branch 'catz_non_expire' into 'master'
catalog: "never" expire interpreted catalog zones automatically
See merge request knot/knot-dns!1472
David Vašek [Thu, 7 Jul 2022 22:46:47 +0000 (00:46 +0200)]
events: don't replan user events that haven't been processed yet
David Vašek [Mon, 4 Jul 2022 10:58:21 +0000 (12:58 +0200)]
ctl/purge: code cleanup
David Vašek [Thu, 23 Jun 2022 08:39:20 +0000 (10:39 +0200)]
conf: fix some typos
David Vašek [Wed, 22 Jun 2022 14:35:13 +0000 (16:35 +0200)]
catalog: "never" expire interpreted catalog zones automatically
Ignore the value from SOA actually.
Tuomo Soini [Mon, 11 Jul 2022 08:23:04 +0000 (10:23 +0200)]
kdig: set AD bit by default
Libor Peltan [Thu, 7 Jul 2022 10:26:53 +0000 (12:26 +0200)]
Merge branch 'offline_signing_update' into 'master'
Move offline records loading from knot_zone_sign_update_dnskeys() to context initialization
See merge request knot/knot-dns!1471
Daniel Salzman [Mon, 4 Jul 2022 16:55:03 +0000 (18:55 +0200)]
Merge branch 'catalog_zonedb_leak' into 'master'
Fix zonedb reload related leaks
See merge request knot/knot-dns!1460
Daniel Salzman [Mon, 4 Jul 2022 09:04:49 +0000 (11:04 +0200)]
Merge branch 'expire_changes' into 'master'
Zone expiration improvements
See merge request knot/knot-dns!1470
Daniel Salzman [Fri, 1 Jul 2022 11:00:16 +0000 (13:00 +0200)]
dnssec: move offline records loading from knot_zone_sign_update_dnskeys() to context initialization
Jan Hák [Fri, 1 Jul 2022 11:29:35 +0000 (13:29 +0200)]
tests-extra: fixes a bug that caused the application to crash on invalid exclude parameter
Daniel Salzman [Thu, 30 Jun 2022 12:24:31 +0000 (14:24 +0200)]
zone: purge 'timers.catalog_member' only if catalog filter is specified
Daniel Salzman [Thu, 30 Jun 2022 12:04:47 +0000 (14:04 +0200)]
zone: set 'timers.next_expire' to now when zone expires
This change should improve next bootstrap attempt planning after zone expiration.
Daniel Salzman [Fri, 1 Jul 2022 06:03:07 +0000 (08:03 +0200)]
Merge branch 'knotd-proxyv2' into 'master'
Support haproxy PROXY v2 protocol on incoming UDP packets
Closes #762
See merge request knot/knot-dns!1468
Jan Hák [Mon, 20 Jun 2022 11:03:29 +0000 (13:03 +0200)]
proxyv2: split the code into general contrib and internal knot parts
Robert Edmonds [Thu, 26 Aug 2021 20:47:09 +0000 (16:47 -0400)]
Support haproxy PROXY v2 protocol on incoming UDP packets
This commit adds minimal support for the haproxy PROXY v2 protocol which
is described at
https://www.haproxy.org/download/2.5/doc/proxy-protocol.txt.
Only the UDP-over-IPv4 and UDP-over-IPv6 PROXY v2 family/transports are
supported, and only the original source address/port of the proxied
client are recovered from the PROXY v2 payload. Only the PROXY command
is supported.
There is a hardcoded ACL check to verify that the query was sent from
127.0.0.0/8 before PROXY v2 decapsulation is attempted. This prevents
spoofing of the PROXY v2 header and avoids exposing the PROXY v2 parsing
code to the Internet. This should probably be converted to a real ACL
check that can be configured.
If a proxied client address/port was successfully extracted from the
PROXY v2 payload, the 'remote' field in the knotd_qdata_params_t
structure will be updated to represent the address of the real (proxied)
client. This way query modules (e.g. whoami) don't need to be updated to
continue to produce correct source address dependent behavior. The
address of the proxy that actually sent the proxied packet will be saved
in a new 'proxy' field in knotd_qdata_params_t in case this value needs
to be processed.
The 'sdig' utility that comes with PowerDNS supports generating queries
with a PROXY v2 header, which is in the 'pdns-tools' package on
Debian/Ubuntu systems. Example command-line invocations:
* sdig 127.0.0.1 53053 example.net a proxy 0 192.0.2.1:49153 198.51.100.1:53
* sdig 127.0.0.1 53053 example.net a proxy 0 '[2001:db8::1]:49153' '[2001:db8::100:1]:53'
Daniel Salzman [Wed, 1 Jun 2022 13:22:07 +0000 (15:22 +0200)]
zonedb-load: fix member zone leak when reloading the zones during dynamic config change
Includes some code improvements and an optimization of reusing unchanged member zones.
David Vašek [Wed, 1 Jun 2022 12:54:38 +0000 (14:54 +0200)]
tests-extra: catalog/basic -- add testing for members leaking after zonedb_reload()
Jan Hák [Fri, 10 Jun 2022 12:59:32 +0000 (14:59 +0200)]
kcatalogprint: add parameters for filtering catalog or member zone
Daniel Salzman [Wed, 29 Jun 2022 07:23:50 +0000 (09:23 +0200)]
Merge branch 'catalog_purge_earlier' into 'master'
catalog: purge members before catDB commit
Closes #805
See merge request knot/knot-dns!1469
Daniel Salzman [Wed, 29 Jun 2022 07:08:37 +0000 (09:08 +0200)]
distro: add 'LogsDirectory=knot' to knot.service
relates #805
Libor Peltan [Tue, 28 Jun 2022 14:58:32 +0000 (16:58 +0200)]
catalog: purge members before catDB commit
Daniel Salzman [Tue, 28 Jun 2022 12:38:27 +0000 (14:38 +0200)]
Update Knot.files
Daniel Salzman [Tue, 28 Jun 2022 11:40:18 +0000 (13:40 +0200)]
configure: use proper operator for the library version equality
Daniel Salzman [Mon, 27 Jun 2022 17:49:16 +0000 (19:49 +0200)]
Merge branch 'dnssec-utils' into 'master'
distro: knot-dnssecutils subpackaage
See merge request knot/knot-dns!1467
Daniel Salzman [Mon, 27 Jun 2022 12:38:24 +0000 (14:38 +0200)]
Merge branch 'subcat_checks'
David Vašek [Mon, 20 Jun 2022 21:39:05 +0000 (23:39 +0200)]
doc/configuration: mention that nested catalog zones aren't supported
David Vašek [Mon, 20 Jun 2022 15:34:30 +0000 (17:34 +0200)]
conf: simplify the code and wording of error messages
David Vašek [Mon, 20 Jun 2022 15:13:42 +0000 (17:13 +0200)]
conf: add check for not supported catalog template options
Daniel Salzman [Mon, 20 Jun 2022 12:45:24 +0000 (14:45 +0200)]
conf: add catalog check for subcatalogs
Jakub Ružička [Fri, 24 Jun 2022 12:56:23 +0000 (14:56 +0200)]
distro/rpm: make knot-utils provide knot-dnsutils
This is for compatibility with Debian knot-dnsutils subpackage.
Jakub Ružička [Tue, 21 Jun 2022 14:54:28 +0000 (16:54 +0200)]
distro/rpm: knot-dnssecutils subpackage
Jakub Ružička [Mon, 20 Jun 2022 12:34:02 +0000 (14:34 +0200)]
distro/deb: knot-dnssecutils subpackage
Daniel Salzman [Wed, 22 Jun 2022 09:05:12 +0000 (11:05 +0200)]
Merge branch 'kdig-quic4'
Jan Hák [Wed, 22 Jun 2022 08:31:55 +0000 (10:31 +0200)]
fix: kdig count time from query instead of connect
Jan Hák [Tue, 21 Jun 2022 13:01:16 +0000 (15:01 +0200)]
kdig: fix DoH authority value based on TLS Hostname
Jan Hák [Tue, 21 Jun 2022 10:28:26 +0000 (12:28 +0200)]
kdig: rebase kdig on ngtcp2-v0.6.0
Daniel Salzman [Tue, 21 Jun 2022 10:27:25 +0000 (12:27 +0200)]
configure: rework libngtcp2 detection, upgrade to v0.6.0
Daniel Salzman [Tue, 21 Jun 2022 06:33:33 +0000 (08:33 +0200)]
contrib: upgrade embedded library ngtcp2 to v0.6.0
Daniel Salzman [Tue, 21 Jun 2022 06:04:47 +0000 (08:04 +0200)]
utils: unify TLS-related header printers
Jan Hák [Wed, 8 Jun 2022 13:24:50 +0000 (15:24 +0200)]
kdig: fix sending query if Path MTU Discovery is in progress
Jan Hák [Tue, 7 Jun 2022 13:09:52 +0000 (15:09 +0200)]
kdig: open a new data stream when the connection is already open because to the keepopen flag
Jan Hák [Wed, 25 May 2022 11:31:50 +0000 (13:31 +0200)]
kdig: print QUIC header in response summary
Jan Hák [Mon, 23 May 2022 08:44:34 +0000 (10:44 +0200)]
kdig: adapt to API changes in ngtcp2 >= v0.3.0
Daniel Salzman [Tue, 24 May 2022 14:18:51 +0000 (16:18 +0200)]
configure: fix libngtcp2 detection if disabled utilities, upgrade to v0.5.0
Daniel Salzman [Mon, 23 May 2022 15:19:55 +0000 (17:19 +0200)]
contrib: upgrade embedded library ngtcp2 to v0.5.0
Jan Hák [Mon, 16 May 2022 13:13:59 +0000 (15:13 +0200)]
kdig: documentation for DoQ
Jan Hák [Tue, 3 May 2022 07:54:26 +0000 (09:54 +0200)]
kdig: close and deinit QUIC connection
Jan Hák [Tue, 3 May 2022 07:51:30 +0000 (09:51 +0200)]
kdig: receive response over QUIC
Jan Hák [Tue, 3 May 2022 07:49:08 +0000 (09:49 +0200)]
kdig: send query over QUIC
Jan Hák [Tue, 3 May 2022 07:45:45 +0000 (09:45 +0200)]
kdig: quic connect
Jan Hák [Mon, 2 May 2022 13:46:48 +0000 (15:46 +0200)]
kdig: netio init quic connection ctx
Jan Hák [Mon, 2 May 2022 12:35:46 +0000 (14:35 +0200)]
kdig: add quic parameter
Daniel Salzman [Thu, 23 Sep 2021 13:26:44 +0000 (15:26 +0200)]
contrib: add embedded library ngtcp2 v0.1.0 as a temporary solution until a package is available
Jan Hák [Mon, 2 May 2022 12:55:35 +0000 (14:55 +0200)]
libknot: always build tcp_iobuf as it's generally needed
Jan Hák [Mon, 2 May 2022 11:31:47 +0000 (13:31 +0200)]
utils: small change of common API for TLS in kdig and knsupdate
Move ALPN and settings in context initialization
Libor Peltan [Tue, 21 Jun 2022 17:48:35 +0000 (19:48 +0200)]
Merge branch 'catalog_purge' into 'master'
Implement purge of catalog DB
See merge request knot/knot-dns!1370
David Vašek [Wed, 8 Jun 2022 12:08:17 +0000 (14:08 +0200)]
zone: fix a typo
David Vašek [Thu, 19 May 2022 07:48:06 +0000 (09:48 +0200)]
catalog: add some asserts to catalog_zone_purge()
David Vašek [Mon, 16 May 2022 12:58:44 +0000 (14:58 +0200)]
ctl/purge: report errors in orphans purge back to knotc
However, when purging orphan catalog members, knotc isn't notified about errors
returned from selective_zone_purge() and catalog_del() as for now.
Try to use similar reporting style as in zones_apply().
David Vašek [Mon, 16 May 2022 10:55:21 +0000 (12:55 +0200)]
ctl/purge: when purging orphan member zones, don't stop after individual errors
David Vašek [Thu, 12 May 2022 08:22:58 +0000 (10:22 +0200)]
ctl/purge: add orphan member zones purging
David Vašek [Thu, 12 May 2022 08:23:43 +0000 (10:23 +0200)]
zonedb-load: switch to using a unified zone purging function
David Vašek [Thu, 12 May 2022 08:22:02 +0000 (10:22 +0200)]
catalog: fix a typo
David Vašek [Thu, 12 May 2022 14:40:29 +0000 (16:40 +0200)]
catalog: move catalog_zone_purge() from zonedb-load.c to catalog_update.c
David Vašek [Thu, 12 May 2022 13:21:19 +0000 (15:21 +0200)]
ctl/purge: refactor and move zone purging from commands.c to zone.c
David Vašek [Tue, 3 May 2022 16:00:38 +0000 (18:00 +0200)]
refresh: don't log expiration period for catalog zones
Libor Peltan [Fri, 1 Oct 2021 17:55:21 +0000 (19:55 +0200)]
catalog: implement purge of catalog DB
Daniel Salzman [Tue, 21 Jun 2022 13:14:58 +0000 (15:14 +0200)]
man: upgrade to Sphinx 4.3.2
Daniel Salzman [Mon, 20 Jun 2022 09:01:49 +0000 (11:01 +0200)]
tests-extra: improve time synchronization for modules/stats
Daniel Salzman [Fri, 17 Jun 2022 12:16:35 +0000 (14:16 +0200)]
Merge branch 'test-extra-offline-ksk' into 'master'
Fix case sensitivity change in keymgr error message broke the test
See merge request knot/knot-dns!1466
Jan Hák [Fri, 17 Jun 2022 08:37:45 +0000 (10:37 +0200)]
tests-extra: fix- case sensitivity change on keymgr error broke the test
Jan Hák [Thu, 16 Jun 2022 12:47:42 +0000 (14:47 +0200)]
Merge branch 'keymgr-logging' into 'master'
Keymgr logging
Closes #802
See merge request knot/knot-dns!1465
Daniel Salzman [Thu, 16 Jun 2022 11:20:37 +0000 (13:20 +0200)]
utils: unify logging messages to have the same form as the knotd messages
Daniel Salzman [Thu, 16 Jun 2022 11:19:22 +0000 (13:19 +0200)]
utils: enable basic error logging to stderr in util_conf
Daniel Salzman [Tue, 14 Jun 2022 17:28:53 +0000 (19:28 +0200)]
conf: fix xdp.listen parsing if an address specified without port
Daniel Salzman [Tue, 14 Jun 2022 16:09:15 +0000 (18:09 +0200)]
semchecks: change log level to notice in the soft mode
Daniel Salzman [Tue, 14 Jun 2022 06:42:26 +0000 (08:42 +0200)]
doc: update needed capabilities for XDP mode