about summary refs log tree commit diff
path: root/nixos/modules/programs/wireshark.nix
diff options
context:
space:
mode:
authorTungsten842 <886724vf@anonaddy.me>2023-03-17 13:17:36 +0100
committerTungsten842 <886724vf@anonaddy.me>2023-03-17 13:17:36 +0100
commit8668d96c28e3fbda92eac6dc212b1393ef97d9da (patch)
tree73aec8b452c29694d1c215ce9521d42000c66c65 /nixos/modules/programs/wireshark.nix
parentbdcedf61a096b34d33a014dccb998fdc9b8f5a22 (diff)
nixos/wireshark: set the correct capabilities
Diffstat (limited to 'nixos/modules/programs/wireshark.nix')
-rw-r--r--nixos/modules/programs/wireshark.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/programs/wireshark.nix b/nixos/modules/programs/wireshark.nix
index 088c2bb7958aa..834b0ba356955 100644
--- a/nixos/modules/programs/wireshark.nix
+++ b/nixos/modules/programs/wireshark.nix
@@ -33,7 +33,7 @@ in {
 
     security.wrappers.dumpcap = {
       source = "${wireshark}/bin/dumpcap";
-      capabilities = "cap_net_raw+p";
+      capabilities = "cap_net_raw,cap_net_admin+eip";
       owner = "root";
       group = "wireshark";
       permissions = "u+rx,g+x";