← All 173 books ping, one echo per page
One echo per page

ping, one echo per page

Twenty-eight lessons on what ping is: a network management utility used to test the reachability of a host on an Internet Protocol network, written by Mike Muuss in December 1983, named for the sound sonar makes; the law of one echo per page; the echo request and echo reply, type 8 and type 0, the code, the checksum, the identifier and sequence, and the payload that carries a timestamp; the numbers of a reply: ttl, time, icmp_seq, min/avg/max/mdev; the dials: count, interval, the ttl ceiling, quiet mode and the 56(84) first line; the honest failures: total silence, type 3 unreachable, filtered but alive, and the name in the first line; the family: ping6 and ICMPv6 128 and 129, the flood warning, the traceroute neighbor, RTT and latency; the long view: rate limits, the MTU edge, one honest hour and the last echo.


Steve Hodgkiss 7 lessons

One request, one reply, one round trip. That is the honest echo.

ping, one echo per page

Twenty-eight lessons on what ping is: a network management utility used to test the reachability of a host on an Internet Protocol network, written by Mike Muuss in December 1983, named for the sound sonar makes; the law of one echo per page; the echo request and echo reply, type 8 and type 0, the code, the checksum, the identifier and sequence, and the payload that carries a timestamp; the numbers of a reply: ttl, time, icmp_seq, min/avg/max/mdev; the dials: count, interval, the ttl ceiling, quiet mode and the 56(84) first line; the honest failures: total silence, type 3 unreachable, filtered but alive, and the name in the first line; the family: ping6 and ICMPv6 128 and 129, the flood warning, the traceroute neighbor, RTT and latency; the long view: rate limits, the MTU edge, one honest hour and the last echo.


Set in Space Grotesk, Inter and JetBrains Mono (SIL Open Font License).

An honest book about its demos: ping from iputils 20240117 ran on the machine that built this book, and every quoted output line in these pages was captured from those real runs (the loopback, the WAN address 1.1.1.1, a lookup by name, quiet mode, a 1200-byte payload, a 0.4-second interval, a limited ttl, and one address that never answered with 100% packet loss), quoted verbatim from the captured run log. No ping output was invented. Every other fact is as the primary source states it, fetched and read during this build: the Wikipedia articles Ping (networking utility), Internet Control Message Protocol, ICMPv6, Round-trip delay, Latency (engineering) and Traceroute, cached verbatim beside this book. No facts come from Reddit, Stack Overflow, vendor blogs or commercial sites. Every lesson that describes a practice exercise carries the label 'this book's plan', never posing as a captured fact. Independent, not affiliated with any vendor or the Wikimedia Foundation.

Your purchase is for personal use only. You do not have redistribution rights: please do not share, resell, or republish this book or its pages.

© 2026 Steve Hodgkiss. All rights reserved. Personal use only; no redistribution rights.

Edition 1.0 · stevehodgkiss.net

Contents

Contents


Part 1 · The echo itself
The first reply4
Part 2 · The request and reply
The checksum5
Part 3 · The numbers
icmp_seq6
Part 4 · The dials
56(84) bytes7
Part 5 · The honest failures
Ping by name8
Part 6 · The family
Flood warning9
Part 7 · The long view
The last echo10

Per this book's plan, the law of this book is: ping from iputils 20240117 ran on the machine that built it, every captured output quoted in these pages traces verbatim into the captured run log, and every practice exercise carries the label this book's plan.

Ping companion · No. 01
the law

The first reply

a real local run, quoted honestly

the law before the first echo: real runs, labelled honestlyno invented ping outputanywhere in this bookevery fact traced to acached source line$ ping -Vping from iputils 20240117the build machine's own ping,captured at dispatch: a reallocal run, quoted verbatimhonest about demos: the runs are real, the plans are labelled

Before the first echo, the law. This book is honest about its demos: ping from iputils 20240117 ran on the machine that built it, and every captured line in these pages is quoted exactly as the run printed it.

A real local run, the first reply the box ever earned: 64 bytes from 127.0.0.1: icmp_seq=1 ttl=64 time=0.109 ms. Loopback, so the echo never left the machine.

Every exercise this book suggests carries the label this book's plan, never posing as a captured fact.

ONE HONEST ECHO

Ask of any technical page: did the demo really run, and where does the quote come from?

Per the Wikipedia Ping (networking utility) article, the checksum is the 16-bit ones' complement of the ones' complement sum of the ICMP packet, starting with the Type field and including the Payload, and the IP header is not included.

Ping companion · No. 02
the guard

The checksum

ones' complement, twice over

the checksum: ones' complement of the ones' complement sumthe 16-bit ones'complement of the sumcomputed over the ICMPpacket, Type field first,payload included, andthe IP header is notincluded: the outerenvelope is someonea cheap guard: catches tornbits, not forged packetsone number swears the bytes survived the road

Per the article, the checksum is the 16-bit ones' complement of the ones' complement sum of the ICMP packet, starting with the Type field, payload included, while the IP header is not included.

It is a cheap guard, not a strong one: it catches the torn bit, not the forged packet. The reply carries its own checksum, computed over what came back.

One number rides along to say the bytes survived the road; the silence lesson shows what no surviving reply looks like.

ONE HONEST ECHO

Which bytes does the checksum protect, and which header does it deliberately skip?

Per the Wikipedia Ping (networking utility) article, most Linux systems use a unique Identifier for every ping process and Sequence number is an increasing number within that process, Windows uses a fixed Identifier and a Sequence number that is only reset at boot time, and the fields can be used by the client to match the reply with the request that caused the reply.

Ping companion · No. 03
the count

icmp_seq

the number that orders the echoes

