aboutsummaryrefslogtreecommitdiffstats
path: root/docs/dashboard.md
Commit message (Collapse)AuthorAgeFilesLines
* docs: what the review found that staystv2026-11-081-1/+4
| | | | | | | | | | | | | | | | Review findings 10 and 12, and 3.1/3.3: what stays as it is, said. * Any member can log any user out: the user a logout names is its node's word, and a logout is no deciding path, even under strict. * Used challenges are remembered in memory: after a restart, one captured within its five minutes could be taken once more. * A registry turns strict as it is: whatever it holds then counts, plain values and envelopes, checked or not. Look it over first. * A value that isn't an envelope starts its chain anew (prev empty). * A strict registry whose only manager lost its keys changes no more: keep two managers, or two keys. * The handed-over token stays in the address bar and history where the other dashboard never loads, for its five minutes.
* dashboard: a content security policy, framed by nonetv2026-11-081-1/+2
| | | | | | | | | | | | | | | | | | Review finding 12, browsers: the dashboard holds a bearer token in memory and edits the document, but had no content security policy and could be framed by any page of the same site (another port on the same host, anything sharing a domain behind a proxy), acting with its user's token. The dashboard and the login page now come with a policy that runs only their own inline script (by its hash, computed when first served), loads nothing from elsewhere, and lets no page frame them (frame-ancestors 'none', X-Frame-Options DENY). Fetches stay open to any origin, as the members' dashboards are wherever the member list says. The browser check (check.js) loads the page from a file, without the header, so the policy wants one look in a browser.
* dashboard: hand over a token reading the member list onlytv2026-11-081-4/+5
| | | | | | | | | | | | | Review finding 8, second part: opening another member's dashboard handed it a token reading everything (READ_ALL). A member writes its own dashboard URL, so a malicious one received a read-everything token under the operator's identity: /admin/config, /admin/changes, /admin/log and the rest, on every node the user reaches. The token handed over now reads the member list only (READ_MEMBERS, as sent to subscribed nodes), which is enough to draw the map; the user logs in at the other dashboard to see more. With 1151 it lasts five minutes and isn't refreshed past them.
* dashboard: message flashestv2026-11-071-2/+6
| | | | | messages: off / dots / flash: a message expands at its own speed and leaves an afterglow fading out in the direction it went.
* dashboard: a token handed over to another member's dashboardtv2026-11-071-2/+4
| | | | | | | | Opening another member's dashboard passes a token reading only, for five minutes, in the URL's fragment; its login page begins a session with it. Tokens may be asked for with a shorter lifetime. Auth plan M3 (hand-off).
* access: members refused as a wholetv2026-11-071-1/+1
| | | | | | | | | With signatures required, a member whose own change broke a rule is refused as a whole: sent nothing, shown in /peers (refused), in stats (sync.refusedPeers) and on the dashboard, until a change of its is taken again or the epoch changes. Auth plan M6 (diverged standing).
* auth: a login page and browser sessionstv2026-11-071-2/+8
| | | | | | | | | GET /login without authentication: log in by password or with a token (from a login by key). POST/DELETE /auth/session keep the token as an HttpOnly, SameSite=Strict cookie; the dashboard sends a browser without a user there and renews the session while open. Auth plan M2/M3 (browsers).
* dashboard: without LINKS; LINKS removedtv2026-11-071-70/+34
| | | | | | | | | The dashboard reads every member's links from the members themselves; LINKS and LINKS_REPLY, swarm::links and their wire tags go (wire version bumped). Nodes the browser can't reach are drawn from what the reachable ones measure. Auth plan M3.
* dashboard: clocks on the pagetv2026-11-071-2/+3
| | | | | | | | The page compares the clocks the reports on its map carry: this node's peers', and those of the nodes it subscribes to; the node no longer gathers them from LINKS (api/dashboard/clocks.rs goes). Auth plan M3 (preparing LINKS' removal).
* dashboard: the writers' trees as this node knows themtv2026-11-071-4/+4
| | | | | | | | The tree drawn is computed as every node computes its own part of it: from the member list, and whom it and its neighbours reach, as they told it; no longer from the links members report over LINKS. Auth plan M3 (preparing LINKS' removal).
* dashboard: subscribed nodes' messages in the consoletv2026-11-071-3/+11
| | | | | | | Each tick's messages of a subscribed node, listed in the console with this node's own, from its own stream. Auth plan M3 (live data from every reachable node).
* dashboard: subscribed nodes' messages as dotstv2026-11-071-1/+4
| | | | | | | The page reads a subscribed node's message counts from it too, and draws them as dots on the map, as this node's own. Auth plan M3 (live data from every reachable node).
* dashboard: subscriptionstv2026-11-071-2/+15
| | | | | | | | Double-click a node to subscribe: the page reads its own links from it directly with a narrowed token (reading the member list only), drawn over what this node knows; kept per swarm in the browser. Auth plan M3.
* access: authorization at the APItv2026-11-071-2/+4
| | | | | | | | | Every request is judged by the registry the node holds: store reads pruned to what the user may read, writes refused where it may not, admin endpoints by protocol capabilities. Without a registry, as before (--protocol-writers for protocol data). Auth plan M1.
* dashboard: remake with golden count down halostv2026-11-071-7/+9
|
* dashboard: polish remake ringstv2026-11-071-3/+6
|
* dashboard: remake switch delaytv2026-11-061-1/+4
|
* dashboard: figures root in titletv2026-11-061-3/+4
|
* dashboard: document root in titletv2026-11-061-2/+4
|
* dashboard: drop neighbour columntv2026-11-061-2/+2
|
* dashboard: remaketv2026-11-061-0/+9
|
* round trips in treestv2026-11-051-2/+2
|
* dashboard: neaten up peers boxtv2026-11-051-2/+2
|
* dashboard: human-friendly figurestv2026-11-051-0/+8
|
* dashboard: add epoch switch indicatortv2026-11-051-1/+3
|
* dashboard: map remake votestv2026-11-051-0/+6
|
* dashboard: swarm-wide epoch shinetv2026-11-051-5/+7
|
* dashboard: let evolving nodes shinetv2026-11-051-0/+3
|
* dashboard: unpin nodes don't move on static graphtv2026-11-051-2/+2
|
* dashboard: don't reset map after resizetv2026-11-051-4/+4
|
* dashboard: don't update tooltipstv2026-11-051-1/+4
|
* dashboard: make via column shortertv2026-11-051-1/+1
|
* dashboard: ignore traffic while suspendedtv2026-11-051-1/+3
|
* time blob messagestv2026-11-041-1/+1
|
* dashboard: hop delaystv2026-11-041-0/+1
|
* dashboard: show reach settv2026-11-031-0/+1
|
* dashboard: show writer treestv2026-11-031-0/+9
|
* replace eager links by treestv2026-11-031-6/+2
|
* dashboard: show eager links on the maptv2026-11-031-2/+6
|
* links: add failovertv2026-11-031-0/+6
|
* swarm: links by whom we reachtv2026-11-031-1/+2
|
* dashboard: neater graph title & legendtv2026-11-031-8/+9
|
* dashboard: legend doesn't interfere with graphtv2026-11-031-2/+4
|
* links: when asking for a lot relays, do chunktv2026-11-031-2/+3
|
* add budget for relayed LINKStv2026-11-031-3/+4
|
* dashboard: add console clear buttontv2026-11-031-1/+1
|
* dashboard: indicate console followingtv2026-11-031-1/+2
|
* dashboard: pass state to next dashboardtv2026-11-021-2/+10
|
* swarm: relay links messagestv2026-11-021-2/+21
|
* dashboard: show newly joined remote peers asaptv2026-11-021-1/+3
|