Skip to content

Commit

Permalink
hardening ssh, tor
Browse files Browse the repository at this point in the history
  • Loading branch information
netblue30 committed Feb 23, 2021
1 parent f2b7ec0 commit 0e31d02
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions etc/profile-m-z/ssh.profile
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ whitelist ${RUNUSER}/keyring/ssh
include whitelist-usr-share-common.inc
include whitelist-runuser-common.inc

apparmor
caps.drop all
ipc-namespace
netfilter
Expand Down
5 changes: 5 additions & 0 deletions etc/profile-m-z/torbrowser-launcher.profile
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ noblacklist ${HOME}/.local/share/torbrowser
include allow-python2.inc
include allow-python3.inc

blacklist /opt
blacklist /srv

include disable-common.inc
include disable-devel.inc
include disable-exec.inc
Expand All @@ -30,6 +33,8 @@ whitelist ${HOME}/.config/torbrowser
whitelist ${HOME}/.local/share/torbrowser
include whitelist-common.inc
include whitelist-var-common.inc
include whitelist-runuser-common.inc
include whitelist-usr-share-common.inc

# Uncomment the line below or put 'apparmor' in your torbrowser-launcher.local.
# IMPORTANT: the relevant rule in /etc/apparmor.d/local/firejail-default will need
Expand Down

0 comments on commit 0e31d02

Please sign in to comment.