Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add profiles for tar (gtar), unzip and unrar #665

Merged
merged 2 commits into from
Jul 31, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ realinstall:
install -c -m 0644 .etc/epiphany.profile $(DESTDIR)/$(sysconfdir)/firejail/.
install -c -m 0644 .etc/evince.profile $(DESTDIR)/$(sysconfdir)/firejail/.
install -c -m 0644 .etc/fbreader.profile $(DESTDIR)/$(sysconfdir)/firejail/.
install -c -m 0644 .etc/file.profile $(DESTDIR)/$(sysconfdir)/firejail/.
install -c -m 0644 .etc/filezilla.profile $(DESTDIR)/$(sysconfdir)/firejail/.
install -c -m 0644 .etc/firefox-esr.profile $(DESTDIR)/$(sysconfdir)/firejail/.
install -c -m 0644 .etc/firefox.profile $(DESTDIR)/$(sysconfdir)/firejail/.
Expand All @@ -144,6 +145,7 @@ realinstall:
install -c -m 0644 .etc/google-chrome.profile $(DESTDIR)/$(sysconfdir)/firejail/.
install -c -m 0644 .etc/google-play-music-desktop-player.profile $(DESTDIR)/$(sysconfdir)/firejail/.
install -c -m 0644 .etc/gpredict.profile $(DESTDIR)/$(sysconfdir)/firejail/.
install -c -m 0644 .etc/gtar.profile $(DESTDIR)/$(sysconfdir)/firejail/.
install -c -m 0644 .etc/gthumb.profile $(DESTDIR)/$(sysconfdir)/firejail/.
install -c -m 0644 .etc/gwenview.profile $(DESTDIR)/$(sysconfdir)/firejail/.
install -c -m 0644 .etc/gzip.profile $(DESTDIR)/$(sysconfdir)/firejail/.
Expand Down Expand Up @@ -201,13 +203,16 @@ realinstall:
install -c -m 0644 .etc/steam.profile $(DESTDIR)/$(sysconfdir)/firejail/.
install -c -m 0644 .etc/stellarium.profile $(DESTDIR)/$(sysconfdir)/firejail/.
install -c -m 0644 .etc/strings.profile $(DESTDIR)/$(sysconfdir)/firejail/.
install -c -m 0644 .etc/tar.profile $(DESTDIR)/$(sysconfdir)/firejail/.
install -c -m 0644 .etc/telegram.profile $(DESTDIR)/$(sysconfdir)/firejail/.
install -c -m 0644 .etc/thunderbird.profile $(DESTDIR)/$(sysconfdir)/firejail/.
install -c -m 0644 .etc/totem.profile $(DESTDIR)/$(sysconfdir)/firejail/.
install -c -m 0644 .etc/transmission-gtk.profile $(DESTDIR)/$(sysconfdir)/firejail/.
install -c -m 0644 .etc/transmission-qt.profile $(DESTDIR)/$(sysconfdir)/firejail/.
install -c -m 0644 .etc/uget-gtk.profile $(DESTDIR)/$(sysconfdir)/firejail/.
install -c -m 0644 .etc/unbound.profile $(DESTDIR)/$(sysconfdir)/firejail/.
install -c -m 0644 .etc/unrar.profile $(DESTDIR)/$(sysconfdir)/firejail/.
install -c -m 0644 .etc/unzip.profile $(DESTDIR)/$(sysconfdir)/firejail/.
install -c -m 0644 .etc/uudeview.profile $(DESTDIR)/$(sysconfdir)/firejail/.
install -c -m 0644 .etc/vivaldi-beta.profile $(DESTDIR)/$(sysconfdir)/firejail/.
install -c -m 0644 .etc/vivaldi.profile $(DESTDIR)/$(sysconfdir)/firejail/.
Expand Down
2 changes: 2 additions & 0 deletions README
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ Peter Hogg (https://github.com/pigmonkey)
Thomas Jarosch (https://github.com/thomasjfox)
- disable keepassx in disable-passwdmgr.inc
- added uudeview profile
- added tar (gtar), unzip and unrar profile
- added file profile
- improved profile list
Niklas Haas (https://github.com/haasn)
- blacklisting for keybase.io's client
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -156,4 +156,5 @@ Browsers: Palemoon
## New security profiles

Gitter, gThumb, mpv, Franz messenger, LibreOffice, pix, audacity, strings, xz, xzdec, gzip, cpio, less, Atom Beta, Atom, jitsi, eom, uudeview
tar (gtar), unzip, unrar, file

1 change: 1 addition & 0 deletions RELNOTES
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ firejail (0.9.42~rc2) baseline; urgency=low
* new profiles: Gitter, gThumb, mpv, Franz messenger, LibreOffice
* new profiles: pix, audacity, strings, xz, xzdec, gzip, cpio, less
* new profiles: Atom Beta, Atom, jitsi, eom, uudeview
* new profiles: tar (gtar), unzip, unrar, file
-- netblue30 <[email protected]> Thu, 21 Jul 2016 08:00:00 -0500

firejail (0.9.40) baseline; urgency=low
Expand Down
11 changes: 11 additions & 0 deletions etc/file.profile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# file profile
include /etc/firejail/default.profile

tracelog
net none
shell none
private-bin file
private-dev
private-etc magic.mgc,magic,localtime
hostname file
nosound
1 change: 1 addition & 0 deletions etc/gtar.profile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
include /etc/firejail/tar.profile
13 changes: 13 additions & 0 deletions etc/tar.profile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# tar profile
include /etc/firejail/default.profile

tracelog
net none
shell none

# support compressed archives
private-bin tar,gtar,compress,gzip,lzma,xz,bzip2,lbzip2,lzip,lzop
private-dev
private-etc passwd,group,localtime
hostname tar
nosound
11 changes: 11 additions & 0 deletions etc/unrar.profile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# unrar profile
include /etc/firejail/default.profile

tracelog
net none
shell none
private-bin unrar
private-dev
private-etc passwd,group,localtime
hostname unrar
nosound
11 changes: 11 additions & 0 deletions etc/unzip.profile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# unzip profile
include /etc/firejail/default.profile

tracelog
net none
shell none
private-bin unzip
private-dev
private-etc passwd,group,localtime
hostname unzip
nosound
5 changes: 5 additions & 0 deletions platform/debian/conffiles
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
/etc/firejail/epiphany.profile
/etc/firejail/evince.profile
/etc/firejail/fbreader.profile
/etc/firejail/file.profile
/etc/firejail/filezilla.profile
/etc/firejail/firefox-esr.profile
/etc/firejail/firefox.profile
Expand All @@ -50,6 +51,7 @@
/etc/firejail/google-chrome.profile
/etc/firejail/google-play-music-desktop-player.profile
/etc/firejail/gpredict.profile
/etc/firejail/gtar.profile
/etc/firejail/gthumb.profile
/etc/firejail/gwenview.profile
/etc/firejail/gzip.profile
Expand Down Expand Up @@ -108,13 +110,16 @@
/etc/firejail/steam.profile
/etc/firejail/stellarium.profile
/etc/firejail/strings.profile
/etc/firejail/tar.profile
/etc/firejail/telegram.profile
/etc/firejail/thunderbird.profile
/etc/firejail/totem.profile
/etc/firejail/transmission-gtk.profile
/etc/firejail/transmission-qt.profile
/etc/firejail/uget-gtk.profile
/etc/firejail/unbound.profile
/etc/firejail/unrar.profile
/etc/firejail/unzip.profile
/etc/firejail/uudeview.profile
/etc/firejail/vivaldi-beta.profile
/etc/firejail/vivaldi.profile
Expand Down