diff options
-rw-r--r-- | etc/inc/disable-programs.inc | 1 | ||||
-rw-r--r-- | etc/profile-m-z/sniffnet.profile | 49 | ||||
-rw-r--r-- | src/firecfg/firecfg.config | 1 |
3 files changed, 51 insertions, 0 deletions
diff --git a/etc/inc/disable-programs.inc b/etc/inc/disable-programs.inc index 55b33df74..b0d1b7a66 100644 --- a/etc/inc/disable-programs.inc +++ b/etc/inc/disable-programs.inc | |||
@@ -624,6 +624,7 @@ blacklist ${HOME}/.config/slimjet | |||
624 | blacklist ${HOME}/.config/smplayer | 624 | blacklist ${HOME}/.config/smplayer |
625 | blacklist ${HOME}/.config/smtube | 625 | blacklist ${HOME}/.config/smtube |
626 | blacklist ${HOME}/.config/smuxi | 626 | blacklist ${HOME}/.config/smuxi |
627 | blacklist ${HOME}/.config/sniffnet | ||
627 | blacklist ${HOME}/.config/snox | 628 | blacklist ${HOME}/.config/snox |
628 | blacklist ${HOME}/.config/sound-juicer | 629 | blacklist ${HOME}/.config/sound-juicer |
629 | blacklist ${HOME}/.config/specialmailcollectionsrc | 630 | blacklist ${HOME}/.config/specialmailcollectionsrc |
diff --git a/etc/profile-m-z/sniffnet.profile b/etc/profile-m-z/sniffnet.profile new file mode 100644 index 000000000..eb18c1f01 --- /dev/null +++ b/etc/profile-m-z/sniffnet.profile | |||
@@ -0,0 +1,49 @@ | |||
1 | # Firejail profile for sniffnet | ||
2 | # Description: Network traffic monitor | ||
3 | # This file is overwritten after every install/update | ||
4 | # Persistent local customizations | ||
5 | include sniffnet.local | ||
6 | # Persistent global definitions | ||
7 | include globals.local | ||
8 | |||
9 | noblacklist ${HOME}/.config/sniffnet | ||
10 | |||
11 | include disable-common.inc | ||
12 | include disable-devel.inc | ||
13 | include disable-exec.inc | ||
14 | include disable-interpreters.inc | ||
15 | include disable-proc.inc | ||
16 | include disable-programs.inc | ||
17 | include disable-xdg.inc | ||
18 | |||
19 | include whitelist-common.inc | ||
20 | include whitelist-run-common.inc | ||
21 | include whitelist-runuser-common.inc | ||
22 | include whitelist-usr-share-common.inc | ||
23 | include whitelist-var-common.inc | ||
24 | |||
25 | apparmor | ||
26 | #caps.drop all | ||
27 | caps.keep net_admin,net_raw | ||
28 | netfilter | ||
29 | nodvd | ||
30 | nogroups | ||
31 | noinput | ||
32 | # nonewprivs - breaks network traffic capture for unprivileged users | ||
33 | # noroot | ||
34 | notv | ||
35 | nou2f | ||
36 | novideo | ||
37 | #seccomp | ||
38 | tracelog | ||
39 | |||
40 | disable-mnt | ||
41 | #private-bin sniffnet | ||
42 | # private-dev prevents (some) interfaces from being shown. | ||
43 | private-etc @network,@tls-ca | ||
44 | private-tmp | ||
45 | |||
46 | dbus-user none | ||
47 | dbus-system none | ||
48 | |||
49 | #restrict-namespaces | ||
diff --git a/src/firecfg/firecfg.config b/src/firecfg/firecfg.config index 8a8833968..ce69738eb 100644 --- a/src/firecfg/firecfg.config +++ b/src/firecfg/firecfg.config | |||
@@ -774,6 +774,7 @@ slashem | |||
774 | smplayer | 774 | smplayer |
775 | smtube | 775 | smtube |
776 | smuxi-frontend-gnome | 776 | smuxi-frontend-gnome |
777 | sniffnet | ||
777 | snox | 778 | snox |
778 | soffice | 779 | soffice |
779 | sol | 780 | sol |