Note
A Golang implementation of traceroute using raw sockets which requires root excess.
- (Recommended) Download the binary from in the
bin
folder (only built for amd64 darwin (MacOS), linux, and windows), or - Run it yourself using
go run main.go
, or building it yourself and running the binary (requires golang installed)
Usage of ./bin/gotrace_darwin_amd64:
-h int
max hops, must be greater than 0 (default 32)
-p int
target port, must be valid and open (default 80)
-t string
target host, must be supplied
-to duration
timeout in seconds, must be greater than 0 (default 3s)
- pro-bing -- usage of raw sockets and icmp protocol.