diff options
Diffstat (limited to 'etc')
-rw-r--r-- | etc/ping.profile | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/etc/ping.profile b/etc/ping.profile new file mode 100644 index 000000000..38d5bd70a --- /dev/null +++ b/etc/ping.profile | |||
@@ -0,0 +1,48 @@ | |||
1 | # Firejail profile for ping | ||
2 | # This file is overwritten after every install/update | ||
3 | quiet | ||
4 | # Persistent local customizations | ||
5 | include /etc/firejail/ping.local | ||
6 | # Persistent global definitions | ||
7 | include /etc/firejail/globals.local | ||
8 | |||
9 | include /etc/firejail/disable-common.inc | ||
10 | include /etc/firejail/disable-devel.inc | ||
11 | include /etc/firejail/disable-passwdmgr.inc | ||
12 | include /etc/firejail/disable-programs.inc | ||
13 | include /etc/firejail/whitelist-common.inc | ||
14 | |||
15 | caps.keep net_raw | ||
16 | ipc-namespace | ||
17 | #net tun0 | ||
18 | #netfilter /etc/firejail/ping.net | ||
19 | netfilter | ||
20 | no3d | ||
21 | nodvd | ||
22 | nogroups | ||
23 | # ping needs to rise privileges, noroot and nonewprivs will kill it | ||
24 | #nonewprivs | ||
25 | #noroot | ||
26 | nosound | ||
27 | notv | ||
28 | novideo | ||
29 | |||
30 | # protocol command is built using seccomp; nonewprivs will kill it | ||
31 | #protocol unix,inet,inet6,netlink,packet | ||
32 | |||
33 | # killed by no-new-privs | ||
34 | #seccomp | ||
35 | |||
36 | disable-mnt | ||
37 | private | ||
38 | #private-bin has mammoth problems with execvp: "No such file or directory" | ||
39 | private-dev | ||
40 | private-etc resolv.conf | ||
41 | private-tmp | ||
42 | |||
43 | # memory-deny-write-execute is built using seccomp; nonewprivs will kill it | ||
44 | #memory-deny-write-execute | ||
45 | noexec ${HOME} | ||
46 | noexec /tmp | ||
47 | |||
48 | |||