diff options
author | 2020-04-07 19:52:56 -0400 | |
---|---|---|
committer | 2020-04-07 19:52:56 -0400 | |
commit | 7373cf31d4ba6638c0477a254f62552556921521 (patch) | |
tree | 5c63852fb86899be8483e99ad11e530f15329b3f /etc/fdns.profile | |
parent | Update support/EOL information (diff) | |
download | firejail-7373cf31d4ba6638c0477a254f62552556921521.tar.gz firejail-7373cf31d4ba6638c0477a254f62552556921521.tar.zst firejail-7373cf31d4ba6638c0477a254f62552556921521.zip |
fdns profile
Diffstat (limited to 'etc/fdns.profile')
-rw-r--r-- | etc/fdns.profile | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/etc/fdns.profile b/etc/fdns.profile new file mode 100644 index 000000000..2ab69cd5b --- /dev/null +++ b/etc/fdns.profile | |||
@@ -0,0 +1,52 @@ | |||
1 | # Firejail profile for server | ||
2 | # This file is overwritten after every install/update | ||
3 | # Persistent local customizations | ||
4 | include server.local | ||
5 | # Persistent global definitions | ||
6 | include globals.local | ||
7 | |||
8 | # generic server profile | ||
9 | # it allows /sbin and /usr/sbin directories - this is where servers are installed | ||
10 | # depending on your usage, you can enable some of the commands below: | ||
11 | # | ||
12 | noblacklist /sbin | ||
13 | noblacklist /usr/sbin | ||
14 | |||
15 | blacklist /tmp/.X11-unix | ||
16 | blacklist ${RUNUSER}/wayland-* | ||
17 | |||
18 | include disable-common.inc | ||
19 | include disable-devel.inc | ||
20 | include disable-exec.inc | ||
21 | include disable-interpreters.inc | ||
22 | include disable-passwdmgr.inc | ||
23 | include disable-programs.inc | ||
24 | include disable-xdg.inc | ||
25 | |||
26 | caps.keep chown,kill,setgid,setuid,net_bind_service,net_admin,sys_chroot,sys_admin,syslog | ||
27 | |||
28 | ipc-namespace | ||
29 | # netfilter /etc/firejail/webserver.net | ||
30 | no3d | ||
31 | nodvd | ||
32 | nogroups | ||
33 | nonewprivs | ||
34 | # noroot | ||
35 | nosound | ||
36 | notv | ||
37 | nou2f | ||
38 | novideo | ||
39 | #seccomp | ||
40 | #shell none | ||
41 | |||
42 | disable-mnt | ||
43 | private | ||
44 | private-bin fdns,bash,sh | ||
45 | # private-cache | ||
46 | private-dev | ||
47 | # private-etc alternatives | ||
48 | # private-lib | ||
49 | private-tmp | ||
50 | |||
51 | protocol unix,inet,inet6 | ||
52 | memory-deny-write-execute | ||