Skip to content

RAST 0.11.0

Choose a tag to compare

@github-actions github-actions released this 30 Nov 18:31

Added

  • Control Panel → Security, laid out like a NAS control panel: tabs
    Security, Account, Firewall, iptables, fail2ban, Protection, Certificate
    and Advanced, each with blue section headings and Reset / Apply at the
    bottom.
    • Security: sign out browsers after a period without activity (logout
      timer, shared by every RAST tab of a browser), sign everyone out when RAST
      restarts, the web protections RAST always sends (CSRF, CSP, frame
      ancestors, secure cookies) and the trusted proxies.
    • Account: enforce 2-factor authentication for administrators or all
      users (moved here from Settings), and account lockout with its number of
      failed sign-ins and lock time.
    • Firewall: turn ufw on or off (with a check of open ports first),
      firewall notifications, and the rule list with Create and Delete (ufw
      rules written through the root helper, checked word by word and audited);
      blocked packets per hour with top sources and ports, and open ports and
      who can reach them.
    • Protection: Auto Block turns away an address after too many failed
      sign-ins within some minutes (for a number of days or for good), with an
      allow list and a block list (addresses or networks).
    • Certificate: the SSL certificates of this server's domains as a list,
      each with its expiry date in its status colour and details under its
      chevron. Domains of RAST's address, Cloudflare Tunnel, nginx, Apache and
      Caddy are found by themselves, more can be added (any port), and each is
      checked with a TLS handshake every 6 hours. Administrators get a
      notification before one expires (14 days by default, adjustable), at 3
      days, when it expires and when a check keeps failing.
    • Advanced: how the CPU stands against Spectre, Meltdown and their kin,
      and whether the kernel starts with mitigations=off.
    • iptables and fail2ban: see below.
      Administrators also get a notification when the firewall or fail2ban stops,
      and when Auto Block blocks an address. Every tab follows changes live.
  • Control Panel → Security → iptables: every iptables rule as a table
    per chain (IPv4 and IPv6, Filter and NAT), with each chain's policy, the
    program that made it (ufw, Docker, fail2ban, Tailscale…) and a click from a
    rule to the chain it jumps to; the raw iptables -S output below.
  • Control Panel → Security → fail2ban: install fail2ban with one click,
    turn it on or off, set SSH protection (failed sign-ins within minutes ban
    an address for some minutes or for good, addresses never banned), see each
    jail with its banned addresses (Ban / Unban) and failed SSH sign-ins.
    RAST writes its settings to /etc/fail2ban/jail.d/rast.local and checks
    them with fail2ban-client -t before reloading.
  • One-click installs from Control Panel → Security: fail2ban, ufw (on the
    Firewall tab when the server has no firewall yet) and the CPU's microcode
    package (Advanced), with apt's progress live in place of the button.
  • Control Panel sidebar in groups (Personal, File Sharing, Connectivity,
    System) that fold away and stay folded, with a search box that finds pages
    and the tabs inside them (for example "iptables", "2fa", "dns").
  • Control Panel → Network (read-only), in the same style: General
    (server name, default gateway, DNS servers, search domains, proxy, and the
    netplan files that set the network up), Network Interface (every
    interface with its state, addresses, DHCP, MAC, MTU, link speed, Wi-Fi
    network and signal, hardware and live traffic; Docker networks and
    container links folded away) and Static Route (IPv4 and IPv6 routing
    table). It looks again every 5 seconds while open.
  • Backup → full-server rollback snapshot: besides RAST's database and
    configuration, a backup can hold the server itself (/etc, /srv,
    /opt, /usr/local, /var/www, /home, /root, cron, the package and
    service lists), Docker volumes and dumps of PostgreSQL, MySQL/MariaDB,
    MongoDB and Redis found on the host. Archives use pigz and stay on one
    file system. sudo rast restore --from … --system --yes brings the whole
    server back, optionally re-importing the databases and reinstalling the
    packages.
  • Backup → off-site copies to S3-compatible storage (Cloudflare R2, AWS
    S3, Backblaze B2, MinIO), with the secret key stored encrypted; old
    copies there can be pruned along with the local ones.
  • Backup → Test restore: restores an archive into a throwaway folder and
    checks it (database integrity, server snapshot, Docker volumes, database
    dumps) without touching the live server; a button on the toolbar and on
    every archive.
  • Backup retention of 1 to 7 days: older backups are removed by
    themselves.
  • Required 2-factor authentication: when it is required for
    administrators or everyone, an account without 2FA is asked to set it up
    right after signing in, before anything else opens.

Changed

  • Pages update by themselves, so their Refresh buttons are gone: Control
    Panel → Profile, Network and Security (a "Live" mark shows the last look),
    Mail, Studio and Docker. Terminal opens by itself once it is turned on.
    Open dialogs (Recently turned away, Allow/Block List) update live too.
  • Control Panel → Settings shows the 2FA requirement and links to Security
    → Account, where it is set.

Upgrade notes

  • Database schema v31 (migration 0031, backup retention days). Going back to
    0.10.x needs the backup rast update makes before it.
  • The firewall, iptables and fail2ban pages, the one-click installs and
    full-server snapshots work through the root helper: turn it on once with
    sudo rast terminal enable if Terminal is off.

Installation

curl -fsSL https://github.com/Enricko/rast/releases/download/v0.11.0/install.sh | sudo sh

Pin this exact release:

curl -fsSL https://github.com/Enricko/rast/releases/download/v0.11.0/install.sh | sudo sh -s -- --version 0.11.0

Upgrading an existing installation preserves /etc/rast, /var/lib/rast and /srv/rast.

Release assets

Asset Description
rast-linux-x86_64 Static frontend embedded; x86_64 Linux (glibc >= 2.35)
rast-linux-aarch64 Static frontend embedded; aarch64 Linux (glibc >= 2.39)
SHA256SUMS SHA-256 checksums for every asset
install.sh Installer (POSIX sh, pinned to this release)
uninstall.sh Uninstaller
rast.toml.example Fully commented configuration reference

Verification

sha256sum -c SHA256SUMS
sh install.sh --help

Runtime verification

Both binaries were smoke-tested on their native build runners
(GitHub-hosted x86_64 and arm64): the server started with a temporary
config, answered /healthz, accepted CLI administrator creation and a
JSON API login. The installer itself is exercised on Ubuntu 24.04 in a
disposable systemd container.

Provenance

Both binaries and SHA256SUMS carry GitHub artifact attestations
(Sigstore keyless build provenance). Verify them after downloading:

gh attestation verify rast-linux-x86_64 --repo Enricko/rast
gh attestation verify rast-linux-aarch64 --repo Enricko/rast
gh attestation verify SHA256SUMS --repo Enricko/rast

Provenance proves the files were built by this repository's release
workflow for the tagged commit; it is not a reproduction or code-review
guarantee. The installer can enforce it with --verify-attestation.