Paid exits

Note · 2026-11-30

Same letters, different questions: A, B and C mean two different things

freaky's three modes are indexed on how much the client knows about FIPS; mine were indexed on whether the customer holds a key. Reading them as one alphabet is what made the conversation slide — and his framing is the better one for a build plan.

freaky proposed “A, B and C” in the same conversation where I had been using “Model A and Model B”. Both sets are internally consistent. They are not the same alphabet, and until that was written down, every message read past the other.

This note is about the misunderstanding, not the technology — then about the two changes he made that do matter technically.

The same three letters, indexed on different questions

Two people, the same three letters, different things

My axis is the customer’s capability: does the buyer hold a key?

That makes A and B mutually exclusive per customer. Same seller, same box, and only the buyer changes.

His axis is the path’s awareness: how much does the client know about FIPS?

And crucially: all three can run at the same time on the same router. He said so explicitly — “you can run both scenarios at the same time on the router… I think even A, B and C can be available at the same time” — and he is right, because they are three levels of client awareness arriving at one gate, not three competing designs.

Where the collision happens

His Mine What it means
A A agree: the client runs FIPS and finds the exit itself
B A′ phone-to-phone means a phone is an exit — I had no letter for that
C B dumb clients carried by a router is the keyless model

So when he says “B”, read “a phone that sells”. When he says “C”, read “a router carrying keyless clients”. Neither of us was being sloppy; the alphabet was.

Why his framing is better

Mine asks what the customer is, so it splits one product into two and invites the question “which one do we build?”. His asks what the path must understand, so it stacks:

A  the client knows fips        ← smallest
B  + a phone can be the exit    ← adds the seller role
C  + gatewaying for dumb clients ← adds the billing system

Each level subsumes the ones below it. That is a build order, not a taxonomy — and it explains something my version could not: his C is the only mode that reaches the ESP32, because an ESP32 knows nothing but IP, which is precisely his definition of a C client.

One network, three ways in

One network, three ways in

The figure that finally made it click for me. Same Wi-Fi, same router, same exits — the only difference is what the arriving client understands, and therefore who keeps the books.

A — the exit meters. fips-exitd counts bytes per key-derived address. Already built, and it needs nothing from the router.

B — the phone-exit meters. Same daemon on a phone, same principle: the exit sees a peer identity. The router is not in the data path at all.

C — TollGate meters, or nobody does. The exit only ever sees the router, never the customer. So “who bought what package and used how much” moves into the router, and that is a billing system, not a metering tweak.

Which is exactly what he listed as the work: “client accounting, exit node search, NAT to fips (fips-gateway), and some more we haven’t even thought of” — and then, plainly: “basically you have to install the exit-client binary for OpenWRT and do all the client management.”

Two honest notes on C:

The relay change: discovery finally lives where the customers are

How an exit is found now: a relay that lives on the mesh

He also changed how exits are announced, and this is the part with consequences beyond the alphabet.

The problem. Exits published to ordinary Nostr relays — the kind that need internet. A phone on a TollGate usually does not have internet yet. So the shop was advertising where its customers could not look. Public relays make it worse: one refused every WebSocket when the list was drawn, and a freshly joined phone cannot reach any wss:// relay at all.

What he added. A relay that exists only on the fips mesh, addressed by npub:

ws://npub1lx2m36mtzpvae7caw6tphqzhuyufg82y63p8lvd8n6nvkdkw0thq08hdpz.fips

No DNS, no certificate authority, no public relay, no internet. The address is a key, so reaching it proves who you reached. It is in the default relay list, so clients ask it without being configured, and six public relays are still published to beside it so one network refusing an advert cannot hide an exit.

The advert itself is unchanged and worth knowing: kind 30078, d=fips-exit, signed with the node’s fips key, carrying an access word — open, allow-list, or paid (with price, packages, mints and port; fips2go lists those since 0.14.0). Valid three hours, republished hourly, so a dead exit drops out on its own.

And the “later”: local by mDNS. He said the global find comes first and local comes later, which is the right order: the mesh relay gives reach, and mDNS gives speed on the link. It is also what makes his B work at all — phone-to-phone exit discovery is an mDNS answer on the shared SSID, with no router, no relay and no internet.

What I would actually take from this

Three things, in order of how much they change the plan.

  1. Adopt his lettering in conversation. It stacks, so it survives contact with a build order. Mine does not: “A or B” is a choice, his “A, then B, then C” is a sequence. Using my letters at him and his letters at me is the mechanism by which two consistent people kept disagreeing.

  2. C splits into two products, and one of them is nearly free. “C metered” is a billing system. “C open” is a sponsored hotspot with a fips uplink. They share transport and nothing else, and only the first one is the work he described.

  3. Discovery-before-internet is the load-bearing idea. The mesh relay is not a convenience; it is what makes a paid mesh able to sell to someone who has not arrived yet. Every model above depends on the buyer being able to find a seller before they can reach anything.

What is still unknown, and worth asking him directly: whether a C router has to hold its own fips identity separate from its exit identity, or whether fips-gateway and fips-exitd on one box can share one. That is the same “two roles on one node” question that already blocks a router that both sells and buys, and it sits under all three of his modes.