1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-11-08 11:16:47 +00:00
webvirtcloud/computes
catborise 2dab23cd9e fix(gstfsd): only the panel, with the host's key, can change a VM's disk
gstfsd, the root service on each compute that rewrites a shut-off VM's
/etc/shadow and authorized_keys, did what any client on its port asked.
Now it needs GSTFSD_KEY (64 hexadecimal characters, in the unit's
/etc/default/webvirt-gstfsd) and does not start without it. Each
connection gets a new challenge; the panel signs its request for it
with HMAC-SHA256 and gstfsd checks the signature before any change, so
a request recorded on one connection is refused on another. gstfsd
signs its reply for the same challenge and the panel's nonce, and the
panel accepts only that reply.

Each compute has a gstfsd key, the host's GSTFSD_KEY: the compute forms
and the API take it and never show it, and an empty value on an edit
keeps it. The bootstrap script makes the key file once, readable by
root only; the README shows how to make it and where the panel takes
it. The traffic is still not encrypted: a remote panel's port stays
open to the panel's address only.
2026-10-31 01:53:43 +03:00
..
api fix(gstfsd): only the panel, with the host's key, can change a VM's disk 2026-10-31 01:53:43 +03:00
migrations fix(gstfsd): only the panel, with the host's key, can change a VM's disk 2026-10-31 01:53:43 +03:00
templates style(computes): the host's sections on one line in every theme 2026-10-29 15:50:31 +03:00
tests fix(gstfsd): only the panel, with the host's key, can change a VM's disk 2026-10-31 01:53:43 +03:00
__init__.py Initial commit 2015-02-27 10:53:51 +02:00
apps.py fix: track migrations; installs apply them instead of generating them 2026-10-04 01:08:11 +03:00
forms.py fix(gstfsd): only the panel, with the host's key, can change a VM's disk 2026-10-31 01:53:43 +03:00
models.py fix(gstfsd): only the panel, with the host's key, can change a VM's disk 2026-10-31 01:53:43 +03:00
urls.py feat(nodedevs): the host's PCI and USB devices on a Devices page 2026-10-29 13:01:17 +03:00
utils.py fix(instances): two owners added at once keep a VM to one owner 2026-10-31 00:21:06 +03:00
validators.py fix(gstfsd): only the panel, with the host's key, can change a VM's disk 2026-10-31 01:53:43 +03:00
views.py feat(storages): the storage pages on Bootstrap's tables, cards, badges and menus 2026-10-28 19:27:21 +03:00