š¾ Archived View for gemini.omarpolo.com āŗ post āŗ gmid-1.5.gmi captured on 2024-08-25 at 07:23:02. Gemini links have been rewritten to link to archived content
ā¬ ļø Previous capture (2023-01-29)
-=-=-=-=-=-=-
20 days of work = whole bunch of new features
Written while listening to āInterstellar Overdriveā by Pink Floyd.
Published: 2021-01-30
Tagged with:
These last twenty days were pretty productive on the gmid front: I ended up doing way more things that I had planned for this v1.5 release.
The headlines are the automatic sandboxing on OpenBSD, FreeBSD and linux and the introduction of the configuration file, but youāll find the whole change log at the end of this entry.
On OpenBSD pledge and unveil were already in place, but their usage has been improved during this release cycle: the daemon was split into two processes that run with different pledges. This enabled also the usage of capsicum on FreeBSD and seccomp on linux. Always in the same spirit, support for chroot and privilege dropping has been added, so itās safe to start the daemon with root privileges.
Read āComparing sandboxing techniquesā for more information.
With this release gmid has two modes: a daemon mode and a config-less mode. The config-less mode is similar to how gmid operated until now (i.e. running from the command line) and has been improved with an automatic certificate generation, while the daemon more is more akin to ānormalā network daemons and needs a configuration file.
The configuration file syntax has been inspired from OpenBSDā httpd and is quite flexible. It supports a wide range of customizable parameters and location blocks to alter the behaviour per matching path.
-- text: CC0 1.0; code: public domain (unless specified otherwise). No copyright here.