ipfence home page local-first intrusion prevention for Linux

Manual pages

Release procedure

The only publishing workflow is pages.yml, which publishes this documentation as a website and runs only when someone starts it. Nothing publishes binaries or releases, and no other publishing or deployment workflow should be added without the owner's authorization.

Before a first public release

  • Clear the name. "ipfence" is provisional. Check apt, Fedora, Alpine, Arch/AUR, Nix, Homebrew, Go module paths, GitHub, domains and trademark registers. None of these checks has been completed.
  • Set the real module path in go.mod and the imports.
  • Point Documentation= in the unit at the project's documentation.
  • Get an independent security review.

Each release

  1. Start from a clean, tagged commit. Update the version in the README.

  2. Run formatting, vet, unit, integration, race and fuzz tests (Development).

  3. In disposable machines for each distribution you list as tested, run e2e.sh including the reboot step. Run matrix.sh for each Docker backend and firewall manager you list. Update the tables in the README and Firewall and Docker with the versions and results actually observed; remove claims you did not retest.

  4. Build:

    Shell commands

    VERSION=x.y.z SOURCE_DATE_EPOCH=$(git log -1 --format=%ct) scripts/build.sh

    Build twice and compare SHA256SUMS. Check ipfence version and that file dist/ipfence-linux-* reports statically linked executables.

  5. Distribute the binaries with LICENSE, THIRD_PARTY_LICENSES.txt, SHA256SUMS (signed), the unit and the documentation.

  6. Note database schema changes: older binaries refuse newer databases.

Version and commit information is compiled in. The program never checks for updates.