Building a Custom Traceroute Tool to Visualize Internet Routing Paths
By
zachlatta
Baker's choice. Dense with flavour, light on filler.
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 pulledTo 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.
You might also wanna read
Hurricane Electric Provides Free IPv6 Tunnel Broker Service for Developers
Hurricane Electric offers a free IPv6 tunnel broker service that enables users to access the IPv6 Internet by tunneling over existing IPv4 c
BGP Lab Project Expanded to Include Full IPv6 Feed
The author extends their BGP lab project to support full IPv6 feeds, following requests from readers who previously received IPv4 BGP feeds.
Whosthere: A Go-based LAN discovery tool with interactive TUI for unprivileged network scanning
Whosthere is a Go-based Local Area Network (LAN) discovery tool with an interactive Terminal User Interface (TUI). It performs unprivileged,
Investigating Intermittent ECONNRESET Errors in Local TCP Connections (Part 1)
A technical blog post investigating mysterious ECONNRESET errors occurring between two services communicating over TCP on the same machine.
IPv8: An Alternative IPv4 Successor with Backward Compatibility and Integrated Network Management
This article introduces IPv8, an alternative successor to IPv4 that differs from IPv6 by focusing on integrated network management and singl
How to get a free *.city.state.us locality domain in the US
This article explains how US residents can obtain a free locality domain name (e.g., somename.city.state.us) for their town. It covers the h
