knot-dns/tests-extra
2021-04-01 09:37:01 +02:00
..
data bugfix: NXDOMAIN authority SOA has TTL limited by minimum-ttl field 2020-03-01 20:27:07 +01:00
tests dnssec: check matching algorithm before sharing KSK 2021-04-01 09:37:01 +02:00
tools dnssec: check matching algorithm before sharing KSK 2021-04-01 09:37:01 +02:00
.gitignore func-tests: change location 2013-12-19 16:35:31 +01:00
README tests-extra: add ldns-verify-zone to Zonefile.dnssec_verify() 2019-06-12 14:48:44 +02:00
requirements.txt tests-extra: update dependencies, remove outdated Docker instructions 2019-02-15 15:37:57 +01:00
runtests.py tests-extra: fix compatibility with python>=3.9 2020-12-14 17:44:37 +01:00

Prerequisites:
--------------

Python >=3.3
dnspython >=1.16.0
python3-psutil
dnssec-signzone
dnssec-keygen
dnssec-verify
ldnsutils
Bind >= 9.11
lsof
gawk
objdump
(valgrind)
(gdb)
(get "c09-dns-query-r1.jar" and "c09-dns-zonetransfer-r1.jar" from
 https://www.ee.oulu.fi/roles/ouspg/PROTOS_Test-Suite_c09-dns)

Python modules:
---------------

To install necessary Python modules using pip, run:
$ pip install -r requirements.txt

Ubuntu:
-------

Disable apparmor protection for system Bind:
# sudo apparmor_parser -R /etc/apparmor.d/usr.sbin.named
or
# sudo ln -s /etc/apparmor.d/usr.sbin.named /etc/apparmor.d/disable/
# sudo /etc/init.d/apparmor restart

Allow ptrace:
# echo 0 | sudo tee /proc/sys/kernel/yama/ptrace_scope
or
# vim /etc/sysctl.d/10-ptrace.conf
# kernel.yama.ptrace_scope = 0