Skip to content

Releases

rookery-agent v0.4.0

Choose a tag to compare

@tobagin tobagin released this 30 Nov 10:10

Per-host rootful & multi-scope agent for Rookery, serving the system scope plus every rootless user scope over a single authenticated API.

Highlights

Security Hardening & Transport

  • TLS 1.3 & mutual TLS (mTLS): Added --tls-cert, --tls-key, --tls-client-ca, and explicit --allow-insecure-http gating, with a safe 127.0.0.1:7666 default listen address.
  • Symlink-safe user-scope I/O: Hardened rootless user Quadlet reads/writes with verifyUserPathChain, os.OpenRoot, O_NOFOLLOW, 0600 file writes, and atomic tmp.Chown(uid, gid) before rename.
  • Podman Unix socket verification: Verifies socket paths against symlink traversal and validates socket ownership via SO_PEERCRED.
  • Privilege separation & input validation: Drops privileges to target UID/GID for user-scope podman and Validate runs, scrubs ROOKERY_AGENT_* env vars from child processes, validates unit names/actions/logs strictly, escapes libpod API path segments, enforces MaxBytesReader (413) + HTTP timeouts, uses SHA-256 constant-time token comparison, and emits structured log/slog audit logs.
  • Hardened packaging & CI: Updated systemd unit hardening, added .containerignore/.dockerignore, security unit tests, and GitHub Actions CI.

Capabilities & Fleet Parity

  • Host-side Quadlet validation (POST /v1/units/{name}/validate): Runs podman-system-generator on the target host with read-only bind mounts of the generator directories and structured diagnostics.
  • Live Podman resources: Serves GET /v1/resources, GET /v1/resources/inspect, and DELETE /v1/resources for networks, volumes, and tagged images per scope.
  • Host metrics & GPU inventory (GET /v1/metrics): Reports CPU, memory, root-disk usage, network Rx/Tx throughput, and GPU devices.
  • Containerized deployment & direct setuid: Runs cleanly as a container without requiring systemd-machined.
  • Upgraded wire contract to rookery-agent-api v0.8.0.

Container Image

podman pull ghcr.io/rookerylabs/rookery-agent:0.4.0

Full Changelog: v0.3.0...v0.4.0

rookery-agent v0.3.0

Choose a tag to compare

@tobagin tobagin released this 10 Jul 04:57

Per-host rootful agent: serves the system scope + every user's rootless scope. Install as a root system service (packaging/rookery-agent.service).

rookery-agent v0.2.0

Choose a tag to compare

@tobagin tobagin released this 09 Jul 19:53

Single-scope agent for Rookery: exposes one rootless (or system) podman/systemd scope over an authed HTTP API.

Full read/write parity — units, status, stats, health, logs, file view/edit, lifecycle, enable/disable.

Install (per host, as the target user):

curl -sSL -o ~/.local/bin/rookery-agent https://github.com/rookerylabs/rookery-agent/releases/download/v0.2.0/rookery-agent-linux-$(uname -m | sed s/x86_64/amd64/;s/aarch64/arm64/)
chmod +x ~/.local/bin/rookery-agent

Then run as a systemd --user service (see packaging/rookery-agent.service), listening on the LAN with a shared bearer token.