Repository navigation
Releases
v0.52.3
What's Changed
- Bump go-filesystems/exfat to v0.9.0 by @tannevaled in #162
Full Changelog: v0.52.2...v0.52.3
v0.52.2
What's Changed
- Use go-filesystems/lockedfs for the image lock wrapper by @tannevaled in #161
Full Changelog: v0.52.1...v0.52.2
v0.52.1
What's Changed
- peercred: read the peer through go-authn/peercred by @tannevaled in #160
Full Changelog: v0.52.0...v0.52.1
v0.52.0
What's Changed
- Require SMB signing and encryption of every client (require_signing, require_encryption) by @tannevaled in #159
Full Changelog: v0.51.0...v0.52.0
v0.51.0
What's Changed
- fuzz: a nightly workflow that fuzzes every target by @tannevaled in #155
- Keep the tests that import pkg/sftp out of the wasip1 test build by @tannevaled in #157
- Serve SMB 3.1.1 over QUIC by @tannevaled in #158
Full Changelog: v0.50.1...v0.51.0
v0.50.1
What's Changed
- kerberos: a user needs no credential here, and a name may hold an @ by @tannevaled in #151
Full Changelog: v0.50.0...v0.50.1
v0.50.0
What's Changed
- Serve SMB with Kerberos from the kerberos block, and ntlm = false by @tannevaled in #147
- README: the keytab owner and mode rule; identity from the ticket by @tannevaled in #150
- S3: STS AssumeRoleWithWebIdentity and temporary credentials by @tannevaled in #146
Full Changelog: v0.49.2...v0.50.0
v0.49.2
Measured reasons for HFS+ opt-in
HFS+ writing stays opt-in (hfsplus_writable_max defaults to "0"). The reasons the server gives for it, in the log line of a read-only HFS+ share, the README and the docs, now match what has been measured:
- Measured gap against macOS. A durable small write is about 2.5x slower than macOS's own HFS+ driver at the default level, and 1.6x at
hfsplus_durability = "mounted". This replaces the old "about 3x". Measured with go-filesystems/hfsplus v0.12.2 at a quiet load: macOS 5.13 ms, strict 12.66 ms, mounted 8.20 ms. The remaining gap is tracked in go-filesystems/hfsplus#45: write journaled volumes through their journal. - Crash tests are done. The claim that they were unfinished is removed: go-filesystems/hfsplus#37 was closed as completed.
- Unchanged: after a crash, a journaled volume mounts without its journal until
diskutil enableJournal.
Refs go-filesystems/hfsplus#35, go-filesystems/hfsplus#37, go-filesystems/hfsplus#45
v0.49.1
hfsplus_durability: level set before a reload is served
- Ordering. On a reload, the new
hfsplus_durabilitylevel is now applied after the old connections are stopped and before the new share list is served. No client of the new configuration writes at the old level. A refused reload still leaves the level untouched. - Failure log. When a level change fails, the log now says the volume stays at its previous level and that the share accepts no write until it is reopened. That is what hfsplus does: a failed flush latches
ErrVolumeFailed. - Tests. The lock test is deterministic: a fake volume checks that the image mutex is held, and it fails 20 runs out of 20 when the lock is removed, without
-race. A new test,TestSwapAppliesHFSPlusDurabilityBeforePublishing, fails 20 runs out of 20 when the level is applied after publishing.
Closes #136
v0.49.0
SFTP fsync syncs only the share under the handle
An SFTP fsync@openssh.com now syncs only the share that holds the handle's file. Before, it synced every share the user may write.
-
Cost. One barrier instead of N. With several writable strict HFS+ shares, each fsync used to pay a barrier per share.
-
Failures stay local. A failed volume, which stays failed until it is reopened, now fails only fsyncs of its own files. Fsyncs on healthy shares go through.
-
How the share is chosen.
unionFS.SyncPathfollows the same route as open and write:- a revoked session is refused;
- a read-only share returns nil;
- the root, or a path under no share, returns
ErrNotExist.
A rename across shares is refused, so the share under the handle's path is always the handle's own.
-
Dependency. This needs go-filesystems/sftp v0.15.0 (go-filesystems/sftp#45).
Go 1.27.4 floor
The go directive is now 1.27.4, the version that fixes GO-2026-6859 in net/http, as in go-filesystems/sftp#44. CI now takes its toolchain from go.mod instead of a hard-coded version. A consumer pinned below 1.27.4 with GOTOOLCHAIN=local can no longer build. That is the intended failure: the alternative is a binary built against an unpatched net/http.
Closes #138