Skip to content

Latest commit

 

History

History
23 lines (14 loc) · 1.04 KB

readme.md

File metadata and controls

23 lines (14 loc) · 1.04 KB

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