Commit graph

482 commits

Author SHA1 Message Date
Jan Hák
1483e4414e mod-cookies: secondary cookie secret 2024-10-26 15:57:22 +02:00
Libor Peltan
e4aa69fe67 tests: add XoT (XFR over TLS) interop with Bind9 2024-10-23 13:42:43 +02:00
David Vašek
75d6162eeb tests-extra: fix generation of random DDNS updates to not exceed dname limit 2024-10-02 13:25:39 +02:00
Daniel Salzman
40e188ab62 tests-extra: add test for ACL configuration 2024-09-27 12:44:40 +02:00
Libor Peltan
65d2b862b3 tests: all DDNS: randomize, unify and fix protocols and knsupdate usage...
...also in interference with XDP
2024-09-04 15:50:32 +02:00
Libor Peltan
4468af58dd ctl: implemented multi-threaded (mutexted) CTL handling 2024-09-01 18:35:17 +02:00
Daniel Salzman
0df70dbdf9 tests-extra: enable logging in module/rrl 2024-08-11 21:19:40 +02:00
Libor Peltan
6648d8a1cd tests/quic/knsupdate: better handling of RCODEs 2024-08-06 18:20:25 +02:00
Libor Peltan
60c906ca78 test/validate_bind: avoid updating NSs as Bind handles delegations wrong...
...see https://gitlab.isc.org/isc-projects/bind9/-/issues/3431
2024-08-06 11:57:56 +02:00
Daniel Salzman
a660e84899 Merge branch 'tests_libknot_exception' into 'master'
Improve error output if libknot not usable in tests-extra

See merge request knot/knot-dns!1695
2024-07-31 17:42:33 +02:00
Libor Peltan
3c52c6f2f3 tests-extra: improve error output if libknot not usable 2024-07-31 17:35:04 +02:00
Jan Hák
bd03e033ea tests-extra: change knsupdate wrapper in tests to respect parameter changes in knsupdate 2024-07-31 10:18:36 +02:00
Libor Peltan
738f794ee6 tests: for Bind9 9.18.28+ configure signatures-jitter 2024-07-25 10:47:22 +02:00
Libor Peltan
ceee35bd2c tests: temporarily disable non-apex DNSKEYs as Bind9 utils dont like them 2024-07-25 09:51:54 +02:00
Jan Hák
94447d17eb tests-extra: add random knsupdate and protocol selection to some DDNS tests 2024-07-15 22:12:04 +02:00
Jan Hák
609f23fd80 tests-extra: add a wrapper for knsupdate 2024-07-15 22:12:04 +02:00
Libor Peltan
27c20d4f19 tests: protect XDP-listening port against...
...being used by other tool as outgoing
2024-07-11 18:30:29 +02:00
Libor Peltan
1492c4a9b4 tests: improved blocking_txn not to fail and test better 2024-07-04 11:21:32 +02:00
Libor Peltan
553cbf6ed0 ctl: disallow parallel zone txn (zone-begin) and..
... either config reload (knotc reload) or
    config txn (conf-begin)
