mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-06 11:07:31 +01:00
seaweed-block: docs: v1.1.2 notes: network trust rev 2 (audit log; iSCSI CHAP)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
17dfccb05a
commit
0fbc6f18ee
1 file changed
+10
-8
@@ -307,15 +307,17 @@ Unchanged from v1.1.1. No data is lost. A fix is planned for a later v1.1.x rele
|
||||
## Network trust
|
||||
|
||||
**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` and `--role-file` are all set;
|
||||
without them it accepts only loopback connections. Nothing else has authentication or encryption of its own:
|
||||
- the volume host's status and chunk control HTTP endpoints, which listen on loopback unless
|
||||
(viewer, operator, admin, node) when `--tls-cert`, `--tls-key`, `--tls-client-ca`, `--role-file` and `--audit-log`
|
||||
are all set (every changing call is recorded in the audit log before it runs); without them it 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;
|
||||
- the replication channel between replicas (replicated volumes, preview);
|
||||
- the connection to the SeaweedFS filer and volume servers: anyone who can reach the filer can read or change any
|
||||
volume's metadata and chunks, which are stored unencrypted;
|
||||
- the NVMe/TCP target, which listens on loopback unless `--allow-external-nvme-bind` is set. The iSCSI target needs
|
||||
CHAP (`--iscsi-chap-username`, `--iscsi-chap-secret`) to listen off loopback; its traffic is not encrypted.
|
||||
- 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 needs CHAP (`--iscsi-chap-username`, `--iscsi-chap-secret`) to listen off loopback; 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.
|
||||
|
||||
Reference in new issue
Block a user