From faf87e1a036da715dabba36d119c0ce3a93c7a9e Mon Sep 17 00:00:00 2001 From: Mohit Mehta Date: Mon, 23 Jun 2008 09:38:45 +0000 Subject: Fix Bug 1059 Feature Request: integrate 'tcpdump' and 'tethereal' into Vyatta CLI add op-mode command for tsharking tunnel interfaces --- templates/show/interfaces/tunnel/node.tag/capture/node.def | 2 ++ templates/show/interfaces/tunnel/node.tag/capture/not/node.def | 1 + templates/show/interfaces/tunnel/node.tag/capture/not/port/node.def | 1 + .../show/interfaces/tunnel/node.tag/capture/not/port/node.tag/node.def | 3 +++ templates/show/interfaces/tunnel/node.tag/capture/port/node.def | 1 + .../show/interfaces/tunnel/node.tag/capture/port/node.tag/node.def | 3 +++ 6 files changed, 11 insertions(+) create mode 100644 templates/show/interfaces/tunnel/node.tag/capture/node.def create mode 100644 templates/show/interfaces/tunnel/node.tag/capture/not/node.def create mode 100644 templates/show/interfaces/tunnel/node.tag/capture/not/port/node.def create mode 100644 templates/show/interfaces/tunnel/node.tag/capture/not/port/node.tag/node.def create mode 100644 templates/show/interfaces/tunnel/node.tag/capture/port/node.def create mode 100644 templates/show/interfaces/tunnel/node.tag/capture/port/node.tag/node.def (limited to 'templates') diff --git a/templates/show/interfaces/tunnel/node.tag/capture/node.def b/templates/show/interfaces/tunnel/node.tag/capture/node.def new file mode 100644 index 0000000..b196a35 --- /dev/null +++ b/templates/show/interfaces/tunnel/node.tag/capture/node.def @@ -0,0 +1,2 @@ +help: Show captured traffic on specified tunnel interface +run: /opt/vyatta/bin/vyatta-tshark-interface-port.pl "$4" diff --git a/templates/show/interfaces/tunnel/node.tag/capture/not/node.def b/templates/show/interfaces/tunnel/node.tag/capture/not/node.def new file mode 100644 index 0000000..c957f71 --- /dev/null +++ b/templates/show/interfaces/tunnel/node.tag/capture/not/node.def @@ -0,0 +1 @@ +help: Show captured traffic excluding the specified tunnel interface port diff --git a/templates/show/interfaces/tunnel/node.tag/capture/not/port/node.def b/templates/show/interfaces/tunnel/node.tag/capture/not/port/node.def new file mode 100644 index 0000000..c957f71 --- /dev/null +++ b/templates/show/interfaces/tunnel/node.tag/capture/not/port/node.def @@ -0,0 +1 @@ +help: Show captured traffic excluding the specified tunnel interface port diff --git a/templates/show/interfaces/tunnel/node.tag/capture/not/port/node.tag/node.def b/templates/show/interfaces/tunnel/node.tag/capture/not/port/node.tag/node.def new file mode 100644 index 0000000..b5c87c9 --- /dev/null +++ b/templates/show/interfaces/tunnel/node.tag/capture/not/port/node.tag/node.def @@ -0,0 +1,3 @@ +help: Show captured traffic excluding the specified tunnel interface port +run: /opt/vyatta/bin/vyatta-tshark-interface-port.pl "$4" "$8" 1 +allowed: echo -n '<1-65535>' diff --git a/templates/show/interfaces/tunnel/node.tag/capture/port/node.def b/templates/show/interfaces/tunnel/node.tag/capture/port/node.def new file mode 100644 index 0000000..ed3b544 --- /dev/null +++ b/templates/show/interfaces/tunnel/node.tag/capture/port/node.def @@ -0,0 +1 @@ +help: Show captured traffic on specified tunnel interface port diff --git a/templates/show/interfaces/tunnel/node.tag/capture/port/node.tag/node.def b/templates/show/interfaces/tunnel/node.tag/capture/port/node.tag/node.def new file mode 100644 index 0000000..d1f01df --- /dev/null +++ b/templates/show/interfaces/tunnel/node.tag/capture/port/node.tag/node.def @@ -0,0 +1,3 @@ +help: Show captured traffic on specified tunnel interface port +run: /opt/vyatta/bin/vyatta-tshark-interface-port.pl "$4" "$7" 0 +allowed: echo -n '<1-65535>' -- cgit v1.2.3