aboutsummaryrefslogtreecommitdiffstats
path: root/etc/profile-a-l/dnscrypt-proxy.profile
blob: e27fa202ba96e4ba86a5beea30568fd9859034b9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# Firejail profile for dnscrypt-proxy
# Description: Tool for securing communications between a client and a DNS resolver
# This file is overwritten after every install/update
quiet
# Persistent local customizations
include dnscrypt-proxy.local
# Persistent global definitions
include globals.local

blacklist ${RUNUSER}/wayland-*

noblacklist /sbin
noblacklist /usr/sbin

include disable-common.inc
include disable-devel.inc
include disable-exec.inc
include disable-interpreters.inc
include disable-programs.inc
include disable-X11.inc
include disable-xdg.inc

whitelist /usr/share/dnscrypt-proxy
include whitelist-usr-share-common.inc
include whitelist-var-common.inc

apparmor
caps.keep ipc_lock,net_bind_service,setgid,setuid,sys_chroot
ipc-namespace
machine-id
netfilter
no3d
nodvd
noinput
nonewprivs
nosound
notv
nou2f
novideo
protocol inet,inet6
seccomp.drop _sysctl,acct,add_key,adjtimex,clock_adjtime,delete_module,fanotify_init,finit_module,get_mempolicy,init_module,io_cancel,io_destroy,io_getevents,io_setup,io_submit,ioperm,iopl,kcmp,kexec_file_load,kexec_load,keyctl,lookup_dcookie,mbind,migrate_pages,modify_ldt,mount,move_pages,open_by_handle_at,perf_event_open,pivot_root,process_vm_readv,process_vm_writev,ptrace,remap_file_pages,request_key,set_mempolicy,swapoff,swapon,sysfs,syslog,umount2,uselib,vmsplice
tracelog

disable-mnt
private
private-cache
private-dev

dbus-user none
dbus-system none

# mdwe can break modules/plugins
memory-deny-write-execute
restrict-namespaces