Status: setting shipped, routing fails closed (helper 3.5.0)
Owner: desktop (apps/desktop)
Scope: an honest switch for c0mpute's relay network. Experimental, unreviewed, not anonymity.
Scallion is the onion-style relay network being built on c0mpute: signed relay descriptors, a three-hop telescoped handshake, and a stream layer with an exit policy, carried over the c0mpute libp2p network. It is not Tor and has none of Tor's review history.
Nothing reaches the network. Today's c0mpute CLI says so itself:
$ c0mpute scallion doctor --mode native --json
{"mode":"native","ready":false,"blockers":[...],"built_experimental":[...],"production_ready":false}
and there is no local Scallion SOCKS client yet. So TronBrowser's Scallion setting is off by default and fails closed:
| State | What Settings and the sidebar say | Toggle |
|---|---|---|
| c0mpute CLI not found | "Not installed", with an Install button | disabled |
| Installed, doctor not ready (today) | "Installed (c0mpute vX). Scallion client not ready: blockers. TronBrowser traffic is NOT going through Scallion." | disabled |
Doctor ready but no socks field |
"Scallion client not ready: the doctor reports ready but no local Scallion SOCKS client is running." | disabled |
Doctor ready + loopback socks that accepts connections |
"Scallion client ready". Off until switched on. | enabled |
| Switched on, verified | "On: routed through Scallion" | enabled |
Where it lives:
- Settings (the options page) has the full Scallion (c0mpute network) section: state, the doctor's blockers, Install, the switch, and the installer output tail.
- The AI sidebar has a 🌱 Scallion button next to 🧅 Tor and 🤘 Pit. It is greyed out while Scallion cannot route; clicking it shows the plain status and a link to Settings.
The same loopback helper that runs Tor and the pit resolver
(apps/desktop/launcher/tron-tor-helper, 127.0.0.1:9061) serves:
| Route | Does |
|---|---|
GET /scallion/status |
{installed, path, version, doctor, ready, socks, routing, error, install} |
POST /scallion/install |
Installs the c0mpute CLI only (see below), waits up to 240 s, returns the status with install: {running, exitCode, tail, error} |
POST /scallion/start |
200 {started: true, routing: true, socks, host, port} only when allowed; otherwise 409 {started: false, error, blockers} |
POST /scallion/stop |
{stopped: true, routing: false} |
Same rules as the other routes: literal 127.0.0.1 Host, no web origins, POST
for anything that changes state.
Finding the CLI: TRON_C0MPUTE_BIN if set, else c0mpute on PATH, then
~/.local/bin/c0mpute, $C0MPUTE_HOME/bin/c0mpute and ~/.c0mpute/bin/c0mpute
(where the c0mpute installer puts it; the launcher's PATH often lacks it).
Every call sets C0MPUTE_NO_AUTO_UPDATE=1, so checking status never upgrades
the CLI.
Install runs only on an explicit click:
curl -fsSL https://c0mpute.com/install.sh | sh -s -- --minimal --no-start --no-exec
--minimal skips CoinPay, Infernet, transcode, the TUI and ThreatCrush.
--no-start matters: without it the c0mpute installer enables and starts the
worker service even with --minimal. --no-exec stops it from exec'ing a new
shell. The helper downloads the script to a file first (a failed download is a
failed install, not half a script), runs it with no stdin and in a new session
(no terminal, so it asks nothing and any sudo fails fast), and keeps the last
40 lines of output. Not offered on Windows.
Start (POST /scallion/start) is allowed only when all of these hold:
- the CLI is installed and
c0mpute scallion doctor --mode native --jsonparses; - the doctor says
"ready": true; - the doctor JSON carries
"socks": "127.0.0.1:PORT"(alsolocalhost:PORTor[::1]:PORT; any non-loopback host is ignored, since pointing a browser at a remote proxy is not this setting's job); - something accepts a TCP connection on that port.
Otherwise it refuses with the reason (not-installed, doctor-unavailable: …,
not-ready, no-socks, socks-unreachable) and the doctor's blockers. The
helper never starts a Scallion client itself.
When the helper clears it, the background routes exactly like the 🧅 Tor
toggle: chrome.proxy fixed_servers SOCKS5 to that endpoint (loopback
bypassed), plus the WebRTC guard (disable_non_proxied_udp). It then fetches
https://my.ip.pit.world/?format=json through the proxy; if that fails it puts
the proxy back to system, tells the helper to stop, and reports
verify-failed. It never leaves a dead proxy behind.
Exclusive with Tor and the pit, the same way those two are with each other:
- Tor on: refuses Scallion (
tor-on); turning Tor on takes Scallion down first. - Scallion on: turns the pit off first; turning the pit on refuses (
scallion-on), because the pit's PAC asks the system resolver about every host, which would leak lookups outside the proxy.
Like the other toggles it is off again on every fresh browser start; a service worker restart mid-session re-applies the proxy only if the helper still has routing cleared and the doctor still says ready.
A future c0mpute Scallion client turns this on without a TronBrowser release by:
- running a local SOCKS5 server (CONNECT, domain names resolved by the client inside Scallion) on a loopback port, and
- making
c0mpute scallion doctor --mode native --jsonprint"ready": trueand"socks": "127.0.0.1:PORT"while it is up.
Exit code and stray log lines do not matter: the helper parses the outermost JSON object from stdout (then stderr).
- Not anonymity. Scallion has had no independent security review and no multi-host, leak or adversarial testing. Never rely on it for safety. For that, use Tor Browser.
- Not a relay. TronBrowser only ever acts as a client here; installing the CLI with these flags starts no worker and carries nobody else's traffic.