mirror of
https://github.com/torproject/torbrowser-launcher.git
synced 2024-11-27 03:20:33 +00:00
AppArmor: Support pluggable transports especially meek
This commit is contained in:
parent
fc2073de09
commit
50e62ceccd
@ -24,6 +24,7 @@ profile torbrowser_tor @{torbrowser_tor_executable} {
|
||||
# Support some of the included pluggable transports
|
||||
owner @{torbrowser_home_dir}/TorBrowser/Tor/PluggableTransports/** rix,
|
||||
@{PROC}/sys/net/core/somaxconn r,
|
||||
#include <abstractions/ssl_certs>
|
||||
|
||||
# Silence file_inherit logs
|
||||
deny @{torbrowser_home_dir}/{browser/,}omni.ja r,
|
||||
@ -31,6 +32,9 @@ profile torbrowser_tor @{torbrowser_tor_executable} {
|
||||
deny @{torbrowser_home_dir}/TorBrowser/Data/Browser/profile.default/.parentlock rw,
|
||||
deny @{torbrowser_home_dir}/TorBrowser/Data/Browser/profile.default/extensions/*.xpi r,
|
||||
deny @{torbrowser_home_dir}/TorBrowser/Data/Browser/profile.default/startupCache/* r,
|
||||
# Silence logs from included pluggable transports
|
||||
deny /etc/hosts r,
|
||||
deny /etc/services r,
|
||||
|
||||
@{PROC}/sys/kernel/random/uuid r,
|
||||
/sys/devices/system/cpu/ r,
|
||||
|
Loading…
Reference in New Issue
Block a user