wireshark

This commit is contained in:
nobody43 2022-11-30 22:37:07 +03:00 committed by Alex
parent 6ada4f7ece
commit 038e2882b5
2 changed files with 14 additions and 6 deletions

View file

@ -10,6 +10,8 @@ include <tunables/global>
profile dumpcap @{exec_path} {
include <abstractions/base>
include <abstractions/nameservice-strict>
include <abstractions/dbus>
include <abstractions/dbus-session>
# To capture packekts
capability net_raw,
@ -24,13 +26,16 @@ profile dumpcap @{exec_path} {
network packet raw,
network bluetooth raw,
dbus (eavesdrop) bus=session,
@{exec_path} mr,
@{sys}/class/net/ r,
@{sys}/bus/usb/devices/ r,
@{sys}/devices/virtual/net/*/type r,
@{sys}/devices/pci[0-9]*/**/net/*/type r,
@{sys}/devices/virtual/net/*/statistics/* r,
@{sys}/devices/pci[0-9]*/**/net/*/type r,
@{sys}/devices/pci[0-9]*/**/net/*/statistics/* r,
@{PROC}/@{pid}/net/dev r,
@{PROC}/@{pid}/net/psched r,