Commit graph

37 commits

Author SHA1 Message Date
Val Packett
c42eaef554 Support EXTERNAL auth to the client bus with given UID
With the virtgpu channel, the proxy is part of muvm-guest, so it does
not do the protocol-aware splicing we do here, so it can't do different
auth between the sides like sidebus-agent does. But turns out EXTERNAL
auth works fine, as long as we correct for the UID difference.
2026-02-27 06:05:03 -03:00
Val Packett
eedf1f889d Update zbus to 5.0 2026-02-27 06:05:03 -03:00
Val Packett
52a0ccee0d Add Print support 2026-02-27 05:29:31 -03:00
Val Packett
95bc64076d Add file path mapping for FileTransfer
Match by longest prefix to get host paths from guest ones
2026-02-27 05:27:24 -03:00
Val Packett
2626130659 Add Notification support 2026-02-06 05:05:07 -03:00
Val Packett
2561342e0c Add FileTransfer (drag & drop / copy & paste files)
Host->Guest is easy; Guest->Host is not there yet because we have to do
something for the (O_PATH) fd passing such as converting to inode numbers
and getting an O_PATH fd back through the VMM, which requires modifying
libkrun/muvm to have a connection channel.. Or we should switch this from
vsock to a virtgpu channel where it would be easier to handle.
2026-02-06 04:14:01 -03:00
Jörg Thalheim
762dd2dd84 move nixos module to external file
Avoids anonymous imports which makes the module easier to
find and reference.
2026-01-16 15:34:17 +01:00
Jörg Thalheim
d145ee2b5c drop rust-overlay, use rustc from nixpkgs
nixpkgs has a recent enough rustc version, no need for the
extra complexity of rust-overlay and rust-toolchain.toml.
2026-01-16 15:31:56 +01:00
Jörg Thalheim
1315858592 switch from flake-utils to flake-parts
There is not so much of a difference in this project, but
it means adding this project to clan is one less flake input
and also more consistent with other projects in clan.
2026-01-16 15:31:44 +01:00
Val Packett
c9095421c6 Request the D-Bus name earlier 2025-12-12 05:24:35 -03:00
Val Packett
2456dc0ea5 Fix interface names in error messages 2025-12-12 04:55:10 -03:00
Val Packett
df832a5141 Add proxy for the Settings portal (dark mode, reduced motion, etc.) 2025-12-12 04:45:19 -03:00
Val Packett
1d931ae191 Use pending instead of timer loop 2025-12-12 03:42:35 -03:00
Val Packett
52c3ea7cd3 Switch over to a reverse connection scheme (bridge to a guest bus) 2025-12-05 08:18:44 -03:00
Val Packett
ea34b7b08c Unhardcode user IDs 2025-12-05 04:58:11 -03:00
Val Packett
fa0bf056d0 Do not handle the unix socket server in-place
Let the code after that actually run..
2025-11-14 06:12:03 -03:00
Val Packett
52ad012e13 Implement process cleanup for the broker 2025-11-14 05:57:40 -03:00
Val Packett
73c92e3e69 Update deps 2025-11-14 03:40:48 -03:00
Val Packett
4fd76692db Add option to expose a (non-fd-capable) unix socket instead of vsock
libkrun does not use vsock on the host, so we need to provide this to
work with muvm.
2025-10-03 05:17:36 -03:00
Val Packett
250c459866 Update cargo hashes 2025-10-03 05:17:36 -03:00
Val Packett
50ea609880 Add demo video 2025-08-08 06:18:21 -03:00
Val Packett
0cfbe9820d Add readme notes 2025-08-08 05:09:33 -03:00
Val Packett
eefb000865 Implement FileChooser portal proxy with virtiofsd mount 2025-08-08 02:52:47 -03:00
Val Packett
116839fb59 Update and add new deps for upcoming features 2025-08-08 02:51:12 -03:00
Val Packett
a321bf9a9a When splicing, drop unix fds 2025-07-18 02:17:21 -03:00
Val Packett
efae851a9a agent: use socket activation, port credential + provide nixos module 2025-07-18 02:17:21 -03:00
Val Packett
30e76e3291 Add bus method to spawn an external client 2025-07-17 23:17:05 -03:00
Val Packett
71aecea297 Extract run_unix_listener extension method 2025-07-17 21:37:33 -03:00
Val Packett
e4bace1793 Add NameOwnerStream to support waiting for clients taking names on an owned bus 2025-07-17 21:25:44 -03:00
Val Packett
e32d6746df Update busd git dep to include control over whether channel conns skip hello 2025-07-17 21:25:44 -03:00
Val Packett
6428695a6b rewrite: handle NoReplyExpected flag check 2025-07-17 19:47:32 -03:00
Val Packett
d6d075ea34 Add message rewriting module for editing messages
Useful for proxying individual destinations
2025-07-16 04:35:30 -03:00
Val Packett
49045ae88c gitignore more stuff 2025-07-16 02:33:06 -03:00
Val Packett
a898afbb98 Add rust-src to toolchain
To fix rust-analyzer
2025-07-11 02:10:36 -03:00
Val Packett
627237bdda Add hosted bus module based on busd
Currently depends on WIP changes to busd to allow in-process clients
2025-07-11 01:06:31 -03:00
Val Packett
14ce212e81 Basic vsock proxying implementation
Currently just connecting to the host's session bus
2025-07-11 01:05:56 -03:00
Val Packett
11a682e19f Initial commit
Signed-off-by: Val Packett <val@invisiblethingslab.com>
2025-07-11 01:05:56 -03:00