Hardening i2pd setup with AppArmor
Quoting Wikipedia:
AppArmor ("Application") is a Linux kernel security module that allows the system administrator to restrict programs' capabilities with per-program profiles. Profiles can allow capabilities like network access, raw socket access, and the permission to read, write, or execute files on matching paths. AppArmor supplements the traditional Unix discretionary access control (DAC) model by providing mandatory access control (MAC). It was included in the mainline Linux kernel since version 2.6.36 and its development has been supported by Canonical since 2009.
It is a great tool to harden security for any of your applications on Linux, including Invisible Internet router.
Now we have added i2pd profile for AppArmor which you can just throw into your profiles directory and it will just work.
Instruction
First, make sure you have AppArmor installed and working. Run the following:
sudo apparmor_status
If you have AppArmor, it should output apparmor module is …