diff options
Diffstat (limited to 'etc/profile-m-z/ping.profile')
-rw-r--r-- | etc/profile-m-z/ping.profile | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/etc/profile-m-z/ping.profile b/etc/profile-m-z/ping.profile new file mode 100644 index 000000000..3ef8ad64a --- /dev/null +++ b/etc/profile-m-z/ping.profile | |||
@@ -0,0 +1,56 @@ | |||
1 | # Firejail profile for ping | ||
2 | # Description: send ICMP ECHO_REQUEST to network hosts | ||
3 | # This file is overwritten after every install/update | ||
4 | quiet | ||
5 | # Persistent local customizations | ||
6 | include ping.local | ||
7 | # Persistent global definitions | ||
8 | include globals.local | ||
9 | |||
10 | blacklist /tmp/.X11-unix | ||
11 | blacklist ${RUNUSER}/wayland-* | ||
12 | blacklist ${RUNUSER} | ||
13 | |||
14 | include disable-common.inc | ||
15 | include disable-devel.inc | ||
16 | include disable-exec.inc | ||
17 | include disable-interpreters.inc | ||
18 | include disable-passwdmgr.inc | ||
19 | include disable-programs.inc | ||
20 | include disable-xdg.inc | ||
21 | |||
22 | include whitelist-common.inc | ||
23 | include whitelist-usr-share-common.inc | ||
24 | include whitelist-var-common.inc | ||
25 | |||
26 | apparmor | ||
27 | caps.keep net_raw | ||
28 | ipc-namespace | ||
29 | #net tun0 | ||
30 | #netfilter /etc/firejail/ping.net | ||
31 | netfilter | ||
32 | no3d | ||
33 | nodvd | ||
34 | nogroups | ||
35 | # ping needs to rise privileges, noroot and nonewprivs will kill it | ||
36 | #nonewprivs | ||
37 | #noroot | ||
38 | nosound | ||
39 | notv | ||
40 | nou2f | ||
41 | novideo | ||
42 | # protocol command is built using seccomp; nonewprivs will kill it | ||
43 | #protocol unix,inet,inet6,netlink,packet | ||
44 | # killed by no-new-privs | ||
45 | #seccomp | ||
46 | |||
47 | disable-mnt | ||
48 | private | ||
49 | #private-bin has mammoth problems with execvp: "No such file or directory" | ||
50 | private-dev | ||
51 | # /etc/hosts is required in private-etc; however, just adding it to the list doesn't solve the problem! | ||
52 | #private-etc ca-certificates,crypto-policies,hosts,pki,resolv.conf,ssl | ||
53 | private-tmp | ||
54 | |||
55 | # memory-deny-write-execute is built using seccomp; nonewprivs will kill it | ||
56 | #memory-deny-write-execute | ||