From 63cd84ed57fd006b3679ec3466ab5aff12c5c4b4 Mon Sep 17 00:00:00 2001 From: Lockdis <45907176+Lockdis@users.noreply.github.com> Date: Thu, 24 Jan 2019 12:19:50 +0100 Subject: add nyx, fix g earth pro --- etc/disable-common.inc | 1 + etc/nyx.profile | 58 ++++++++++++++++++++++++++++++++++++++++++++++ src/firecfg/firecfg.config | 2 ++ 3 files changed, 61 insertions(+) create mode 100644 etc/nyx.profile diff --git a/etc/disable-common.inc b/etc/disable-common.inc index 6a599893e..89c029a61 100644 --- a/etc/disable-common.inc +++ b/etc/disable-common.inc @@ -302,6 +302,7 @@ blacklist ${HOME}/.msmtprc blacklist ${HOME}/.mutt blacklist ${HOME}/.muttrc blacklist ${HOME}/.netrc +blacklist ${HOME}/.nyx blacklist ${HOME}/.pki blacklist ${HOME}/.smbcredentials blacklist ${HOME}/.ssh diff --git a/etc/nyx.profile b/etc/nyx.profile new file mode 100644 index 000000000..aa3275a00 --- /dev/null +++ b/etc/nyx.profile @@ -0,0 +1,58 @@ +# Firejail profile for nyx +# This file is overwritten after every install/update +# Persistent local customizations +include nyx.local +# Persistent global definitions +include globals.local + +noblacklist ${PATH}/python3* +noblacklist /usr/include/python3* +noblacklist /usr/lib/python3* +noblacklist /usr/local/lib/python3* +noblacklist /usr/share/python3* + +noblacklist ${HOME}/.nyx + +mkdir ${HOME}/.nyx + +whitelist ${HOME}/.nyx + +include disable-common.inc +include disable-devel.inc +include disable-interpreters.inc +include disable-passwdmgr.inc +include disable-programs.inc +include disable-xdg.inc + +# apparmor +caps.drop all +# ipc-namespace +netfilter +no3d +nodbus +nodvd +nogroups +nonewprivs +noroot +nosound +notv +nou2f +novideo +protocol unix,inet,inet6 +seccomp +shell none +# tracelog + +disable-mnt +private-bin nyx,python +private-cache +private-dev +private-etc passwd,tor +# private-lib +private-opt none +private-srv none +private-tmp + +# memory-deny-write-execute +noexec ${HOME} +noexec /tmp diff --git a/src/firecfg/firecfg.config b/src/firecfg/firecfg.config index 21dcd8f20..551133328 100644 --- a/src/firecfg/firecfg.config +++ b/src/firecfg/firecfg.config @@ -200,6 +200,7 @@ google-chrome-beta google-chrome-stable google-chrome-unstable google-earth +google-earth-pro google-play-music-desktop-player gpa gpicview @@ -317,6 +318,7 @@ neverball nheko nitroshare nylas +nyx obs ocenaudio odt2txt -- cgit v1.2.3-70-g09d2 From de6af7f96d785c58d4dd1dc9aee6ee968c633bbe Mon Sep 17 00:00:00 2001 From: Lockdis <45907176+Lockdis@users.noreply.github.com> Date: Thu, 24 Jan 2019 12:42:39 +0100 Subject: add crow --- etc/crow.profile | 57 ++++++++++++++++++++++++++++++++++++++++++++++ src/firecfg/firecfg.config | 1 + 2 files changed, 58 insertions(+) create mode 100644 etc/crow.profile diff --git a/etc/crow.profile b/etc/crow.profile new file mode 100644 index 000000000..14145ffea --- /dev/null +++ b/etc/crow.profile @@ -0,0 +1,57 @@ +# Firejail profile for crow +# This file is overwritten after every install/update +# Persistent local customizations +include crow.local +# Persistent global definitions +include globals.local + +noblacklist ${HOME}/.config/crow +noblacklist ${HOME}/.cache/gstreamer-1.0 + +mkdir ${HOME}/.config/crow +mkdir ${HOME}/.cache/gstreamer-1.0 + +whitelist ${HOME}/.config/crow +whitelist ${HOME}/.cache/gstreamer-1.0 + +include disable-common.inc +include disable-devel.inc +include disable-interpreters.inc +include disable-passwdmgr.inc +include disable-programs.inc +include disable-xdg.inc + +include whitelist-common.inc + +# apparmor +caps.drop all +# ipc-namespace +netfilter +no3d +nodbus +nodvd +nogroups +nonewprivs +noroot +# nosound +notv +nou2f +novideo +protocol unix,inet,inet6,netlink +seccomp +shell none +# tracelog + +disable-mnt +private-bin crow +# private-cache +private-dev +private-etc ca-certificates,ssl,machine-id,dconf,nsswitch.conf,resolv.conf,fonts,asound.conf,pulse,pki,crypto-policies +# private-lib +private-opt none +private-tmp +private-srv none + +# memory-deny-write-execute +noexec ${HOME} +noexec /tmp diff --git a/src/firecfg/firecfg.config b/src/firecfg/firecfg.config index 551133328..8a0d3625b 100644 --- a/src/firecfg/firecfg.config +++ b/src/firecfg/firecfg.config @@ -94,6 +94,7 @@ code conkeror conky corebird +crow cvlc cyberfox darktable -- cgit v1.2.3-70-g09d2 From 8c8a62f238feba0151f780d8a788b1f01aa33b42 Mon Sep 17 00:00:00 2001 From: Lockdis <45907176+Lockdis@users.noreply.github.com> Date: Thu, 24 Jan 2019 18:59:08 +0100 Subject: Update nyx.profile, crow.profile --- etc/crow.profile | 14 ++------------ etc/nyx.profile | 18 ++++++------------ 2 files changed, 8 insertions(+), 24 deletions(-) diff --git a/etc/crow.profile b/etc/crow.profile index 14145ffea..a8a00f596 100644 --- a/etc/crow.profile +++ b/etc/crow.profile @@ -1,16 +1,13 @@ # Firejail profile for crow +# Description: A translator that allows to translate and say selected text using Google, Yandex and Bing translate API # This file is overwritten after every install/update # Persistent local customizations include crow.local # Persistent global definitions include globals.local -noblacklist ${HOME}/.config/crow -noblacklist ${HOME}/.cache/gstreamer-1.0 - mkdir ${HOME}/.config/crow mkdir ${HOME}/.cache/gstreamer-1.0 - whitelist ${HOME}/.config/crow whitelist ${HOME}/.cache/gstreamer-1.0 @@ -23,35 +20,28 @@ include disable-xdg.inc include whitelist-common.inc -# apparmor caps.drop all -# ipc-namespace +ipc-namespace netfilter no3d -nodbus nodvd nogroups nonewprivs noroot -# nosound notv nou2f novideo protocol unix,inet,inet6,netlink seccomp shell none -# tracelog disable-mnt private-bin crow -# private-cache private-dev private-etc ca-certificates,ssl,machine-id,dconf,nsswitch.conf,resolv.conf,fonts,asound.conf,pulse,pki,crypto-policies -# private-lib private-opt none private-tmp private-srv none -# memory-deny-write-execute noexec ${HOME} noexec /tmp diff --git a/etc/nyx.profile b/etc/nyx.profile index aa3275a00..d5e1e1f84 100644 --- a/etc/nyx.profile +++ b/etc/nyx.profile @@ -1,20 +1,18 @@ # Firejail profile for nyx +# Description: Command-line status monitor for tor # This file is overwritten after every install/update # Persistent local customizations include nyx.local # Persistent global definitions include globals.local +noblacklist ${PATH}/python2* noblacklist ${PATH}/python3* -noblacklist /usr/include/python3* +noblacklist /usr/lib/python2* noblacklist /usr/lib/python3* -noblacklist /usr/local/lib/python3* -noblacklist /usr/share/python3* noblacklist ${HOME}/.nyx - mkdir ${HOME}/.nyx - whitelist ${HOME}/.nyx include disable-common.inc @@ -24,9 +22,8 @@ include disable-passwdmgr.inc include disable-programs.inc include disable-xdg.inc -# apparmor caps.drop all -# ipc-namespace +ipc-namespace netfilter no3d nodbus @@ -41,18 +38,15 @@ novideo protocol unix,inet,inet6 seccomp shell none -# tracelog disable-mnt -private-bin nyx,python +private-bin nyx,python* private-cache private-dev -private-etc passwd,tor -# private-lib +private-etc passwd,tor,fonts private-opt none private-srv none private-tmp -# memory-deny-write-execute noexec ${HOME} noexec /tmp -- cgit v1.2.3-70-g09d2