r/opsec • u/moire-security • 15h ago
Advanced question Spinning up a separate v3 onion service per contact to prevent cross-contact correlation — looking for feedback on Tor circuit overhead
Hey r/TOR,
I've been building an open-source P2P messenger in Go + Flutter (built on top of Cwtch's Tor transport) where instead of sharing one .onion address across all your contacts, the app spins up an isolated SQLCipher sub-profile and a dedicated v3 onion service per contact.
The goal is strict network compartmentalization: if one contact is compromised or subpoenaed, they can't correlate your .onion address with anyone else you talk to. On Tails OS 7, it talks directly to the system Tor daemon via onion-grater (port 951) instead of running Tor-over-Tor, and wraps every outbound frame (messages, file chunks, or cover chaff) into fixed 6144-char envelopes sent on randomized 5–10s ticks. i have read the rules
I just finished testing v4.0 live on Tails 7 and Linux, and I'm curious to get honest feedback from people who know Tor internals well:
- For users with ~10–15 active contacts, how much practical strain or descriptor-publishing slowdown should I expect from running that many concurrent ephemeral v3 onion services on a single Tor daemon?
- Aside from traffic analysis by a global passive adversary (which fixed-rate padding on Tor obviously doesn't defeat), are there subtle Tor control-port or descriptor-timing leaks I should watch out for when spinning up multiple services from one daemon?
If anyone wants to poke holes in the code or threat model, everything is open-source here: https://github.com/moire-project/moire (all self-audited so far, known limitations are listed in AUDIT-FINAL.txt).
Appreciate any blunt technical feedback.