[Bug 286178] wg: wg-quick up broken after base 7121e9414f29
Date: Fri, 18 Apr 2025 11:30:43 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=286178 Bug ID: 286178 Summary: wg: wg-quick up broken after base 7121e9414f29 Product: Base System Version: 15.0-CURRENT Hardware: Any URL: https://cgit.freebsd.org/src/commit/?id=7121e9414f29 OS: Any Status: New Keywords: regression Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: 2khramtsov@gmail.com CC: kevans@freebsd.org main as of 7121e9414f29 ("wg: Improve wg_peer_alloc() to simplify the calling") has the following issue: # wg-quick up wg0 [#] ifconfig wg create name wg0 [#] wg setconf wg0 /dev/stdin [#] ifconfig wg0 inet6 2001:db8:100::1/48 alias ifconfig: ioctl (SIOCAIFADDR): File exists [#] ifconfig wg0 destroy Reverting base 7121e9414f29 ("wg: Improve wg_peer_alloc() to simplify the calling") restores expected behavior for me. I have in rc.conf.local: wireguard_enable="YES" wireguard_interfaces="wg0 wg1" wg0.conf: [Interface] PrivateKey = [cut] Address = 2001:db8:100::1/48 ListenPort = 51280 Table = off PostUp = /usr/local/etc/wireguard/wg0-up.sh PostDown = /usr/local/etc/wireguard/wg0-down.sh [Peer] PublicKey = [cut] Endpoint = [IPv6-literal-GUA-address]:51820 AllowedIPs = 2000::/3 PersistentKeepalive = 10 wg1.conf: [Interface] PrivateKey = [cut] ListenPort = 42 MTU = 1412 Table = off PostUp = /usr/local/etc/wireguard/wg1-up.sh PostDown = /usr/local/etc/wireguard/wg1-down.sh [Peer] PublicKey = [cut] AllowedIPs = 3fff:db8:101:1001::/64 -- You are receiving this mail because: You are the assignee for the bug.