docs(block): network trust in the operations manual's install section (#13505)

* docs(block): the operations manual's install section states what the network must be trusted for

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* docs(block): network trust names --audit-log and says CHAP authenticates iSCSI without encrypting it

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* docs(block): network trust limits the audit clause to operator/admin changes, iSCSI off loopback needs the bind flag and CHAP, status bind excludes master TLS

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* docs(block): network trust names the audited-before set and unauthenticated iSCSI discovery

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* docs(block): network trust names failback and workspace binding registration among the audited-before calls

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Ping QiuandClaude Opus 5.5 authored and GitHub committed 2026-12-06 05:32:04 -08:00
1 parent e987ffb8f3
commit 1041f38efe
1 file changed
+21
+21
View File
@@ -250,6 +250,27 @@ holder is not supported. (The v1.0.2 notes' "CLI last" applied to upgrades withi
**Authentication.** For production, set up mutual TLS for the control API ([authenticate the control
API](operator-guide.md#authenticate-the-control-api)). The examples here run on loopback without it.
**Network trust.** blockmaster's control API authenticates callers with mutual TLS and authorizes them by role
(viewer, operator, admin, node) when `--tls-cert`, `--tls-key`, `--tls-client-ca`, `--role-file` and `--audit-log`
are all set. The audit log records volume create and delete, failback, workspace binding registration, placement, move and
revoke, format finalize and host retirement before they run, and refuses such a call when it cannot record it; other
calls by people are recorded after they run, as far as the log allows. Without these flags blockmaster accepts only loopback connections. Nothing else is encrypted, and only
the iSCSI target authenticates its clients:
- the volume host's status and chunk control HTTP endpoints have no authentication and listen on loopback unless
`--allow-external-status-bind` is set, which a volume host that authenticates to blockmaster (`--master-tls-cert`)
refuses;
- the replication channel between replicas (replicated volumes, preview) has no authentication;
- the connection to the SeaweedFS filer and volume servers has no authentication of its own: anyone who can reach
the filer can read or change any volume's metadata and chunks, which are stored unencrypted;
- the NVMe/TCP target has no authentication and listens on loopback unless `--allow-external-nvme-bind` is set;
- the iSCSI target listens off loopback only with `--allow-external-iscsi-bind`, which requires CHAP
(`--iscsi-chap-username`, `--iscsi-chap-secret`) for normal sessions; discovery sessions are not authenticated, so
any initiator that reaches the port can list the target name and portal; on loopback CHAP is optional; its traffic
is not encrypted.
Run these on a trusted network only, and keep blockmaster's key files, role file and audit log readable only by its
service user.
## 2. Cluster spec and blockmaster
blockmaster needs two things: a cluster spec and a lifecycle store. The cluster spec lists the nodes, and each volume