top | item 28520361

Show HN: A Minimal Traceroute Implementation

4 points| adder46 | 4 years ago |github.com

2 comments

order
[+] jjice|4 years ago|reply
I implemented traceroute for a networking class at one point and the most interesting part to me was how it worked. I had used traceroute and MTR for VPN debugging in the past, but had no clue how it could get all the routing nodes. Seeing that it just increased the TTL was shocking. I was overcomplicating it significantly in my head. After that, working with raw sockets was a nice exercise in general.
[+] adder46|4 years ago|reply
I wanted to share a very small traceroute implementation I wrote using Python. It is asynchronous and it supports probing over UDP or ICMP. It was a good networking exercise.