icmp_seq: the count that orders the echoesid 1234one identifier for the whole processseq 1seq 2seq 3the sequence counts up, echo by echoLinux: a unique Identifierper process, sequence risingWindows: a fixed Identifier,sequence reset only at bootthe pair matches each reply to the request that caused ittwo numbers, one conversation: which echo, in which run

Per the article, most Linux systems use a unique Identifier for every ping process, and Sequence number is an increasing number within that process.

Windows differs: a fixed Identifier, and a Sequence number only reset at boot time. Both fields exist to match the reply with the request that caused the reply.

A real local run, first lines: icmp_seq=1, then 2, then 3. The count on the page is the count on the wire.

ONE HONEST ECHO

Two ping processes run at once; which field keeps their replies untangled?

Per the Wikipedia Ping (networking utility) article, the payload is optional and can be an arbitrary length left to implementation detail, and a packet including IP and ICMP headers must not be greater than the maximum transmission unit of the network or risk being fragmented; per real local runs captured at dispatch, the default first line read 56(84) bytes and a run with a 1200-byte payload read 1200(1228) bytes.

Ping companion · No. 04
the first line

56(84) bytes

payload, headers, arithmetic

the first line: payload plus headers, stated in publicPING 1.1.1.1 (1.1.1.1) 56(84) bytes of data.56 bytes of payload+28 bytes of headers=84 on the wirewith -s 1200: PING 1.1.1.1 (1.1.1.1) 1200(1228) bytes of data.the first line is arithmetic, not decoration

The first line does arithmetic in public. A real local run: PING 1.1.1.1 (1.1.1.1) 56(84) bytes of data. Fifty-six payload bytes, eighty-four on the wire: twenty-eight bytes of headers.

Ask for more and the line grows. With the size dial at 1200, the same machine printed PING 1.1.1.1 (1.1.1.1) 1200(1228) bytes of data.

Per the article, the payload can be an arbitrary length, yet a packet must not be greater than the maximum transmission unit of the network, or risk being fragmented.

ONE HONEST ECHO

The payload grew by 1144 bytes; why did the wire total grow by exactly the same?

Per the Wikipedia Ping (networking utility) article, the invocation example sends five probes to www.example.com and the first output line reads PING www.example.com (93.184.216.34): 56 data bytes; per a real local run captured at dispatch, the first line for books.stevehodgkiss.net named a vercel-dns host at 216.150.16.193.

Ping companion · No. 05
the resolver

Ping by name

the first line does the lookup

by name: the first line does the lookupbooks.stevehodgkiss.netDNS lookup216.150.16.193PING 30a038ef4eca81a9.vercel-dns-016.com (216.150.16.193) 56(84) bytes of data.64 bytes from 216.150.16.193: icmp_seq=1 ttl=249 time=2.89 msone line, two identities: the aliasyou typed, the address that answeredthe lookup happens first, and the first line shows its work

Give ping a name and the first line reports the lookup. The article's example opens PING www.example.com (93.184.216.34): 56 data bytes.

A real local run: PING 30a038ef4eca81a9.vercel-dns-016.com (216.150.16.193) 56(84) bytes of data. The name you typed resolves to a host name you did not.

One line, two identities: the alias you asked for and the address that answers, the reply signed 64 bytes from 216.150.16.193: icmp_seq=1 ttl=249 time=2.89 ms.

ONE HONEST ECHO

Which part of the first line is DNS work, and which part is pure ping?

Per the Wikipedia Ping (networking utility) article, to conduct a denial-of-service attack an attacker may send ping requests as fast as possible, possibly overwhelming the victim with ICMP echo requests, this technique is called a ping flood, and ping requests to multiple addresses may be used to obtain a list of all hosts on a network; per the Wikipedia Internet Control Message Protocol article, in the Ping of death large or fragmented ICMP packets are used for denial-of-service attacks.

Ping companion · No. 06
the danger

Flood warning

the echo turned into a weapon

the flood: the echo as a weaponecho requests as fast as possible,a crowd where one was meantthe hostoverwhelmedping floodping sweepPing of deathdenial of servicethe tool is small; the weapon is the same tool, unsleeping

Per the article, an attacker may send ping requests as fast as possible, possibly overwhelming the victim with ICMP echo requests; the technique is called a ping flood.

Sweeps go wide: ping requests to multiple addresses can list every host on a network. And per the Wikipedia Internet Control Message Protocol article, the Ping of death used large or fragmented ICMP packets for denial of service.

The same smallness that makes one echo harmless makes a million of them a flood: politeness is a security property.

ONE HONEST ECHO

One million echoes per second is not a measurement; what does that make it?

Per the Wikipedia Ping (networking utility) article, ping measures the round-trip time for messages echoed back to the source, and the program reports errors, packet loss and a statistical summary of the results. Per this book's plan, the handoff is four moves: read one reply line, run one quiet summary, question one silent address, remember which runs are real.

Ping companion · No. 07
the close

The last echo

four moves, one habit

the last echo: four moves, one habit1read onereply line2run one quietsummary3question onesilent address4remember theruns that are realone line holds bytes, address, sequence, ttl and timeone honest echo, read well, beats a thousand guesses

The handoff, per this book's plan, is four moves: read one reply line, run one quiet summary, question one silent address, and remember which runs are real.

The first move takes ten seconds: one line holds bytes, address, sequence, ttl and time, the whole echo compressed to a sentence.

The habit outlasts the tool: whoever can read one echo can question any network honestly, one round trip at a time.

ONE HONEST ECHO

Teach the four moves to one friend this month; one honest echo beats a thousand guesses.

Index

Index


56(84) bytes7
Flood warning9
icmp_seq6
Ping by name8
The checksum5
The first reply4
The last echo10