@effect-vfs/nfs 0.4.0 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -2
- package/dist/NfsServer.d.ts +6 -3
- package/dist/NfsServer.d.ts.map +1 -1
- package/dist/NfsServer.js +23 -6
- package/dist/internal/nfs4.d.ts +3 -3
- package/dist/internal/nfs4.d.ts.map +1 -1
- package/dist/internal/nfs4.js +814 -646
- package/dist/internal/rpc.d.ts +4 -3
- package/dist/internal/rpc.d.ts.map +1 -1
- package/dist/internal/rpc.js +111 -97
- package/dist/internal/server.d.ts.map +1 -1
- package/dist/internal/server.js +4 -1
- package/dist/internal/xdr.d.ts +84 -30
- package/dist/internal/xdr.d.ts.map +1 -1
- package/dist/internal/xdr.js +329 -158
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -5,7 +5,8 @@ evidence; the trusted-network profile remains `experimental`. Start with the [ru
|
|
|
5
5
|
to mount a fixture and observe live updates.
|
|
6
6
|
|
|
7
7
|
The scoped server supports TCP or a UNIX-domain socket, metadata and directory reads, symlinks, regular-file reads,
|
|
8
|
-
and NFSv4.1 sessions. Mutations return `NFS4ERR_ROFS
|
|
8
|
+
and NFSv4.1 sessions. Mutations return `NFS4ERR_ROFS` by default. Explicit `writable: true` requires a volume whose
|
|
9
|
+
`durability` is at least `survives-power-loss`; the server rejects weaker volumes before listening. It is not a conformant NFSv4.1 server: RFC 8881 requires
|
|
9
10
|
RPCSEC_GSS with Kerberos, which this package excludes. It also omits delegations, write locks, layouts, migration,
|
|
10
11
|
and recovery. Backchannels and connection trunking are implemented, but the server grants no delegation or layout to
|
|
11
12
|
recall.
|
|
@@ -18,7 +19,7 @@ The package describes what it does with a capability profile and how well that i
|
|
|
18
19
|
| --------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | ------------ |
|
|
19
20
|
| `read-only-local` | complete read path, `NFS4ERR_ROFS` on mutation, loopback binding, `AUTH_SYS` accepted as untrusted, backchannel and connection binding | preview |
|
|
20
21
|
| `read-only-networked` | `AUTH_SYS` identity mapped to VFS callers by application policy, non-loopback binding behind that policy and an explicit opt-in | experimental |
|
|
21
|
-
| `writable` | create, write, rename, remove, durable `WRITE` and `COMMIT`, share reservations, and advisory byte-range locks |
|
|
22
|
+
| `writable` | create, write, rename, remove, durable `WRITE` and `COMMIT`, share reservations, and advisory byte-range locks | experimental |
|
|
22
23
|
| `stateful` | grace and reclaim, restart recovery, persistent filehandles | not public |
|
|
23
24
|
|
|
24
25
|
The current read-only export tracks advisory byte-range read locks between NFS clients. `LOCK` requires an open stateid; `LOCKU` releases an exact range. Write locks still return `NFS4ERR_ROFS`. `maxLockOwners` and `maxLocks` bound the in-memory state, which is removed on lease expiry or client revocation. Direct VFS callers do not participate in NFS locks.
|
|
@@ -27,6 +28,13 @@ The current read-only export tracks advisory byte-range read locks between NFS c
|
|
|
27
28
|
|
|
28
29
|
`NfsServer.make` and `NfsServer.layer` accept local `{ volume, caller }` or networked `{ volume, policy, peer }` options. Both require an Effect `SocketServer`; the application chooses and binds its platform implementation. Local mode accepts only loopback TCP or a UNIX-domain socket. Networked mode can bind elsewhere only with `allowNonLoopback: true`. The server defaults to a 30-second lease, a 30-second callback timeout, and finite resource limits. RPCSEC_GSS credentials are refused with `AUTH_TOOWEAK`.
|
|
29
30
|
|
|
31
|
+
The optional `writable: true` profile is limited to one gateway owning one qualified live volume. The application
|
|
32
|
+
must prevent another gateway from opening the same storage image; the server does not provide a distributed lease.
|
|
33
|
+
Successful mutations rely on the live provider's synchronous commit guarantee. The [R2 writable test app](../../apps/demo-r2-nfs/README.md)
|
|
34
|
+
shows the public API with a bounded R2 image, a trusted-client policy, mounted Debian and macOS checks, restart
|
|
35
|
+
recovery, and an injected lost R2 HTTP response. Remount clients after gateway restart; this is not the `stateful`
|
|
36
|
+
recovery profile. Do not set a stronger `Volume.durability` for an unqualified storage provider.
|
|
37
|
+
|
|
30
38
|
In local mode, one application-supplied caller performs every read. Decoded `AUTH_SYS` fields never grant VFS authority, and ACCESS answers derived from them are advisory. In networked mode, the application supplies a peer resolver evaluated for each accepted socket and a policy that maps the decoded credential and peer to a VFS identity or denies it. The server creates and caches callers per distinct identity, bounded by `maxIdentities`. Policy denials and cache exhaustion answer RPC `AUTH_FAILED` before the compound executes. A resolver returning `null` closes the connection. UNIX peers have `address: null` and `port: null`; `path` is the server socket path, not a client address. Applications must enforce their trusted-client boundary in the policy. This profile is experimental: protocol and socket tests pass, but a networked kernel-client gate has not been recorded. See the [authentication and export policy decision](https://github.com/lloydrichards/effect-virtual-fs/blob/main/.okf/decisions/nfs/nfs-authentication-and-export-policy.md).
|
|
31
39
|
|
|
32
40
|
`NfsServerConfig`, `NfsServerConfigOverrides`, `NfsServerLimits`, `NfsServerLimitOverrides`, `NfsServerAddress`, `NfsServerTcpAddress`, `NfsServerNetworkTcpAddress`, and `NfsServerUnixAddress` are public Effect schemas. Byte limits use `effect/ByteSize`, so their units are explicit and validated before the server converts them to the numeric representation used by XDR. `NfsServerConfig.default`, `NfsServerLimits.default`, and `NfsServerLimits.constrained` expose frozen complete policies. Callers can override only the settings they need. `Volume`, `Caller`, and `SocketServer` remain live Effect capabilities rather than schema data.
|
package/dist/NfsServer.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Models and constructors for the experimental
|
|
2
|
+
* Models and constructors for the experimental NFSv4.1 server.
|
|
3
3
|
*
|
|
4
4
|
* The server exports one live `@effect-vfs/core` volume over NFSv4.1 so that
|
|
5
5
|
* ordinary NFS clients can mount a virtual filesystem. It implements the
|
|
6
|
-
* supported read-only operations
|
|
7
|
-
*
|
|
6
|
+
* supported read-only operations. Writable operation dispatch requires an
|
|
7
|
+
* explicit option and a volume that reports power-loss durability.
|
|
8
8
|
*
|
|
9
9
|
* @since 0.1.0
|
|
10
10
|
*/
|
|
@@ -602,6 +602,7 @@ export type NfsServerAddress = typeof NfsServerAddress.Type;
|
|
|
602
602
|
export type NfsServerLocalOptions = NfsServerConfigOverrides & {
|
|
603
603
|
readonly volume: Vfs.Volume;
|
|
604
604
|
readonly caller: Vfs.Caller;
|
|
605
|
+
readonly writable?: never;
|
|
605
606
|
readonly policy?: never;
|
|
606
607
|
readonly peer?: never;
|
|
607
608
|
readonly allowNonLoopback?: never;
|
|
@@ -648,6 +649,8 @@ export type NfsIdentityPolicy = (request: {
|
|
|
648
649
|
/** @since 0.1.0 */
|
|
649
650
|
export type NfsServerNetworkedOptions = NfsServerConfigOverrides & {
|
|
650
651
|
readonly volume: Vfs.Volume;
|
|
652
|
+
/** Enable mutations only for a volume qualified to survive power loss. */
|
|
653
|
+
readonly writable?: true;
|
|
651
654
|
readonly policy: NfsIdentityPolicy;
|
|
652
655
|
/** Evaluated in each accepted socket's context; null closes a connection without a trustworthy peer. */
|
|
653
656
|
readonly peer: Effect.Effect<NfsPeer | null>;
|
package/dist/NfsServer.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NfsServer.d.ts","sourceRoot":"","sources":["../src/NfsServer.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,OAAO,EAAE,iBAAiB,IAAI,GAAG,EAAE,MAAM,kBAAkB,CAAA;AAC3D,OAAO,KAAK,QAAQ,MAAM,iBAAiB,CAAA;AAC3C,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAA;AACzC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAA;AAGvC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAA;AAEvC,OAAO,KAAK,KAAK,MAAM,cAAc,CAAA;AAGrC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAA;AAEvC,OAAO,KAAK,KAAK,KAAK,MAAM,cAAc,CAAA;AAC1C,OAAO,KAAK,YAAY,MAAM,qCAAqC,CAAA;AAiCnE;;;;;GAKG;AACH,eAAO,MAAM,YAAY,gDAAwC,CAAA;AAEjE;;;;;GAKG;AACH,MAAM,MAAM,YAAY,GA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BAAgB,GAAG,qBAAqB,GAAG,yBAAyB,CAAA;;;;AAEhF;;;;;;;GAOG;AACH,qBAAa,kBAAmB,SAAQ,wBAAuC;IAC7E,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAA;IACvB,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAA;CACzB,CAAC;CAAG;;;;AAEL;;;;;GAKG;AACH,qBAAa,cAAe,SAAQ,oBAAmC;IACrE,QAAQ,CAAC,KAAK,EAAE,OAAO,CAAA;CACxB,CAAC;IACA,IAAa,OAAO,IAAI,MAAM,CAE7B;CACF;AA4ED,QAAA,MAAM,IAAI,YACC,gBAAgB,KACxB,MAAM,CAAC,MAAM,CACd,SAAS,CAAC,SAAS,CAAC,EACpB,kBAAkB,GAAG,cAAc,EACnC,KAAK,CAAC,KAAK,GAAG,YAAY,CAAC,YAAY,GAAG,MAAM,CAAC,MAAM,CAmMrD,CAAA;;sBASgB,gBAAgB;;AAPpC;;;;;GAKG;AACH,qBAAa,SAAU,SAAQ,cAI9B;IACC,MAAM,CAAC,QAAQ,CAAC,IAAI,cAAO;IAC3B,MAAM,CAAC,QAAQ,CAAC,KAAK,YACV,gBAAgB,KACxB,KAAK,CAAC,KAAK,CACZ,SAAS,EACT,kBAAkB,GAAG,cAAc,EACnC,YAAY,CAAC,YAAY,GAAG,MAAM,CAAC,MAAM,CAC1C,CAAqC;CACvC"}
|
package/dist/NfsServer.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Models and constructors for the experimental
|
|
2
|
+
* Models and constructors for the experimental NFSv4.1 server.
|
|
3
3
|
*
|
|
4
4
|
* The server exports one live `@effect-vfs/core` volume over NFSv4.1 so that
|
|
5
5
|
* ordinary NFS clients can mount a virtual filesystem. It implements the
|
|
6
|
-
* supported read-only operations
|
|
7
|
-
*
|
|
6
|
+
* supported read-only operations. Writable operation dispatch requires an
|
|
7
|
+
* explicit option and a volume that reports power-loss durability.
|
|
8
8
|
*
|
|
9
9
|
* @since 0.1.0
|
|
10
10
|
*/
|
|
@@ -290,7 +290,7 @@ const configurationField = (issue) => {
|
|
|
290
290
|
return path.length === 0 ? "options" : path.map(String).join(".");
|
|
291
291
|
};
|
|
292
292
|
const decodeConfig = (options) => Effect.suspend(() => {
|
|
293
|
-
const { caller: _caller, volume: _volume, policy: _policy, peer: _peer, allowNonLoopback: _allowNonLoopback, acceptedFlavors: _acceptedFlavors, ...supplied } = options;
|
|
293
|
+
const { caller: _caller, volume: _volume, policy: _policy, peer: _peer, allowNonLoopback: _allowNonLoopback, acceptedFlavors: _acceptedFlavors, writable: _writable, ...supplied } = options;
|
|
294
294
|
const suppliedLimits = supplied.limits;
|
|
295
295
|
const limits = suppliedLimits === undefined
|
|
296
296
|
? NfsServerLimits.default
|
|
@@ -316,6 +316,16 @@ const make = (options) => Effect.gen(function* () {
|
|
|
316
316
|
const limits = config.limits;
|
|
317
317
|
const policy = options.policy;
|
|
318
318
|
const networked = policy !== undefined;
|
|
319
|
+
const writable = options.writable;
|
|
320
|
+
if (writable !== undefined && writable !== true) {
|
|
321
|
+
return yield* configurationError("writable", "expected true or omission");
|
|
322
|
+
}
|
|
323
|
+
if (options.writable && !Vfs.isVolumeDurabilityAtLeast(options.volume.durability, "survives-power-loss")) {
|
|
324
|
+
return yield* configurationError("volume.durability", "writable NFS requires survives-power-loss");
|
|
325
|
+
}
|
|
326
|
+
if (options.writable && !networked) {
|
|
327
|
+
return yield* configurationError("policy", "writable NFS requires an explicit identity policy");
|
|
328
|
+
}
|
|
319
329
|
if (networked && !Predicate.isFunction(policy)) {
|
|
320
330
|
return yield* configurationError("policy", "policy must be a function");
|
|
321
331
|
}
|
|
@@ -370,6 +380,7 @@ const make = (options) => Effect.gen(function* () {
|
|
|
370
380
|
const storageGeneration = Result.getOrThrow(Encoding.decodeHex(options.volume.incarnation));
|
|
371
381
|
const export_ = makeExport(options.caller ?? volumeCaller, storageGeneration, limits, identity, options.volume);
|
|
372
382
|
const callers = new Map();
|
|
383
|
+
let writableIdentityKey;
|
|
373
384
|
const callerFor = policy === undefined ?
|
|
374
385
|
undefined :
|
|
375
386
|
(call) => Effect.gen(function* () {
|
|
@@ -404,14 +415,19 @@ const make = (options) => Effect.gen(function* () {
|
|
|
404
415
|
mapped.groups.length,
|
|
405
416
|
[...mapped.groups].sort((a, b) => a - b)
|
|
406
417
|
].flat().join(":");
|
|
418
|
+
if (options.writable && writableIdentityKey !== undefined && key !== writableIdentityKey)
|
|
419
|
+
return null;
|
|
407
420
|
const existing = callers.get(key);
|
|
408
421
|
if (existing !== undefined)
|
|
409
422
|
return existing;
|
|
410
423
|
if (callers.size >= limits.maxIdentities)
|
|
411
424
|
return null;
|
|
412
425
|
const created = yield* options.volume.caller({ identity: mapped }).pipe(Effect.orElseSucceed(() => null));
|
|
413
|
-
if (created !== null)
|
|
426
|
+
if (created !== null) {
|
|
414
427
|
callers.set(key, created);
|
|
428
|
+
if (options.writable)
|
|
429
|
+
writableIdentityKey = key;
|
|
430
|
+
}
|
|
415
431
|
return created;
|
|
416
432
|
});
|
|
417
433
|
const handlerOptions = {
|
|
@@ -421,7 +437,8 @@ const make = (options) => Effect.gen(function* () {
|
|
|
421
437
|
callbackTimeout: Duration.seconds(config.callbackTimeoutSeconds),
|
|
422
438
|
limits,
|
|
423
439
|
securityFlavors: acceptedFlavors.map((flavor) => flavor === "sys" ? 1 : 0),
|
|
424
|
-
now: Date.now
|
|
440
|
+
now: Date.now,
|
|
441
|
+
writable: options.writable ?? false
|
|
425
442
|
};
|
|
426
443
|
const handler = yield* makeNfs4Handler(export_, callerFor === undefined ? handlerOptions : { ...handlerOptions, callerFor }).pipe(Effect.mapError((cause) => new NfsServerError({ cause })));
|
|
427
444
|
yield* startServer(socketServer, networked ? { limits, peer: options.peer } : { limits }, handler).pipe(Effect.mapError((cause) => new NfsServerError({ cause })));
|
package/dist/internal/nfs4.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ import type * as PlatformError from "effect/PlatformError";
|
|
|
7
7
|
import type * as Scope from "effect/Scope";
|
|
8
8
|
import { type NfsExport } from "./export.js";
|
|
9
9
|
import { type CompoundCall, type Connection, RpcPolicyDenied } from "./rpc.js";
|
|
10
|
-
import { type DecodeLimits } from "./xdr.js";
|
|
10
|
+
import { type DecodeLimits, XdrEncodeError } from "./xdr.js";
|
|
11
11
|
/** @internal */
|
|
12
12
|
export declare const Status: {
|
|
13
13
|
readonly OK: 0;
|
|
@@ -159,7 +159,7 @@ export interface Nfs4Limits extends DecodeLimits {
|
|
|
159
159
|
}
|
|
160
160
|
/** @internal */
|
|
161
161
|
export interface Nfs4Options {
|
|
162
|
-
/**
|
|
162
|
+
/** Enables writable operation handling after the public server qualifies the volume and identity policy. */
|
|
163
163
|
readonly writable?: boolean;
|
|
164
164
|
readonly leaseDurationSeconds: number;
|
|
165
165
|
/** How long a callback waits for the client's reply before the path is treated as down. */
|
|
@@ -176,7 +176,7 @@ export interface Nfs4Options {
|
|
|
176
176
|
}
|
|
177
177
|
/** @internal */
|
|
178
178
|
export interface Nfs4Handler {
|
|
179
|
-
readonly compound: (call: CompoundCall) => Effect.Effect<Uint8Array, RpcPolicyDenied>;
|
|
179
|
+
readonly compound: (call: CompoundCall) => Effect.Effect<Uint8Array, RpcPolicyDenied | XdrEncodeError>;
|
|
180
180
|
readonly disconnect: (connection: Connection) => Effect.Effect<void>;
|
|
181
181
|
readonly callbackReply: (connection: Connection, message: Uint8Array) => Effect.Effect<void>;
|
|
182
182
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"nfs4.d.ts","sourceRoot":"","sources":["../../src/internal/nfs4.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,IAAI,GAAG,EAAE,MAAM,kBAAkB,CAAA;AAChE,OAAO,KAAK,QAAQ,MAAM,iBAAiB,CAAA;AAC3C,OAAO,KAAK,MAAM,MAAM,eAAe,CAAA;AAEvC,OAAO,KAAK,QAAQ,MAAM,iBAAiB,CAAA;AA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