aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile.in1
-rw-r--r--README1
-rw-r--r--RELNOTES6
-rw-r--r--etc/chromium.profile13
-rw-r--r--etc/disable-common.inc3
-rw-r--r--etc/google-chrome-beta.profile16
-rw-r--r--etc/google-chrome-stable.profile6
-rw-r--r--etc/google-chrome-unstable.profile16
-rw-r--r--etc/google-chrome.profile15
-rw-r--r--etc/opera-beta.profile (renamed from etc/chromium-common.profile)13
-rw-r--r--etc/opera.profile7
-rw-r--r--platform/debian/conffiles1
-rw-r--r--todo13
13 files changed, 80 insertions, 31 deletions
diff --git a/Makefile.in b/Makefile.in
index 143ac5975..b7629a9e5 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -93,6 +93,7 @@ realinstall:
93 install -c -m 0644 .etc/disable-common.inc $(DESTDIR)/$(sysconfdir)/firejail/. 93 install -c -m 0644 .etc/disable-common.inc $(DESTDIR)/$(sysconfdir)/firejail/.
94 install -c -m 0644 .etc/dropbox.profile $(DESTDIR)/$(sysconfdir)/firejail/. 94 install -c -m 0644 .etc/dropbox.profile $(DESTDIR)/$(sysconfdir)/firejail/.
95 install -c -m 0644 .etc/opera.profile $(DESTDIR)/$(sysconfdir)/firejail/. 95 install -c -m 0644 .etc/opera.profile $(DESTDIR)/$(sysconfdir)/firejail/.
96 install -c -m 0644 .etc/opera-beta.profile $(DESTDIR)/$(sysconfdir)/firejail/.
96 install -c -m 0644 .etc/thunderbird.profile $(DESTDIR)/$(sysconfdir)/firejail/. 97 install -c -m 0644 .etc/thunderbird.profile $(DESTDIR)/$(sysconfdir)/firejail/.
97 install -c -m 0644 .etc/transmission-gtk.profile $(DESTDIR)/$(sysconfdir)/firejail/. 98 install -c -m 0644 .etc/transmission-gtk.profile $(DESTDIR)/$(sysconfdir)/firejail/.
98 install -c -m 0644 .etc/transmission-qt.profile $(DESTDIR)/$(sysconfdir)/firejail/. 99 install -c -m 0644 .etc/transmission-qt.profile $(DESTDIR)/$(sysconfdir)/firejail/.
diff --git a/README b/README
index c84e92ea7..78a2fb750 100644
--- a/README
+++ b/README
@@ -27,6 +27,7 @@ avoidr (https://github.com/avoidr)
27 - whitelist fix 27 - whitelist fix
28 - blacklist ncat, manpage fixes, 28 - blacklist ncat, manpage fixes,
29 - hostname support in profile file 29 - hostname support in profile file
30 - Google Chrome profile rework
30Bruno Nova (https://github.com/brunonova) 31Bruno Nova (https://github.com/brunonova)
31 - whitelist fix 32 - whitelist fix
32 - bash arguments fix 33 - bash arguments fix
diff --git a/RELNOTES b/RELNOTES
index 881c2883b..4d5e0e796 100644
--- a/RELNOTES
+++ b/RELNOTES
@@ -1,6 +1,12 @@
1firejail (0.9.35) baseline; urgency=low 1firejail (0.9.35) baseline; urgency=low
2 * added unbound, dnscrypt-proxy, BitlBee, HexChat, WeeChat 2 * added unbound, dnscrypt-proxy, BitlBee, HexChat, WeeChat
3 and rtorrent profiles 3 and rtorrent profiles
4 * Google Chrome profile rework
5 * added google-chrome-stable profile
6 * added google-chrome-beta profile
7 * added google-chrome-unstable profile
8 * Opera profile rework
9 * added opera-beta profile
4 * added --noblacklist option 10 * added --noblacklist option
5 * whitelist command enhancements 11 * whitelist command enhancements
6 * prevent leaking user information by modifying /home directory, 12 * prevent leaking user information by modifying /home directory,
diff --git a/etc/chromium.profile b/etc/chromium.profile
index c3a7a186c..76dc6b234 100644
--- a/etc/chromium.profile
+++ b/etc/chromium.profile
@@ -1,4 +1,15 @@
1# Chromium browser profile 1# Chromium browser profile
2noblacklist ${HOME}/.config/chromium 2noblacklist ${HOME}/.config/chromium
3include /etc/firejail/disable-mgmt.inc
4include /etc/firejail/disable-secret.inc
5include /etc/firejail/disable-common.inc
6
7# chromium is distributed with a perl script on Arch
8# include /etc/firejail/disable-devel.inc
9#
10
11netfilter
12whitelist ${DOWNLOADS}
3whitelist ~/.config/chromium 13whitelist ~/.config/chromium
4include /etc/firejail/chromium-common.profile 14whitelist ~/.cache/chromium
15include /etc/firejail/whitelist-common.inc
diff --git a/etc/disable-common.inc b/etc/disable-common.inc
index 177588f5b..fdb3e552b 100644
--- a/etc/disable-common.inc
+++ b/etc/disable-common.inc
@@ -11,8 +11,11 @@ blacklist ${HOME}/.thunderbird
11blacklist ${HOME}/.sylpheed-2.0 11blacklist ${HOME}/.sylpheed-2.0
12blacklist ${HOME}/.config/midori 12blacklist ${HOME}/.config/midori
13blacklist ${HOME}/.config/opera 13blacklist ${HOME}/.config/opera
14blacklist ${HOME}/.config/opera-beta
14blacklist ${HOME}/.config/chromium 15blacklist ${HOME}/.config/chromium
15blacklist ${HOME}/.config/google-chrome 16blacklist ${HOME}/.config/google-chrome
17blacklist ${HOME}/.config/google-chrome-beta
18blacklist ${HOME}/.config/google-chrome-unstable
16blacklist ${HOME}/.filezilla 19blacklist ${HOME}/.filezilla
17blacklist ${HOME}/.config/filezilla 20blacklist ${HOME}/.config/filezilla
18blacklist ${HOME}/.local/share/systemd 21blacklist ${HOME}/.local/share/systemd
diff --git a/etc/google-chrome-beta.profile b/etc/google-chrome-beta.profile
index 0f7078adc..6122876bf 100644
--- a/etc/google-chrome-beta.profile
+++ b/etc/google-chrome-beta.profile
@@ -1,4 +1,16 @@
1# Chromium browser profile 1# Google Chrome beta browser profile
2noblacklist ${HOME}/.config/google-chrome-beta 2noblacklist ${HOME}/.config/google-chrome-beta
3include /etc/firejail/disable-mgmt.inc
4include /etc/firejail/disable-secret.inc
5include /etc/firejail/disable-common.inc
6
7# chromium is distributed with a perl script on Arch
8# include /etc/firejail/disable-devel.inc
9#
10
11netfilter
12whitelist ${DOWNLOADS}
3whitelist ~/.config/google-chrome-beta 13whitelist ~/.config/google-chrome-beta
4include /etc/firejail/chromium-common.profile 14whitelist ~/.cache/google-chrome-beta
15include /etc/firejail/whitelist-common.inc
16
diff --git a/etc/google-chrome-stable.profile b/etc/google-chrome-stable.profile
index 3cc58c4d2..78c8ca6e5 100644
--- a/etc/google-chrome-stable.profile
+++ b/etc/google-chrome-stable.profile
@@ -1,4 +1,2 @@
1# Chromium browser profile 1# Google Chrome browser profile
2noblacklist ${HOME}/.config/google-chrome 2include /etc/firejail/google-chrome.profile
3whitelist ~/.config/google-chrome
4include /etc/firejail/chromium-common.profile
diff --git a/etc/google-chrome-unstable.profile b/etc/google-chrome-unstable.profile
index db184419d..7b8b12d04 100644
--- a/etc/google-chrome-unstable.profile
+++ b/etc/google-chrome-unstable.profile
@@ -1,4 +1,16 @@
1# Chromium browser profile 1# Google Chrome unstable browser profile
2noblacklist ${HOME}/.config/google-chrome-unstable 2noblacklist ${HOME}/.config/google-chrome-unstable
3include /etc/firejail/disable-mgmt.inc
4include /etc/firejail/disable-secret.inc
5include /etc/firejail/disable-common.inc
6
7# chromium is distributed with a perl script on Arch
8# include /etc/firejail/disable-devel.inc
9#
10
11netfilter
12whitelist ${DOWNLOADS}
3whitelist ~/.config/google-chrome-unstable 13whitelist ~/.config/google-chrome-unstable
4include /etc/firejail/chromium-common.profile 14whitelist ~/.cache/google-chrome-unstable
15include /etc/firejail/whitelist-common.inc
16
diff --git a/etc/google-chrome.profile b/etc/google-chrome.profile
index 3cc58c4d2..351490d7f 100644
--- a/etc/google-chrome.profile
+++ b/etc/google-chrome.profile
@@ -1,4 +1,15 @@
1# Chromium browser profile 1# Google Chrome browser profile
2noblacklist ${HOME}/.config/google-chrome 2noblacklist ${HOME}/.config/google-chrome
3include /etc/firejail/disable-mgmt.inc
4include /etc/firejail/disable-secret.inc
5include /etc/firejail/disable-common.inc
6
7# chromium is distributed with a perl script on Arch
8# include /etc/firejail/disable-devel.inc
9#
10
11netfilter
12whitelist ${DOWNLOADS}
3whitelist ~/.config/google-chrome 13whitelist ~/.config/google-chrome
4include /etc/firejail/chromium-common.profile 14whitelist ~/.cache/google-chrome
15include /etc/firejail/whitelist-common.inc
diff --git a/etc/chromium-common.profile b/etc/opera-beta.profile
index 25eab0707..c1672abce 100644
--- a/etc/chromium-common.profile
+++ b/etc/opera-beta.profile
@@ -1,12 +1,13 @@
1# Chromium browser profile 1# Opera-beta browser profile
2noblacklist ${HOME}/.config/opera-beta
2include /etc/firejail/disable-mgmt.inc 3include /etc/firejail/disable-mgmt.inc
3include /etc/firejail/disable-secret.inc 4include /etc/firejail/disable-secret.inc
4include /etc/firejail/disable-common.inc 5include /etc/firejail/disable-common.inc
5 6include /etc/firejail/disable-devel.inc
6# chromium is distributed with a perl script on Arch
7# include /etc/firejail/disable-devel.inc
8#
9
10netfilter 7netfilter
8whitelist ~/.config/opera-beta
11whitelist ${DOWNLOADS} 9whitelist ${DOWNLOADS}
10whitelist ~/.cache/opera-beta
12include /etc/firejail/whitelist-common.inc 11include /etc/firejail/whitelist-common.inc
12
13
diff --git a/etc/opera.profile b/etc/opera.profile
index 34a034a17..a76806ed0 100644
--- a/etc/opera.profile
+++ b/etc/opera.profile
@@ -1,10 +1,13 @@
1# Chromium browser profile 1# Opera browser profile
2noblacklist ${HOME}/.config/opera 2noblacklist ${HOME}/.config/opera
3include /etc/firejail/disable-mgmt.inc 3include /etc/firejail/disable-mgmt.inc
4include /etc/firejail/disable-secret.inc 4include /etc/firejail/disable-secret.inc
5include /etc/firejail/disable-common.inc 5include /etc/firejail/disable-common.inc
6include /etc/firejail/disable-devel.inc 6include /etc/firejail/disable-devel.inc
7netfilter 7netfilter
8noroot 8whitelist ~/.config/opera
9whitelist ${DOWNLOADS}
10whitelist ~/.cache/opera
11include /etc/firejail/whitelist-common.inc
9 12
10 13
diff --git a/platform/debian/conffiles b/platform/debian/conffiles
index ea17a121e..bda064f60 100644
--- a/platform/debian/conffiles
+++ b/platform/debian/conffiles
@@ -14,6 +14,7 @@
14/etc/firejail/disable-mgmt.inc 14/etc/firejail/disable-mgmt.inc
15/etc/firejail/firefox.profile 15/etc/firejail/firefox.profile
16/etc/firejail/opera.profile 16/etc/firejail/opera.profile
17/etc/firejail/opera-beta.profile
17/etc/firejail/thunderbird.profile 18/etc/firejail/thunderbird.profile
18/etc/firejail/transmission-gtk.profile 19/etc/firejail/transmission-gtk.profile
19/etc/firejail/transmission-qt.profile 20/etc/firejail/transmission-qt.profile
diff --git a/todo b/todo
index 863a34fe4..fe82248b8 100644
--- a/todo
+++ b/todo
@@ -143,15 +143,4 @@ dr-x------ 2 65534 65534 40 Nov 24 17:53 .mozilla
143 143
14419. Try --overlay on a Ubuntu 14.04 32bit.Without adding --dns, there will be no network connectivity - see issue 151 14419. Try --overlay on a Ubuntu 14.04 32bit.Without adding --dns, there will be no network connectivity - see issue 151
145 145
14620. Check this out: 14620. blacklist ~/.cache in disable-common.inc???
147
148I was messing around with my fstab, and found out that firejail can't have /usr/bin mounted in read-only.
149 Here's what my fstab looks like now:
150
151/dev/mapper/asdf-home /home ext4 nosuid,noatime,nodev 0 2
152/dev/mapper/asdf-opt /opt ext4 discard,noatime,nosuid 0 2
153/dev/mapper/asdf-usr--bin /usr/bin ext4 defaults,nosuid,noatime,rw 0 2
154/dev/mapper/asdf-usr--local /usr/local ext4 defaults,nosuid,noatime,ro 0 2
155/dev/mapper/asdf-usr--sbin /usr/sbin ext4 defaults,nosuid,,noatime,ro 0 2
156/dev/mapper/asdf-var /var ext4 discard,noatime,nodev,nosuid 0 2
157tmpfs /tmp tmpfs noatime,nosuid,nodev,size=2G 0 1