]>
git.ipfire.org Git - thirdparty/knot-dns.git/log
Libor Peltan [Thu, 15 Apr 2021 16:27:18 +0000 (16:27 +0000)]
Merge branch 'xdp_fib' into 'master'
XDP with routing
See merge request knot/knot-dns!1283
Daniel Salzman [Thu, 15 Apr 2021 07:17:01 +0000 (09:17 +0200)]
conf: add xdp-route-check server option
Daniel Salzman [Thu, 15 Apr 2021 12:09:08 +0000 (14:09 +0200)]
doc: fix default value of policy.nsec3-iterations
Daniel Salzman [Mon, 12 Apr 2021 11:36:09 +0000 (13:36 +0200)]
xdp: add optional cross-interface operation using routing information from kernel
Daniel Salzman [Mon, 12 Apr 2021 15:54:38 +0000 (17:54 +0200)]
udp-hander: fix assertion, code unification
Daniel Salzman [Mon, 12 Apr 2021 07:39:22 +0000 (09:39 +0200)]
yparser: fix applying zero offset to null pointer (UBSAN)
Daniel Salzman [Mon, 12 Apr 2021 07:19:22 +0000 (09:19 +0200)]
libknot/edns: fix null pointer passed to memcpy (UBSAN)
Daniel Salzman [Sun, 11 Apr 2021 17:28:28 +0000 (19:28 +0200)]
tests: fix applying zero offset to null pointer (UBSAN)
Daniel Salzman [Sun, 11 Apr 2021 17:14:54 +0000 (19:14 +0200)]
Revert "libknot: add basic support for SVCB and HTTPS records"
This reverts commit
4f1f10f2e8e1f5692b48a2038255cc1348003f3b .
fixes #725
Daniel Salzman [Sun, 11 Apr 2021 15:52:54 +0000 (17:52 +0200)]
fdset: simplify warkaround for (e)poll under Valgrind bug to suppress Valgrind error
Daniel Salzman [Sat, 10 Apr 2021 17:06:02 +0000 (19:06 +0200)]
kdig: don't clear empty tsig_key (UBSAN)
Daniel Salzman [Fri, 9 Apr 2021 07:12:56 +0000 (09:12 +0200)]
configure: use 'address,undefined' as default for --with-sanitizer
Daniel Salzman [Fri, 9 Apr 2021 07:05:42 +0000 (07:05 +0000)]
Merge branch 'sanitize-undefined' into 'master'
treewide: fix instances of memcpy(*, NULL, 0)
See merge request knot/knot-dns!1282
Daniel Salzman [Fri, 9 Apr 2021 06:39:41 +0000 (08:39 +0200)]
yparser: update ypbody.c
Libor Peltan [Thu, 8 Apr 2021 11:41:12 +0000 (13:41 +0200)]
knot+libzscanner: avoid undefined behavior (UBSAN)
Vladimír Čunát [Tue, 6 Apr 2021 17:55:58 +0000 (19:55 +0200)]
treewide: fix instances of memcpy(*, NULL, 0)
I don't think they could cause any practical issues,
but they popped out when using sanitizing Knot with Resolver.
Libor Peltan [Thu, 8 Apr 2021 17:14:48 +0000 (19:14 +0200)]
tests: tuned zsk_rollover test
Jan Hak [Thu, 1 Apr 2021 11:29:43 +0000 (13:29 +0200)]
fdset: add checks for a specific valgrind problem that occurs on polling
Daniel Salzman [Fri, 19 Mar 2021 14:31:56 +0000 (15:31 +0100)]
server: merge epoll_ctx with fdset
Jan Hak [Mon, 25 Jan 2021 15:20:23 +0000 (16:20 +0100)]
server: add polling wrapper for unix poll and epoll
Libor Peltan [Thu, 8 Apr 2021 16:19:40 +0000 (18:19 +0200)]
dnssec: fix little double-free
Daniel Salzman [Wed, 7 Apr 2021 11:48:58 +0000 (11:48 +0000)]
Merge branch 'rrsig_expire_overflow' into 'master'
dnssec: avoid overflow in RRSIG expire by capping
See merge request knot/knot-dns!1281
Daniel Salzman [Tue, 6 Apr 2021 19:02:58 +0000 (21:02 +0200)]
README: add libprotobuf-c-dev to dependencies on Debian
Daniel Salzman [Tue, 6 Apr 2021 13:07:33 +0000 (15:07 +0200)]
libdnstap: don't export internal symbols + refactoring
Daniel Salzman [Tue, 6 Apr 2021 08:59:01 +0000 (10:59 +0200)]
libbpf: extract from libcontrib and link directly with libknot
Daniel Salzman [Mon, 5 Apr 2021 14:26:03 +0000 (16:26 +0200)]
Makefiles: rework linker parameters to avoid binary size increase with slibtool + refactoring
relates #722
Libor Peltan [Tue, 6 Apr 2021 13:29:35 +0000 (15:29 +0200)]
dnssec: avoid overflow in RRSIG expire by capping
Daniel Salzman [Wed, 31 Mar 2021 14:07:52 +0000 (14:07 +0000)]
Merge branch 'fedora-make' into 'master'
distro/rpm: add BuildRequires: make
See merge request knot/knot-dns!1278
Jakub Ružička [Tue, 30 Mar 2021 14:53:06 +0000 (16:53 +0200)]
distro/rpm: add BuildRequires: make
https://fedoraproject.org/wiki/Changes/Remove_make_from_BuildRoot
Mirrors downstream Fedora 34 change.
Daniel Salzman [Mon, 29 Mar 2021 18:07:49 +0000 (18:07 +0000)]
Merge branch 'ci_test1' into 'master'
gitlab CI: avoid rebuilding knot when unit tests...
See merge request knot/knot-dns!1277
Libor Peltan [Thu, 25 Mar 2021 14:12:41 +0000 (15:12 +0100)]
gitlab CI: avoid rebuilding knot when unit tests...
...the artifacts (built objects, binaries etc) are taken
from 'build' phase even when they have older mtime
Daniel Salzman [Fri, 26 Mar 2021 11:23:59 +0000 (11:23 +0000)]
Merge branch 'test_catalog_kill' into 'master'
tests/catalog: recover from kill between update and zonedb_reload
See merge request knot/knot-dns!1276
Libor Peltan [Fri, 26 Mar 2021 10:50:46 +0000 (11:50 +0100)]
tests/catalog/kill: control when stucking DS push takes place
Libor Peltan [Thu, 25 Mar 2021 17:56:20 +0000 (18:56 +0100)]
tests/catalog: recover from kill between update and zonedb_reload
Daniel Salzman [Fri, 26 Mar 2021 08:26:09 +0000 (08:26 +0000)]
Merge branch 'catalog_ptr_one_label' into 'master'
catalog: enforce single label for PTR defining member
See merge request knot/knot-dns!1275
Libor Peltan [Thu, 25 Mar 2021 12:48:36 +0000 (13:48 +0100)]
catalog: enforce single label for PTR defining member
Daniel Salzman [Thu, 25 Mar 2021 09:35:50 +0000 (09:35 +0000)]
Merge branch 'journal_consistency_1270' into 'master'
journal: add consistency check to disclose broken journal...
See merge request knot/knot-dns!1274
Libor Peltan [Thu, 25 Mar 2021 09:18:22 +0000 (10:18 +0100)]
journal: add consistency check to disclose broken journal...
...by the bug fixed in
866c3515e4c0654586eedaa62c487db75d50555f
Daniel Salzman [Thu, 25 Mar 2021 07:04:23 +0000 (08:04 +0100)]
doc: extend zone backup limitations
Libor Peltan [Wed, 24 Mar 2021 13:29:58 +0000 (14:29 +0100)]
tests: dont detect alg roll by the count of DNSKEY RRSIGS
Libor Peltan [Wed, 24 Mar 2021 09:19:19 +0000 (10:19 +0100)]
tests: fixed check of alg rollover
Daniel Salzman [Mon, 22 Mar 2021 18:26:43 +0000 (18:26 +0000)]
Merge branch 'fix_difse_zij_master' into 'master'
load: fix storing zone-in-journal with difference-no-serial
See merge request knot/knot-dns!1273
Libor Peltan [Mon, 22 Mar 2021 18:18:09 +0000 (19:18 +0100)]
load: fix storing zone-in-journal with difference-no-serial
Daniel Salzman [Mon, 22 Mar 2021 06:31:35 +0000 (07:31 +0100)]
tests: mute Coverity warning
Jan Hak [Fri, 19 Mar 2021 09:28:32 +0000 (10:28 +0100)]
kdig: tls tfo fix missing include file
Daniel Salzman [Fri, 19 Mar 2021 08:23:10 +0000 (08:23 +0000)]
Merge branch 'share_ksk_check_alg' into 'master'
dnssec: check matching algorithm before sharing KSK
Closes #721
See merge request knot/knot-dns!1271
Libor Peltan [Thu, 18 Mar 2021 16:27:14 +0000 (17:27 +0100)]
dnssec: check matching algorithm before sharing KSK
Daniel Salzman [Thu, 18 Mar 2021 16:02:12 +0000 (16:02 +0000)]
Merge branch 'catalog_refactor' into 'master'
Complete refactoring of catalog zones, little fixes/enh
See merge request knot/knot-dns!1265
Daniel Salzman [Mon, 15 Mar 2021 07:53:26 +0000 (08:53 +0100)]
catalog: add explicit conf parameter to catalog_update_finalize()
Daniel Salzman [Mon, 1 Mar 2021 12:27:33 +0000 (13:27 +0100)]
catalog: move catalog_print() to kcatalogprint
Libor Peltan [Tue, 23 Feb 2021 19:38:26 +0000 (20:38 +0100)]
catalog: complete refactoring with little fixes/enh
Daniel Salzman [Thu, 18 Mar 2021 10:03:31 +0000 (11:03 +0100)]
doc: extend description of 'cds-cdnskey-publish: rollover'
Daniel Salzman [Thu, 18 Mar 2021 08:16:03 +0000 (08:16 +0000)]
Merge branch 'doc_man_key_mgmt' into 'master'
doc: update old irrelevant stuff
See merge request knot/knot-dns!1269
Daniel Salzman [Wed, 17 Mar 2021 12:53:38 +0000 (12:53 +0000)]
Merge branch 'journal_fix_shrinking_merge' into 'master'
journal: fix malformed data when less chunks after merge...
See merge request knot/knot-dns!1270
Libor Peltan [Tue, 16 Mar 2021 16:30:12 +0000 (17:30 +0100)]
journal: fix malformed data when less chunks after merge...
When the merged changeset takes less journal chunks than
the original one, the additional chunks remained there
causing malformed or wrong data. Deleting merged changeset
explicity before re-adding it will get rid of possibly
leftover chunks to remain in journal DB.
Daniel Salzman [Tue, 16 Mar 2021 17:44:41 +0000 (17:44 +0000)]
Merge branch 'keymgr_set_flags' into 'master'
keymgr: recompute keytag after key flag change...
See merge request knot/knot-dns!1268
Daniel Salzman [Tue, 16 Mar 2021 12:35:46 +0000 (13:35 +0100)]
Merge branch 'kdig_tls_tfo'
closes #549
Daniel Salzman [Tue, 16 Mar 2021 11:50:27 +0000 (12:50 +0100)]
doc/kdig: update +fastopen description, add example
Daniel Salzman [Tue, 16 Mar 2021 07:06:17 +0000 (08:06 +0100)]
kdig: fix and unify +https parameter processing
Daniel Salzman [Tue, 16 Mar 2021 07:00:15 +0000 (08:00 +0100)]
kdig: merge https_ctx_connect() with tls_ctx_connect() to remove code duplication
Libor Peltan [Mon, 15 Mar 2021 17:40:03 +0000 (18:40 +0100)]
doc: update old irrelevant stuff
Libor Peltan [Mon, 15 Mar 2021 16:10:52 +0000 (17:10 +0100)]
keymgr: recompute keytag after key flag change...
...in order to avoid wrong SEP bit after KSK versus ZSK change
Also, allow SEP bit setting of already generated key.
Jan Hak [Mon, 15 Mar 2021 15:06:16 +0000 (16:06 +0100)]
kdig: TCP Fast Open support for TLS
Daniel Salzman [Mon, 15 Mar 2021 13:20:10 +0000 (14:20 +0100)]
Merge branch 'requestor_tfo'
Daniel Salzman [Fri, 12 Mar 2021 14:13:27 +0000 (15:13 +0100)]
server: extend log_sock_conf with TFO client
Daniel Salzman [Fri, 12 Mar 2021 11:57:47 +0000 (12:57 +0100)]
mod-dnsproxy: add TCP Fast Open support
Daniel Salzman [Fri, 12 Mar 2021 10:53:46 +0000 (11:53 +0100)]
kdig: force TCP with +fastopen
Daniel Salzman [Thu, 11 Mar 2021 20:39:34 +0000 (21:39 +0100)]
conf: add client TFO option 'server.tcp-fastopen'
Daniel Salzman [Thu, 11 Mar 2021 13:30:46 +0000 (14:30 +0100)]
kdig: fix +fastopen on FreeBSD
Daniel Salzman [Wed, 10 Mar 2021 13:37:01 +0000 (14:37 +0100)]
net/requestor: add support for TFO
Daniel Salzman [Wed, 10 Mar 2021 09:23:34 +0000 (10:23 +0100)]
net: code simplification
Daniel Salzman [Wed, 10 Mar 2021 09:17:19 +0000 (10:17 +0100)]
net: tiny code unification
Daniel Salzman [Thu, 4 Mar 2021 15:29:05 +0000 (16:29 +0100)]
mod-dnstap: fill out the destination address
Libor Peltan [Tue, 9 Mar 2021 18:53:26 +0000 (19:53 +0100)]
tests-extra: add algorithm rollover with shared KSK
Daniel Salzman [Thu, 11 Mar 2021 07:19:27 +0000 (08:19 +0100)]
kdig: print HTTP instead of HTTPS
Daniel Salzman [Wed, 10 Mar 2021 20:31:19 +0000 (20:31 +0000)]
Merge branch 'rpm-fix' into 'master'
rpm: fix for SUSE build and %BASE_VERSION macro
See merge request knot/knot-dns!1267
Jakub Ružička [Wed, 10 Mar 2021 17:07:02 +0000 (18:07 +0100)]
distro/rpm: include module dirs in main package
This should prevent SUSE build from complaining:
directories not owned by a package:
- /usr/lib64/knot
- /usr/lib64/knot/modules-3.1
Jakub Ružička [Wed, 10 Mar 2021 17:05:40 +0000 (18:05 +0100)]
distro/rpm: properly escape %BASE_VERSION
rpm %() macro requires double escaping
Daniel Salzman [Wed, 10 Mar 2021 06:41:19 +0000 (07:41 +0100)]
server: extend socket configuration log message
Daniel Salzman [Tue, 9 Mar 2021 16:28:23 +0000 (17:28 +0100)]
server: fix broken TFO detection
Daniel Salzman [Fri, 5 Mar 2021 15:53:04 +0000 (16:53 +0100)]
kxdpgun: update kxdpgun_CPPFLAGS to fix compilation on openSUSE
Daniel Salzman [Fri, 5 Mar 2021 08:25:57 +0000 (09:25 +0100)]
Merge branch 'apply_dname_multi' into 'master'
nameserver: allow applying one DNAME repeatedly (e.g. DNAME loop)
Closes #714
See merge request knot/knot-dns!1243
Daniel Salzman [Thu, 4 Mar 2021 18:03:42 +0000 (19:03 +0100)]
nameserver: decrease maximum CNAME/DNAME chain length from 20 to 5
The reason for this change is to reduce possible amplification attacks and
other negative effects of long processing loops.
Also most resolvers don't accept multiple jumps without requerying, so this
change should be harmless.
Libor Peltan [Thu, 14 Jan 2021 14:56:37 +0000 (15:56 +0100)]
nameserver: allow applying one DNAME repeatedly (e.g. DNAME loop)
Jakub Ružička [Tue, 2 Mar 2021 11:45:39 +0000 (12:45 +0100)]
Revert "distro/deb: rename knot.tmpfile -> knot.tmpfiles"
This seems to be supported in Debian unstable only.
This reverts commit
289498a7fbb1e6ab2447b52cd466053bd32a0805 .
Daniel Salzman [Tue, 2 Mar 2021 07:20:32 +0000 (08:20 +0100)]
Merge branch 'distro-libmnl' into 'master'
distro: add new libmnl build dep for kxdpgun
See merge request knot/knot-dns!1266
Jakub Ružička [Mon, 1 Mar 2021 15:00:55 +0000 (16:00 +0100)]
distro: add new libmnl build dep for kxdpgun
Daniel Salzman [Mon, 1 Mar 2021 07:58:29 +0000 (08:58 +0100)]
kxdpgun: check socket() return (Coverity)
Daniel Salzman [Mon, 1 Mar 2021 07:46:44 +0000 (08:46 +0100)]
kxdpgun: remove unused code (Coverity)
Daniel Salzman [Thu, 25 Feb 2021 12:01:53 +0000 (13:01 +0100)]
xdp: replace KNOT_XDP_MIN_MEMLOCK with RLIM_INFINITY as we can't determine a reasonable limit
Daniel Salzman [Tue, 23 Feb 2021 16:33:18 +0000 (17:33 +0100)]
Merge branch 'kxdpgun_no_popen' into 'master'
kxdpgun: obtain routes from RTNETLINK instead popen(/sbin/ip)
See merge request knot/knot-dns!1263
Daniel Salzman [Tue, 23 Feb 2021 16:17:41 +0000 (17:17 +0100)]
scripts: rename PowerTools to powertools in CentOS Dockerfile
Very good CentOS 8!
Daniel Salzman [Tue, 23 Feb 2021 16:07:14 +0000 (17:07 +0100)]
scripts: add libmnl to Fedora and Debian Dockerfiles
Daniel Salzman [Tue, 23 Feb 2021 12:16:23 +0000 (13:16 +0100)]
kxdpgun: remove unused popenve
Daniel Salzman [Tue, 23 Feb 2021 11:29:47 +0000 (12:29 +0100)]
Dockerfile: replace iproute2 with libmnl
Libor Peltan [Fri, 19 Feb 2021 17:20:31 +0000 (18:20 +0100)]
kxdpgun: obtain routes from RTNETLINK instead popen(/sbin/ip)
Libor Peltan [Tue, 23 Feb 2021 12:54:05 +0000 (13:54 +0100)]
Merge branch 'conf_reduce_compat' into 'master'
Configuration - reduce compatibility
See merge request knot/knot-dns!1264
Daniel Salzman [Tue, 23 Feb 2021 10:10:40 +0000 (11:10 +0100)]
conf: ignore obsolete default-template-related options
Daniel Salzman [Tue, 23 Feb 2021 09:50:44 +0000 (10:50 +0100)]
conf: ignore obsolete server-related options
Daniel Salzman [Tue, 23 Feb 2021 09:30:55 +0000 (10:30 +0100)]
conf: ignore obsolete zone-related options