banger/internal
Thales Maciel c298ed2fc1
Add vsock-backed VM port inspection
Let the host ask the guest vsock agent to run ss so open ports can be surfaced without SSHing in manually.

Add a narrow /ports agent endpoint, a daemon vm.ports RPC that enriches listeners with <hostname>.vm endpoints and best-effort HTTP links, and a concurrent 'banger vm ports' CLI table for one or more VMs.

Update the guest package contract to include ss for rebuilt Debian images, allow the guest agent package in the shell-out policy, and cover the new parsing/RPC/CLI flow in tests.

Verified with GOCACHE=/tmp/banger-gocache go test ./... outside the sandbox, make build, bash -n customize.sh make-rootfs-void.sh verify.sh, and ./banger vm ports --help.
2026-03-19 15:52:11 -03:00
..
api Add vsock-backed VM port inspection 2026-03-19 15:52:11 -03:00
cli Add vsock-backed VM port inspection 2026-03-19 15:52:11 -03:00
config Add experimental Void guest workflow and vsock agent 2026-03-19 14:51:25 -03:00
daemon Add vsock-backed VM port inspection 2026-03-19 15:52:11 -03:00
firecracker Add experimental Void guest workflow and vsock agent 2026-03-19 14:51:25 -03:00
guest Add experimental Void guest workflow and vsock agent 2026-03-19 14:51:25 -03:00
guestconfig Refactor VM lifecycle around capabilities 2026-03-18 19:28:26 -03:00
hostnat Move helper NAT management into Go 2026-03-17 15:07:49 -03:00
model Add experimental Void guest workflow and vsock agent 2026-03-19 14:51:25 -03:00
paths Add experimental Void guest workflow and vsock agent 2026-03-19 14:51:25 -03:00
policy Add vsock-backed VM port inspection 2026-03-19 15:52:11 -03:00
rpc Propagate RPC cancellation to daemon requests 2026-03-16 18:28:33 -03:00
runtimebundle Add experimental Void guest workflow and vsock agent 2026-03-19 14:51:25 -03:00
store Speed up VM create with work seeds 2026-03-18 21:22:12 -03:00
system Add experimental Void guest workflow and vsock agent 2026-03-19 14:51:25 -03:00
vmdns Replace mapdns with daemon DNS 2026-03-17 15:49:35 -03:00
vsockagent Add vsock-backed VM port inspection 2026-03-19 15:52:11 -03:00