No description
  • C++ 54.2%
  • CMake 18.4%
  • PHP 9.8%
  • Shell 8.1%
  • CSS 5.1%
  • Other 4.4%
Find a file
2026-07-26 09:04:43 +02:00
actions Release 2.0 2026-07-15 10:52:22 +02:00
alpine fix(quarantine): prevent directory moves 2026-07-25 16:31:58 +02:00
cmake add multi-init support and Gentoo/Alpine packaging 2026-07-21 14:15:32 +02:00
data fix(quarantine): prevent directory moves 2026-07-25 16:29:04 +02:00
debian fix(quarantine): prevent directory moves 2026-07-25 16:29:04 +02:00
desktop Release 2.0 2026-07-15 10:52:22 +02:00
fedora_rpm fix(quarantine): prevent directory moves 2026-07-25 16:29:04 +02:00
gentoo/app-antivirus/bastionguard Fix name version gentoo ebuild 2026-07-26 09:04:43 +02:00
locale Release 2.0 2026-07-15 10:52:22 +02:00
mageia fix(quarantine): prevent directory moves 2026-07-25 16:29:04 +02:00
openmandriva fix(quarantine): prevent directory moves 2026-07-25 16:29:04 +02:00
opensuse_leap16 fix(quarantine): prevent directory moves 2026-07-25 16:29:04 +02:00
opensuse_rpm fix(quarantine): prevent directory moves 2026-07-25 16:29:04 +02:00
pkgbuild fix(quarantine): prevent directory moves 2026-07-25 16:29:04 +02:00
src fix(quarantine): prevent directory moves 2026-07-25 16:30:08 +02:00
thirdparty add multi-init support and Gentoo/Alpine packaging 2026-07-21 14:15:32 +02:00
webui Release 2.0 2026-07-15 10:52:22 +02:00
CHANGELOG.md Release 2.0 2026-07-15 10:52:22 +02:00
CMakeLists.txt fix(quarantine): prevent directory moves 2026-07-25 16:29:04 +02:00
CODE_OF_CONDUCT.md update documentation 2026-02-06 21:15:53 +01:00
CONTRIBUTING.md update documentation 2026-02-06 21:15:53 +01:00
GOVERNANCE.md update documentation 2026-02-06 21:15:53 +01:00
LICENSE Public documentation 2026-01-28 18:23:45 +01:00
PROJECT_MANIFEST.md update documentation 2026-02-06 21:25:23 +01:00
README.md add multi-init support and Gentoo/Alpine packaging 2026-07-21 14:15:32 +02:00
ROADMAP.md Merge 6373 Closes https://bastionguard.eu/issues/bastionguard-email-protection-with-local-smtp-proxy/ and 6375 https://bastionguard.eu/issues/phishing-scanner-module/ . Fixed 6374 set locale 2026-03-13 11:56:02 +01:00
sanitize_po_keep_last.py Release 2.0 2026-07-15 10:52:22 +02:00
SECURITY.md update documentation 2026-02-06 21:15:53 +01:00
TRADEMARK.md update documentation 2026-02-10 21:40:33 +01:00

BastionGuard

BastionGuard is a Linux security platform designed for users who want deterministic behavior, explicit policies, and visible decisions — not opaque “trust us” protection.

Release Status

BastionGuard 2.0 was officially released on July 15, 2026.

Version 2.0 is the current stable, production-ready release. It builds on the original 1.0 release of February 27, 2026 and follows extensive development, production use, and testing.

Official Linux Repositories

BastionGuard is available through official Linux package repositories for the supported distributions.

Repository configuration instructions and distribution-specific installation commands are available at:

https://bastionguard.eu/documentation/bastionguard-documentation/technical-documentation-application-install/install-bastionguard-from-the-official-linux-repositories/

This page explains how to add the official BastionGuard repository and install or update the application using the native package manager of each supported Linux distribution.

Build and Installation

Detailed instructions for compiling and installing BastionGuard are available in the official documentation:

https://bastionguard.eu/documentation/

See the section:

BastionGuard – Technical Documentation – Application Install

