The OS

MarlinOS is FreeBSD with a kernel config, a CAN networking stack, the WAKE detection daemons, and a set of platform YAML files. The host stays small; package mass lives in the jails, picked per workload.

Base system

We track FreeBSD-CURRENT and ship a custom kernel config plus a short list of additions. No fork: MarlinOS installs on top of the FreeBSD pkgbase stream.

Hardened base
GENERIC minus debug, ZFS-only root with boot-environment rollback, PF composed from platform + overlay. No extra userland attack surface on the host beyond what the platform YAML declares.
MARLINOS kernel config
Derived from GENERIC with debug options removed (include "std.nodebug"), plus the NetCAN device modules built in. Built for both architectures.
pkgbase delivery
Base system and kernel ship as pkg-installable sets from pkg.marlinos.io. Upgrades are pkg upgrade; rollback is a ZFS boot environment.
Dual architecture, native builds
Both FreeBSD:16:amd64 and FreeBSD:16:aarch64 are built on native Poudriere runners.
ZFS root, boot environments
ZFS is the only supported root filesystem. Each base upgrade produces a new boot environment; a failed upgrade rolls back from the loader.

What MarlinOS adds

Two delivery channels: pkgbase for the kernel and base system (MARLINOS kernel config + NetCAN userland), ports for everything else. Linux gets the ports layer only, with naming and coverage in Linux support below.

ComponentWhereWhat it does
MARLINOS kernel + NetCANpkgbaseGENERIC minus debug, plus NetCAN (can, can_raw, can_nmea2000, vcan, ahc0512). See NetCAN.
CAN userlandpkgbasecanconfig, candump, cansend, slcand, n2kdump. Ship with the base system.
PlatformsYAMLSeven host roles (hosting, nas, identity, wake-edge, soc-console, vpn-hub, build-worker). See Platforms.
Backup helperssanoid, syncoidConsistent snapshots, with engine helpers for MariaDB and PostgreSQL.
rsyslogrsyslogFreeBSD’s rsyslog rebuilt with our SIMD TurboVM patches against liblognorm, plus mmenrich, mmsigma, mmwake, mmclassify, imclassify, and immesh.
WAKElibwake, wakeweblibwake is the scoring library the rsyslog modules link. wakeweb is the console: it reads the events and decisions the edges write to ClickHouse and runs no detection. The fourteen detectors are imclassify, on their own thread, in the rsyslog package. mmclassify is the per-message action; no event plugin is registered. See WAKE.
host-defaultshost-defaultsCanonical /usr/local/etc/* for common tools.
The host is small; the jails are not. A hosting platform pulls in PHP 8.4, MariaDB clients, Redis, Nextcloud, WordPress, Dolibarr, certbot, and Stalwart, one jail at a time.

Linux support

No image, no MARLINOS kernel, no jails: on Linux the ports layer drops onto whatever base install is already there. amd64 only, on the dev channel. The package repo is on pkg.marlinos.io.

Ubuntu 26.04 amd64 · dev rsyslog · wake

Package names differ only where they would collide with a distro package: rsyslog, wake, and libwake keep those names. See Get it for the repo setup.

Primitives

Each platform picks the primitives it needs. None of these is universal.

Bastille jails
Used by multi-service platforms: hosting (5 jails) and identity (its keycloak-db jail). Synthesized server-side from the platform YAML. thin / thick / linux / clone are supported; vnet is intentionally not. The others (nas, wake-edge, vpn-hub, soc-console, build-worker) run services directly on the host.
ZFS datasets with sanoid policy
Every FreeBSD platform uses ZFS root. Datasets are declared in the platform YAML with their Sanoid retention inline; Dump helpers hand off to engine-specific helpers (MariaDB, PostgreSQL) for consistent snapshots; syncoid ships them elsewhere when needed.
PF + dual-stack IPv6
FreeBSD platforms compose PF rules from platform + overlay, with synthesized RDR anchors per jail. ULA IPv6 with NPTv6 across a WireGuard fabric where one is used.
WireGuard transport
Optional per host. nas and hosting on a LAN typically leave it off. vpn-hub is the hub.

Build channels

ChannelPath on pkg.marlinos.ioUse
currentFreeBSD:16:<arch>-currentRelease channel. Cut from master.
devFreeBSD:16:<arch>-devTracking channel. Cut from dev. Use for testing.
pkgbaseFreeBSD:16:<arch>/base_currentFreeBSD base + MARLINOS kernel as pkg sets.