aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar rusty-snake <print_hello_world+Public@protonmail.com>2019-08-05 08:18:43 +0000
committerLibravatar GitHub <noreply@github.com>2019-08-05 08:18:43 +0000
commit3831b6a20886ffac0ff71d3b61762b426814631a (patch)
treed5dbefb2ae7d8cc19527a6a25f2af3e6a571e0b8
parentFix #2866 -- private-etc needed debian_version (diff)
parentadd usage to rsync-download_only.profile (diff)
downloadfirejail-3831b6a20886ffac0ff71d3b61762b426814631a.tar.gz
firejail-3831b6a20886ffac0ff71d3b61762b426814631a.tar.zst
firejail-3831b6a20886ffac0ff71d3b61762b426814631a.zip
Merge pull request #2871 from rusty-snake/add-rsync.profile
Create rsync.profile
-rw-r--r--etc/rsync-download_only.profile55
1 files changed, 55 insertions, 0 deletions
diff --git a/etc/rsync-download_only.profile b/etc/rsync-download_only.profile
new file mode 100644
index 000000000..bda3bca92
--- /dev/null
+++ b/etc/rsync-download_only.profile
@@ -0,0 +1,55 @@
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
13# Usage: firejail --profile=rsync-download_only rsync
14
15blacklist /tmp/.X11-unix
16
17include disable-common.inc
18include disable-devel.inc
19include disable-exec.inc
20include disable-interpreters.inc
21include disable-passwdmgr.inc
22include disable-programs.inc
23include disable-xdg.inc
24
25# Uncomment or add to rsync.local to enable extra hardening
26#whitelist ${DOWNLOADS}
27include whitelist-var-common.inc
28
29caps.drop all
30ipc-namespace
31machine-id
32netfilter
33no3d
34nodbus
35nodvd
36nogroups
37nonewprivs
38noroot
39nosound
40notv
41nou2f
42novideo
43protocol unix,inet,inet6
44seccomp
45shell none
46tracelog
47
48disable-mnt
49private-bin rsync
50private-cache
51private-dev
52private-etc alternatives,ca-certificates,crypto-policies,host.conf,hostname,hosts,nsswitch.conf,pki,protocols,resolv.conf,rpc,services,ssl
53private-tmp
54
55memory-deny-write-execute