Skip to content

feat(controlplane): configure WireGuard via netlink and wgctrl - #578

Open
sechmann wants to merge 2 commits into
mainfrom
feat/controlplane-netlink-wireguard
Open

sechmann wants to merge 2 commits into
mainfrom
feat/controlplane-netlink-wireguard

Conversation

@sechmann

Copy link
Copy Markdown
Contributor

Summary

Configure control-plane WireGuard devices directly through netlink and wgctrl, removing reliance on config files and command-line tools. Share peer configuration logic across control-plane and helper components.

Changes

  • WireGuard: Add device config and peer sync in internal/wireguard; create Linux interfaces with netlink and update callers to use the new interface and forwarding options.
  • Helpers: Route platform peer updates through shared WireGuard configuration in internal/helper.
  • CI: Add a privileged Linux netlink integration test in .github/workflows/controlplane.yaml.
  • Packaging: Remove obsolete WireGuard config AppArmor rules and CLI dependencies; update the Nix vendor hash.

@github-actions

Copy link
Copy Markdown

📝 Changelog preview

Below is a preview of the Changelog that will be added to the next release. Only commit messages that follow the Conventional Commits specification will be included in the Changelog.

v1.22.0 - 2026-11-17

Full Changelog: v1.21.0...v1.22.0

🚀 Features

  • Manage control plane WireGuard via netlink and wgctrl (b7027f3)

🐛 Bug Fixes

  • Repair raw WireGuard public keys on startup (79d7848)
  • Allocate IPv6 within configured prefix (f8448b7)

⚙️ Miscellaneous Changes

  • Share WireGuard peer sync, isolate netlink test, update vendorHash (0902a38)

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant