Skip to content

Latest commit

 

History

History
65 lines (50 loc) · 1.05 KB

File metadata and controls

65 lines (50 loc) · 1.05 KB

Raw - Traceroute

By setting the correct parameters in the subscription request, a traceroute can be performed.

Request

Traceroute Specific Parameters

Name Type Values Description

target

String

String

The destination to ping.

resolve

Boolean

true or false

Whether IP addresses should be resolved.

Response

The raw string response is pretty similar to a raw feed.

Root

Name Type Values Description

sub_id

String

String

The raw response e.g. "traceroute to 192.168.0.254 (192.168.0.254), 30 hops max, 38 byte packets\n 1".

Examples

Traceroute Example

Subscription Request
165
{"SUBSCRIBE":[{"name":"traceroute-feed","sub_id":"trace6","target":"192.168.0.254","resolve":true}],"UNSUBSCRIBE":[],"SESSION_ID":"9a00126c5bf04e29835f7c13fe5ab155"}
Response
98
{
    "trace6": "traceroute to 192.168.0.254 (192.168.0.254), 30 hops max, 38 byte packets\n 1"
}