summaryrefslogtreecommitdiff
path: root/op-mode-definitions/traceroute.xml
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2020-07-26 14:06:31 +0300
committerDaniil Baturin <daniil@vyos.io>2020-07-26 14:06:31 +0300
commit5f78e67c746e9357cbb59fe066c2b32f34bc92ae (patch)
tree7a392c617c7a008f134a676436eb29eda24c98a4 /op-mode-definitions/traceroute.xml
parent9578890e1e4dc31da7387a6ad810d2efb22391e7 (diff)
parent675942ce3e2329a0122da189cd5944df08d7fcab (diff)
downloadvyos-1x-5f78e67c746e9357cbb59fe066c2b32f34bc92ae.tar.gz
vyos-1x-5f78e67c746e9357cbb59fe066c2b32f34bc92ae.zip
Merge branch 'current' of https://github.com/vyos/vyos-1x into current
Diffstat (limited to 'op-mode-definitions/traceroute.xml')
-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>