diff options
-rw-r--r-- | README | 2 | ||||
-rw-r--r-- | etc/cpio.profile | 2 | ||||
-rw-r--r-- | etc/cvlc.profile | 2 | ||||
-rw-r--r-- | etc/dnscrypt-proxy.profile | 9 | ||||
-rw-r--r-- | etc/dnsmasq.profile | 3 | ||||
-rw-r--r-- | etc/file.profile | 1 | ||||
-rw-r--r-- | etc/musescore.profile | 5 | ||||
-rw-r--r-- | etc/unbound.profile | 9 |
8 files changed, 29 insertions, 4 deletions
@@ -409,7 +409,7 @@ smithsohu (https://github.com/smitsohu) | |||
409 | - lots of profile hardening and fixes | 409 | - lots of profile hardening and fixes |
410 | - added MuseScore profile | 410 | - added MuseScore profile |
411 | - fixed device discovery for simple-scan | 411 | - fixed device discovery for simple-scan |
412 | - add novideo support in all profiles | 412 | - add novideo support in many profiles |
413 | soredake (https://github.com/soredake) | 413 | soredake (https://github.com/soredake) |
414 | - fix steam startup with >=llvm-4 | 414 | - fix steam startup with >=llvm-4 |
415 | SpotComms (https://github.com/SpotComms) | 415 | SpotComms (https://github.com/SpotComms) |
diff --git a/etc/cpio.profile b/etc/cpio.profile index 4122e2c92..7f4bc4a84 100644 --- a/etc/cpio.profile +++ b/etc/cpio.profile | |||
@@ -17,9 +17,9 @@ include /etc/firejail/disable-programs.inc | |||
17 | 17 | ||
18 | caps.drop all | 18 | caps.drop all |
19 | net none | 19 | net none |
20 | net none | ||
21 | no3d | 20 | no3d |
22 | nodvd | 21 | nodvd |
22 | nonewprivs | ||
23 | nosound | 23 | nosound |
24 | notv | 24 | notv |
25 | novideo | 25 | novideo |
diff --git a/etc/cvlc.profile b/etc/cvlc.profile index f095f487e..81ccbc530 100644 --- a/etc/cvlc.profile +++ b/etc/cvlc.profile | |||
@@ -5,7 +5,7 @@ include /etc/firejail/cvlc.local | |||
5 | # Persistent global definitions | 5 | # Persistent global definitions |
6 | include /etc/firejail/globals.local | 6 | include /etc/firejail/globals.local |
7 | 7 | ||
8 | # clvc doesn't like private-bin | 8 | # cvlc doesn't like private-bin |
9 | ignore private-bin | 9 | ignore private-bin |
10 | 10 | ||
11 | # Redirect | 11 | # Redirect |
diff --git a/etc/dnscrypt-proxy.profile b/etc/dnscrypt-proxy.profile index 365789000..a1ccfbe22 100644 --- a/etc/dnscrypt-proxy.profile +++ b/etc/dnscrypt-proxy.profile | |||
@@ -5,6 +5,8 @@ include /etc/firejail/dnscrypt-proxy.local | |||
5 | # Persistent global definitions | 5 | # Persistent global definitions |
6 | include /etc/firejail/globals.local | 6 | include /etc/firejail/globals.local |
7 | 7 | ||
8 | blacklist /tmp/.X11-unix | ||
9 | |||
8 | noblacklist /sbin | 10 | noblacklist /sbin |
9 | noblacklist /usr/sbin | 11 | noblacklist /usr/sbin |
10 | noblacklist /var/log | 12 | noblacklist /var/log |
@@ -14,12 +16,19 @@ include /etc/firejail/disable-devel.inc | |||
14 | include /etc/firejail/disable-passwdmgr.inc | 16 | include /etc/firejail/disable-passwdmgr.inc |
15 | include /etc/firejail/disable-programs.inc | 17 | include /etc/firejail/disable-programs.inc |
16 | 18 | ||
19 | caps | ||
20 | # caps.keep ipc_lock,net_bind_service,setgid,setuid,sys_chroot,sys_resource | ||
17 | no3d | 21 | no3d |
18 | nodvd | 22 | nodvd |
23 | nonewprivs | ||
19 | nosound | 24 | nosound |
20 | notv | 25 | notv |
21 | novideo | 26 | novideo |
22 | seccomp.drop mount,umount2,ptrace,kexec_load,kexec_file_load,open_by_handle_at,init_module,finit_module,delete_module,iopl,ioperm,swapon,swapoff,syslog,process_vm_readv,process_vm_writev,sysfs,_sysctl,adjtimex,clock_adjtime,lookup_dcookie,perf_event_open,fanotify_init,kcmp,add_key,request_key,keyctl,uselib,acct,modify_ldt,pivot_root,io_setup,io_destroy,io_getevents,io_submit,io_cancel,remap_file_pages,mbind,get_mempolicy,set_mempolicy,migrate_pages,move_pages,vmsplice,perf_event_open | 27 | seccomp.drop mount,umount2,ptrace,kexec_load,kexec_file_load,open_by_handle_at,init_module,finit_module,delete_module,iopl,ioperm,swapon,swapoff,syslog,process_vm_readv,process_vm_writev,sysfs,_sysctl,adjtimex,clock_adjtime,lookup_dcookie,perf_event_open,fanotify_init,kcmp,add_key,request_key,keyctl,uselib,acct,modify_ldt,pivot_root,io_setup,io_destroy,io_getevents,io_submit,io_cancel,remap_file_pages,mbind,get_mempolicy,set_mempolicy,migrate_pages,move_pages,vmsplice,perf_event_open |
23 | 28 | ||
29 | disable-mnt | ||
24 | private | 30 | private |
25 | private-dev | 31 | private-dev |
32 | |||
33 | # mdwe can break modules/plugins | ||
34 | # memory-deny-write-execute | ||
diff --git a/etc/dnsmasq.profile b/etc/dnsmasq.profile index fb799c208..ce159c343 100644 --- a/etc/dnsmasq.profile +++ b/etc/dnsmasq.profile | |||
@@ -5,6 +5,8 @@ include /etc/firejail/dnsmasq.local | |||
5 | # Persistent global definitions | 5 | # Persistent global definitions |
6 | include /etc/firejail/globals.local | 6 | include /etc/firejail/globals.local |
7 | 7 | ||
8 | blacklist /tmp/.X11-unix | ||
9 | |||
8 | noblacklist /sbin | 10 | noblacklist /sbin |
9 | noblacklist /usr/sbin | 11 | noblacklist /usr/sbin |
10 | noblacklist /var/log | 12 | noblacklist /var/log |
@@ -15,7 +17,6 @@ include /etc/firejail/disable-passwdmgr.inc | |||
15 | include /etc/firejail/disable-programs.inc | 17 | include /etc/firejail/disable-programs.inc |
16 | 18 | ||
17 | caps | 19 | caps |
18 | netfilter | ||
19 | no3d | 20 | no3d |
20 | nodvd | 21 | nodvd |
21 | nonewprivs | 22 | nonewprivs |
diff --git a/etc/file.profile b/etc/file.profile index f3b08e34b..a83b2cf7d 100644 --- a/etc/file.profile +++ b/etc/file.profile | |||
@@ -21,6 +21,7 @@ nogroups | |||
21 | nonewprivs | 21 | nonewprivs |
22 | nosound | 22 | nosound |
23 | notv | 23 | notv |
24 | novideo | ||
24 | protocol unix | 25 | protocol unix |
25 | seccomp | 26 | seccomp |
26 | shell none | 27 | shell none |
diff --git a/etc/musescore.profile b/etc/musescore.profile index bd00bea69..3b5a0b13c 100644 --- a/etc/musescore.profile +++ b/etc/musescore.profile | |||
@@ -10,6 +10,11 @@ noblacklist ~/.config/MuseScore | |||
10 | noblacklist ~/.local/share/data/MusE | 10 | noblacklist ~/.local/share/data/MusE |
11 | noblacklist ~/.local/share/data/MuseScore | 11 | noblacklist ~/.local/share/data/MuseScore |
12 | 12 | ||
13 | include /etc/firejail/disable-common.inc | ||
14 | include /etc/firejail/disable-devel.inc | ||
15 | include /etc/firejail/disable-passwdmgr.inc | ||
16 | include /etc/firejail/disable-programs.inc | ||
17 | |||
13 | caps.drop all | 18 | caps.drop all |
14 | netfilter | 19 | netfilter |
15 | no3d | 20 | no3d |
diff --git a/etc/unbound.profile b/etc/unbound.profile index 8a4e0883d..afc903e88 100644 --- a/etc/unbound.profile +++ b/etc/unbound.profile | |||
@@ -5,6 +5,8 @@ include /etc/firejail/unbound.local | |||
5 | # Persistent global definitions | 5 | # Persistent global definitions |
6 | include /etc/firejail/globals.local | 6 | include /etc/firejail/globals.local |
7 | 7 | ||
8 | blacklist /tmp/.X11-unix | ||
9 | |||
8 | noblacklist /sbin | 10 | noblacklist /sbin |
9 | noblacklist /usr/sbin | 11 | noblacklist /usr/sbin |
10 | noblacklist /var/log | 12 | noblacklist /var/log |
@@ -14,12 +16,19 @@ include /etc/firejail/disable-devel.inc | |||
14 | include /etc/firejail/disable-passwdmgr.inc | 16 | include /etc/firejail/disable-passwdmgr.inc |
15 | include /etc/firejail/disable-programs.inc | 17 | include /etc/firejail/disable-programs.inc |
16 | 18 | ||
19 | caps | ||
20 | # caps.keep ipc_lock,net_bind_service,setgid,setuid,sys_chroot,sys_resource | ||
17 | no3d | 21 | no3d |
18 | nodvd | 22 | nodvd |
23 | nonewprivs | ||
19 | nosound | 24 | nosound |
20 | notv | 25 | notv |
21 | novideo | 26 | novideo |
22 | seccomp.drop mount,umount2,ptrace,kexec_load,kexec_file_load,open_by_handle_at,init_module,finit_module,delete_module,iopl,ioperm,swapon,swapoff,syslog,process_vm_readv,process_vm_writev,sysfs,_sysctl,adjtimex,clock_adjtime,lookup_dcookie,perf_event_open,fanotify_init,kcmp,add_key,request_key,keyctl,uselib,acct,modify_ldt,pivot_root,io_setup,io_destroy,io_getevents,io_submit,io_cancel,remap_file_pages,mbind,get_mempolicy,set_mempolicy,migrate_pages,move_pages,vmsplice,perf_event_open | 27 | seccomp.drop mount,umount2,ptrace,kexec_load,kexec_file_load,open_by_handle_at,init_module,finit_module,delete_module,iopl,ioperm,swapon,swapoff,syslog,process_vm_readv,process_vm_writev,sysfs,_sysctl,adjtimex,clock_adjtime,lookup_dcookie,perf_event_open,fanotify_init,kcmp,add_key,request_key,keyctl,uselib,acct,modify_ldt,pivot_root,io_setup,io_destroy,io_getevents,io_submit,io_cancel,remap_file_pages,mbind,get_mempolicy,set_mempolicy,migrate_pages,move_pages,vmsplice,perf_event_open |
23 | 28 | ||
29 | disable-mnt | ||
24 | private | 30 | private |
25 | private-dev | 31 | private-dev |
32 | |||
33 | # mdwe can break modules/plugins | ||
34 | # memory-deny-write-execute | ||