knot-dns/tests-extra
2020-11-26 10:00:46 +01:00
..
data DNAME: synthesized CNAME might be perfect answer to CNAME query 2020-11-20 09:26:45 +01:00
tests load: proper check of zone-in-journal non-existence before storing it 2020-11-26 10:00:46 +01:00
tools tests-extra: allow setting of zonefile-load 2020-11-26 10:00:17 +01: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: fixed result counting 2020-10-05 10:32:03 +02: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