From ae0b5e5d142c03b2df544774aead9887d5610bf2 Mon Sep 17 00:00:00 2001 From: Daniil Baturin Date: Tue, 15 May 2018 02:55:13 +0200 Subject: T637: new op mode for traffic dumps based on tcpdump. --- op-mode-definitions/traffic-dump.xml | 45 ++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 op-mode-definitions/traffic-dump.xml (limited to 'op-mode-definitions/traffic-dump.xml') diff --git a/op-mode-definitions/traffic-dump.xml b/op-mode-definitions/traffic-dump.xml new file mode 100644 index 000000000..be53f866b --- /dev/null +++ b/op-mode-definitions/traffic-dump.xml @@ -0,0 +1,45 @@ + + + + + + + Monitor traffic dumps + + + + tcpdump -i $4 + + Monitor traffic dump from an interface + + + + + + + tcpdump -n -i $4 $6 + + Monitor traffic matching filter conditions + + + + tcpdump -n -i $4 -w $6 + + Save traffic dump from an interface to a file + + + + tcpdump -n -i $4 -w $6 $8 + + Save a dump of traffic matching filter conditions to a file + + + + + + + + + + + -- cgit v1.2.3