etc/profile-a-l/dnscrypt-proxy.profile
raw| 1 | # Firejail profile for dnscrypt-proxy |
| 2 | # Description: Tool for securing communications between a client and a DNS resolver |
| 3 | # This file is overwritten after every install/update |
| 4 | quiet |
| 5 | # Persistent local customizations |
| 6 | include dnscrypt-proxy.local |
| 7 | # Persistent global definitions |
| 8 | include globals.local |
| 9 | |
| 10 | blacklist ${RUNUSER}/wayland-* |
| 11 | |
| 12 | noblacklist /sbin |
| 13 | noblacklist /usr/sbin |
| 14 | |
| 15 | include disable-common.inc |
| 16 | include disable-devel.inc |
| 17 | include disable-exec.inc |
| 18 | include disable-interpreters.inc |
| 19 | include disable-programs.inc |
| 20 | include disable-x11.inc |
| 21 | include disable-xdg.inc |
| 22 | |
| 23 | whitelist /usr/share/dnscrypt-proxy |
| 24 | include whitelist-usr-share-common.inc |
| 25 | include whitelist-var-common.inc |
| 26 | |
| 27 | apparmor |
| 28 | caps.keep ipc_lock,net_bind_service,setgid,setuid,sys_chroot |
| 29 | ipc-namespace |
| 30 | machine-id |
| 31 | netfilter |
| 32 | no3d |
| 33 | nodvd |
| 34 | noinput |
| 35 | nonewprivs |
| 36 | nosound |
| 37 | notv |
| 38 | nou2f |
| 39 | novideo |
| 40 | protocol inet,inet6 |
| 41 | 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 |
| 42 | tracelog |
| 43 | |
| 44 | disable-mnt |
| 45 | private |
| 46 | private-cache |
| 47 | private-dev |
| 48 | |
| 49 | dbus-user none |
| 50 | dbus-system none |
| 51 | |
| 52 | # mdwe can break modules/plugins |
| 53 | memory-deny-write-execute |
| 54 | restrict-namespaces |