Skip to content

A proof that a receiver keeping only a counter cannot accept every fresh message exactly once, and a build that behaves as the proof says

The lab's counter-only build refuses replayed messages and keeps less state than a build with a replay window, landing where the proof says a counter-only receiver must.

A receiver that must refuse replayed messages has to remember something about what it has already seen. The cheapest choice is a single counter, the highest message number so far. The lab proves that a receiver keeping only that counter cannot accept every fresh message exactly once, and shows that its own counter-only build, in the lab's emulator, refuses replays and keeps less state, as the proof says it must.

What it shows

If messages can arrive out of order, a receiver that remembers only the highest number it has seen must choose. It can refuse anything at or below that number, and so refuse some fresh messages that arrived late. Or it can accept them, and so accept some replays. It cannot do both. The lab states this as a theorem about the receiver's state and checks its own counter-only build against it.

What the build does

The build refuses replays, so it pays in the other direction, as the theorem says it must: fresh messages that arrive late are refused. In return it keeps less state than a build with a replay window. The lab's claim calls the build "shipped"; that means it is in the lab's code, not in any product.

Why it matters, and to whom

This is for engineers choosing how much memory a receiver spends on replay protection. The theorem says what a single counter cannot do, so the choice between a counter and a window is a choice between two known costs, not an oversight.

How it was checked

The lab tested the check by breaking the build on purpose, twice.

  • It changed one comparison so that the counter-only build accepted an exact replay of the latest message. The check failed.
  • It made the counter-only build report the state size of the full window, so that it was no longer cheaper. The check failed again.

What it does not claim

  • It does not claim a new idea. Protocols such as IPsec use a sliding window because a single counter is not enough; the lab states that limit as a theorem about its own receiver.
  • It does not claim anything about real hardware or about side channels.

How to reproduce it

The evidence file names the command and the commit of the lab's code. A stronger test would run the same builds on real Wi-Fi hardware with messages delivered out of order.

Prior art

Evidence

Related results across the group

All results from OrbitalProof · The OrbitalProof home page

How we show numbers

Every result figure links to the file it comes from. See our published files