mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-21 06:45:29 -06:00
added whois and dig profiles
This commit is contained in:
parent
bbac3af66e
commit
ef4409e7b7
8 changed files with 131 additions and 3 deletions
|
|
@ -167,4 +167,4 @@ We also keep a list of profile fixes for previous released versions in [etc-fixe
|
||||||
## New profiles
|
## New profiles
|
||||||
Microsoft Office Online, riot-desktop, gnome-mpv, snox, gradio, standardnotes-desktop,
|
Microsoft Office Online, riot-desktop, gnome-mpv, snox, gradio, standardnotes-desktop,
|
||||||
shellcheck, patch, flameshot, rview, rvim, vimcat, vimdiff, vimpager, vimtutor,
|
shellcheck, patch, flameshot, rview, rvim, vimcat, vimdiff, vimpager, vimtutor,
|
||||||
xxd, Beaker, electrum, clamtk, pybitmessage
|
xxd, Beaker, electrum, clamtk, pybitmessage, dig, whois
|
||||||
|
|
|
||||||
2
RELNOTES
2
RELNOTES
|
|
@ -19,7 +19,7 @@ firejail (0.9.56~rc1) baseline; urgency=low
|
||||||
* new profiles: ms-skype, ms-word, riot-desktop, gnome-mpv, snox, gradio,
|
* new profiles: ms-skype, ms-word, riot-desktop, gnome-mpv, snox, gradio,
|
||||||
* new profiles: standardnotes-desktop, shellcheck, patch, flameshot,
|
* new profiles: standardnotes-desktop, shellcheck, patch, flameshot,
|
||||||
* new profiles: rview, rvim, vimcat, vimdiff, vimpager, vimtutor, xxd,
|
* new profiles: rview, rvim, vimcat, vimdiff, vimpager, vimtutor, xxd,
|
||||||
* new profiles: Beaker, electrum, clamtk, pybitmessage
|
* new profiles: Beaker, electrum, clamtk, pybitmessage, dig, whois
|
||||||
-- netblue30 <netblue30@yahoo.com> Sat, 11 Aug 2018 08:00:00 -0500
|
-- netblue30 <netblue30@yahoo.com> Sat, 11 Aug 2018 08:00:00 -0500
|
||||||
|
|
||||||
firejail (0.9.54) baseline; urgency=low
|
firejail (0.9.54) baseline; urgency=low
|
||||||
|
|
|
||||||
47
etc/dig.profile
Normal file
47
etc/dig.profile
Normal file
|
|
@ -0,0 +1,47 @@
|
||||||
|
quiet
|
||||||
|
# Firejail profile for dig
|
||||||
|
# This file is overwritten after every install/update
|
||||||
|
# Persistent local customizations
|
||||||
|
include /etc/firejail/dig.local
|
||||||
|
# Persistent global definitions
|
||||||
|
include /etc/firejail/globals.local
|
||||||
|
|
||||||
|
include /etc/firejail/disable-common.inc
|
||||||
|
# include /etc/firejail/disable-devel.inc
|
||||||
|
# include /etc/firejail/disable-interpreters.inc
|
||||||
|
include /etc/firejail/disable-passwdmgr.inc
|
||||||
|
include /etc/firejail/disable-programs.inc
|
||||||
|
#include /etc/firejail/disable-xdg.inc
|
||||||
|
|
||||||
|
whitelist ~/.digrc
|
||||||
|
include /etc/firejail/whitelist-common.inc
|
||||||
|
include /etc/firejail/whitelist-var-common.inc
|
||||||
|
|
||||||
|
caps.drop all
|
||||||
|
# ipc-namespace
|
||||||
|
netfilter
|
||||||
|
no3d
|
||||||
|
nodbus
|
||||||
|
nodvd
|
||||||
|
nogroups
|
||||||
|
nonewprivs
|
||||||
|
noroot
|
||||||
|
nosound
|
||||||
|
notv
|
||||||
|
novideo
|
||||||
|
protocol unix,inet,inet6
|
||||||
|
seccomp
|
||||||
|
shell none
|
||||||
|
|
||||||
|
disable-mnt
|
||||||
|
private
|
||||||
|
private-bin sh,bash,dig
|
||||||
|
private-cache
|
||||||
|
private-dev
|
||||||
|
# private-etc resolv.conf
|
||||||
|
private-lib
|
||||||
|
private-tmp
|
||||||
|
|
||||||
|
memory-deny-write-execute
|
||||||
|
# noexec ${HOME}
|
||||||
|
# noexec /tmp
|
||||||
45
etc/whois.profile
Normal file
45
etc/whois.profile
Normal file
|
|
@ -0,0 +1,45 @@
|
||||||
|
quiet
|
||||||
|
# Firejail profile for whois
|
||||||
|
# This file is overwritten after every install/update
|
||||||
|
# Persistent local customizations
|
||||||
|
include /etc/firejail/whois.local
|
||||||
|
# Persistent global definitions
|
||||||
|
include /etc/firejail/globals.local
|
||||||
|
|
||||||
|
include /etc/firejail/disable-common.inc
|
||||||
|
# include /etc/firejail/disable-devel.inc
|
||||||
|
# include /etc/firejail/disable-interpreters.inc
|
||||||
|
include /etc/firejail/disable-passwdmgr.inc
|
||||||
|
include /etc/firejail/disable-programs.inc
|
||||||
|
#include /etc/firejail/disable-xdg.inc
|
||||||
|
|
||||||
|
include /etc/firejail/whitelist-var-common.inc
|
||||||
|
|
||||||
|
caps.drop all
|
||||||
|
# ipc-namespace
|
||||||
|
netfilter
|
||||||
|
no3d
|
||||||
|
nodbus
|
||||||
|
nodvd
|
||||||
|
nogroups
|
||||||
|
nonewprivs
|
||||||
|
noroot
|
||||||
|
nosound
|
||||||
|
notv
|
||||||
|
novideo
|
||||||
|
protocol inet,inet6
|
||||||
|
seccomp
|
||||||
|
shell none
|
||||||
|
|
||||||
|
disable-mnt
|
||||||
|
private
|
||||||
|
private-bin sh,bash,whois
|
||||||
|
private-cache
|
||||||
|
private-dev
|
||||||
|
# private-etc hosts,services,whois.conf
|
||||||
|
private-lib
|
||||||
|
private-tmp
|
||||||
|
|
||||||
|
memory-deny-write-execute
|
||||||
|
# noexec ${HOME}
|
||||||
|
# noexec /tmp
|
||||||
|
|
@ -94,6 +94,7 @@ deadbeef
|
||||||
deluge
|
deluge
|
||||||
dex2jar
|
dex2jar
|
||||||
dia
|
dia
|
||||||
|
dig
|
||||||
digikam
|
digikam
|
||||||
dillo
|
dillo
|
||||||
dino
|
dino
|
||||||
|
|
@ -442,6 +443,7 @@ weechat
|
||||||
weechat-curses
|
weechat-curses
|
||||||
wesnoth
|
wesnoth
|
||||||
wget
|
wget
|
||||||
|
whois
|
||||||
wine
|
wine
|
||||||
wire-desktop
|
wire-desktop
|
||||||
wireshark
|
wireshark
|
||||||
|
|
|
||||||
17
test/private-lib/dig.exp
Executable file
17
test/private-lib/dig.exp
Executable file
|
|
@ -0,0 +1,17 @@
|
||||||
|
#!/usr/bin/expect -f
|
||||||
|
# This file is part of Firejail project
|
||||||
|
# Copyright (C) 2014-2018 Firejail Authors
|
||||||
|
# License GPL v2
|
||||||
|
|
||||||
|
set timeout 10
|
||||||
|
spawn $env(SHELL)
|
||||||
|
match_max 100000
|
||||||
|
|
||||||
|
send -- "firejail dig 1.1.1.1\r"
|
||||||
|
expect {
|
||||||
|
timeout {puts "TESTING ERROR 0\n";exit}
|
||||||
|
"Query time"
|
||||||
|
}
|
||||||
|
|
||||||
|
after 100
|
||||||
|
puts "\nall done\n"
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
export MALLOC_CHECK_=3
|
export MALLOC_CHECK_=3
|
||||||
export MALLOC_PERTURB_=$(($RANDOM % 255 + 1))
|
export MALLOC_PERTURB_=$(($RANDOM % 255 + 1))
|
||||||
LIST="evince galculator gnome-calculator gedit leafpad mousepad pluma transmission-gtk xcalc atril gpicview eom eog"
|
LIST="dig whois evince galculator gnome-calculator gedit leafpad mousepad pluma transmission-gtk xcalc atril gpicview eom eog"
|
||||||
|
|
||||||
|
|
||||||
for app in $LIST; do
|
for app in $LIST; do
|
||||||
|
|
|
||||||
17
test/private-lib/whois.exp
Executable file
17
test/private-lib/whois.exp
Executable file
|
|
@ -0,0 +1,17 @@
|
||||||
|
#!/usr/bin/expect -f
|
||||||
|
# This file is part of Firejail project
|
||||||
|
# Copyright (C) 2014-2018 Firejail Authors
|
||||||
|
# License GPL v2
|
||||||
|
|
||||||
|
set timeout 10
|
||||||
|
spawn $env(SHELL)
|
||||||
|
match_max 100000
|
||||||
|
|
||||||
|
send -- "firejail whois debian.org\r"
|
||||||
|
expect {
|
||||||
|
timeout {puts "TESTING ERROR 0\n";exit}
|
||||||
|
"Domain Name"
|
||||||
|
}
|
||||||
|
|
||||||
|
after 100
|
||||||
|
puts "\nall done\n"
|
||||||
Loading…
Add table
Add a link
Reference in a new issue