[Bug 244862] net/wireguard: Support graceful reload
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Mar 17 15:49:12 UTC 2020
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=244862
Bug ID: 244862
Summary: net/wireguard: Support graceful reload
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: Individual Port(s)
Assignee: decke at FreeBSD.org
Reporter: david at isnic.is
Assignee: decke at FreeBSD.org
Flags: maintainer-feedback?(decke at FreeBSD.org)
The rc.d script for wireguard currently only supports stop and start. This
means that when we deploy a new configuration for our wireguard server from
Ansible, the interface is brought down and recreated, causing a small
interruption in traffic for all clients.
'wg syncconf' provides an interface to apply only the needed changes, and
should be called on reload. However, it does not allow an Address= line under
the [Interface] section. The rc.d script must be changed to set the address
itself, after wg-quick creates the interface.
I have a fix for this working on our server but it's not mergeable as-is as it
depends on bash. It would be great to see a solution for this upstream.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list