Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 May 2018 12:17:16 +0200
From:      Jan Bramkamp <crest@rlwinm.de>
To:        "Jason A. Donenfeld" <Jason@zx2c4.com>
Cc:        ports <freebsd-ports@freebsd.org>
Subject:   Re: WireGuard for FreeBSD
Message-ID:  <3e0a569c-f3e6-39ad-51ec-9ca8659abc4e@rlwinm.de>
In-Reply-To: <CAHmME9rS5TJ8D=x3Q_bEkfeNLhYXsmW=d5iuRey8%2BrkwOsd8hQ@mail.gmail.com>
References:  <CAHmME9rJonVbSRHCPy0W7Pr=vmJoMbVTHbGw0C1xwBze4Px7uA@mail.gmail.com> <CAHmME9pnJqE0gaM_zPTwZ5i%2BQb7nNeSw=P4%2BVhG3aMiUYGdJkg@mail.gmail.com> <CAHmME9oNZrc5iQXwf8cpwdt%2B3hLR=3Tc4Or36Yt4dds=h8sSdw@mail.gmail.com> <CAE-m3X2=7MDA9pz2Si-yQC1tCxS5Y9SGuv5uQ9ZXrVmYqU_-4Q@mail.gmail.com> <b4e4686d-7510-699e-4386-153b655e1583@rlwinm.de> <CAHmME9rS5TJ8D=x3Q_bEkfeNLhYXsmW=d5iuRey8%2BrkwOsd8hQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 24.05.18 13:07, Jason A. Donenfeld wrote:
> On Thu, May 24, 2018 at 12:43 PM, Jan Bramkamp <crest@rlwinm.de> wrote:
>> Did I understand correctly that both these ports are userspace
>> implementations and have a similar per packet overhead to OpenVPN and fastd?
> 
> Indeed they're userspace ports. Maybe down the line this will be
> ported to the FreeBSD kernel like we have on Linux.
> However, performance wise, even the userspace implementation seems to
> have better performance than OpenVPN in my testing.

I tried wireguard-go on OpenBSD and FreeBSD. I want to use WireGuard as 
replacement for OpenVPN point to point tunnels with dynamic routing 
(OSPF, iBGP). Especially this requires the right interface flags for the 
tun interface. So far wireguard-go on *BSD configures the tun interfaces 
as multicast incapable, broadcast interface which confuses the OpenBSD 
OSPF daemon completely and doesn't make any sense for a point to point 
tunnel. I get that wireguard-go tries to fake point to multipoint 
support that way. Is there a better solution than changing the hardwired 
argument ioctl() in tun/tun_*bsd.go?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3e0a569c-f3e6-39ad-51ec-9ca8659abc4e>