docs: vouching and signed blocklists deferred, with the reasons and when to reconsider
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AeFqV96dVeBX94inzcgZKw
This commit is contained in:
@@ -136,10 +136,20 @@ starting a design-heavy item; see "Working with the owner".
|
|||||||
- **Fallback bootstrap list inside the binary**, for networks that block DNS
|
- **Fallback bootstrap list inside the binary**, for networks that block DNS
|
||||||
TXT lookups. Needs a stable address for the bootstrap node; its peer ID
|
TXT lookups. Needs a stable address for the bootstrap node; its peer ID
|
||||||
changes when the no-phrase identity is recreated (every ≤366 days).
|
changes when the no-phrase identity is recreated (every ≤366 days).
|
||||||
- **Vouching for reporters.** Today trust is a flag. Design: existing
|
- **Vouching for reporters and signed blocklists: decided not to build yet
|
||||||
operators sign "this key is a real operator"; a report counts if you trust
|
(2026-11-19, owner).** Today trust is a flag (`--trust-reporter`). Design if
|
||||||
the voucher. Then **signed blocklists** subscribed to by curator key and
|
it is ever needed: existing operators sign "this key is a real operator"; a
|
||||||
fetched over libp2p (decided: not URL files).
|
key counts only if keys *you* trust vouch for it (depth 1, at least two
|
||||||
|
distinct vouchers, vouches expire and are capped), so a spammer's ring of
|
||||||
|
nodes vouching for each other is an island and counts for nothing. Blocklists
|
||||||
|
would be subscribed to by curator key and fetched over libp2p (not URL
|
||||||
|
files). Why not now: with one operator it adds nothing over the flag; a
|
||||||
|
signed blocklist is what a signed report already is; the web of trust among
|
||||||
|
strangers cannot be tested without real independent operators; and spam is
|
||||||
|
already limited by proof-of-work, quotas, the peer guard and the IP gate.
|
||||||
|
**Reconsider** when there are enough independent operators that adding
|
||||||
|
trusted keys by hand is a real chore. A cheaper step first: manage the
|
||||||
|
trusted-reporter list from the web UI or a file.
|
||||||
- **Owner's signed reply to a report**, and a **reputation** for reporters
|
- **Owner's signed reply to a report**, and a **reputation** for reporters
|
||||||
whose reports are routinely overruled.
|
whose reports are routinely overruled.
|
||||||
- **Forward secrecy for messages.** Today a leaked device key reads envelopes
|
- **Forward secrecy for messages.** Today a leaked device key reads envelopes
|
||||||
@@ -175,7 +185,8 @@ starting a design-heavy item; see "Working with the owner".
|
|||||||
`internal/api/ratelimit.go`): attackers with many real addresses, valid but
|
`internal/api/ratelimit.go`): attackers with many real addresses, valid but
|
||||||
unwanted records under the limits, and bans are per node and not shared
|
unwanted records under the limits, and bans are per node and not shared
|
||||||
(deliberate: a shared ban could be used against honest nodes). Signed
|
(deliberate: a shared ban could be used against honest nodes). Signed
|
||||||
blocklists (see vouching above) are the next layer.
|
blocklists (see vouching above) would be the next layer, once there are
|
||||||
|
enough operators to need them.
|
||||||
- **Rate limits depend on the deployment**: the per-IP connection limit needs
|
- **Rate limits depend on the deployment**: the per-IP connection limit needs
|
||||||
real source addresses (`externalTrafficPolicy: Local`; the nodeport overlay
|
real source addresses (`externalTrafficPolicy: Local`; the nodeport overlay
|
||||||
uses `Cluster` and hides them), and the API limit needs `TRUSTED_PROXY` to
|
uses `Cluster` and hides them), and the API limit needs `TRUSTED_PROXY` to
|
||||||
|
|||||||
+12
-5
@@ -569,7 +569,8 @@ the peers it has met in `peers.json` next to its keys.
|
|||||||
## Spam
|
## Spam
|
||||||
|
|
||||||
Proof-of-work per listing and per revocation, abuse reports (below), and
|
Proof-of-work per listing and per revocation, abuse reports (below), and
|
||||||
subscribable blocklists (not built yet). The format leaves room for vouching
|
subscribable blocklists (not built, and not planned until there are enough
|
||||||
|
independent operators to need them). The format leaves room for vouching
|
||||||
signatures later.
|
signatures later.
|
||||||
|
|
||||||
**Mining** (`internal/pow`, `pow.Mine`): the nonce is the smallest number that
|
**Mining** (`internal/pow`, `pow.Mine`): the nonce is the smallest number that
|
||||||
@@ -666,8 +667,14 @@ and sends a tip. When the operator is signed in, a second form signs a report
|
|||||||
(or withdraws it). `#/mine/reports` is the operator's queue of tips, grouped by
|
(or withdraws it). `#/mine/reports` is the operator's queue of tips, grouped by
|
||||||
listing: report as the reason a visitor gave, or dismiss.
|
listing: report as the reason a visitor gave, or dismiss.
|
||||||
|
|
||||||
**Not built yet:** vouching (who becomes trusted is the operator's choice for
|
**Not built:** vouching and signed blocklists. Who becomes trusted is the
|
||||||
now), signed blocklists you subscribe to by curator key, an owner's signed
|
operator's choice (`--trust-reporter`). With one operator vouching adds nothing
|
||||||
|
over the flag, a signed blocklist is what a signed report already is, and a web
|
||||||
|
of trust among strangers cannot be tested without real independent operators.
|
||||||
|
If it is built later, trust must start from keys the operator picked: a key
|
||||||
|
counts only when keys the operator trusts vouch for it (depth 1, at least two
|
||||||
|
distinct vouchers, vouches expire), so a ring of a spammer's own nodes
|
||||||
|
vouching for each other counts for nothing. Also not built: an owner's signed
|
||||||
reply to a report, and reputation for reporters whose reports are overruled.
|
reply to a report, and reputation for reporters whose reports are overruled.
|
||||||
|
|
||||||
## Simulation (`cmd/allmende-sim`)
|
## Simulation (`cmd/allmende-sim`)
|
||||||
@@ -846,8 +853,8 @@ bound and the agreement and cost figures as the useful part.
|
|||||||
|
|
||||||
## Open
|
## Open
|
||||||
|
|
||||||
Vouching
|
Vouching and blocklists for reports (deferred, see "Abuse reports"),
|
||||||
and blocklists for reports, reciprocity rules, anti-
|
reciprocity rules, anti-
|
||||||
discrimination (AGG) content rules, peer scoring and rate limits,
|
discrimination (AGG) content rules, peer scoring and rate limits,
|
||||||
a fallback bootstrap list inside the binary
|
a fallback bootstrap list inside the binary
|
||||||
for networks that block DNS, image hosting,
|
for networks that block DNS, image hosting,
|
||||||
|
|||||||
Reference in New Issue
Block a user