Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Mar 2020 15:49:10 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 244862] net/wireguard: Support graceful reload
Message-ID:  <bug-244862-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D244862

            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@FreeBSD.org
          Reporter: david@isnic.is
          Assignee: decke@FreeBSD.org
             Flags: maintainer-feedback?(decke@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=3D line u=
nder
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.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-244862-7788>