aboutsummaryrefslogtreecommitdiffstats
path: root/etc/profile-a-l/i2prouter.profile
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@yahoo.com>2020-04-21 08:24:28 -0400
committerLibravatar netblue30 <netblue30@yahoo.com>2020-04-21 08:24:28 -0400
commit018d75775eab4a0f045949a9d069c57686ca2686 (patch)
treeaac3a1a65cca0d4875795c55109a5c3e35efdefb /etc/profile-a-l/i2prouter.profile
parentsmall fixes (diff)
downloadfirejail-018d75775eab4a0f045949a9d069c57686ca2686.tar.gz
firejail-018d75775eab4a0f045949a9d069c57686ca2686.tar.zst
firejail-018d75775eab4a0f045949a9d069c57686ca2686.zip
reorganize github etc directory
Diffstat (limited to 'etc/profile-a-l/i2prouter.profile')
-rw-r--r--etc/profile-a-l/i2prouter.profile71
1 files changed, 71 insertions, 0 deletions
diff --git a/etc/profile-a-l/i2prouter.profile b/etc/profile-a-l/i2prouter.profile
new file mode 100644
index 000000000..9ffdb9e9b
--- /dev/null
+++ b/etc/profile-a-l/i2prouter.profile
@@ -0,0 +1,71 @@
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 most likely 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 I2P java installer instead
13
14# Only needed if i2prouter binary is in home directory, official I2P java installer 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 I2P ppa package does this
22noblacklist /usr/sbin
23
24# Allow java (blacklisted by disable-devel.inc)
25include allow-java.inc
26
27include disable-common.inc
28include disable-devel.inc
29include disable-exec.inc
30include disable-interpreters.inc
31include disable-passwdmgr.inc
32include disable-programs.inc
33include disable-xdg.inc
34
35mkdir ${HOME}/.config/i2p
36mkdir ${HOME}/.i2p
37mkdir ${HOME}/.local/share/i2p
38mkdir ${HOME}/i2p
39whitelist ${HOME}/.config/i2p
40whitelist ${HOME}/.i2p
41whitelist ${HOME}/.local/share/i2p
42whitelist ${HOME}/i2p
43# Only needed if wrapper is placed in /usr/sbin/, ubuntu official I2P ppa package does this
44whitelist /usr/sbin/wrapper*
45
46include whitelist-common.inc
47
48# May break I2P if wrapper is placed in the home directory; official I2P java installer does this
49# If using ubuntu official I2P ppa, this should be fine to uncomment, as it puts wrapper in /usr/sbin/
50#apparmor
51caps.drop all
52ipc-namespace
53machine-id
54netfilter
55no3d
56nodvd
57nogroups
58nonewprivs
59nosound
60notv
61nou2f
62novideo
63protocol unix,inet,inet6
64seccomp
65shell none
66
67disable-mnt
68private-cache
69private-dev
70private-etc alternatives,ca-certificates,crypto-policies,dconf,group,hostname,hosts,i2p,java-10-openjdk,java-11-openjdk,java-12-openjdk,java-13-openjdk,java-8-openjdk,java-9-openjdk,java-openjdk,ld.so.cache,localtime,machine-id,nsswitch.conf,passwd,pki,resolv.conf,ssl
71private-tmp