From 95eab976359ae8a06eeadbea12e558107ae9bac4 Mon Sep 17 00:00:00 2001 From: netblue30 Date: Thu, 13 Jun 2019 17:12:06 -0400 Subject: tcpdump and tshark profiles --- README.md | 2 +- RELNOTES | 2 +- etc/tcpdump.profile | 44 ++++++++++++++++++++++++++++++++++++++++++++ etc/tshark.profile | 44 ++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 90 insertions(+), 2 deletions(-) create mode 100644 etc/tcpdump.profile create mode 100644 etc/tshark.profile diff --git a/README.md b/README.md index 26e26612c..879a2eeed 100644 --- a/README.md +++ b/README.md @@ -111,4 +111,4 @@ We also keep a list of profile fixes for previous released versions in [etc-fixe ## New profiles: -klatexformula, klatexformula_cmdl, links, pandoc, qgis, teams-for-linux, xlinks OpenArena, gnome-sound-recorder, godot +klatexformula, klatexformula_cmdl, links, pandoc, qgis, teams-for-linux, xlinks, OpenArena, gnome-sound-recorder, godot, tcpdump, tshark diff --git a/RELNOTES b/RELNOTES index 639f989eb..0ecb40688 100644 --- a/RELNOTES +++ b/RELNOTES @@ -3,7 +3,7 @@ firejail (0.9.61) baseline; urgency=low * profile templates * new profiles: qgis, klatexformula, klatexformula_cmdl, links, xlinks * new profiles: pandoc, teams-for-linux, OpenArena, gnome-sound-recorder - * new profiles: godot + * new profiles: godot, tcpdump, tshark -- netblue30 Sat, 1 Jun 2019 08:00:00 -0500 firejail (0.9.60) baseline; urgency=low diff --git a/etc/tcpdump.profile b/etc/tcpdump.profile new file mode 100644 index 000000000..7713ac6c0 --- /dev/null +++ b/etc/tcpdump.profile @@ -0,0 +1,44 @@ +# Firejail profile for tcpdump +# This file is overwritten after every install/update +quiet +# Persistent local customizations +include tcpdump.local +# Persistent global definitions +include globals.local + +noblacklist /sbin +noblacklist /usr/sbin +include disable-common.inc +include disable-devel.inc +include disable-exec.inc +include disable-interpreters.inc +include disable-passwdmgr.inc +include disable-programs.inc +include disable-xdg.inc +include whitelist-common.inc + +caps.keep net_raw +ipc-namespace +#net tun0 +netfilter +no3d +nodvd +#nogroups +nonewprivs +#noroot +nosound +notv +nou2f +novideo + +protocol unix,inet,inet6,netlink,packet +seccomp + +disable-mnt +#private +#private-bin tcpdump +private-dev +#private-etc +private-tmp + +memory-deny-write-execute diff --git a/etc/tshark.profile b/etc/tshark.profile new file mode 100644 index 000000000..52ee228a3 --- /dev/null +++ b/etc/tshark.profile @@ -0,0 +1,44 @@ +# Firejail profile for tshark +# This file is overwritten after every install/update +quiet +# Persistent local customizations +include tshark.local +# Persistent global definitions +include globals.local + +include disable-common.inc +include disable-devel.inc +include disable-exec.inc +include disable-interpreters.inc +include disable-passwdmgr.inc +include disable-programs.inc +include disable-xdg.inc +include whitelist-common.inc + +#caps.keep net_raw +caps.keep dac_override,net_admin,net_raw +ipc-namespace +#net tun0 +netfilter +no3d +nodvd +# nogroups - breaks network traffic capture for unprivileged users +# nonewprivs - breaks network traffic capture for unprivileged users +# noroot +nosound +notv +nou2f +novideo + +#protocol unix,inet,inet6,netlink,packet +#seccomp + +disable-mnt +#private +private-cache +#private-bin tshark +private-dev +#private-etc +private-tmp + +# memory-deny-write-execute -- cgit v1.2.3-70-g09d2