Summary

  • RFC 791, September 1981, gives Time to Live a job description worth framing: “a self destruct time limit”, “reduced at the points along the route where it is processed”.
  • RFC 792 defines the Time Exceeded message a router sends when the limit runs out — type 11, carrying the original header and the first 64 bits of the payload.

One byte against forever

A routing loop is the cheapest way to make a network useless. Two routers each become convinced the other holds the better path, a packet starts circulating between them, and without a limit it circulates until the hardware retires.

RFC 791’s answer is a counter in the header. The sender sets it, every module that processes the datagram decrements it, and “if this field contains the value zero, then the datagram must be destroyed”.

The memo is honest about the units, in the way only a 1981 standards document can be. The field is nominally measured in seconds, but “since every module that processes a datagram must decrease the TTL by at least one even if it process the datagram in less than a second, the TTL must be thought of only as an upper bound on the time a datagram may exist”.

Read that again: the specification quietly concedes that its clock is not a clock. The field stopped measuring lifetime and started counting hops almost immediately — and no policy process, ratification note or committee was needed to authorise the demotion. The code simply did it.

The message nobody asked for

Destroying a packet in silence would leave the sender guessing, which is rude even by 1981 standards. RFC 792 therefore defines a report: Time Exceeded, type 11, with code 0 for “time to live exceeded in transit” and code 1 for “fragment reassembly time exceeded”.

The message returns “the internet header plus the first 64 bits of the original datagram’s data”, which the host uses to match the report to the process that sent the packet.

So a packet that dies leaves a note saying where it died. The note also carries the first eight bytes of whatever it was carrying — a detail worth remembering.

Why the note became a tool

That detail is the reason a diagnostic exists that nobody designed.

Send a packet with a TTL of one: the first router decrements it to zero, destroys it, and reports back its own address. Send the next with a TTL of two and the second router answers. Repeat, and the replies assemble into a list of addresses — the path, drawn by the packets that failed to finish it.

The field’s purpose was to bound lifetime. Its most famous use is cartography. Neither RFC mentions this, which is the ordinary way protocols acquire second careers: build a mechanism with a visible side effect and somebody will measure it.

What the limit does to the network

The same design that saves the network from loops also sets a ceiling on distance. Eight bits means 255 is the theoretical maximum, and in practice the values in use are far smaller.

The limit is not a physical constant. It is a number chosen by the sender of each packet, which is why two hosts can disagree about how far a packet deserves to travel, and why changing a default is a quiet way of changing what a network can reach.

A small mechanism with an outsized record

Time to live is now mostly a hop limit, mostly decremented in hardware, and mostly invisible until something goes wrong. It also produces one of the few internet artefacts a human being can read: a list of addresses a packet passed through on its way to dying.

The memo’s phrase deserves the last word. A field that is “a self destruct time limit” is a field that assumes its own contents are expendable. A network built on that assumption is a network that expects to lose things — and is better off for admitting it.

It is also, quietly, a design lesson the internet keeps forgetting: the rules that lasted are the ones small enough for every machine on the path to check locally, without asking anyone’s permission.