aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@yahoo.com>2020-12-12 18:13:44 -0500
committerLibravatar netblue30 <netblue30@yahoo.com>2020-12-12 18:13:44 -0500
commit814bc190479d611ae6ffb442070e76ea61a2ade8 (patch)
treecf69f2c01eb1186f333a056aaaf126fc5cb5bb63
parentMerge pull request #3810 from kmk3/dc-add-ldns (diff)
downloadfirejail-814bc190479d611ae6ffb442070e76ea61a2ade8.tar.gz
firejail-814bc190479d611ae6ffb442070e76ea61a2ade8.tar.zst
firejail-814bc190479d611ae6ffb442070e76ea61a2ade8.zip
drill profile
-rw-r--r--README10
-rw-r--r--etc/profile-a-l/drill.profile56
-rw-r--r--src/firecfg/firecfg.config1
3 files changed, 67 insertions, 0 deletions
diff --git a/README b/README
index 81f5fd5e8..6c86dcc5a 100644
--- a/README
+++ b/README
@@ -252,12 +252,14 @@ Danil Semelenov (https://github.com/sgtpep)
252Dara Adib (https://github.com/daradib) 252Dara Adib (https://github.com/daradib)
253 - ssh profile fix 253 - ssh profile fix
254 - evince profile fix 254 - evince profile fix
255 - linphone profile fix
255Dario Pellegrini (https://github.com/dpellegr) 256Dario Pellegrini (https://github.com/dpellegr)
256 - allowing links in netns 257 - allowing links in netns
257David Thole (https://github.com/TheDarkTrumpet) 258David Thole (https://github.com/TheDarkTrumpet)
258 - added profile for teams-for-linux 259 - added profile for teams-for-linux
259Davide Beatrici (https://github.com/davidebeatrici) 260Davide Beatrici (https://github.com/davidebeatrici)
260 - steam.profile: correctly blacklist unneeded directories in user's home 261 - steam.profile: correctly blacklist unneeded directories in user's home
262 - minetest fixes
261David Hyrule (https://github.com/Svaag) 263David Hyrule (https://github.com/Svaag)
262 - remove nou2f in ssh profile 264 - remove nou2f in ssh profile
263Deelvesh Bunjun (https://github.com/DeelveshBunjun) 265Deelvesh Bunjun (https://github.com/DeelveshBunjun)
@@ -515,6 +517,8 @@ KellerFuchs (https://github.com/KellerFuchs)
515 - added support for .local profile files in /etc/firejail 517 - added support for .local profile files in /etc/firejail
516 - fixed Cryptocat profile 518 - fixed Cryptocat profile
517 - make ~/.local read-only 519 - make ~/.local read-only
520Kelvin (https://github.com/kmk3)
521 - disable ldns utilities
518Kishore96in (https://github.com/Kishore96in) 522Kishore96in (https://github.com/Kishore96in)
519 - added falkon profile 523 - added falkon profile
520 - kxmlgui fixes 524 - kxmlgui fixes
@@ -546,6 +550,7 @@ Liorst4 (https://github.com/Liorst4)
546 - Preserve CFLAGS given to configure in common.mk.in 550 - Preserve CFLAGS given to configure in common.mk.in
547 - fix emacs config to load as read-write 551 - fix emacs config to load as read-write
548 - disable browser drm by default 552 - disable browser drm by default
553 - minetest fixes
549Lockdis (https://github.com/Lockdis) 554Lockdis (https://github.com/Lockdis)
550 - Added crow, nyx, and google-earth-pro profiles 555 - Added crow, nyx, and google-earth-pro profiles
551Lukáš Krejčí (https://github.com/lskrejci) 556Lukáš Krejčí (https://github.com/lskrejci)
@@ -604,6 +609,7 @@ Neo00001 (https://github.com/Neo00001)
604 - add vmware profile 609 - add vmware profile
605 - update virtualbox profile 610 - update virtualbox profile
606 - update telegram profile 611 - update telegram profile
612 - add spectacle profile
607Nick Fox (https://github.com/njfox) 613Nick Fox (https://github.com/njfox)
608 - add a profile alias for code-oss 614 - add a profile alias for code-oss
609 - add code-oss config directory 615 - add code-oss config directory
@@ -701,6 +707,8 @@ Rahiel Kasim (https://github.com/rahiel)
701 - added telegram-desktop profile 707 - added telegram-desktop profile
702Rahul Golam (https://github.com/technoLord) 708Rahul Golam (https://github.com/technoLord)
703 - strings profile 709 - strings profile
710RandomVoid (https://github.com/RandomVoid)
711 - fix building C# projects in Godot
704Raphaël Droz (https://github.com/drzraf) 712Raphaël Droz (https://github.com/drzraf)
705 - zoom profile fixes 713 - zoom profile fixes
706Reiner Herrmann (https://github.com/reinerh) 714Reiner Herrmann (https://github.com/reinerh)
@@ -953,6 +961,8 @@ Vladimir Schowalter (https://github.com/VladimirSchowalter20)
953 read-only kde5 services directory 961 read-only kde5 services directory
954xee5ch (https://github.com/xee5ch) 962xee5ch (https://github.com/xee5ch)
955 - skypeforlinux profile 963 - skypeforlinux profile
964Ypnose (https://github.com/Ypnose)
965 - disable-shell.inc: add mksh shell
956yumkam (https://github.com/yumkam) 966yumkam (https://github.com/yumkam)
957 - add compile-time option to restrict --net= to root only 967 - add compile-time option to restrict --net= to root only
958 - man page fixes 968 - man page fixes
diff --git a/etc/profile-a-l/drill.profile b/etc/profile-a-l/drill.profile
new file mode 100644
index 000000000..8c59b0cb6
--- /dev/null
+++ b/etc/profile-a-l/drill.profile
@@ -0,0 +1,56 @@
1# Firejail profile for drill
2# Description: DNS lookup utility
3# This file is overwritten after every install/update
4quiet
5# Persistent local customizations
6include drill.local
7# Persistent global definitions
8include globals.local
9
10noblacklist ${PATH}/drill
11
12blacklist /tmp/.X11-unix
13blacklist ${RUNUSER}/wayland-*
14blacklist ${RUNUSER}
15
16include disable-common.inc
17# include disable-devel.inc
18include disable-exec.inc
19# include disable-interpreters.inc
20include disable-passwdmgr.inc
21include disable-programs.inc
22include disable-xdg.inc
23
24include whitelist-common.inc
25include whitelist-usr-share-common.inc
26include whitelist-var-common.inc
27
28apparmor
29caps.drop all
30ipc-namespace
31machine-id
32netfilter
33no3d
34nodvd
35nogroups
36nonewprivs
37noroot
38nosound
39notv
40nou2f
41novideo
42protocol unix,inet,inet6
43seccomp
44shell none
45tracelog
46
47disable-mnt
48private
49private-bin bash,drill,sh
50private-dev
51private-tmp
52
53dbus-user none
54dbus-system none
55
56memory-deny-write-execute
diff --git a/src/firecfg/firecfg.config b/src/firecfg/firecfg.config
index 000ed5258..fe6990229 100644
--- a/src/firecfg/firecfg.config
+++ b/src/firecfg/firecfg.config
@@ -180,6 +180,7 @@ dooble-qt4
180dosbox 180dosbox
181dragon 181dragon
182drawio 182drawio
183drill
183dropbox 184dropbox
184d-feet 185d-feet
185easystroke 186easystroke