aboutsummaryrefslogtreecommitdiffstats
path: root/etc/profile-m-z/ping.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-m-z/ping.profile
parentsmall fixes (diff)
downloadfirejail-018d75775eab4a0f045949a9d069c57686ca2686.tar.gz
firejail-018d75775eab4a0f045949a9d069c57686ca2686.tar.zst
firejail-018d75775eab4a0f045949a9d069c57686ca2686.zip
reorganize github etc directory
Diffstat (limited to 'etc/profile-m-z/ping.profile')
-rw-r--r--etc/profile-m-z/ping.profile56
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
4quiet
5# Persistent local customizations
6include ping.local
7# Persistent global definitions
8include globals.local
9
10blacklist /tmp/.X11-unix
11blacklist ${RUNUSER}/wayland-*
12blacklist ${RUNUSER}
13
14include disable-common.inc
15include disable-devel.inc
16include disable-exec.inc
17include disable-interpreters.inc
18include disable-passwdmgr.inc
19include disable-programs.inc
20include disable-xdg.inc
21
22include whitelist-common.inc
23include whitelist-usr-share-common.inc
24include whitelist-var-common.inc
25
26apparmor
27caps.keep net_raw
28ipc-namespace
29#net tun0
30#netfilter /etc/firejail/ping.net
31netfilter
32no3d
33nodvd
34nogroups
35# ping needs to rise privileges, noroot and nonewprivs will kill it
36#nonewprivs
37#noroot
38nosound
39notv
40nou2f
41novideo
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
47disable-mnt
48private
49#private-bin has mammoth problems with execvp: "No such file or directory"
50private-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
53private-tmp
54
55# memory-deny-write-execute is built using seccomp; nonewprivs will kill it
56#memory-deny-write-execute