Commit graph

16169 commits

Author SHA1 Message Date
Daniel Salzman
d371c2e1fb xdp: add XDP mode detection via knot_eth_xdp_mode() 2020-11-03 15:13:32 +01:00
Daniel Salzman
d5730bff8b Merge branch 'import_bind_revoked' into 'master'
keymgr: import Revoked timer from Bind

See merge request knot/knot-dns!1211
2020-11-03 13:15:48 +01:00
Libor Peltan
9cc3d346f8 keymgr: import Revoked timer from Bind 2020-11-03 13:09:11 +01:00
Libor Peltan
1798161e87 test/semcheck: dont use SHA1 for DS anymore 2020-11-03 10:41:46 +01:00
Daniel Salzman
31f121d3a0 libdnssec: rename reserved argument name 'explicit' at dnssec_algorithm_reproducible() 2020-11-02 21:34:21 +01:00
Vladimír Čunát
b0c6f0709a libdnssec: respect local GnuTLS policy in dnssec_algorithm_key_support() 2020-11-02 21:34:21 +01:00
Daniel Salzman
5eb734f1cf kxdpgun: remove ARP from common error message 2020-11-02 13:57:49 +01:00
Jan Hák
e3d0dc9137 knotd: send lower-cased zone name
Signed-off-by: Jan Hák <jan.hak@nic.cz>
2020-11-02 12:23:36 +01:00
Daniel Salzman
0c3e285e5c Merge branch 'distrotest-update' into 'master'
distro/tests: update distributions

See merge request knot/knot-dns!1210
2020-11-02 10:50:00 +01:00
Tomas Krizek
6ec9d18056
distro/tests: update distributions
- update fedora to 33
- add ubunut:groovy
2020-10-30 17:14:14 +01:00
Tomas Krizek
8ac5a9b619
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.
2020-10-30 17:00:56 +01:00
Tomas Krizek
e03604e3f8
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).
2020-10-30 16:59:27 +01:00
Libor Peltan
e2ef2399fb tests: align with keymgr now logging to stderr 2020-10-30 11:56:00 +01:00
Daniel Salzman
568137eb97 Merge branch 'prevent_keytag_conflict' into 'master'
dnssec: prevent keytag conflict when generating key

See merge request knot/knot-dns!1191
2020-10-29 16:44:50 +01:00
Libor Peltan
50fd78aec8 dnssec: prevent keytag conflict when generating key 2020-10-29 16:34:04 +01:00
Daniel Salzman
d62b8c4396 Merge branch 'offline_ksk_check_conf' into 'master'
offline KSK: check configuration options before doing anything

See merge request knot/knot-dns!1208
2020-10-29 14:30:47 +01:00
Libor Peltan
472ee2e7f4 keymgr: check offline KSK configuration options before doing anything 2020-10-29 14:23:47 +01:00
Daniel Salzman
11744a51c9 keymgr: log errors to stderr 2020-10-29 14:23:47 +01:00
Daniel Salzman
f426fb0bda Merge branch 'timer_created' into 'master'
dnssec: fixes around timer Created:

See merge request knot/knot-dns!1207
2020-10-26 15:36:46 +01:00
Libor Peltan
9e67a55e80 dnssec: fixes around timer Created:
1) dont set it to zero when import-bind
2) event if its zero, dont block KSK rollover
2020-10-26 15:29:57 +01:00
Daniel Salzman
4c21c17211 Merge branch 'kzonecheck_clarify' into 'master'
kzonecheck: clarify if the dnssec-checks shall be done

See merge request knot/knot-dns!1198
2020-10-26 12:07:48 +01:00
Libor Peltan
7bca3032ca kzonecheck: clarify if the dnssec-checks shall be done 2020-10-26 11:54:56 +01:00
Daniel Salzman
d6254368b2 server: fix resource leak if server_init_iface() fails 2020-10-26 09:58:37 +01:00
Daniel Salzman
27f9bf9928 server: strict server startup (exit if configure_threads() fails) 2020-10-26 08:58:01 +01:00
David Vašek
0079745fa9 server: simplify error reporting when configure_sockets() fails 2020-10-26 08:58:01 +01:00
David Vašek
e25f9c5749 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.
2020-10-26 08:58:01 +01:00
Daniel Salzman
76faa30abf Merge branch 'kxdpgun_localip' into 'master'
kxdpgun: allow override of local IP

