NEWPractise supported commands in browser simulations, alongside the lesson.Try a browser practice exercise.Try a lab♥ Codelivly is 100% free, no paywall. If it helped you, chip in to keep it running.100% free. Help keep it so.Support us
Preview · 30 min
Master ICMP, the network's diagnostic protocol. Learn how ping and traceroute map network paths, and discover how attackers weaponize ICMP for tunneling and stealthy reconnaissance.
IP is "fire and forget": it does not guarantee delivery and does not tell the sender when a packet is lost. When a router cannot forward a packet, or a packet travels too long, the network needs a way to report it.
That is ICMP (Internet Control Message Protocol). ICMP carries no user data (no web pages, no e-mail). It carries control, diagnostic and error messages. If IP is the mail carrier, ICMP is the "Return to Sender" stamp. When a router drops a packet because of a problem, it usually sends an ICMP error back to the source IP.
TTL (Time To Live) is a field in every IP header. The sender sets it (usually 64 on Linux/macOS, 128 on Windows, often 255 on network devices). Every router decrements it by 1. If it reaches 0, the router drops the packet — this stops packets from circling forever in a routing loop — and sends an ICMP Time Exceeded message to the sender.
The TTL in a ping reply therefore also gives a hint about the operating system (64 → probably Linux, 128 → probably Windows). It is only a hint: the value can be changed.
Create a free account to unlock the rest of this task, complete tasks, and earn Rep.
Sign inRecon & Enumeration Tools
Reconnaissance is the foundation of every successful penetration test. Amateurs treat it as a box-ticking exercise, runn
ViewWireless & Social Engineering
A comprehensive learning path bridging the gap between network infrastructure and human vulnerabilities. Progress from w
ViewNetwork Troubleshooting and Monitoring
This comprehensive learning path dives deep into the methodologies, tools, and best practices for diagnosing, troublesho
ViewNetwork Forensics
Network traffic is the nervous system of any organization, and for attackers, it is the highway used for initial access,
ViewNetworking Fundamentals
You cannot secure a network if you do not understand how data moves across it. The Networking Fundamentals learning path
ViewWindows Fundamentals
The Windows Fundamentals learning path provides a comprehensive foundation in Microsoft Windows operating systems, speci
View