diff options
Diffstat (limited to 'op-mode-definitions')
-rw-r--r-- | op-mode-definitions/traceroute.xml | 56 |
1 files changed, 48 insertions, 8 deletions
diff --git a/op-mode-definitions/traceroute.xml b/op-mode-definitions/traceroute.xml index efbaaeb2f..6a44fc25b 100644 --- a/op-mode-definitions/traceroute.xml +++ b/op-mode-definitions/traceroute.xml @@ -26,22 +26,23 @@ </properties> <command>/usr/bin/traceroute -4 "$3"</command> <children> - <tagNode name="tcp"> + <node name="tcp"> <properties> <help>Route tracing and port detection using TCP</help> </properties> + <command>sudo /usr/bin/tcptraceroute "$3" </command> <children> <tagNode name="port"> <properties> - <help>Perform operations on TCP ports</help> + <help>TCP port to connect to for path tracing</help> <completionHelp> <list>0-65535</list> </completionHelp> </properties> - <command>sudo /usr/sbin/tcptraceroute "$3" $6</command> + <command>sudo /usr/bin/tcptraceroute "$3" $6</command> </tagNode> </children> - </tagNode> + </node> </children> </tagNode> <tagNode name="ipv6"> @@ -53,22 +54,23 @@ </properties> <command>/usr/bin/traceroute -6 "$3"</command> <children> - <tagNode name="tcp"> + <node name="tcp"> <properties> <help>Use TCP/IPv6 packets to perform a traceroute</help> </properties> + <command>sudo /usr/bin/tcptraceroute6 "$3" </command> <children> <tagNode name="port"> <properties> - <help>Perform operations on TCP ports</help> + <help>TCP port to connect to for path tracing</help> <completionHelp> <list>0-65535</list> </completionHelp> </properties> - <command>sudo /usr/sbin/tcptraceroute6 "$3" $6</command> + <command>sudo /usr/bin/tcptraceroute6 "$3" $6</command> </tagNode> </children> - </tagNode> + </node> </children> </tagNode> <tagNode name="vrf"> @@ -98,6 +100,25 @@ </completionHelp> </properties> <command>sudo /usr/sbin/ip vrf exec "$3" /usr/bin/traceroute -4 "$5"</command> + <children> + <node name="tcp"> + <properties> + <help>Route tracing and port detection using TCP</help> + </properties> + <command>sudo /usr/sbin/ip vrf exec "$3" /usr/bin/tcptraceroute "$5" </command> + <children> + <tagNode name="port"> + <properties> + <help>TCP port to connect to for path tracing</help> + <completionHelp> + <list>0-65535</list> + </completionHelp> + </properties> + <command>sudo /usr/sbin/ip vrf exec "$3" /usr/bin/tcptraceroute "$5" $8</command> + </tagNode> + </children> + </node> + </children> </tagNode> <tagNode name="ipv6"> <properties> @@ -107,6 +128,25 @@ </completionHelp> </properties> <command>sudo /usr/sbin/ip vrf exec "$3" /usr/bin/traceroute -6 "$5"</command> + <children> + <node name="tcp"> + <properties> + <help>Use TCP/IPv6 packets to perform a traceroute</help> + </properties> + <command>sudo /usr/sbin/ip vrf exec "$3" /usr/bin/tcptraceroute6 "$5" </command> + <children> + <tagNode name="port"> + <properties> + <help>TCP port to connect to for path tracing</help> + <completionHelp> + <list>0-65535</list> + </completionHelp> + </properties> + <command>sudo /usr/sbin/ip vrf exec "$3" /usr/bin/tcptraceroute6 "$5" $8</command> + </tagNode> + </children> + </node> + </children> </tagNode> </children> </tagNode> |