knot-dns/tests-extra
2022-08-01 15:34:24 +02:00
..
data tests-extra: update valgrind suppressions for Ubuntu 22.04 2022-05-12 09:44:42 +02:00
tests keymgr: rename not yet released option 'verbose' to 'extended' 2022-08-01 15:34:24 +02:00
tools keymgr: rename not yet released option 'verbose' to 'extended' 2022-08-01 15:34:24 +02:00
.gitignore func-tests: change location 2013-12-19 16:35:31 +01:00
README tests-extra: remove security/protos as the binaries no longer work on Ubuntu 22.04 and are unavailable 2022-04-20 10:31:57 +02:00
requirements.txt tests: dnspython now supports EDE 2022-06-03 14:53:53 +02:00
runtests.py tests-extra: fixes a bug that caused the application to crash on invalid exclude parameter 2022-07-01 12:41:43 +00: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)

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