aboutsummaryrefslogtreecommitdiffstats
path: root/src/simtest
Commit message (Collapse)AuthorAgeFilesLines
* access: an epoch's root is never droppedtv3 days1-0/+33
| | | | | | | | | | | | | | | A REFUSALS naming the swarm's first change made the node receiving it judge that change again in a document that isn't empty, refuse it as "a change without dependencies that isn't the epoch's root", and drop it with everything built on it: its whole document. The first epoch's root is now the first change a document holds, as it comes to an empty one or as it is in one; a change judged again on a peer's word is never refused for having no dependencies; and drop_taken refuses to drop an epoch's root, or anything that would leave nothing kept, logging an error instead. Review finding 1 (critical).
* simtest: members against the rules, and a policy unknowntv3 days1-0/+102
| | | | | | | | A member writing past its API's checks is refused, told, drops its change and is taken again; a node under a policy it doesn't know takes no writes and syncs on. Auth plan M6 (tests).
* swarm: changes taken unjudged, dropped (REFUSALS)tv3 days1-9/+83
| | | | | | | | | A node refusing changes a peer brought tells it which broke a rule; the peer judges them itself, and if its rules refuse them too, drops them with all built on them (its document forked without them, a fresh actor), quarantining its own writes among them. Wire version 42. Auth plan M6 (rejoin on taint).
* access: members refused as a wholetv3 days1-0/+9
| | | | | | | | | 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).
* simtest: sealed valuestv3 days1-1/+81
| | | | | | | A value sealed for its declared readers goes everywhere; one sealed for a stranger too, or plain, gets nothing past the others. Auth plan M8.
* simtest: a strict swarmtv3 days1-1/+154
| | | | | | | | Signed values everywhere, carried over by a remake and replaced after it; a member writing the registry or a signed path plain gets nothing past the others. Auth plan M7.
* access: --bootstrap-keystv3 days2-3/+3
| | | | | | | The first users' SSH keys, recorded at genesis with their entries, so a swarm can be strict from its start. Auth plan M7.
* simtest: the policy, and a remake under ittv3 days2-0/+165
| | | | | | | | A swarm judging every change: honest writes everywhere, a joining node registers, a forged write stays where it was made; a compaction under the policy refuses nothing honest. Auth plan M6.
* simtest: signed changestv3 days2-1/+115
| | | | | | | Every change vouched for on every node within a second; a forged signature vouches for nothing. Auth plan M5.
* signatures: on their own (SIGNATURES)tv3 days1-3/+6
| | | | | | | Signatures no sync message took go on their own within a second, to each peer not sent them yet (wire version bumped). Auth plan M5.
* signatures: kept in the document filetv3 days1-0/+1
| | | | | | | A node's signatures are saved with its document (--document-file) and loaded with it. Auth plan M5.
* signatures: --sign-everytv3 days1-0/+1
| | | | | | | | Changes left unsigned are vouched for by the node's next signature: --sign-every 1s (default) signs the latest within a second, all signs every change, none only those that must be. Auth plan M5.
* signatures: changes signed by their nodetv3 days1-1/+2
| | | | | | | | | | Every node signs the changes it commits with its node key, an Ed25519 signature over the change's hash, kept beside the document. One signature on an actor's latest change vouches for its earlier ones. Protocol data and paths listed in _continuum/access/signed are signed, and writes with ?signed=true. Auth plan M5.
* dashboard: without LINKS; LINKS removedtv3 days4-268/+3
| | | | | | | | | 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: own links over the API, and CORStv3 days1-0/+1
| | | | | | | | | GET /admin/dashboard/links/own and its event stream: a node's own links, as LINKS_REPLY carried them, for other members' dashboards with a token. CORS for the members' dashboard origins and --cors-origins, without credentials. Auth plan M3.
* auth: logging in, and tokens as bearerstv3 days1-0/+3
| | | | | | | | | POST /auth/login (by htpasswd or the proxy), /auth/refresh, /auth/logout, GET /auth/whoami; every request may bring Authorization: Bearer instead of a password. --token-lifetime and --session-lifetime. Auth plan M2.
* access: first users at genesistv3 days1-0/+1
| | | | | | | | --bootstrap-users gives a new swarm a registry from its first change, each first user with everything; other users may do nothing until added. Without it the swarm has no registry and works as before. Auth plan M1.
* soak plumtree links along the waytv4 days2-4/+61
|
* soak neighbours and settled linkstv4 days1-0/+29
|
* HyParView flood defaulttv4 days1-2/+2
|
* flood disseminationtv5 days1-0/+1
|
* HyParView (slim)tv5 days4-9/+314
|
* bench repeattv5 days1-7/+81
|
* bench eager tree depthtv5 days1-3/+52
|
* bench eager link RTTstv5 days1-7/+40
|
* plumtreetv5 days2-5/+75
|
* bench several scenariostv5 days1-3/+5
|
* fix simtest clock off proposer waitstv5 days1-0/+13
|
* soak records by settv5 days1-2/+6
|
* indirect probestv5 days1-3/+6
|
* partition registrations testedtv5 days1-0/+64
|
* trees at runtimetv5 days1-0/+8
|
* soak quiet after recordstv5 days1-2/+23
|
* soak counts recordstv5 days1-8/+23
|
* soak with churn testtv5 days2-5/+243
|
* bench waits for recorded linkstv5 days1-0/+17
|
* bench writes configurabletv5 days1-8/+17
|
* sent hashes elsewhere measuredtv5 days1-6/+14
|
* simtest: cut coordinator before its committv5 days1-0/+11
|
* clock skew wait longertv5 days1-3/+8
|
* sent hashes measuredtv5 days1-0/+24
|
* tree views measuredtv5 days1-0/+95
|
* slowest in the treetv5 days1-0/+90
|
* asks by askertv5 days1-2/+71
|
* tor links in ordertv6 days1-0/+2
|
* chunk fetch counterstv6 days1-1/+8
|
* answering behind countedtv6 days1-1/+3
|
* news without waitingtv6 days1-2/+3
|
* no bloom bytestv6 days1-8/+1
|
* no epoch tag measuretv6 days1-3/+1
|