Summary
- Under RFC 5201 and its successor RFC 7401 (HIPv2), a responder may answer I1 with a precomputed R1 and remain completely stateless. A valid R1 signature proves the key existed and signed something at some point — not that the responder is alive now, and not that it reserved anything for this initiator.
- Evidence arrives in steps, not in a flag: a valid I2 is the first thing that can make the responder allocate state, a verified R2 completes the HIP base exchange from the initiator's side, and a usable data path needs a separate payload association plus traffic actually observed crossing it.
Eighteen milliseconds, three green lights, zero sessions
HIP exists because the Internet glued two things together that should never have been welded: who a host is, and where it currently sits. The Host Identity Protocol splits the identifier from the locator, so a laptop can wander from a café in Lisbon to a hotel in Osaka without its identity changing underneath it. The base exchange is four packets on the wire. I1 wakes the responder. R1 carries the challenge, the Diffie–Hellman material, the responder's choices and a signature. I2 returns the puzzle solution plus the initiator's authenticated contribution. R2 closes the exchange.
Now watch a monitoring probe do what monitoring probes always do: take the first answer that looks cryptographically respectable and call it a session.
The protocol makes that reading unsafe on purpose. RFC 5201's own exchange diagram shows the responder selecting a precomputed R1 and staying stateless. RFC 7401 keeps the same property intact in HIPv2. The responder is a doorman with a stack of pre-printed invitations and no guest list. Handing you one tells you the printing press works. It tells you nothing about whether he noticed you.
This is not a flaw leaking through the handshake. It is the denial-of-service defence. A responder absorbing forged I1 packets should not be allocating association state, running public-key verification and computing fresh Diffie–Hellman results for every random trigger that washes up on the port. It ships a prepared challenge, then postpones every expensive commitment until the initiator comes back with a valid I2.
The operational damage starts when telemetry erases that intent. R1 signature valid is a cryptographic observation. Responder alive for this probe, capacity reserved, peer admitted and secure service available are four later claims stacked on top of it. One green dot cannot honestly carry all five.
What the R1 signature actually dates
The signature proves that the responder's Host Identity key generated the covered material. Both RFCs state the narrower consequence in plain words: the R1 was once generated by the responder. Because the response may be precomputed and does not cover association-specific information from I1, the signature alone does not stop a replay.
That word "once" is the whole story. It denies the monitoring system a clock it thought it had. A captured R1 that is still inside its validity policy can be perfectly authentic and still be a photograph of a moment that has already passed. Some fields sit deliberately outside the signature so the puzzle can be adjusted and prepared responses reused within policy.
HIP does supply an R1 generation counter, letting an initiator prefer a newer puzzle generation. That counter is replay discipline, not wall time. HIPv2 discusses preservation, reset and rollover, and pointedly omits a timestamp so nobody has to synchronise the planet's clocks. A generation coordinate is not an SLA timestamp, and the day your dashboard converts one into the other is the day your latency chart starts lying.
For a receipt that survives an argument, keep the responder HIT, the signature verification result, the signature and hash algorithms, the R1 generation counter, the puzzle lifetime, difficulty and opaque value. Keep the local receive time too — but label it honestly: this is when this observer saw those bytes, not when the responder created per-initiator state, because it may not have created any.
The puzzle proves sweat, not standing
The puzzle forces the initiator to hunt for a value whose hash — taken with the challenge and both HITs — has the required run of zero bits. Checking it is cheap. Finding it is deliberately expensive. That asymmetry is the whole point: it is a toll booth that costs the responder a glance and the initiator a tank of fuel.
RFC 5201 uses the word "sincere" as shorthand for having burned CPU cycles. Do not let that word escape its protocol boundary and start a second career in the marketing deck. A valid solution proves work on a particular challenge construction. It does not prove a human meant well, an account is authorised, billing cleared, an access policy admitted the host, or that a single watt of capacity exists behind the responder.
Even the DoS conclusion is bounded, and the RFCs say so. The HIT-bound puzzle frustrates the pattern where an attacker reuses one exchange to forge many identities. It does not protect against every attacker who simply fixes its HITs. An implementation may choose to retain local failure state, trading memory for computation. "Puzzle valid" is therefore neither a universal attack verdict nor a business-trust score.
Split the receipt accordingly: the R1 challenge coordinate, the returned solution, the one-hash validation result, and the policy that chose the difficulty. Then record, separately, whether the responder went on to signature verification, DH computation and HIP-association creation. Those are different events wearing the same green badge.
I2 is where the responder finally commits
On receiving I2, the responder can check the puzzle before spending anything on public-key or DH work. If the solution and the signed initiator material pass, it derives shared keying material and creates the corresponding HIP association. That is a materially stronger observation than R1 — this is the first point where the responder has actually written your name down.
It still has a viewpoint. A responder-side log reading I2 accepted proves a state transition at the responder, under a named implementation and a named policy. It does not prove R2 ever reached the initiator. An initiator that verifies R2 holds evidence the responder possessed the shared result and finished its half of the base exchange. Correlate the two receipts. Never collapse them.
This is also why an alarm and a packet capture can disagree without either being corrupt. The capture shows an authentic R1. The responder holds no session record because the I2 never arrived, arrived late, failed the puzzle or failed the signature. Query a session database for an R1-only probe and the honest answer is an empty result set — not a fault.
Model at least four states in the audit trail: trigger observed, challenge authenticated, initiator work returned, base exchange completed. Handshake seen is a phrase that has never once helped anybody at 3 a.m.
A HIP association is not the data path
The base exchange establishes HIP state and shared keying material. It does not by itself define how user data travels. RFC 7401 hands that job to separate specifications and requires implementations to support the ESP transport of RFC 7402. Its operational text is explicit about restart: a host may create a new payload association after the base exchange, and only then start sending data.
That sequence opens another evidence boundary. A verified R2 is not a receipt for installed ESP Security Associations on both peers. Installed SAs are not proof of bidirectional reachability. A protected outbound packet is not proof that the remote application received it, let alone liked it. Each layer can fail while the one beneath it stays cryptographically immaculate.
For a path-readiness claim, collect the negotiated transport format, transform identifiers, SPI values or protected equivalents, installation outcomes at both endpoints, the locator pair, policy version, key epoch, and the first authenticated packet in each direction. For a service-readiness claim, add an application acknowledgement that is safe to generate and specific to the service you actually care about.
This is the reality-layer discipline applied to a handshake: the signature, the protocol state, the transport state and the observed service effect are related, but they are not interchangeable symbols for one fact. Confusing them is how a green dashboard becomes a legal exhibit.
Build an evidence ladder, not a success flag
| Receipt | Narrow fact established | Claim still unsupported |
|---|---|---|
| I1 transmit record | The initiator emitted a trigger | The responder received it |
| R1 signature verified | Responder key generated the covered response material at some time | Present liveness or per-initiator state |
| Puzzle solved | Initiator performed the required work | Responder acceptance or authorisation |
| Responder accepted I2 | Named validation and state-creation path succeeded | Initiator received R2 |
| Initiator verified R2 | HIP base exchange completed from that endpoint's view | Payload association or data delivery |
| Payload SA installed | A named transport state exists | Bidirectional application success |
| Protected request and response | A bounded service effect occurred | Continued availability or wider mandate |
Every row needs the implementation version, local monotonic time, relevant protocol coordinate, policy identifier and failure reason. Cross-host wall times help correlation; protocol order and cryptographic bindings carry the causal claim.
The ladder also kills a false negative. Precomputed R1 behaviour must not be flagged as evidence of compromise merely because the responder holds no matching session record. The absence is the design, and it stays correct until a valid I2 crosses the commitment boundary.
Read the 2008 document at its correct status
RFC 5201 landed in April 2008 as Experimental, and says so itself: it is not an Internet Standard. Its IESG note lists the concerns — SHA-1, MAC agility, RSA choices, and awkward interaction with IP-address-based policy. RFC 6253 later added a certificate parameter.
RFC 7401 obsoleted it in April 2015, folded in implementation experience and promoted HIPv2 to Proposed Standard with better negotiation and crypto agility. Later certificate and identifier work appears in RFC 8002 and RFC 9374. None of this rescues the 2008 algorithm suite, and none of it needs to: the successor keeps the precomputed-R1 and stateless-responder mechanics exactly where they were, so the provenance-versus-commitment boundary remains a deliberate design choice rather than a historical accident.
The minimum useful specification for an operations console is therefore not "HIP success". It is a state machine whose labels say what ran, what state was created, what peer evidence came back and what data effect was observed. Anything broader is mandate laundering at packet scale — one layer's evidence dressed up as another layer's authority. The signature is a receipt for a moment. The session is a decision. Keep them in separate columns, and the next incident review will thank you.
Sources
- RFC 5201 HTML
- RFC 5201 text
- RFC 5201 information page
- IETF Datatracker: RFC 5201
- RFC 5201 history
- RFC 5201 references
- RFC 5201 errata
- RFC 7401 — HIPv2
- RFC 7401 text
- RFC 7401 information page
- RFC 7401 errata
- RFC 7402 — ESP transport for HIP
- RFC 4423 — HIP architecture
- RFC 4987 — TCP SYN flooding countermeasures
- RFC 6253 — HIP certificates
- RFC 8002 — HIPv2 certificates
- RFC 9374 — DRIP Entity Tag
- Heng Lu — reality layers and symbolic power
- Heng Lu — minimum initial specification
- Heng Lu — running-code primacy
Member Briefing
Read the full trend briefing
Members read the full briefing with the source notes behind every finding.
Strategic Circle
A daily briefing in your language, built from changes we have verified.
Join for USD 20/monthCancel anytime.
Members also get the full research library, a daily briefing on the networks they follow and the private forum.






