From eb4e34c967c9ac638605723cb9b5dfbebc5d6253 Mon Sep 17 00:00:00 2001 From: Daniil Baturin Date: Sun, 2 Sep 2018 00:46:22 +0200 Subject: T822: add sudo to tcpdump commands to make them use correct PATH now, and to enable getting rid of capabilities later. --- op-mode-definitions/traffic-dump.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'op-mode-definitions') diff --git a/op-mode-definitions/traffic-dump.xml b/op-mode-definitions/traffic-dump.xml index a6810644e..00a809a7c 100644 --- a/op-mode-definitions/traffic-dump.xml +++ b/op-mode-definitions/traffic-dump.xml @@ -8,7 +8,7 @@ - tcpdump -i $4 + sudo tcpdump -i $4 Monitor traffic dump from an interface @@ -17,19 +17,19 @@ - tcpdump -n -i $4 $6 + sudo tcpdump -n -i $4 $6 Monitor traffic matching filter conditions - tcpdump -n -i $4 -w $6 + sudo tcpdump -n -i $4 -w $6 Save traffic dump from an interface to a file - tcpdump -n -i $4 -w $6 $8 + sudo tcpdump -n -i $4 -w $6 $8 Save a dump of traffic matching filter conditions to a file -- cgit v1.2.3