|
||
---|---|---|
daemon | ||
Makefile.linux | ||
README.md |
README.md
Sandbox
Some basic sandboxing for i2pd using seccomp and Landlock.
If you tested this please let me know how it worked.
Dependencies
For seccomp header files need to be installed.
sudo apt install libseccomp-dev
You also need a kernel with Landlock support enabled.
grep landlock /sys/kernel/security/lsm
If Landlock is not enabled check the kernel.
grep CONFIG_SECURITY_LANDLOCK /boot/config-`uname -r`
Or alternatively.
sudo modprobe configs
zgrep CONFIG_SECURITY_LANDLOCK /proc/config.gz
If Landlock is built in but not enabled you can add "lsm=landlock" to the kernel boot parameters.
Building
make SANDBOX=yes