See merge request knot/knot-dns!1204
2020-10-25 19:36:32 +01:00
Libor Peltan
cd73e82757 kxdpgun: allow override of local IP 2020-10-25 19:18:29 +01:00
Daniel Salzman
aa4bac94de Merge branch 'kdig_badcookie_max' into 'master'
kdig: limit re-tries on BADCOOKIE

See merge request knot/knot-dns!1205
2020-10-25 17:43:50 +01:00
Daniel Salzman
9662ae5776 Merge branch 'fix-typos' into 'master'
doc: fix typos found by lintian

See merge request knot/knot-dns!1206
2020-10-22 16:20:23 +02:00
Jakub Ružička
0095f12beb doc: fix typos found by lintian 2020-10-22 16:10:32 +02:00
Daniel Salzman
01aa85ddec doc: add note about CONFIG_XDP_SOCKETS 2020-10-22 10:20:50 +02:00
Libor Peltan
84e1431203 kdig: limit re-tries on BADCOOKIE
...this also avoids SIGSEGV after infinite recursion
2020-10-21 12:13:03 +02:00
Daniel Salzman
531232addf doc: add libbpf to optional requirements 2020-10-17 21:11:49 +02:00
Daniel Salzman
67b5f4a1d4 distro/deb: update libknot symbols 2020-10-17 20:55:31 +02:00
Daniel Salzman
e003ef7749 knotc: increase history length to 1000 2020-10-17 20:47:45 +02:00
Daniel Salzman
328888d90a knotc: don't store empty command to history and store before command execution 2020-10-17 20:47:45 +02:00
Daniel Salzman
436a53b922 knotc: don't store adjacent identical commands to history 2020-10-17 20:47:45 +02:00
Daniel Salzman
fe6b1f8e09 doc: extend migration to 3.0 2020-10-17 20:44:52 +02:00
Daniel Salzman
e58a3fbac2 Merge branch 'edns_extended_err' into 'master'
EDNS: extended error in kdig

See merge request knot/knot-dns!1202
2020-10-16 17:40:27 +02:00
Daniel Salzman
96e50d57fd EDNS: use EDE abbrevition and knot lookup structure 2020-10-16 17:29:40 +02:00
Libor Peltan
6be37cb892 EDNS: extended error in kdig 2020-10-15 18:20:24 +02:00
Daniel Salzman
b8a3bac40e 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 43c4c513d3.
2020-10-13 11:43:15 +02:00
Daniel Salzman
2c13f01496 Merge branch 'axfr_16kib' into 'master'
Axfr 16kib

See merge request knot/knot-dns!1173
2020-10-13 09:41:58 +02:00
Daniel Salzman
4bbbadcdba Merge branch 'multimaster_retransfer' into 'master'
axfr: force AXFR from just one master, rest normally

See merge request knot/knot-dns!1197
2020-10-12 16:25:29 +02:00
Libor Peltan
f86bbcf7b5 axfr: force AXFR from just one master, rest normally 2020-10-12 15:49:01 +02:00
Daniel Salzman
3a0d1ef538 distro/deb: fix libknot and libdnssec symbols 2020-10-09 18:58:26 +02:00
Daniel Salzman
9459927554 Merge branch 'restore_zf_mk_path' into 'master'
backup: create dir path when restoring zonefile

See merge request knot/knot-dns!1196
2020-10-09 17:45:36 +02:00
Libor Peltan
0ca60b170d backup: create dir path when restoring zonefile 2020-10-09 17:38:50 +02:00
Daniel Salzman
95ed84959a Merge branch 'test_semcheck_algo7' into 'master'
tests: semcheck avoid obsolete algorithm in some test cases

See merge request knot/knot-dns!1193
2020-10-09 14:49:09 +02:00