aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar glitsj16 <glitsj16@users.noreply.github.com>2020-01-02 21:13:38 +0000
committerLibravatar GitHub <noreply@github.com>2020-01-02 21:13:38 +0000
commit24c11634594842c222367299a748a38bd4dd8ff3 (patch)
treee74f32bd883105d68b6ace680fae909d0622f293
parentAdditional hardening for whois (diff)
downloadfirejail-24c11634594842c222367299a748a38bd4dd8ff3.tar.gz
firejail-24c11634594842c222367299a748a38bd4dd8ff3.tar.zst
firejail-24c11634594842c222367299a748a38bd4dd8ff3.zip
Extra hardening for wget
-rw-r--r--etc/wget.profile16
1 files changed, 14 insertions, 2 deletions
diff --git a/etc/wget.profile b/etc/wget.profile
index c034a3f0e..5b1ba6202 100644
--- a/etc/wget.profile
+++ b/etc/wget.profile
@@ -7,13 +7,20 @@ include wget.local
7# Persistent global definitions 7# Persistent global definitions
8include globals.local 8include globals.local
9 9
10noblacklist ${HOME}/.netrc
10noblacklist ${HOME}/.wget-hsts 11noblacklist ${HOME}/.wget-hsts
11noblacklist ${HOME}/.wgetrc 12noblacklist ${HOME}/.wgetrc
12 13
14blacklist /tmp/.X11-unix
15
13include disable-common.inc 16include disable-common.inc
17include disable-devel.inc
14include disable-exec.inc 18include disable-exec.inc
19include disable-interpreters.inc
15include disable-passwdmgr.inc 20include disable-passwdmgr.inc
16include disable-programs.inc 21include disable-programs.inc
22# depending on workflow you can uncomment the below or put 'include disable-xdg.inc' in your wget.local
23include disable-xdg.inc
17 24
18include whitelist-usr-share-common.inc 25include whitelist-usr-share-common.inc
19include whitelist-var-common.inc 26include whitelist-var-common.inc
@@ -21,6 +28,7 @@ include whitelist-var-common.inc
21caps.drop all 28caps.drop all
22ipc-namespace 29ipc-namespace
23machine-id 30machine-id
31nodbus
24netfilter 32netfilter
25no3d 33no3d
26nodvd 34nodvd
@@ -36,9 +44,13 @@ seccomp
36shell none 44shell none
37tracelog 45tracelog
38 46
39# private-bin wget 47private-bin wget
48private-cache
40private-dev 49private-dev
41# private-etc alternatives,ca-certificates,crypto-policie,pki,resolv.conf,ssl 50
51
52# depending on workflow you can uncomment the below or put this private-etc in your wget.local
53#private-etc alternatives,ca-certificates,crypto-policie,pki,resolv.conf,ssl,wgetrc
42# private-tmp 54# private-tmp
43 55
44memory-deny-write-execute 56memory-deny-write-execute