Skip to content

Golang implementation of traceroute using raw IP sockets which requires root priviledge.

Notifications You must be signed in to change notification settings

yusufaine/gotrace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gotrace

Note

A Golang implementation of traceroute using raw sockets which requires root excess.

Usage

  • (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)

Acknowledgement

  • pro-bing -- usage of raw sockets and icmp protocol.

About

Golang implementation of traceroute using raw IP sockets which requires root priviledge.

Resources

Stars

Watchers

Forks

Releases

No releases published