curl profile

This commit is contained in:
netblue30 2017-06-15 20:53:29 -04:00
parent 05fbfe6389
commit 19c2c137bf
6 changed files with 45 additions and 0 deletions

View file

@ -63,3 +63,8 @@ Use this issue to request new profiles: https://github.com/netblue30/firejail/is
`````
# Current development version: 0.9.49
## New profiles:
curl

View file

@ -1,5 +1,6 @@
firejail (0.9.49) baseline; urgency=low
* work in progress!
* new profiles: curl
* bugfixes
-- netblue30 <netblue30@yahoo.com> Mon, 12 Jun 2017 20:00:00 -0500

35
etc/curl.profile Normal file
View file

@ -0,0 +1,35 @@
quiet
# Persistent global definitions go here
include /etc/firejail/globals.local
# This file is overwritten during software install.
# Persistent customizations should go in a .local file.
include /etc/firejail/curl.local
# curl profile
noblacklist ~/.curlrc
include /etc/firejail/disable-common.inc
include /etc/firejail/disable-programs.inc
include /etc/firejail/disable-passwdmgr.inc
caps.drop all
#ipc-namespace
netfilter
no3d
nogroups
nonewprivs
noroot
nosound
protocol unix,inet,inet6
seccomp
shell none
blacklist /tmp/.X11-unix
# private-bin curl
private-dev
# private-etc resolv.conf
private-tmp
noexec ${HOME}
noexec /tmp

View file

@ -170,6 +170,7 @@ blacklist ${HOME}/.config/xviewer
blacklist ${HOME}/.config/zathura
blacklist ${HOME}/.config/zoomus.conf
blacklist ${HOME}/.conkeror.mozdev.org
blacklist ${HOME}/.curlrc
blacklist ${HOME}/.dia
blacklist ${HOME}/.dillo
blacklist ${HOME}/.dosbox
@ -339,6 +340,7 @@ blacklist ${HOME}/.vst
blacklist ${HOME}/.w3m
blacklist ${HOME}/.warzone2100-3.*
blacklist ${HOME}/.weechat
blacklist ${HOME}/.wgetrc
blacklist ${HOME}/.wine
blacklist ${HOME}/.wine64
blacklist ${HOME}/.xiphos

View file

@ -7,6 +7,7 @@ include /etc/firejail/globals.local
include /etc/firejail/wget.local
# wget profile
noblacklist ~/.wgetrc
include /etc/firejail/disable-common.inc
include /etc/firejail/disable-programs.inc
include /etc/firejail/disable-passwdmgr.inc

View file

@ -307,3 +307,4 @@
/etc/firejail/darktable.profile
/etc/firejail/waterfox.profile
/etc/firejail/handbrake.profile
/etc/firejail/curl.profile