Skip to content

Reimplementation of the Linux traceroute command in Go.

License

Notifications You must be signed in to change notification settings

chettriyuvraj/traceroute

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Traceroute

This is a re-implementation of the linux traceroute command, which traces the path of a packet all the way from source to destination.

Some notes:

  • Sends ICMP packet only (instead of UDP packets which are default in Linux traceroute).
  • You must enter the IPv4 address not the URL.
  • This is the Original Repository Folder in case you want to follow the commit history.

I also wrote a small piece about traceroute and software in general.

Usage

Execute the following set of commands:

  • First grab the IP address of the URL you want to trace using the dig utility. Eg dig google.com
  • sudo go run main.go IPv4 Address

Output:

If all goes well, you should see this ugly-ly formatted packet trail

image

About

Reimplementation of the Linux traceroute command in Go.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages