From nobody Mon Jul 31 12:28:50 2023 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RDyGQ0V2zz4q5fP for ; Mon, 31 Jul 2023 12:28:53 +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 4RDyGC3kDjz3yBY for ; Mon, 31 Jul 2023 12:28:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1690806532; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=b/JS6mXCF0TibZnLEAz+KkUBJ1NZLnrkTFvPqft3RIA=; b=REuI86H0Af/d8Cwbu7P/0BVWmRmFergXqr4n8INDg7HFoHyy6+RVxv+8nwTtPhIiAjmXVM RycV23y6bMoarxeHv2qQGw4De7umpngY6zbjycz6INvPtbBSPJzItK7GQ2fYcROBPdYtFS RTBhnxWtCUqK/VhbRaMSyuJ0PUeKTUumO1Jhgoi4hS3wcV5w+JaPJXrGU7x6k2zQ8bv05n 4WUGKdjWpRjDRGw7I8RlzJLDx54DkDMV/m6OQlEZWVMipw3kYaqF8xQT9an2dZb0K75b0p WKAJLvVqyH/jfpLVUrRZTXnlywyokhoxrNfXm31UDxWiegaSIVc9Zzr8FG/UTQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1690806532; a=rsa-sha256; cv=none; b=GubfqpA2VNCqVlv6NpYCZinW+kPIJI/ygk0jVwCWTRRBY99mfBXZwFRpser0BF+5J2fx00 aODbce0EkwrwUZrHwFyjE0JSGMiSvTIeUwVOJfBpHTq8OazPpHL32idcOyS9C0kjbFJ7dF ckxwmtneyb6SNn8C6Tg9BCtMeo33Q6myrq217yp2IaKAaL/oxVtRuc0Gwyf4bLIPYKhqfL iRHx8evrJe9/PIYg5xw7Rkygyh+EA3RFVXpfUrV7b88iLdNgMXC7Ii4rkWbcHzdhWlbZgc A1MSksLbbmpHNRUkQY8lmEuFWlDIXcxdvuOuvFFRHe59VZyR5zz1gjZYw2C4ew== 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 4RDyGB6wcLzwJx for ; Mon, 31 Jul 2023 12:28:50 +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 36VCSoFW018227 for ; Mon, 31 Jul 2023 12:28:50 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 36VCSocD018226 for bugs@FreeBSD.org; Mon, 31 Jul 2023 12:28:50 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: bugs@FreeBSD.org Subject: [Bug 272842] Missing WireGuard integration into the base system rc.d scripts Date: Mon, 31 Jul 2023 12:28:50 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: conf X-Bugzilla-Version: 13.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: crest@rlwinm.de X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter attachments.mimetype attachments.created 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 List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D272842 Bug ID: 272842 Summary: Missing WireGuard integration into the base system rc.d scripts Product: Base System Version: 13.2-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: conf Assignee: bugs@FreeBSD.org Reporter: crest@rlwinm.de Attachment #243735 text/plain mime type: Created attachment 243735 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D243735&action= =3Dedit A WireGuard rc.d script FreeBSD 13.2 and newer include WireGuard support in the base system, but la= ck an rc.d script to make it easy to take advantage of the imported WireGuard implementation. These are the steps I used before to configure a WireGuard interface: https://blog.rlwinm.de/wireguard-configuration-for-freebsd-13-2 . As a quality of life improvement I reimplemented most of wg-quick(8) featur= es in /bin/sh as rc.d script: https://gist.githubusercontent.com/Crest/c5f408b8d347f41cf3f84bfee6a9224d/r= aw/8a1f219bf1957d7e1ecbeaa72998961707e27984/wireguard.sh . More details can be found here: https://blog.rlwinm.de/the-missing-wireguard-integration-into-rc-d-for-free= bsd-13-2 . I did *not* reimplement the saving the configuration or spawning a daemon t= hat continually messes with the routing table since FreeBSD provides better way= s to isolate routing tables (multiple FIBs, vnets). --=20 You are receiving this mail because: You are the assignee for the bug.=