From 7c576e66e1972c57e564b5ddf264ef09e60e1b02 Mon Sep 17 00:00:00 2001 From: jack9603301 Date: Tue, 26 Jan 2021 23:59:34 +0800 Subject: monitor: traffic: op-mode: T3257: tcpdump supporting complete protocol --- op-mode-definitions/traffic-dump.xml.in | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/op-mode-definitions/traffic-dump.xml.in b/op-mode-definitions/traffic-dump.xml.in index 6d86f7423..cd0d459ca 100644 --- a/op-mode-definitions/traffic-dump.xml.in +++ b/op-mode-definitions/traffic-dump.xml.in @@ -16,6 +16,34 @@ + + sudo tcpdump -vvv -ne -i $4 + + Provide more detailed packets for each monitored traffic + + + + sudo tcpdump -vvv -ne -i $4 "${@:6}" + + Monitor traffic matching filter conditions + + + + sudo tcpdump -vvv -ne -i $4 -w $6 + + Save traffic dump from an interface to a file + + + + sudo tcpdump -vvv -ne -i $4 -w $6 "${@:8}" + + Save a dump of traffic matching filter conditions to a file + + + + + + sudo tcpdump -n -i $4 "${@:6}" -- cgit v1.2.3