From owner-freebsd-ports-bugs@freebsd.org Tue Mar 16 07:55:13 2021 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 4791357A6DF for ; Tue, 16 Mar 2021 07:55:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4F05Dd1MbYz3RHP for ; Tue, 16 Mar 2021 07:55:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 2AB2657AA41; Tue, 16 Mar 2021 07:55:13 +0000 (UTC) Delivered-To: ports-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 2A75757A82E for ; Tue, 16 Mar 2021 07:55:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F05Dd0fmpz3hJL for ; Tue, 16 Mar 2021 07:55:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 086EC20189 for ; Tue, 16 Mar 2021 07:55:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 12G7tCdx003799 for ; Tue, 16 Mar 2021 07:55:12 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 12G7tCAu003798 for ports-bugs@FreeBSD.org; Tue, 16 Mar 2021 07:55:12 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 254328] net/wireguard Date: Tue, 16 Mar 2021 07:55:13 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: oleg@pcbtech.ru X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: decke@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Mar 2021 07:55:13 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254328 Bug ID: 254328 Summary: net/wireguard Product: Ports & Packages Version: Latest Hardware: i386 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: decke@FreeBSD.org Reporter: oleg@pcbtech.ru Assignee: decke@FreeBSD.org Flags: maintainer-feedback?(decke@FreeBSD.org) After update to the latest revision it waits forever if service is=20 stopped/restarted: # service wireguard restart [#] ifconfig wg0 destroy load: 0.21 cmd: ifconfig 4128 [tun_condvar] 25.06r 0.00u 0.00s 0% 2036k load: 0.08 cmd: ifconfig 4128 [tun_condvar] 231.71r 0.00u 0.00s 0% 1784k load: 0.01 cmd: ifconfig 4128 [tun_condvar] 471.35r 0.00u 0.00s 0% 1784k load: 0.06 cmd: ifconfig 4128 [tun_condvar] 654.40r 0.00u 0.00s 0% 1784k the ways to restart wireguard are: a) full reboot and b) kill the pid that = owns the wg0: # service wireguard restart [#] ifconfig wg0 destroy load: 0.21 cmd: ifconfig 4128 [tun_condvar] 25.06r 0.00u 0.00s 0% 2036k load: 0.08 cmd: ifconfig 4128 [tun_condvar] 231.71r 0.00u 0.00s 0% 1784k load: 0.01 cmd: ifconfig 4128 [tun_condvar] 471.35r 0.00u 0.00s 0% 1784k load: 0.06 cmd: ifconfig 4128 [tun_condvar] 654.40r 0.00u 0.00s 0% 1784k ^Z Suspended # bg [1] service wireguard restart & # ifconfig wg0 wg0: flags=3D8011 metric 0 mtu 1420 options=3D80000 nd6 options=3D101 Opened by PID 716 # kill 716 # [#] ifconfig wg create name wg0 [!] Missing WireGuard kernel support (ifconfig: SIOCIFCREATE2: Invalid argument). Falling back to slow userspace implementation. [#] wireguard-go wg0 [#] wg setconf wg0 /dev/stdin [#] ifconfig wg0 mtu 1420 [#] ifconfig wg0 up [#] route -q -n add -inet 192.168.0.107/32 -interface wg0 [#] route -q -n add -inet 192.168.0.106/32 -interface wg0 [#] route -q -n add -inet 192.168.0.101/32 -interface wg0 [+] Backgrounding route monitor [1] Done service wireguard restart Fortunately while it waits to be destroy the tunnel is still working FreeBSD 12.2-RELEASE-p4 GENERIC i386 --=20 You are receiving this mail because: You are the assignee for the bug.=