aboutsummaryrefslogtreecommitdiffstats
path: root/etc/dnscrypt-proxy.profile
diff options
context:
space:
mode:
authorLibravatar glitsj16 <glitsj16@users.noreply.github.com>2020-01-17 23:31:46 +0000
committerLibravatar GitHub <noreply@github.com>2020-01-17 23:31:46 +0000
commitf9c9c469a23dbb6d484f82f6ba719d662b784753 (patch)
tree9485d36a39798b0542ed70b9a5df688bab2c3d69 /etc/dnscrypt-proxy.profile
parentjoin: wait with effective uid of the user (diff)
downloadfirejail-f9c9c469a23dbb6d484f82f6ba719d662b784753.tar.gz
firejail-f9c9c469a23dbb6d484f82f6ba719d662b784753.tar.zst
firejail-f9c9c469a23dbb6d484f82f6ba719d662b784753.zip
hardenings for various profiles (#3160)
* harden devilspie * harden devilspie2 * harden curl * harden wget * harden curl * harden dig * harden claws-mail * harden dnscrypt-proxy * harden dnscrypt-proxy * harden dnscrypt-proxy * harden exfalso * refactor easystroke as whitelist profile * refactor enchant as whitelist profile * safeguard ${DOCUMENTS} Thanks @rusty-snake for the suggestion. * drop x11-none Thanks @rusty-snake for catching this. * drop x11 none Thanks @rusty-snake for saving the bacon... * drop x11 none Thanks @rusty-snake for catching this. * drop x11 none Thanks @rusty-snake for preventing breakage! * drop ipc-namespace Better safe than sorry...
Diffstat (limited to 'etc/dnscrypt-proxy.profile')
-rw-r--r--etc/dnscrypt-proxy.profile7
1 files changed, 7 insertions, 0 deletions
diff --git a/etc/dnscrypt-proxy.profile b/etc/dnscrypt-proxy.profile
index d0430d5ca..65722b3ef 100644
--- a/etc/dnscrypt-proxy.profile
+++ b/etc/dnscrypt-proxy.profile
@@ -7,6 +7,8 @@ include dnscrypt-proxy.local
7# Persistent global definitions 7# Persistent global definitions
8include globals.local 8include globals.local
9 9
10blacklist /tmp/.X11-unix
11
10noblacklist /sbin 12noblacklist /sbin
11noblacklist /usr/sbin 13noblacklist /usr/sbin
12 14
@@ -20,10 +22,13 @@ include disable-xdg.inc
20 22
21whitelist /usr/share/dnscrypt-proxy 23whitelist /usr/share/dnscrypt-proxy
22include whitelist-usr-share-common.inc 24include whitelist-usr-share-common.inc
25include whitelist-var-common.inc
23 26
27apparmor
24caps.keep ipc_lock,net_bind_service,setgid,setuid,sys_chroot 28caps.keep ipc_lock,net_bind_service,setgid,setuid,sys_chroot
25ipc-namespace 29ipc-namespace
26machine-id 30machine-id
31netfilter
27no3d 32no3d
28nodbus 33nodbus
29nodvd 34nodvd
@@ -34,6 +39,8 @@ nou2f
34novideo 39novideo
35protocol inet,inet6 40protocol inet,inet6
36seccomp.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,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 41seccomp.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,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
42shell none
43tracelog
37 44
38disable-mnt 45disable-mnt
39private 46private