]>
git.ipfire.org Git - thirdparty/knot-dns.git/log
Daniel Salzman [Fri, 17 Jan 2020 14:17:30 +0000 (15:17 +0100)]
distro: update deb/copyright
Daniel Salzman [Fri, 17 Jan 2020 11:43:49 +0000 (12:43 +0100)]
xdp: manage the Makefile by autotools
Libor Peltan [Fri, 17 Jan 2020 12:27:01 +0000 (13:27 +0100)]
xdp: get number of threads from RX queue count
Daniel Salzman [Wed, 15 Jan 2020 14:22:49 +0000 (15:22 +0100)]
xdp: rework bpf-kernel without foreign code
Libor Peltan [Wed, 15 Jan 2020 15:41:01 +0000 (16:41 +0100)]
xdp: drop fragmented DNS queries in BPF prog
Libor Peltan [Wed, 15 Jan 2020 13:13:00 +0000 (14:13 +0100)]
xdp: pass fragmented pkts to linux stack
Libor Peltan [Wed, 15 Jan 2020 12:54:44 +0000 (13:54 +0100)]
xdp: fixed BPF program after changed headers
Daniel Salzman [Mon, 13 Jan 2020 13:17:26 +0000 (14:17 +0100)]
contrib: add embedded libbpf 0.0.6
Daniel Salzman [Mon, 13 Jan 2020 12:08:54 +0000 (13:08 +0100)]
xdp: update bpf/parsing_helpers.h
Libor Peltan [Mon, 13 Jan 2020 12:15:54 +0000 (13:15 +0100)]
xdp: ipv6 bugfixes
Libor Peltan [Sat, 11 Jan 2020 14:09:53 +0000 (15:09 +0100)]
xdp: avoid copying MAC addrs multi times
Libor Peltan [Fri, 10 Jan 2020 14:32:01 +0000 (15:32 +0100)]
xdp: multiple code improvements
Libor Peltan [Thu, 9 Jan 2020 14:40:48 +0000 (15:40 +0100)]
xdp: documentation (initial)
Libor Peltan [Thu, 9 Jan 2020 14:06:29 +0000 (15:06 +0100)]
xdp: no debug symbols in bpf program
Libor Peltan [Wed, 8 Jan 2020 09:21:10 +0000 (10:21 +0100)]
xdp: no reserve space for ethernet CRC...
...its not computed anyway
Libor Peltan [Tue, 7 Jan 2020 08:57:53 +0000 (09:57 +0100)]
xdp: fix crash when init failed
peltan [Mon, 6 Jan 2020 17:28:01 +0000 (18:28 +0100)]
xdp: load bpf program exactly once at knotd start
Libor Peltan [Fri, 3 Jan 2020 19:08:38 +0000 (20:08 +0100)]
bugfix: proper closing of bpf object
Libor Peltan [Fri, 3 Jan 2020 14:53:28 +0000 (15:53 +0100)]
xdp: build bpf program manually. Build part of sources
Libor Peltan [Fri, 3 Jan 2020 12:07:22 +0000 (13:07 +0100)]
xdp: bpf program is compiled inside knotd and loaded from /tmp
Libor Peltan [Fri, 27 Dec 2019 11:13:52 +0000 (12:13 +0100)]
xdp: more proper building of bpf-kernel.o
Libor Peltan [Mon, 23 Dec 2019 15:50:34 +0000 (16:50 +0100)]
xdp: support for ipv6
Libor Peltan [Mon, 23 Dec 2019 14:36:19 +0000 (15:36 +0100)]
xdp: listen only on configured port number
Libor Peltan [Fri, 20 Dec 2019 17:44:09 +0000 (18:44 +0100)]
xdp: detect iface name by configured net addr
Vladimír Čunát [Thu, 19 Dec 2019 18:59:12 +0000 (19:59 +0100)]
xsk_configure_socket(): better error handling
Libor Peltan [Wed, 18 Dec 2019 08:44:16 +0000 (09:44 +0100)]
xdp: use more sockets: one per xdp_worker * iface
Libor Peltan [Wed, 18 Dec 2019 11:52:40 +0000 (12:52 +0100)]
server: ifaces are array not list
Libor Peltan [Tue, 17 Dec 2019 16:02:57 +0000 (17:02 +0100)]
xdp: conditional compilation of xdp support
Libor Peltan [Tue, 17 Dec 2019 22:29:38 +0000 (23:29 +0100)]
nitpicks
Libor Peltan [Tue, 17 Dec 2019 14:40:02 +0000 (15:40 +0100)]
xdp: configurable by config file
Vladimír Čunát [Tue, 17 Dec 2019 12:54:01 +0000 (13:54 +0100)]
fix leakage of packet frames, leading to their exhaustion
The driver/card is leaving extra 256 bytes of headroom,
contrary to my expectations - I'm not sure why or if it's allowed.
Libor Peltan [Mon, 16 Dec 2019 12:26:30 +0000 (13:26 +0100)]
xdp: set ulimit for locked memory
Vladimír Čunát [Wed, 11 Dec 2019 13:04:13 +0000 (14:04 +0100)]
fix stopping after 1024 packets
Libor Peltan [Fri, 29 Nov 2019 10:26:55 +0000 (11:26 +0100)]
xdp: initial work to make knot respond over xdp
Libor Peltan [Thu, 28 Nov 2019 16:12:49 +0000 (17:12 +0100)]
code imported from kresd xdp branch
Daniel Salzman [Tue, 21 Apr 2020 12:48:08 +0000 (14:48 +0200)]
Merge branch 'nsec_master_slave3' into 'master'
Little NSEC3 fixes
See merge request knot/knot-dns!1121
David Vašek [Tue, 14 Apr 2020 14:45:56 +0000 (16:45 +0200)]
zonefile: properly log each individual fault as an error or a warning
Until now, after the first error, both errors and warnings had been logged as errors.
Libor Peltan [Tue, 3 Mar 2020 16:21:33 +0000 (17:21 +0100)]
nsec3 incremental fix: detect changed NSEC3PARAM by update
Libor Peltan [Tue, 21 Apr 2020 10:19:24 +0000 (12:19 +0200)]
bugfix: recreate whole NSEC(3) when chain affected by update
Alexander Schultz [Mon, 20 Apr 2020 14:56:12 +0000 (10:56 -0400)]
kdig: move check for invalid OCSP data earlier in verify_certificates
This causes the error messages when invalid OCSP data is found to be the ones
found in the verify_ocsp function, rather than than the accurate, but less
helpful "handshake failed" messages that currently gets displayed.
Daniel Salzman [Mon, 20 Apr 2020 17:59:22 +0000 (19:59 +0200)]
Merge branch 'onlinesign_allow_kzsk' into 'master'
onlinesign: allow explicit single-type-signing:off
See merge request knot/knot-dns!1120
Libor Peltan [Mon, 20 Apr 2020 11:41:52 +0000 (13:41 +0200)]
onlinesign: allow explicit single-type-signing:off
Daniel Salzman [Mon, 20 Apr 2020 11:29:21 +0000 (13:29 +0200)]
Merge branch 'dnssec_failover' into 'master'
dnssec: re-plan sign when failed
See merge request knot/knot-dns!1119
Libor Peltan [Mon, 20 Apr 2020 10:55:37 +0000 (12:55 +0200)]
dnssec: re-plan sign when failed
Daniel Salzman [Mon, 20 Apr 2020 08:52:00 +0000 (10:52 +0200)]
Merge branch 'fix_shared_ksk' into 'master'
bugfix: shared KSK: race-condition preventer not working with initial first key
See merge request knot/knot-dns!1118
Daniel Salzman [Mon, 20 Apr 2020 08:33:49 +0000 (10:33 +0200)]
Merge branch 'fix_orphan_purge' into 'master'
bugfix: journal orphan purge not working due to concurrent RO txns
See merge request knot/knot-dns!1116
Libor Peltan [Mon, 20 Apr 2020 08:04:17 +0000 (10:04 +0200)]
bugfix: shared KSK: race-condition preventer not working with initial first key
Daniel Salzman [Sun, 19 Apr 2020 14:21:52 +0000 (16:21 +0200)]
zone-tree: mute Coverity (Null pointer dereferences)
Daniel Salzman [Fri, 17 Apr 2020 17:39:41 +0000 (19:39 +0200)]
Merge branch 'kjournalprint_zd' into 'master'
kjournalprint: -z -d lists zones with sizes
See merge request knot/knot-dns!1115
Daniel Salzman [Fri, 17 Apr 2020 17:12:26 +0000 (19:12 +0200)]
Merge branch 'fix_rslot_kaspdb_singleton' into 'master'
KASP db: use server->kaspdb also in onlinesign...
See merge request knot/knot-dns!1117
Libor Peltan [Fri, 17 Apr 2020 14:43:14 +0000 (16:43 +0200)]
KASP db: use server->kaspdb also in onlinesign...
...otherwise the extra environment breaks up server->kaspdb once deinitialized.
This caused rarely MDB_BAD_RSLOT after onlinesign reload.
Libor Peltan [Thu, 16 Apr 2020 13:06:37 +0000 (15:06 +0200)]
bugfix: journal orphan purge not working due to concurrent RO txns
Libor Peltan [Thu, 16 Apr 2020 09:14:32 +0000 (11:14 +0200)]
kjournalprint: -z -d lists zones with sizes
Daniel Salzman [Wed, 15 Apr 2020 19:31:43 +0000 (21:31 +0200)]
Merge branch 'nsec3_fix_ent_optout' into 'master'
nsec3: bugfix: empty-non-terminal above unchanged deleg has NSEC3:
See merge request knot/knot-dns!1113
Daniel Salzman [Wed, 15 Apr 2020 17:51:39 +0000 (19:51 +0200)]
doc: extend module onlinesign limitations
Libor Peltan [Wed, 15 Apr 2020 10:53:44 +0000 (12:53 +0200)]
nsec3: bugfix: fix previous - effectivness and nicer code
Libor Peltan [Tue, 31 Mar 2020 15:00:19 +0000 (17:00 +0200)]
bugfix: journal stuck on leaked txn if mismanaged zone serial
Daniel Salzman [Tue, 14 Apr 2020 18:01:51 +0000 (20:01 +0200)]
doc: some improvements of the journal behaviour
Daniel Salzman [Tue, 14 Apr 2020 10:19:14 +0000 (12:19 +0200)]
doc/knotc: add note about user running the command if creating confdb
Daniel Salzman [Tue, 14 Apr 2020 09:38:43 +0000 (11:38 +0200)]
doc: add link to mod-queryacl from ACL
Libor Peltan [Mon, 30 Mar 2020 16:47:06 +0000 (18:47 +0200)]
nsec3: bugfix: empty-non-terminal above unchanged deleg has NSEC3:
this happens when an incremental update removes a record from
a node, which becomes empty-non-terminal, and there is a
delegation below the node. In this situation, NSEC3 record
for this empty-non-terminal was created, which is not against
RFCs, but inconsistent with general Knot behaviour.
The fix always iterates to a subtree of empty-non-terminal
with mark_empty on incremental update.
David Vašek [Tue, 24 Mar 2020 14:27:48 +0000 (15:27 +0100)]
utils: workaround for EAI_ADDRFAMILY not implemented in FreeBSD/macOS anymore
FreeBSD removed EAI_ADDRFAMILY as a result of RFC 2553 having been obsoleted by RFC 3493,
which doesn't mention EAI_ADDRFAMILY any longer. As FreeBSD (and macOS) return EAI_NONAME
in such a case, some EAI_NONAME errors ("Name does not resolve for server@service") are being
sacrified on FreeBSD/macOS and others, so as to avoid reporting an error for every
configured resolver that doesn't have a network addresses in the requested address family.
Linux's glibc, OpenBSD, NetBSD, and DragonFlyBSD still have EAI_ADDRFAMILY implemented, at
least according to man pages. FreeBSD, macOS, and e.g. Solaris do not. Let's suppose that
these all return EAI_NONAME instead of the original EAI_ADDRFAMILY.
Libor Peltan [Fri, 3 Apr 2020 10:56:06 +0000 (12:56 +0200)]
Merge branch 'sockaddr_cmp_no_port' into 'master'
Allow sockaddr_cmp() to ignore port if needed
See merge request knot/knot-dns!1114
Daniel Salzman [Fri, 3 Apr 2020 10:47:16 +0000 (12:47 +0200)]
contrib: allow sockaddr_cmp() to ignore port if needed
Libor Peltan [Tue, 31 Mar 2020 19:31:10 +0000 (21:31 +0200)]
bugfix: DDNS: reconstruct TTL of removed RR to proper cancelout
Daniel Salzman [Sun, 22 Mar 2020 21:03:39 +0000 (22:03 +0100)]
kjournalprint: improve journal parameter description
Daniel Salzman [Sun, 22 Mar 2020 20:58:09 +0000 (21:58 +0100)]
kjournalprint: print better message if specified journal is invalid
David Vašek [Fri, 20 Mar 2020 14:25:15 +0000 (15:25 +0100)]
kjournalprint: report an error on nonexistent or unrecognised DB when listing zones
At the same time, fix the wrong return value from journals_walk().
David Vašek [Thu, 19 Mar 2020 14:18:46 +0000 (15:18 +0100)]
kdig: error reporting improvements
Provide more detailed error reports when translating an address of the server.
Also, don't report each server that doesn't have a network addresses in the requested address family.
Daniel Salzman [Fri, 20 Mar 2020 07:37:14 +0000 (08:37 +0100)]
doc/onlinesign: some improvements
Daniel Salzman [Thu, 19 Mar 2020 12:41:15 +0000 (13:41 +0100)]
Merge branch 'fix_nsec3_ent' into 'master'
nsec3 increm upd: better deleg and empty-non-term handling
See merge request knot/knot-dns!1110
Daniel Salzman [Thu, 19 Mar 2020 11:59:48 +0000 (12:59 +0100)]
nsec: unify opt-out parameter
Libor Peltan [Tue, 17 Mar 2020 11:18:24 +0000 (12:18 +0100)]
nsec3 increm upd: better deleg and empty-non-term handling
Libor Peltan [Thu, 19 Mar 2020 12:18:00 +0000 (13:18 +0100)]
minor coding improvement
Libor Peltan [Wed, 18 Mar 2020 13:25:12 +0000 (14:25 +0100)]
zone update commit error states test...
...related to
63bab4850d068b57a611ed8920bf7fefe134198a
Libor Peltan [Wed, 18 Mar 2020 11:17:18 +0000 (12:17 +0100)]
keymgr: bugfix: share command not working
Daniel Salzman [Tue, 17 Mar 2020 17:35:40 +0000 (18:35 +0100)]
Merge branch 'upd_commit_fix' into 'master'
zone update commit: fixed handling error states
See merge request knot/knot-dns!1109
Libor Peltan [Mon, 16 Mar 2020 20:10:57 +0000 (21:10 +0100)]
zone update commit: fixed handling error states
David Vašek [Mon, 16 Mar 2020 13:28:30 +0000 (14:28 +0100)]
nameserver: fix the test of the zones's content
It's the zone's content from which we are really answering that must be verified.
If the zone's content changes while the server is answering, the new (possibly changed)
content doesn't matter.
Daniel Salzman [Mon, 2 Mar 2020 09:40:03 +0000 (10:40 +0100)]
distro/deb: partially synchronize with Debian
Daniel Salzman [Mon, 2 Mar 2020 09:05:02 +0000 (10:05 +0100)]
conf: decrease 'journal-db-max-size' default value to 512 MiB on 32-bit systems
Daniel Salzman [Sat, 29 Feb 2020 19:48:43 +0000 (20:48 +0100)]
Merge branch 'soa_min_ttl_nxd' into 'master'
bugfix: NXDOMAIN authority SOA has TTL limited by minimum-ttl field
See merge request knot/knot-dns!1101
Libor Peltan [Mon, 27 Jan 2020 13:45:25 +0000 (14:45 +0100)]
bugfix: NXDOMAIN authority SOA has TTL limited by minimum-ttl field
See https://tools.ietf.org/html/rfc2308#section-3
Libor Peltan [Wed, 26 Feb 2020 12:01:45 +0000 (13:01 +0100)]
xfr: don't failover to AXFR is master is outdated
Libor Peltan [Tue, 25 Feb 2020 16:21:40 +0000 (17:21 +0100)]
nsec3: fix crash when zone contains solo NSEC
Jan Hak [Fri, 21 Feb 2020 09:39:55 +0000 (10:39 +0100)]
kdig: enhanced multiline output for PRIVATEDNS and PRIVATEOID algorithms
closes #334
Daniel Salzman [Mon, 24 Feb 2020 09:40:23 +0000 (10:40 +0100)]
scripts: add missing 'diff' and 'cmp' from the Fedora Dockerfile by installing 'diffutils'
Daniel Salzman [Mon, 24 Feb 2020 08:30:07 +0000 (09:30 +0100)]
contrib: always link against libpthread due to the sem_* functions used
Libor Peltan [Fri, 21 Feb 2020 14:44:58 +0000 (15:44 +0100)]
node/nsec3 important comment
Daniel Salzman [Thu, 20 Feb 2020 12:20:16 +0000 (13:20 +0100)]
keymgr: mute unused warning if
Ed25519 and Ed448 not available
Daniel Salzman [Thu, 20 Feb 2020 12:05:45 +0000 (13:05 +0100)]
Merge branch 'bitfehler/keymgr-import-eddsa' into 'master'
Support EdDSA curves in keymgr import-bind
See merge request knot/knot-dns!1107
Daniel Salzman [Thu, 20 Feb 2020 08:46:34 +0000 (09:46 +0100)]
doc: add tip on setting 'propagation-delay' if backing up KASP DB
Daniel Salzman [Wed, 19 Feb 2020 18:22:18 +0000 (19:22 +0100)]
libknot: add 'DELETE' mnemonic for DNS key algorithm 0
Daniel Salzman [Wed, 19 Feb 2020 17:54:21 +0000 (18:54 +0100)]
ci: remove broken documentation deployment
Daniel Salzman [Wed, 19 Feb 2020 17:53:56 +0000 (18:53 +0100)]
ci: add EPUB to documentation generation
Daniel Salzman [Wed, 19 Feb 2020 17:48:43 +0000 (18:48 +0100)]
Merge branch 'doc_epub' into 'master'
doc: added EPUB target into Makefile
See merge request knot/knot-dns!1108
Daniel Salzman [Fri, 24 Jan 2020 13:37:24 +0000 (14:37 +0100)]
doc: added EPUB target into Makefile
Daniel Salzman [Tue, 18 Feb 2020 07:55:01 +0000 (08:55 +0100)]
nameserver: set also AA bit in error reply if qdata->err_truncated is active and keep NOERROR
Daniel Salzman [Wed, 29 Jan 2020 14:12:43 +0000 (15:12 +0100)]
tests-extra/rrl: check for AA and NOERROR on slipped responses
Daniel Salzman [Mon, 17 Feb 2020 10:06:13 +0000 (11:06 +0100)]
doc/kdig: update man page