diff options
author | rusty-snake <print_hello_world+Public@protonmail.com> | 2019-08-01 11:28:36 +0200 |
---|---|---|
committer | rusty-snake <print_hello_world+Public@protonmail.com> | 2019-08-01 11:28:36 +0200 |
commit | 305ef5a886f430ae22a882bfef90c1578f0d7e70 (patch) | |
tree | 3e45ca3db58c22b99eaef7df7af5cf96f5337098 /etc/rsync-download_only.profile | |
parent | update comment (diff) | |
download | firejail-305ef5a886f430ae22a882bfef90c1578f0d7e70.tar.gz firejail-305ef5a886f430ae22a882bfef90c1578f0d7e70.tar.zst firejail-305ef5a886f430ae22a882bfef90c1578f0d7e70.zip |
rename rsync.profile to rsync-download_only.profile
Diffstat (limited to 'etc/rsync-download_only.profile')
-rw-r--r-- | etc/rsync-download_only.profile | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/etc/rsync-download_only.profile b/etc/rsync-download_only.profile new file mode 100644 index 000000000..b48a2fb85 --- /dev/null +++ b/etc/rsync-download_only.profile | |||
@@ -0,0 +1,53 @@ | |||
1 | # Firejail profile for rsync | ||
2 | # Description: a fast, versatile, remote (and local) file-copying tool | ||
3 | # This file is overwritten after every install/update | ||
4 | quiet | ||
5 | # Persistent local customizations | ||
6 | include rsync.local | ||
7 | # Persistent global definitions | ||
8 | include globals.local | ||
9 | |||
10 | # Warning: This profile is writte to use rsync as an client for downloading, | ||
11 | # it is not writen to use rsync as an daemon (rsync --daemon) or to create backups. | ||
12 | |||
13 | blacklist /tmp/.X11-unix | ||
14 | |||
15 | include disable-common.inc | ||
16 | include disable-devel.inc | ||
17 | include disable-exec.inc | ||
18 | include disable-interpreters.inc | ||
19 | include disable-passwdmgr.inc | ||
20 | include disable-programs.inc | ||
21 | include disable-xdg.inc | ||
22 | |||
23 | # Uncomment or add to rsync.local to enable extra hardening | ||
24 | #whitelist ${DOWNLOADS} | ||
25 | include whitelist-var-common.inc | ||
26 | |||
27 | caps.drop all | ||
28 | ipc-namespace | ||
29 | machine-id | ||
30 | netfilter | ||
31 | no3d | ||
32 | nodbus | ||
33 | nodvd | ||
34 | nogroups | ||
35 | nonewprivs | ||
36 | noroot | ||
37 | nosound | ||
38 | notv | ||
39 | nou2f | ||
40 | novideo | ||
41 | protocol unix,inet,inet6 | ||
42 | seccomp | ||
43 | shell none | ||
44 | tracelog | ||
45 | |||
46 | disable-mnt | ||
47 | private-bin rsync | ||
48 | private-cache | ||
49 | private-dev | ||
50 | private-etc alternatives,ca-certificates,crypto-policies,host.conf,hostname,hosts,nsswitch.conf,pki,protocols,resolv.conf,rpc,services,ssl | ||
51 | private-tmp | ||
52 | |||
53 | memory-deny-write-execute | ||