mirror of
https://github.com/jmcorgan/fips.git
synced 2026-07-30 19:46:15 +00:00
Bump Cargo.toml version 0.2.1-dev -> 0.2.1 and resync Cargo.lock, move the CHANGELOG [Unreleased] block under [0.2.1] - 2026-05-11, update the README status badge and prose to v0.2.1, and add the release notes at docs/releases/release-notes-v0.2.1.md with a mirrored copy at the repo root as RELEASE-NOTES.md.
6.2 KiB
6.2 KiB
FIPS v0.2.1
Released: 2026-05-11
v0.2.1 is a maintenance release on the v0.2.x line. No new features and no wire-format changes; operators running v0.2.0 can upgrade in place. The release rolls up bug fixes and operational hardening for issues surfaced in v0.2.0 deployments, plus a bloom-filter fill-ratio validation that protects mesh-size estimates from saturated-filter inputs.
At a glance
- 22 commits since v0.2.0, 5 committers plus 2 issue reporters.
- All changes are backwards-compatible with v0.2.0 on the wire.
- Bloom filter fill-ratio validation hardens the FilterAnnounce ingress path.
- TreeAnnounce ancestry validation tightened to match the spanning-tree specification.
- Signed-tarball +
.debartifact workflow added for tagged releases; AUR auto-publish on stable tags.
Behavior changes worth flagging
- Bloom filter fill-ratio validation runs on every inbound
FilterAnnounce. Filters whose derived false-positive rate exceedsnode.bloom.max_inbound_fpr(new config field, default0.05) are rejected silently on the wire, logged at WARN, and counted in a newbloom.fill_exceededcounter. A rate-limited WARN also fires when the local outgoing filter exceeds the cap.BloomFilter::estimated_countnow takesmax_fprand returnsOption<f64>, returningNonefor saturated filters; this propagates throughcompute_mesh_sizeintoestimated_mesh_size. - TreeAnnounce ancestry validation is now run before tree-state mutation, enforcing ancestry-self-match, root-single-entry, parent-second-entry, and root-is-minimum-NodeAddr. Non-conforming announces are rejected with a WARN. Mixed v0.2.0 / v0.2.1 meshes may produce WARN log lines on the v0.2.1 side until all peers upgrade; behavior is correct, log noise only.
Notable bug fixes
- Control socket path detection in
fipsctlandfipstopnow checks for the/run/fips/directory instead of the socket file inside it. Users not yet in thefipsgroup get a clear "Permission denied" error instead of a misleading "No such file" fallback to$XDG_RUNTIME_DIR(#30, reported by @Sebastix). fd00::/8routing protected from Tailscale interception. The daemon installs an IPv6 routing-policy rule (ip -6 rule to fd00::/8 lookup main priority 5265) at TUN setup, so Tailscale's table 52 default route can no longer divert mesh traffic.- Bloom filter routing greedy-tree fallback.
find_next_hopno longer returnsNoRoutewhen the bloom candidate set is non-empty but no candidate is strictly closer than the current node; it falls through to greedy tree routing instead. Previously, this caused dropped packets in topologies where the tree parent was closer but not a bloom candidate. - Auto-connect peers reconnect after a graceful Disconnect. Previously, a clean upstream shutdown left the auto-connect peer orphaned; only the link-dead, decrypt-fail, and peer-restart paths scheduled a reconnect (#60, reported by @SwapMarket).
fipsctl connectrejects FIPS mesh addresses (fd00::/8) forudp,tcp, andethernettransports with a clear error message instead of echoing success while the daemon silently failed the bind withEAFNOSUPPORT(#61, reported by @SwapMarket).- OpenWrt ipk cross-compiles cleanly again after excluding the BLE feature that requires D-Bus, which is unavailable on OpenWrt targets.
Packaging
- Linux release artifact workflow builds x86_64 and aarch64
tarballs and
.debpackages onv*tag push, with SHA-256 checksums, and publishes them to the GitHub release page. - AUR publish workflow auto-publishes the
fipsPKGBUILD on stablev*tags.
Upgrade notes
Operator-actionable items when moving from v0.2.0 to v0.2.1:
- Bloom filter fill-ratio cap (default 0.05). Inbound
FilterAnnouncemessages whose derived FPR exceeds the cap are rejected silently on the wire. Operators with unusually saturated filters in the field may want to confirm that the default applies cleanly to their deployment; check the newbloom.fill_exceededcounter if mesh-size estimates drift after upgrade. - TreeAnnounce ancestry tightening. Mixed v0.2.0 / v0.2.1 meshes may produce WARN log lines on the v0.2.1 side until all peers upgrade. Behavior is correct, log noise only.
Getting v0.2.1
- Linux x86_64 / aarch64:
.deband tarball at the v0.2.1 release page. - Arch Linux:
fipsfrom the AUR. - OpenWrt:
.ipkat the v0.2.1 release page. - From source:
cargo build --releasefrom a checkout of the v0.2.1 tag.
The full per-commit changelog lives in
CHANGELOG.md. Issues and discussion at
github.com/jmcorgan/fips.
Contributors
Thanks to everyone who contributed code or bug reports to this release.
Code and packaging:
- @jcorgan: release shepherd, bloom
fill-ratio validation, auto-connect reconnect fix,
fipsctlmesh-address rejection, control-socket path detection, Tailscale-vs-fd00::/8routing policy, bloom routing greedy fallback, rustfmt baseline. - @Origami74: OpenWrt ipk BLE-feature build fix.
- @jodobear: Linux release-artifact workflow and target-aware build scripts.
- @dskvr: AUR publish workflow.
- @SatsAndSports: TreeAnnounce semantic validation.
Issue reports that drove fixes in this release:
- @Sebastix:
fipsctl/fipstopcontrol-socket path detection (#30). - @SwapMarket: auto-connect
reconnect after graceful disconnect
(#60) and
fipsctlmesh-address rejection (#61).