]>
git.ipfire.org Git - thirdparty/knot-dns.git/log
Jan Hak [Thu, 28 Jan 2021 12:34:44 +0000 (13:34 +0100)]
kqueue: polling packets using kqueue (for BSD)
Signed-off-by: Jan Hak <jan.hak@nic.cz>
Jan Hak [Wed, 20 Jan 2021 10:26:49 +0000 (11:26 +0100)]
knotd: epoll implemented by AIO
Signed-off-by: Jan Hak <jan.hak@nic.cz>
Jan Hak [Fri, 15 Jan 2021 09:24:26 +0000 (10:24 +0100)]
epoll: epoll for udp (classic and xdp)
Signed-off-by: Jan Hak <jan.hak@nic.cz>
Jan Hák [Fri, 4 Dec 2020 13:10:47 +0000 (14:10 +0100)]
epoll: rebased - fully functional
Signed-off-by: Jan Hák <jan.hak@nic.cz>
Daniel Salzman [Mon, 30 Nov 2020 18:54:03 +0000 (19:54 +0100)]
Merge branch 'difse_req_zij' into 'master'
conf: difference-no-serial requires zone-in-journal
See merge request knot/knot-dns!1224
Libor Peltan [Sun, 29 Nov 2020 17:24:34 +0000 (18:24 +0100)]
conf: difference-no-serial requires zone-in-journal
Daniel Salzman [Mon, 30 Nov 2020 14:08:36 +0000 (15:08 +0100)]
distro/deb: don't explictly link agains libjemalloc
It seems that new versions of jemalloc (5.2) behave much worse than standard
libc malloc. The memory consumption only grows after huge AXFRs.
Daniel Salzman [Thu, 26 Nov 2020 09:14:23 +0000 (10:14 +0100)]
Merge branch 'zij_store_reload' into 'master'
Zij store reload
See merge request knot/knot-dns!1221
Libor Peltan [Tue, 24 Nov 2020 17:46:32 +0000 (18:46 +0100)]
load: proper check of zone-in-journal non-existence before storing it
see for reference:
https://gitlab.nic.cz/knot/knot-dns/-/commit/
5d8d399d39ad8840b55b768b1a8625b91ce35837
https://gitlab.nic.cz/knot/knot-dns/-/commit/
75632433db952613e505e8a0f031c225c839fb97
Libor Peltan [Tue, 24 Nov 2020 17:47:10 +0000 (18:47 +0100)]
conf: flag for zone reload after journal-content changed
Libor Peltan [Wed, 25 Nov 2020 12:16:29 +0000 (13:16 +0100)]
zonedb_load: force LOAD event after zone dynamically reconfigured
...this only works with knotc conf-commit, not knotc reload
Libor Peltan [Wed, 25 Nov 2020 12:13:34 +0000 (13:13 +0100)]
tests-extra: allow setting of zonefile-load
Daniel Salzman [Tue, 24 Nov 2020 13:05:05 +0000 (14:05 +0100)]
Merge branch 'nsec_ttl_soa_ttl' into 'master'
NSEC(3): set TTL to min(SOA TTL, SOA minimum)
See merge request knot/knot-dns!1219
Libor Peltan [Tue, 24 Nov 2020 11:39:16 +0000 (12:39 +0100)]
NSEC(3): set TTL to min(SOA TTL, SOA minimum)
Libor Peltan [Mon, 23 Nov 2020 11:46:15 +0000 (12:46 +0100)]
Merge branch 'fix_local_info' into 'master'
Fix local info
Closes #702
See merge request knot/knot-dns!1218
Daniel Salzman [Mon, 23 Nov 2020 08:52:36 +0000 (09:52 +0100)]
kdig: use matching memory deallocation calloc()/free() vs getaddrinfo()/freeaddrinfo()
Libor Peltan [Wed, 18 Nov 2020 15:24:04 +0000 (16:24 +0100)]
kdig: dont overwrite local info if configured explicitly
Libor Peltan [Fri, 20 Nov 2020 15:05:27 +0000 (16:05 +0100)]
zonedb: bugfix crash after reload with modules
Daniel Salzman [Fri, 20 Nov 2020 08:37:24 +0000 (09:37 +0100)]
Merge branch 'synt_cname_noerror' into 'master'
DNAME: synthesized CNAME might be perfect answer to CNAME query
See merge request knot/knot-dns!1217
Libor Peltan [Mon, 16 Nov 2020 10:50:28 +0000 (11:50 +0100)]
DNAME: synthesized CNAME might be perfect answer to CNAME query
Libor Peltan [Wed, 18 Nov 2020 15:19:11 +0000 (16:19 +0100)]
kdig: fix double free by joint allocation of ai_addr
David Vašek [Fri, 13 Nov 2020 22:01:21 +0000 (23:01 +0100)]
tests-extra: zone/reload_force -- more time to respond to knotc under Valgrind
Daniel Salzman [Fri, 13 Nov 2020 10:46:33 +0000 (11:46 +0100)]
Merge branch 'zone_reload_force' into 'master'
zone reload with modules
See merge request knot/knot-dns!1201
Libor Peltan [Mon, 9 Nov 2020 17:13:28 +0000 (18:13 +0100)]
zone: wait for running event to finish when reloading modules
Libor Peltan [Wed, 14 Oct 2020 16:47:14 +0000 (18:47 +0200)]
zone: add support for reload with modules
Libor Peltan [Thu, 12 Nov 2020 16:17:19 +0000 (17:17 +0100)]
tests: fix no_resign on newer systems where RSASHA1 doesnt work
Libor Peltan [Wed, 11 Nov 2020 16:02:40 +0000 (17:02 +0100)]
test: wait for zone restore to finish before stopping server
Libor Peltan [Tue, 10 Nov 2020 16:23:00 +0000 (17:23 +0100)]
Merge branch 'rcode_qcount0' into 'master'
Return FORMERR if no query and known OPCODE, but NOTIMPL if unknown OPCODE
See merge request knot/knot-dns!1216
Daniel Salzman [Tue, 10 Nov 2020 14:16:12 +0000 (15:16 +0100)]
nameserver: return FORMERR if no query and known OPCODE, but NOTIMPL if unknown OPCODE
David Vašek [Thu, 5 Nov 2020 08:44:50 +0000 (09:44 +0100)]
tests-extra: zone/backup_multi -- make the test even more stable under Valgrind
Full restore (i.e. until the zone is available) sometimes needs much time.
The blocking mode adds to sleep() and it doesn't slow down the test more than needed.
Daniel Salzman [Sun, 8 Nov 2020 17:50:22 +0000 (18:50 +0100)]
Merge branch 'zone_flags_lock' into 'master'
zone: use a mutex for access to zone->flags
See merge request knot/knot-dns!1215
Libor Peltan [Fri, 6 Nov 2020 16:51:10 +0000 (17:51 +0100)]
zone: use a mutex for access to zone->flags
Daniel Salzman [Fri, 6 Nov 2020 15:12:37 +0000 (16:12 +0100)]
keymgr: fix warning 'format specifies type 'unsigned long' but the argument has type 'knot_time_t' on OpenBSD
Jan Hák [Thu, 5 Nov 2020 11:52:00 +0000 (12:52 +0100)]
kdig: DoH handshake with server name from other arguments
fixes #700
David Vašek [Mon, 2 Nov 2020 17:18:01 +0000 (18:18 +0100)]
doc: come corrections after the spelling and grammar changes
Paul Dee [Tue, 27 Oct 2020 17:58:28 +0000 (18:58 +0100)]
doc: spelling and grammar fixes
Daniel Salzman [Fri, 6 Nov 2020 09:28:18 +0000 (10:28 +0100)]
fixup! xdp: add XDP mode detection in server
The BPF filter has to be loaded before this detection!
Daniel Salzman [Thu, 5 Nov 2020 20:16:02 +0000 (21:16 +0100)]
kxdpgun: unify error logging
Daniel Salzman [Thu, 5 Nov 2020 19:43:37 +0000 (20:43 +0100)]
xdp: fix typo in knot_eth_xdp_mode() argument
Daniel Salzman [Wed, 4 Nov 2020 14:25:30 +0000 (15:25 +0100)]
Merge branch 'nsec_lowercase' into 'master'
kzonecheck: lowercase domain name when checking NSEC
Closes #699
See merge request knot/knot-dns!1214
Jan Hák [Wed, 4 Nov 2020 13:35:02 +0000 (14:35 +0100)]
kzonecheck: lowercase domain name when checking NSEC
Signed-off-by: Jan Hák <jan.hak@nic.cz>
Vladimír Čunát [Wed, 4 Nov 2020 12:59:15 +0000 (13:59 +0100)]
xdp: documentation improvements
Libor Peltan [Wed, 4 Nov 2020 11:35:27 +0000 (12:35 +0100)]
Merge branch 'xdp_mode' into 'master'
Xdp mode detection
See merge request knot/knot-dns!1212
Libor Peltan [Tue, 3 Nov 2020 18:21:42 +0000 (19:21 +0100)]
fixup! keymgr: import Revoked timer from Bind
Daniel Salzman [Tue, 3 Nov 2020 13:44:39 +0000 (14:44 +0100)]
xdp: add XDP mode detection in server
Daniel Salzman [Tue, 3 Nov 2020 12:41:57 +0000 (13:41 +0100)]
xdp: add XDP mode detection via knot_eth_xdp_mode()
Daniel Salzman [Tue, 3 Nov 2020 12:15:48 +0000 (13:15 +0100)]
Merge branch 'import_bind_revoked' into 'master'
keymgr: import Revoked timer from Bind
See merge request knot/knot-dns!1211
Libor Peltan [Tue, 3 Nov 2020 12:09:11 +0000 (13:09 +0100)]
keymgr: import Revoked timer from Bind
Libor Peltan [Tue, 3 Nov 2020 09:41:46 +0000 (10:41 +0100)]
test/semcheck: dont use SHA1 for DS anymore
Daniel Salzman [Mon, 2 Nov 2020 20:31:54 +0000 (21:31 +0100)]
libdnssec: rename reserved argument name 'explicit' at dnssec_algorithm_reproducible()
Vladimír Čunát [Thu, 29 Oct 2020 07:23:00 +0000 (08:23 +0100)]
libdnssec: respect local GnuTLS policy in dnssec_algorithm_key_support()
Daniel Salzman [Mon, 2 Nov 2020 12:57:49 +0000 (13:57 +0100)]
kxdpgun: remove ARP from common error message
Jan Hák [Fri, 30 Oct 2020 14:51:03 +0000 (15:51 +0100)]
knotd: send lower-cased zone name
Signed-off-by: Jan Hák <jan.hak@nic.cz>
Daniel Salzman [Mon, 2 Nov 2020 09:50:00 +0000 (10:50 +0100)]
Merge branch 'distrotest-update' into 'master'
distro/tests: update distributions
See merge request knot/knot-dns!1210
Tomas Krizek [Fri, 30 Oct 2020 16:14:14 +0000 (17:14 +0100)]
distro/tests: update distributions
- update fedora to 33
- add ubunut:groovy
Tomas Krizek [Fri, 30 Oct 2020 16:00:56 +0000 (17:00 +0100)]
ci: allow failure of obs:build:all
This job tends to fail very often, but very frequently due to issues
with OBS itself - outside of our control. The output of the job can
still be useful to check manually, e.g. before releases.
Tomas Krizek [Fri, 30 Oct 2020 15:59:27 +0000 (16:59 +0100)]
ci: re-try OBS distrotests
Often, the VM fails to boot (even twice in the row, as already handled
by the test itself) which leads to false negative result.
These nightly/weekly tests fail far too often (at least on of the ~7
tests) and generate annoying notifications.
Adding yet another layer of retries should reduce the number of false
negatives without diminishing the value of the test (since the real
packaging issues are 100 % reproducible).
Libor Peltan [Fri, 30 Oct 2020 10:56:00 +0000 (11:56 +0100)]
tests: align with keymgr now logging to stderr
Daniel Salzman [Thu, 29 Oct 2020 15:44:50 +0000 (16:44 +0100)]
Merge branch 'prevent_keytag_conflict' into 'master'
dnssec: prevent keytag conflict when generating key
See merge request knot/knot-dns!1191
Libor Peltan [Tue, 6 Oct 2020 16:04:32 +0000 (18:04 +0200)]
dnssec: prevent keytag conflict when generating key
Daniel Salzman [Thu, 29 Oct 2020 13:30:47 +0000 (14:30 +0100)]
Merge branch 'offline_ksk_check_conf' into 'master'
offline KSK: check configuration options before doing anything
See merge request knot/knot-dns!1208
Libor Peltan [Thu, 29 Oct 2020 13:06:28 +0000 (14:06 +0100)]
keymgr: check offline KSK configuration options before doing anything
Daniel Salzman [Thu, 29 Oct 2020 13:05:14 +0000 (14:05 +0100)]
keymgr: log errors to stderr
Daniel Salzman [Mon, 26 Oct 2020 14:36:46 +0000 (15:36 +0100)]
Merge branch 'timer_created' into 'master'
dnssec: fixes around timer Created:
See merge request knot/knot-dns!1207
Libor Peltan [Mon, 26 Oct 2020 14:29:57 +0000 (15:29 +0100)]
dnssec: fixes around timer Created:
1) dont set it to zero when import-bind
2) event if its zero, dont block KSK rollover
Daniel Salzman [Mon, 26 Oct 2020 11:07:48 +0000 (12:07 +0100)]
Merge branch 'kzonecheck_clarify' into 'master'
kzonecheck: clarify if the dnssec-checks shall be done
See merge request knot/knot-dns!1198
Libor Peltan [Mon, 12 Oct 2020 16:29:24 +0000 (18:29 +0200)]
kzonecheck: clarify if the dnssec-checks shall be done
Daniel Salzman [Mon, 26 Oct 2020 08:58:37 +0000 (09:58 +0100)]
server: fix resource leak if server_init_iface() fails
Daniel Salzman [Mon, 26 Oct 2020 07:43:55 +0000 (08:43 +0100)]
server: strict server startup (exit if configure_threads() fails)
David Vašek [Wed, 21 Oct 2020 16:30:42 +0000 (18:30 +0200)]
server: simplify error reporting when configure_sockets() fails
David Vašek [Wed, 14 Oct 2020 20:08:41 +0000 (22:08 +0200)]
server: strict server startup (exit if any port binding fails)
Use of NET_BIND_NONLOCAL (i.e. IP*_BINDANY or IP_FREEBIND) is still present
as a fallback when bind() returns EADDRNOTAVAIL.
Daniel Salzman [Sun, 25 Oct 2020 18:36:32 +0000 (19:36 +0100)]
Merge branch 'kxdpgun_localip' into 'master'
kxdpgun: allow override of local IP
See merge request knot/knot-dns!1204
Libor Peltan [Tue, 20 Oct 2020 13:15:47 +0000 (15:15 +0200)]
kxdpgun: allow override of local IP
Daniel Salzman [Sun, 25 Oct 2020 16:43:50 +0000 (17:43 +0100)]
Merge branch 'kdig_badcookie_max' into 'master'
kdig: limit re-tries on BADCOOKIE
See merge request knot/knot-dns!1205
Daniel Salzman [Thu, 22 Oct 2020 14:20:23 +0000 (16:20 +0200)]
Merge branch 'fix-typos' into 'master'
doc: fix typos found by lintian
See merge request knot/knot-dns!1206
Jakub Ružička [Thu, 22 Oct 2020 13:40:08 +0000 (15:40 +0200)]
doc: fix typos found by lintian
Daniel Salzman [Thu, 22 Oct 2020 08:20:50 +0000 (10:20 +0200)]
doc: add note about CONFIG_XDP_SOCKETS
Libor Peltan [Wed, 21 Oct 2020 10:13:03 +0000 (12:13 +0200)]
kdig: limit re-tries on BADCOOKIE
...this also avoids SIGSEGV after infinite recursion
Daniel Salzman [Sat, 17 Oct 2020 19:11:49 +0000 (21:11 +0200)]
doc: add libbpf to optional requirements
Daniel Salzman [Sat, 17 Oct 2020 18:54:49 +0000 (20:54 +0200)]
distro/deb: update libknot symbols
Daniel Salzman [Sat, 17 Oct 2020 17:53:53 +0000 (19:53 +0200)]
knotc: increase history length to 1000
Daniel Salzman [Sat, 17 Oct 2020 17:52:49 +0000 (19:52 +0200)]
knotc: don't store empty command to history and store before command execution
Daniel Salzman [Sat, 17 Oct 2020 17:51:13 +0000 (19:51 +0200)]
knotc: don't store adjacent identical commands to history
Daniel Salzman [Sat, 17 Oct 2020 18:44:52 +0000 (20:44 +0200)]
doc: extend migration to 3.0
Daniel Salzman [Fri, 16 Oct 2020 15:40:27 +0000 (17:40 +0200)]
Merge branch 'edns_extended_err' into 'master'
EDNS: extended error in kdig
See merge request knot/knot-dns!1202
Daniel Salzman [Fri, 16 Oct 2020 15:15:09 +0000 (17:15 +0200)]
EDNS: use EDE abbrevition and knot lookup structure
Libor Peltan [Thu, 15 Oct 2020 16:20:24 +0000 (18:20 +0200)]
EDNS: extended error in kdig
Daniel Salzman [Tue, 13 Oct 2020 09:22:32 +0000 (11:22 +0200)]
Revert "server: don't use SO_REUSEADDR socket option"
Without SO_REUSEADDR re-binding to addresses can fail with e.g.:
knotd: error: cannot bind address ::@53 TCP (address already in use)
This reverts commit
43c4c513d33531af2dd8bfa3597929611a9ab1dd .
Daniel Salzman [Tue, 13 Oct 2020 07:41:58 +0000 (09:41 +0200)]
Merge branch 'axfr_16kib' into 'master'
Axfr 16kib
See merge request knot/knot-dns!1173
Daniel Salzman [Mon, 12 Oct 2020 14:25:29 +0000 (16:25 +0200)]
Merge branch 'multimaster_retransfer' into 'master'
axfr: force AXFR from just one master, rest normally
See merge request knot/knot-dns!1197
Libor Peltan [Mon, 12 Oct 2020 13:49:01 +0000 (15:49 +0200)]
axfr: force AXFR from just one master, rest normally
Daniel Salzman [Fri, 9 Oct 2020 16:58:26 +0000 (18:58 +0200)]
distro/deb: fix libknot and libdnssec symbols
Daniel Salzman [Fri, 9 Oct 2020 15:45:36 +0000 (17:45 +0200)]
Merge branch 'restore_zf_mk_path' into 'master'
backup: create dir path when restoring zonefile
See merge request knot/knot-dns!1196
Libor Peltan [Fri, 9 Oct 2020 15:38:50 +0000 (17:38 +0200)]
backup: create dir path when restoring zonefile
Daniel Salzman [Fri, 9 Oct 2020 12:49:09 +0000 (14:49 +0200)]
Merge branch 'test_semcheck_algo7' into 'master'
tests: semcheck avoid obsolete algorithm in some test cases
See merge request knot/knot-dns!1193
Daniel Salzman [Fri, 9 Oct 2020 12:46:19 +0000 (14:46 +0200)]
Merge branch 'kzonecheck_no_dnssec' into 'master'
kzonecheck: option to skip DNSSEC checks
Closes #695
See merge request knot/knot-dns!1195
Libor Peltan [Fri, 9 Oct 2020 11:58:52 +0000 (13:58 +0200)]
kzonecheck: option to skip DNSSEC checks
Daniel Salzman [Fri, 9 Oct 2020 06:49:04 +0000 (08:49 +0200)]
Merge branch 'test_backup_fix' into 'master'
tests-extra: zone/backup_multi -- make the test stable under Valgrind
See merge request knot/knot-dns!1194
David Vašek [Thu, 8 Oct 2020 21:13:21 +0000 (23:13 +0200)]
tests-extra: zone/backup_multi -- make the test stable under Valgrind
Libor Peltan [Thu, 8 Oct 2020 18:45:35 +0000 (20:45 +0200)]
tests: semcheck avoid obsolete algorithm in some test cases
this does not fix the tests completely
it just makes the tests pass on new gnutls
which denies any old algorithms whatsoever