aboutsummaryrefslogtreecommitdiffstats
path: root/docs/dashboard.md
Commit message (Collapse)AuthorAgeFilesLines
* dashboard: a content security policy, framed by nonetv3 days1-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 onlytv3 days1-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 flashestv4 days1-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 dashboardtv4 days1-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 wholetv4 days1-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 sessionstv4 days1-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 removedtv4 days1-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 pagetv4 days1-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 themtv4 days1-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 consoletv4 days1-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 dotstv4 days1-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: subscriptionstv4 days1-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 APItv4 days1-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 halostv5 days1-7/+9
|
* dashboard: polish remake ringstv5 days1-3/+6
|
* dashboard: remake switch delaytv5 days1-1/+4
|
* dashboard: figures root in titletv5 days1-3/+4
|
* dashboard: document root in titletv5 days1-2/+4
|
* dashboard: drop neighbour columntv5 days1-2/+2
|
* dashboard: remaketv5 days1-0/+9
|
* round trips in treestv7 days1-2/+2
|
* dashboard: neaten up peers boxtv7 days1-2/+2
|
* dashboard: human-friendly figurestv7 days1-0/+8
|
* dashboard: add epoch switch indicatortv7 days1-1/+3
|
* dashboard: map remake votestv7 days1-0/+6
|
* dashboard: swarm-wide epoch shinetv7 days1-5/+7
|
* dashboard: let evolving nodes shinetv7 days1-0/+3
|
* dashboard: unpin nodes don't move on static graphtv7 days1-2/+2
|
* dashboard: don't reset map after resizetv7 days1-4/+4
|
* dashboard: don't update tooltipstv7 days1-1/+4
|
* dashboard: make via column shortertv7 days1-1/+1
|
* dashboard: ignore traffic while suspendedtv7 days1-1/+3
|
* time blob messagestv7 days1-1/+1
|
* dashboard: hop delaystv7 days1-0/+1
|
* dashboard: show reach settv9 days1-0/+1
|
* dashboard: show writer treestv9 days1-0/+9
|
* replace eager links by treestv9 days1-6/+2
|
* dashboard: show eager links on the maptv9 days1-2/+6
|
* links: add failovertv9 days1-0/+6
|
* swarm: links by whom we reachtv9 days1-1/+2
|
* dashboard: neater graph title & legendtv9 days1-8/+9
|
* dashboard: legend doesn't interfere with graphtv9 days1-2/+4
|
* links: when asking for a lot relays, do chunktv9 days1-2/+3
|
* add budget for relayed LINKStv9 days1-3/+4
|
* dashboard: add console clear buttontv9 days1-1/+1
|
* dashboard: indicate console followingtv9 days1-1/+2
|
* dashboard: pass state to next dashboardtv9 days1-2/+10
|
* swarm: relay links messagestv9 days1-2/+21
|
* dashboard: show newly joined remote peers asaptv9 days1-1/+3
|
* dashboard: double-click opens peer dashboardtv9 days1-0/+5
|