|
| 1 | +linuxmuster-api7 (7.4.13) lmn74; urgency=medium |
| 2 | + |
| 3 | + * [security] A host key can be restricted to a list of endpoints with a |
| 4 | + new optional "scope" in its host_keys entry. Without one, nothing |
| 5 | + changes: the key keeps reaching the whole API with the LDAP role of |
| 6 | + its user. A scope only ever narrows, the role is still checked behind |
| 7 | + it. Entries read "<METHOD> <path>" and are matched against the path |
| 8 | + as it appears on the wire, without the /v1 prefix, with "*" for one |
| 9 | + path segment and "**" for the rest of the path. An entry matching no |
| 10 | + route of the API is logged as a warning at startup and never allows |
| 11 | + anything. |
| 12 | + * [security] The rate limit of GET /v1/auth/ is configurable through a |
| 13 | + new rate_limit section (requests, window, whitelist) instead of being |
| 14 | + fixed at 5 requests per 60 s. The counter stays per client address, |
| 15 | + which a front-end signing all its users in from one address would |
| 16 | + spend on the first few of them: such an address can now be |
| 17 | + whitelisted. Setting requests to 0 or less disables the limiter. |
| 18 | + Callers on the host itself are still never counted. Fix #41, reported |
| 19 | + by @Pasemesan. |
| 20 | + * [linbo] Three routes for a group's VDI config, read, written and |
| 21 | + deleted at /v1/linbo/startconfs/{group_id}/vdi. Not to be confused |
| 22 | + with an image's .vdi sidecar. Fix #38, reported by @TomlDev. |
| 23 | + * [linbo] The start.conf backups the server already keeps are exposed: |
| 24 | + list, restore and delete under |
| 25 | + /v1/linbo/startconfs/{group_id}/backups. A restore backs the current |
| 26 | + file up before overwriting it. Fix #39, reported by @TomlDev. |
| 27 | + * [linbo] GET /v1/linbo/iso downloads linbo.iso, GET /v1/linbo/examples |
| 28 | + lists the example configs shipped with the server and |
| 29 | + /v1/linbo/examples/{name} returns one of them. See #39. |
| 30 | + * [linbo] School-administrators reach the LINBO routes, which were |
| 31 | + global-admin only while the Schulkonsole has always granted them the |
| 32 | + same access. Routes acting on machines (wol, boot logs) are filtered |
| 33 | + to the school of the caller through devices.csv; the ones reading |
| 34 | + /srv/linbo address a flat, server-wide set of files and each |
| 35 | + dangerous endpoint says so in its description. Per-school LINBO files |
| 36 | + are the real fix and are planned separately. Only /server-info stays |
| 37 | + global-admin only. Fix #37, reported by @TomlDev. |
| 38 | + * [linbo] The startconfs and configs routes no longer take a school |
| 39 | + parameter: group_id addresses one server-wide set of files and the |
| 40 | + parameter was only validated, never used. |
| 41 | + * [packaging] postinst: the deprecated venv migration is dropped, and a |
| 42 | + new linuxmuster-venv dpkg trigger reinstalls the API requirements |
| 43 | + when linuxmuster-tools7 rebuilds the shared venv after a Python |
| 44 | + upgrade. |
| 45 | + |
| 46 | + -- Arnaud Kientz <arnaud@linuxmuster.net> Tue, 15 Sep 2026 21:19:14 +0200 |
| 47 | + |
1 | 48 | linuxmuster-api7 (7.4.12) lmn74; urgency=medium |
2 | 49 |
|
3 | 50 | * [printers] PATCH /v1/printers/{printer} was rewriting attributes a |
|
0 commit comments