🕵️ SicherheitslückenWhat continuous operational resilience looks like under DORA(09.09.2026 um 17:53 Uhr)
🔧 AI Nachrichten OpenAI seeks tougher AI rules. CIOs may feel the ripple effects(10.09.2026 um 12:11 Uhr)
🔧 AI Nachrichten Mistral valued at €21bn after €3bn Series D funding round(08.09.2026 um 10:19 Uhr)
🪟 Windows TippsWindows XP's Cursor Indicator Is Getting a Windows 11 Refresh(25.08.2026 um 13:00 Uhr)
🕵️ SicherheitslückenWhat continuous operational resilience looks like under DORA(09.09.2026 um 17:53 Uhr)
🔧 AI Nachrichten OpenAI seeks tougher AI rules. CIOs may feel the ripple effects(10.09.2026 um 12:11 Uhr)
🔧 AI Nachrichten Mistral valued at €21bn after €3bn Series D funding round(08.09.2026 um 10:19 Uhr)
🪟 Windows TippsWindows XP's Cursor Indicator Is Getting a Windows 11 Refresh(25.08.2026 um 13:00 Uhr)

🔧 Programmierung 🕛 vor 1 Monat 8 Min Lesezeit
0

How traceroute Really Works: TTL, ICMP Time-Exceeded, and Mapping a Path Hop by Hop

↗ Quelle (dev.to)
🗣️ Stimme:
📑 Inhaltsübersicht

Originally published at series.




This post is part of Protocol Lab, a free, hands-on series for learning networking protocols by building and breaking them in a container lab. All the lab material — topologies, configs, and scripts — lives in the repo:



Prerequisite:








  • Verified Run Log (2026-07-07)



    This lab has been confirmed reproducible on real hardware.



    Environment:




    • Ubuntu 26.04 LTS (kernel 7.0.0-27-generic, x86_64)

    • Docker 29.1.3

    • containerlab 0.77.0

    • client / r1 / r2 / server: nicolaka/netshoot:latest (traceroute, tcpdump included)



    Running PATH="/tmp/pl-shim:$PATH" ./scripts/labctl.sh run trace-19 performed deploy → verify → destroy, and verification.json returned "status": "verified".






    traceroute maps the path hop by hop






    CODE
    $ docker exec clab-trace-19-client traceroute -I -n 10.0.3.2
    traceroute to 10.0.3.2 (10.0.3.2), 30 hops max, 46 byte packets
    1 10.0.1.2 0.003 ms <- r1
    2 10.0.2.2 0.001 ms <- r2
    3 10.0.3.2 0.000 ms <- server (destination)









    The TTL mechanism: ICMP time-exceeded comes back from each router






    CODE
    $ docker exec clab-trace-19-client tcpdump -n -vv -r icmp.pcap
    10.0.1.2 > 10.0.1.1: ICMP time exceeded in-transit, length 92 <- TTL 1 dies at r1
    10.0.2.2 > 10.0.1.1: ICMP time exceeded in-transit, length 92 <- TTL 2 dies at r2






    The TTL=1 probe hits 0 at the first router, r1 (10.0.1.2), and r1 returns a time-exceeded. The TTL=2 probe dies at r2 (10.0.2.2). traceroute maps the path by exploiting exactly this "one router answers per distance" behavior — a simple loop-prevention field turned into a path-visualization tool.






    Cleanup






    CODE
    containerlab destroy -t trace-19.clab.yml --cleanup









    That's traceroute: no dedicated discovery protocol, just TTL doing its loop-prevention job and every router along the way announcing itself as it drops your probe.



    Explore the full Protocol Lab series here: github.com/pathvector-studio/protocol-lab. If these labs are useful to you, please ⭐ star the repo on GitHub — it genuinely helps others find the project.



    Next up, we'll keep pulling packets apart — from mapping paths to watching what protocols do at each end of them.

    Vollständiger Original-Bericht
    Ausführliche Details, Code-Beispiele & Hersteller-Stellungnahme auf dev.to.
    ↗ Original-Artikel auf dev.to lesen
    Wie bewertest du diesen Beitrag?
    1 Klick Feedback
    Teilen mit Netzwerk & Team:

    Community-Analysen & Experten-Meinungen 0

    Verfasse deine eigene Analyse, teile Workarounds oder diskutiere diesen Vorfall im Blog.
    Noch keine Community-Analyse verfasst. Markiere einen Textabschnitt oder klicke oben auf Eigene Analyse verfassen“!
    Community Pulse: Relevanz-Einschätzung
    1 Klick Experten-Votum
    🔴 Akute Relevanz 0%
    🟡 In Evaluierung 0%
    🟢 Keine Auswirkung 0%
    Spannende Innovation 0%
    Verwandte Story-Cluster & Quellen (Vektor-KI)
    Port 8095 Engine
    1 Quelle
    Sam Altman calls GPT-6 Astra rollout ‘messy’ as enterprise users wait for access
    1 Quelle
    Swiss government explores replacing Microsoft 365 with open-source software
    1 Quelle
    What continuous operational resilience looks like under DORA
    Ähnliche Beiträge
    🔍 Verwandte News

    Auch interessante Nachrichten How traceroute Really Works: TTL, ICMP Time-Exceeded, and Mapping a Path Hop by Hop

    Thematisch verwandte Begriffe: traceroute, Really, Works, ICMP · 6 Treffer

    Laden...

    Videos werden geladen ...

    Laden...

    Beiträge werden geladen ...

    Laden...

    Videos werden geladen ...

    Laden...

    Beiträge werden geladen ...

    Laden...

    Videos werden geladen ...

    Laden...

    Beiträge werden geladen ...

    Laden...

    Videos werden geladen ...

    Laden...

    Beiträge werden geladen ...

    Laden...

    Videos werden geladen ...