All Topics
All Topics
Technology
Technology
Design
Design
Programming
Programming
Science
Science
News
News
Gaming
Gaming
Entertainment
Entertainment
Business
Business
Finance
Finance
Sports
Sports
Health
Health
Food
Food
Travel
Travel
Art
Art
Music
Music
Books
Books
Education
Education
Politics
Politics
Personal
Personal
No algorithm. No AI slop. No ads. Just RSS. Pro-human. Indie writers. Real journalism. Open web. Chronological. Hand toasted.

Building a Custom Traceroute Tool to Visualize Internet Routing Paths

By

zachlatta

6mo ago· 12 min readen

Summary

The article explains how the author built a custom traceroute tool called 'ktr' to visualize and analyze the path internet packets take to reach a website. It combines technical implementation details with educational content about BGP routing protocol and internet infrastructure. The author created an interactive website that displays real-time traceroute results while providing insights into how internet routing works, including explanations of autonomous systems, BGP, and the physical infrastructure that makes up the internet.

Key quotes

· 5 pulled
To reach this website, your computer sent some packets across the Internet. If we're curious what that path was, we can run a tool to generate a traceroute — a rough list of every server your packets touched to reach their destination.
To build this website, I wrote my own traceroute program called ktr (also open source) that can stream results in real time while concurrently looking up interesting information about each hop.
The Border Gateway Protocol (BGP) is the postal service of the Internet, responsible for routing packets between different networks and autonomous systems.
Every hop in a traceroute represents a router that made a decision about where to send your packet next, based on BGP routing tables and network policies.
Understanding the path your data takes across the internet reveals the complex, distributed nature of global network infrastructure that we often take for granted.
Snippet from the RSS feed
A cool-as-shit dynamic traceroute powered by custom software, married with an informative article about how the BGP routing protocol works and guides the shape of the Internet.

You might also wanna read