August 18, 2020
Implementing traceroute in Go
(link for all the code)
What is traceroute? If you’ve fiddled with networks you must be familiar with the famous traceroute tool. Its a script that traces the path to a host and prints info on every hop it encounters. To give an example if you run traceroute kalbhor.xyz you should see something like this :
❯ traceroute kalbhor.xyz traceroute to kalbhor.xyz (18.140.218.13), 64 hops max, 52 byte packets 1 dlinkrouter.
Read more