summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-07-25 21:47:44 +0200
committerGitHub <noreply@github.com>2020-07-25 21:47:44 +0200
commit2b665599a28bc67cd396abd40f707f577da7957a (patch)
tree54acde0e37063fd003e49693c303604fdb7791d2
parent56255d62fe1afe9da83e50478a89a720a7dd08ab (diff)
parent8361090d15d8022c1e04fa36ee90d69d72d9a48b (diff)
downloadvyos-1x-2b665599a28bc67cd396abd40f707f577da7957a.tar.gz
vyos-1x-2b665599a28bc67cd396abd40f707f577da7957a.zip
Merge pull request #514 from jack9603301/T2723
traceroute: T2723: Support tcptraceroute
-rw-r--r--op-mode-definitions/traceroute.xml36
1 files changed, 36 insertions, 0 deletions
diff --git a/op-mode-definitions/traceroute.xml b/op-mode-definitions/traceroute.xml
index 340d28280..efbaaeb2f 100644
--- a/op-mode-definitions/traceroute.xml
+++ b/op-mode-definitions/traceroute.xml
@@ -25,6 +25,24 @@
</completionHelp>
</properties>
<command>/usr/bin/traceroute -4 "$3"</command>
+ <children>
+ <tagNode name="tcp">
+ <properties>
+ <help>Route tracing and port detection using TCP</help>
+ </properties>
+ <children>
+ <tagNode name="port">
+ <properties>
+ <help>Perform operations on TCP ports</help>
+ <completionHelp>
+ <list>0-65535</list>
+ </completionHelp>
+ </properties>
+ <command>sudo /usr/sbin/tcptraceroute "$3" $6</command>
+ </tagNode>
+ </children>
+ </tagNode>
+ </children>
</tagNode>
<tagNode name="ipv6">
<properties>
@@ -34,6 +52,24 @@
</completionHelp>
</properties>
<command>/usr/bin/traceroute -6 "$3"</command>
+ <children>
+ <tagNode name="tcp">
+ <properties>
+ <help>Use TCP/IPv6 packets to perform a traceroute</help>
+ </properties>
+ <children>
+ <tagNode name="port">
+ <properties>
+ <help>Perform operations on TCP ports</help>
+ <completionHelp>
+ <list>0-65535</list>
+ </completionHelp>
+ </properties>
+ <command>sudo /usr/sbin/tcptraceroute6 "$3" $6</command>
+ </tagNode>
+ </children>
+ </tagNode>
+ </children>
</tagNode>
<tagNode name="vrf">
<properties>