Repository navigation
Kervan v0.6.0
Added
-
File-count quota.
quota.default_max_filesis now enforced, with
per-group and per-usermax_filesoverrides (API, CLI
--max-files, WebUI). Only regular files count, and overwriting a file
does not. -
Bandwidth limits.
max_bandwidthcan be set per user and per group,
withbandwidth.default_user_rateas the default and
bandwidth.max_totalas a server-wide cap. Limits apply to FTP, SFTP,
SCP and API transfers, are shared across a user's parallel connections,
and reload at runtime. Measured at 1.0 MiB/s for a 1 MiB/s limit over FTP
and SFTP. -
Self-service account. A new WebUI My Account page and
/api/v1/accountendpoints show a user's effective policy, and let them
change their password (local accounts) and manage their SSH public keys.
Previously neither was possible without the server CLI. -
Admin password reset and SSH key editing from the WebUI Users dialog
andPUT /api/v1/users(password,authorized_keys).
Changed
quota.default_max_filesnow defaults to 0 (unlimited). Configs
generated by olderkervan initversions contain
default_max_files: 100000, which had no effect before and now applies.
Set it to0to keep the previous behavior.
Security
- Session revocation: session tokens now carry
iat, and a password
change or reset revokes every WebUI/API session issued before it. An
admin reset also ends the user's protocol sessions. - SSH keys: keys with
authorized_keysoptions are rejected by the API,
and skipped with a warning bykervan migrate ssh-keys. Kervan does not
enforce the options, so afrom=restriction would have been silently
lost.
Fixed
-
quota: renaming a file onto an existing one now releases the
replaced file's bytes. Before, they stayed counted against the user's
quota. -
WebUI: an expired or revoked session now returns to the sign-in screen
with an explanation, instead of failing every request with "Session
expired".
Container image: docker pull ghcr.io/kervanserver/kervan:0.6.0 (linux/amd64, linux/arm64).
Checksums are in checksums.txt. Verify with sha256sum -c --ignore-missing checksums.txt.