When compiling BastionGuard from source, use the CMake configuration prepared for your Linux distribution. Each configuration includes distribution-specific dependency handling, packaging policies, CEF options, paths, and compatibility adjustments.

BastionGuard supports the following CMake init-system values:

AUTO
SYSTEMD
OPENRC
SYSVINIT
DINIT

AUTO detects the active init system during CMake configuration.

For reproducible distribution packages, an explicit init system should be selected instead of AUTO.

Example:

cmake -S . -B build \
    -DCMAKE_BUILD_TYPE=Release \
    -DCMAKE_INSTALL_PREFIX=/usr \
    -DCMAKE_INSTALL_SYSCONFDIR=/etc \
    -DBG_PACKAGING=ON \
    -DBG_DEBIAN_NO_INSTALL_CODE=ON \
    -DENABLE_SYSTEMD_SERVICES=OFF \
    -DENABLE_USER_AGENT_AUTO=OFF \
    -DINSTALL_NGINX_DEFAULTS=OFF \
    -DBASTIONGUARD_INIT_SYSTEM=OPENRC

Supported explicit values are:

SYSTEMD
OPENRC
SYSVINIT
DINIT

Use a separate build directory for each init-system configuration.

Supported Init Systems

BastionGuard provides native service integration for:

  • systemd
  • OpenRC
  • SysVinit
  • Dinit

Only the service definitions for the selected init system are installed.

The build system also makes libsystemd optional where possible, allowing BastionGuard to be built on distributions that do not use systemd.

The Secure Connection service uses the canonical service name:

bsc-daemon

Supported Distributions

BastionGuard officially supports the following Linux distributions:

  • Debian
  • Ubuntu
  • Fedora
  • Arch Linux
  • openSUSE
  • OpenMandriva Lx
  • Mageia 10
  • Gentoo Linux
  • Alpine Linux

Distribution-specific CMake files are provided where required.

Gentoo Linux

Gentoo packaging is provided through an EAPI 8 ebuild.

The ebuild supports init-system selection through USE flags:

systemd
sysvinit
dinit

When none of these flags is selected, OpenRC is used.

Optional build features include:

cef
secure-connection

Alpine Linux

Alpine Linux packaging is provided through an APKBUILD.

The Alpine package uses OpenRC:

BASTIONGUARD_INIT_SYSTEM=OPENRC

The precompiled embedded CEF runtime is disabled in the Alpine package because Alpine uses musl libc and the bundled CEF runtime is not treated as a native musl-compatible component.

The rest of BastionGuard, including supported native services and Secure Connection, is built using Alpine-compatible dependencies.

Packaging

BastionGuard includes or supports packaging configurations for:

  • Debian and Ubuntu packages
  • RPM-based distributions
  • Arch Linux packages
  • Gentoo ebuilds
  • Alpine APKBUILD packages

Packaging builds should use:

BG_PACKAGING=ON
BG_DEBIAN_NO_INSTALL_CODE=ON
ENABLE_SYSTEMD_SERVICES=OFF
ENABLE_USER_AGENT_AUTO=OFF
INSTALL_NGINX_DEFAULTS=OFF

These options prevent the build process from starting services, restarting system components, modifying user sessions, or performing privileged installation actions on the build host.

Package installation should be staged with DESTDIR.

Example:

DESTDIR="$PWD/pkg" cmake --install build

Development and Release Process

BastionGuard is used in production and is therefore developed with a stability-first approach.

Development changes are tested extensively before being published. Commits are pushed to the public repository only when the corresponding functionality is complete, operational, and considered stable enough for release.

The main branch is not used to publish intentionally broken, incomplete, or untested development snapshots. Repository activity may therefore be less frequent than in projects that expose every intermediate development step.

This release model prioritizes reliability, deterministic behavior, compatibility, and production safety.

License

This project is licensed under the GNU General Public License version 3.

See the LICENSE file for details.

Trademark

“BastionGuard” and related branding are protected.

See TRADEMARK.md for details.

Issue Tracking

This project does not use the built-in Forgejo issue tracker.

Please report bugs and feature requests at:

https://bastionguard.eu/issues

Contact

info@bastionguard.eu