
Lightweight, secure control plane & real-time web dashboard in Crystal for Linux firewalld and NetworkManager host security.
Pared is a secure, high-performance Linux host security control plane and real-time administrative web console written in Crystal. Built on Kemal and Blueprint server-rendered components with Datastar v1.0.5 SSE hypermedia streaming, self-hosted Pico CSS v2.1.1, SQLite3, and native libsystemd journal bindings, it unifies firewalld and NetworkManager orchestration into an air-gapped-ready administrative interface.
Pared features reverse-proxy mutual TLS (mTLS) passwordless authentication with SHA-256 fingerprint and CRL validation, Linux PAM/SSSD identity management, native C-bindings to libsystemd for live journal streaming, a 7-stage packet traversal simulator, an automated per-zone anti-lockout rollback guardian, and Podman/Netavark container network bypass auditing.
rp_filter / firewalld IPv6_rpfilter, and socket targets without injecting live network traffic.DROP/REJECT), preventing operator lockout.ss with local systemd service units, process IDs, and firewall exposure states.0.0.0.0, ::).wg, handshake health classification, endpoint configuration, and dual-stack IPv4/IPv6 AllowedIPs CIDR overlap detection.Cmd+K or /) with server-side dispatch (/trace, /rollback <zone>, /wg peer <term>, /zone add).pam_acct_mgmt), SSSD InfoPipe D-Bus group resolution, X.509 client certificate mTLS with SHA-256 fingerprint and CRL checks, RBAC (SuperAdmin, NetAdmin, Auditor, Monitor), and CSRF protection./events/stream), native watchdog integration via NOTIFY_SOCKET, and SQLite forensic audit logging.v1.22+)libsystemd development headers (systemd-devel)firewalld and NetworkManager active daemonsgdbus (glib2) and dbus-monitor (dbus-tools)ss (iproute) and wg (wireguard-tools)podman for Netavark container network and port-publish discovery# 1. Clone repository & install shard dependencies
git clone https://gitlab.com/renich/pared.git
cd pared
shards install
# 2. Provision host system Polkit rules & seed default database
make setup
make seed
# 3. Compile and launch development server
make build
make run
The control plane web dashboard is available at http://localhost:3636. For offline UI work without touching host daemons, run PARED_TEST_MOCK=true ./bin/pared.
When seeded via make seed, default credentials are:
[email protected]password(Local system PAM user accounts with UID and GID >= 1000 can also authenticate directly).
Pared enforces strict quality gates across unit specs, headless Firefox/Geckodriver E2E browser specs, static analysis, security scanning, and documentation linting:
# Run unit & integration test suite
make spec
# Run headless Selenium E2E browser test suite (Firefox + geckodriver)
make test-browser
# Run static analysis and security vulnerability scan (Ameba + Flaw)
make lint
# Run reStructuredText documentation linters
find docs -name "*.rst" -exec crstlint {} +
crstlint CHANGELOG.rst CONTRIBUTING.rst
rstcheck -r docs/
Pared ships a single consolidated, production-hardened systemd unit at scripts/pared.service implementing kernel sandboxing, watchdog pinging, and least-privilege restrictions:
# Build production release binary
make release
# Install binary and systemd service
sudo install -m 755 bin/pared /usr/local/bin/pared
sudo install -m 644 scripts/pared.service /etc/systemd/system/pared.service
# Enable and start service
sudo systemctl daemon-reload
sudo systemctl enable --now pared.service
# Inspect service status and watchdog health
sudo systemctl status pared.service
Architectural specifications, decision records, and audit reports are maintained in the docs/ directory:
To build the Sphinx HTML documentation locally:
sphinx-build -b html -W docs docs/_build/html

Open Source Identity and Access Management For Modern Applications and Services

OpenID Certified OAuth 2.0 and OpenID Connect provider for token issuance, client management, JWKS, and login/consent flow orchestration via headless APIs for cloud-native applications.

API-first identity and user management system for cloud-native applications. Handles login, registration, MFA, recovery, and profile management with support for OIDC, SAML, and social sign-in.