Back to projects

go-tracert

A basic traceroute implementation written in Go.

  • StatusLearning project
  • Year2025
  • Technologies
    • Go

Overview

A small network tool that traces the route packets take to a host, written in Go. It is an exercise in raw sockets, ICMP, and time-to-live handling rather than a production replacement for traceroute. The output stays close to the command-line tools I use at work.

go-tracert is a basic traceroute implementation in Go. It shows the path packets take to a host, one hop at a time.

This is also a learning project: one of my first interactions with Go

The exercise is in the network layer: raw sockets, ICMP messages, and the time-to-live field that makes each hop reveal itself.

The output stays close to the command-line tools I use at work, which makes it easy to compare results while learning.

Back to projects