Summary: | if_wg(4) lacks persistent keepalive | ||
---|---|---|---|
Product: | Base System | Reporter: | crest |
Component: | kern | Assignee: | Kyle Evans <kevans> |
Status: | Closed Overcome By Events | ||
Severity: | Affects Some People | CC: | crest, decke, kevans, ltning-freebsd, net, peter |
Priority: | --- | ||
Version: | 13.0-STABLE | ||
Hardware: | Any | ||
OS: | Any |
Description
crest
2021-02-23 10:31:58 UTC
This is, funnily enough, basically there; it just needed a little bit of plumbing. I had it ready to go because I'm also in need, I'll go ahead and tag this PR in the commit. A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=b3dac3913dc90fbc6f909ee5c4a876097cd90791 commit b3dac3913dc90fbc6f909ee5c4a876097cd90791 Author: Kyle Evans <kevans@FreeBSD.org> AuthorDate: 2021-03-08 01:00:58 +0000 Commit: Kyle Evans <kevans@FreeBSD.org> CommitDate: 2021-03-09 11:16:42 +0000 ifconfig: allow displaying/setting persistent-keepalive The kernel-side already accepted a persistent-keepalive-interval, so just add a verb to ifconfig(8) for it and start exporting it so that ifconfig(8) can view it. PR: 253790 MFC after: 3 days Discussed with: decke sbin/ifconfig/ifwg.c | 28 +++++++++++++++++++++++++++- sys/dev/if_wg/module/module.c | 8 ++++++++ 2 files changed, 35 insertions(+), 1 deletion(-) Will this be merged into FreeBSD 13.0 before RC3 (it's missing in the 13.0-RC3)? (In reply to crest from comment #3) My current hope is to be able to merge a pile of WireGuard fixes in time for -RC3. This PR has been overcome by events (depending on your point of view). For now WireGuard has been pulled from FreeBSD base. Development will continue out of tree for now. The port net/wireguard-kmod is available now. Persistent keepalive is working there. |