aboutsummaryrefslogtreecommitdiffstats
path: root/etc/rsync-download_only.profile
diff options
context:
space:
mode:
authorLibravatar rusty-snake <print_hello_world+Public@protonmail.com>2019-08-01 11:28:36 +0200
committerLibravatar rusty-snake <print_hello_world+Public@protonmail.com>2019-08-01 11:28:36 +0200
commit305ef5a886f430ae22a882bfef90c1578f0d7e70 (patch)
tree3e45ca3db58c22b99eaef7df7af5cf96f5337098 /etc/rsync-download_only.profile
parentupdate comment (diff)
downloadfirejail-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.profile53
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
4quiet
5# Persistent local customizations
6include rsync.local
7# Persistent global definitions
8include 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
13blacklist /tmp/.X11-unix
14
15include disable-common.inc
16include disable-devel.inc
17include disable-exec.inc
18include disable-interpreters.inc
19include disable-passwdmgr.inc
20include disable-programs.inc
21include disable-xdg.inc
22
23# Uncomment or add to rsync.local to enable extra hardening
24#whitelist ${DOWNLOADS}
25include whitelist-var-common.inc
26
27caps.drop all
28ipc-namespace
29machine-id
30netfilter
31no3d
32nodbus
33nodvd
34nogroups
35nonewprivs
36noroot
37nosound
38notv
39nou2f
40novideo
41protocol unix,inet,inet6
42seccomp
43shell none
44tracelog
45
46disable-mnt
47private-bin rsync
48private-cache
49private-dev
50private-etc alternatives,ca-certificates,crypto-policies,host.conf,hostname,hosts,nsswitch.conf,pki,protocols,resolv.conf,rpc,services,ssl
51private-tmp
52
53memory-deny-write-execute