2024-06-03 08:56:23 +02:00
Daniel Salzman
bdc1af0617 tests-extra: synchronize valgrind parameters with tester 2024-05-17 07:59:03 +02:00
Libor Peltan
7fb06f4ae6 tests/ds-push: test empty list in config file 2024-05-16 17:07:21 +02:00
Libor Peltan
ae1289a8d0 implemented keytag-modulo option 2024-05-14 15:44:55 +02:00
Libor Peltan
fdad47e267 implemented DoT for queries and XFR 2024-05-07 07:52:29 +02:00
Daniel Salzman
aa3b43737d tests-extra: adjust NSID data item name 2024-04-30 16:18:54 +02:00
Daniel Salzman
afaa159788 tests-extra: fix float to int exceptions 2024-04-30 16:03:23 +02:00
Daniel Salzman
d5b507126a tests-extra: don't copy keys of generated zone files
- The keys aren't used anyway
- distutils.dir_util.copy_tree is deprecated
- It emits many informational logs
2024-04-30 16:03:23 +02:00
Jan Hák
0d358933fb tests-extra: serialized configuration JSON schema validation 2024-04-09 17:51:18 +02:00
Lukáš Ondráček
1a868b999e rrl: minor fixes 2024-03-25 15:02:55 +01:00
Lukáš Ondráček
23f5172359 rrl: modify limits of prefixes, fix extended tests 2024-03-22 13:54:34 +01:00
Peter Thomassen
93b1ca2bbe
mod-authsignal: implementation, docs, tests
Thanks to Joeri de Ruiter <joeri.deruiter@surf.nl> and Daniel Salzman
for coding support.
2024-01-30 18:21:27 +01:00
Libor Peltan
f54179be27 tests/quic/xfr: added debugging features: tcpdump, secrets.log, quic log 2024-01-12 16:56:59 +01:00
Daniel Salzman
c585c95689 tests-extra: fix test_info() if Valgrind is enabled 2024-01-08 14:22:27 +01:00
Daniel Salzman
3442d98183 tests-extra: add test.pause() function for debugging 2024-01-07 20:36:58 +01:00
Daniel Salzman
767bc63f9e tests-extra: extend check line info with parent frame lines 2024-01-07 20:36:58 +01:00
Libor Peltan
ccadfe2926 tests: monitor how a DDNS or whole queue fails...
...when various failures occur
2024-01-07 20:36:58 +01:00
Libor Peltan
87ddaf68d1 dnssec: improve import-bind:
- import Created timer to make KSK roll-over work afterwards
- clear future timers to fix general automatic key mgmt afterwards
- test
2024-01-04 10:23:38 +01:00
David Vašek
f15862206c tests-extra: for dig, sleep between retries isn't needed after the last retry 2023-12-22 16:25:28 +01:00
Libor Peltan
ce1e335c95 dnssec/validation: consider end of RRSIG validitiy...
...for dnssec-validate that it is longer than rrsig-refresh
...for keymgr offline-ksk, that it's until the next DNSKEY snapshot
2023-12-21 11:59:30 +01:00
Daniel Salzman
f35fde468b tests-extra: add QUIC over XDP support
Note that the QUIC port over XDP is the same as the normal QUIC port.
2023-11-07 17:05:57 +01:00
Daniel Salzman
583fd93a7f tests-extra: add -x parameter for XDP testing instead of root detection 2023-11-07 17:05:57 +01:00
Libor Peltan
356350c473 tests-extra: use XDP when possible, including TCP ...
...on loopback interface, so exclusivity must be ensured with the help
of a lock file
2023-11-07 16:59:42 +01:00
Libor Peltan
239e9b0ba1 quic: implemented DDNS over QUIC support for knotd 2023-10-31 07:01:35 +01:00
Daniel Salzman
5cee8ea68f tests-extra: create a common check for QUIC availability 2023-10-31 07:01:35 +01:00
Daniel Salzman
d38f155184 tests-extra: add -a<NUM> parameter for using more loopback addresses
The addresses must be configured in advance, e.g.:
for i in {1..32}; do sudo ip address add 127.0.1.$i/32 dev lo; done
for i in {1..32}; do sudo ip address add ::1$i/128 dev lo; done
2023-10-24 14:07:04 +02:00
Libor Peltan
5a7a008ed0 IXFR: configurable benevolent IXFR 2023-10-18 21:36:22 +02:00
Libor Peltan
e4a2d10df6 implemented ixfr-from-axfr 2023-10-12 11:05:59 +02:00
Daniel Salzman
588777d3d7 tests-extra: add check for ASAN LeakSanitizer output 2023-09-20 13:41:48 +02:00
Libor Peltan
2441819378 tests/ddns/forward: enhancements 2023-09-08 16:07:33 +02:00
Libor Peltan
42051adbad tests: preserve each version of config files 2023-09-08 14:29:10 +02:00
Daniel Salzman
b4209d7c22 update: rework the forwarding to be compliant with RFC 8945 2023-09-08 08:24:41 +02:00