Re: wireguard confusion

From: Kyle Evans <kevans_at_FreeBSD.org>
Date: Wed, 09 Oct 2024 18:36:09 UTC
On 10/9/24 13:25, fatty.merchandise677@aceecat.org wrote:
> On Tue, Oct 08, 2024 at 07:54:40PM GMT, Kyle Evans wrote:
> 
>> the version in base comes along quite far after the version in ports
>> and the ports script just hasn't been adopted to use it.
> 
> I am still confused by this bit. The --version output is the same for
> both. If there are freebsd specific patches maybe the --version should
> be tweaked to make that obvious.
> 

There are no FreeBSD specific patches today.

>> The version in base is technically safer, though, as we could
>> theoretically change the configuration interface for wg interfaces
>> and the version in base is generally guaranteed to work with the
>> kmod that it ships with.
> 
> I can understand this part. But why can't we just adopt the rc.script
> into base, too, and get rid of the port entirely?
> 

The rc script requires wg-quick(8), which relies on bash.  We could do 
it, but I don't personally have time.

Thanks,

Kyle Evans