aboutsummaryrefslogtreecommitdiffstats
path: root/etc/i2prouter.profile
diff options
context:
space:
mode:
authorLibravatar core_contingency <ccontingency@gmail.com>2019-08-20 17:57:32 -0700
committerLibravatar core_contingency <ccontingency@gmail.com>2019-08-21 15:11:03 -0700
commit7b968332937ca451016262947463924f847a159b (patch)
treed3050957dddbac6ccf75f5e7a5f5a20bfe3e7423 /etc/i2prouter.profile
parentRefactor transmission profiles (#2920) (diff)
downloadfirejail-7b968332937ca451016262947463924f847a159b.tar.gz
firejail-7b968332937ca451016262947463924f847a159b.tar.zst
firejail-7b968332937ca451016262947463924f847a159b.zip
profiles: add i2p
Diffstat (limited to 'etc/i2prouter.profile')
-rw-r--r--etc/i2prouter.profile64
1 files changed, 64 insertions, 0 deletions
diff --git a/etc/i2prouter.profile b/etc/i2prouter.profile
new file mode 100644
index 000000000..7f9a60237
--- /dev/null
+++ b/etc/i2prouter.profile
@@ -0,0 +1,64 @@
1# Firejail profile for I2P
2# Description: A distributed anonymous network
3# This file is overwritten after every install/update
4# Persistent local customizations
5include i2prouter.local
6# Persistent global definitions
7include globals.local
8
9# Notice: default browser will not be able to automatically open, due to sandbox.
10# Auto-opening default browser can be disabled in the I2P router console.
11# This profile will not currently work with any Arch User Repository i2p packages,
12# use the distro-independent official java installer instead
13
14# Only needed if i2prouter binary is not in home directory, ubuntu official ppa package does this
15ignore noexec ${HOME}
16
17noblacklist ${HOME}/.config/i2p
18noblacklist ${HOME}/.i2p
19noblacklist ${HOME}/.local/share/i2p
20noblacklist ${HOME}/i2p
21# Only needed if wrapper is placed in /usr/sbin/, ubuntu official ppa package does this
22noblacklist /usr/sbin
23
24# Allow java (blacklisted by disable-devel.inc)
25include allow-java.inc
26include disable-common.inc
27include disable-devel.inc
28include disable-exec.inc
29include disable-interpreters.inc
30include disable-passwdmgr.inc
31include disable-programs.inc
32include disable-xdg.inc
33
34whitelist ${HOME}/.config/I2P
35whitelist ${HOME}/.i2p
36whitelist ${HOME}/.local/share/I2P
37whitelist ${HOME}/i2p
38# Only needed if wrapper is placed in /usr/sbin/, ubuntu official ppa package does this
39whitelist /usr/sbin/wrapper*
40
41# May break I2P if wrapper is placed in the home directory
42# If using ubuntu official ppa, this should be fine to uncomment, as it puts wrapper in /usr/sbin/
43#apparmor
44caps.drop all
45ipc-namespace
46machine-id
47netfilter
48no3d
49nodvd
50nogroups
51nonewprivs
52nosound
53notv
54nou2f
55novideo
56protocol unix,inet,inet6
57seccomp.drop @default-nodebuggers
58shell none
59
60disable-mnt
61private-cache
62private-dev
63private-etc alternatives,ca-certificates,crypto-policies,pki,ssl,java-8-openjdk,i2p
64private-tmp