Vaporeon

module
v0.0.0-...-a029c08 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 13, 2022 License: Apache-2.0

README

Instructions

  1. Run make to build all binaries.

  2. In a terminal, cd server, and run:

    sudo systemd-run -p "Delegate=yes" -p "User=$USER" -P --wait ./server
    

    (You could also use nobody instead of $USER to further lock down permissions.)

    If you don't need cgroup, you can also just run ./server. See this doc for more on systemd.

  3. In another terminal, cd client.

    1. ./client by default runs as admin.
    2. Check out ./client -h.
    3. ./client -cert_file ../certs/client2_cert.pem -key_file ../certs/client2_key.pem runs as a guest.
    4. Guests can't stream/query/kill jobs launched by the admin. They can't shut down the server, either.
    5. Admins can do anything :).

Directories

Path Synopsis
cgroup
Package cgroup is a simple, incomplete encapsulation of cgroupv2.
Package cgroup is a simple, incomplete encapsulation of cgroupv2.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL