Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Feb 2020 11:20:17 -0800
From:      "K. Macy" <kmacy@freebsd.org>
To:        "Jason A. Donenfeld" <Jason@zx2c4.com>
Cc:        "freebsd-net@freebsd.org" <freebsd-net@freebsd.org>
Subject:   Re: wireguard implementation in progress with zero coordination or communication with wireguard project? can we help?
Message-ID:  <CAHM0Q_Pp_jDqYj0g82dfsCAbW7VE6pVD0tfkh-E=VehTBingRw@mail.gmail.com>
In-Reply-To: <CAHmME9qOztVkPt5AoJ=%2BWKsL02QohFc8LDxEwfq=qegDw9N6Ng@mail.gmail.com>
References:  <CAHmME9rjGNo4_Mca_Az6-iWtKdkaKQeybf25z6VCxBfk3eb3fg@mail.gmail.com> <CAHM0Q_PrnnzHhpPwOQ44g0XvRA1-%2BEgQzNMWeJht0NNtJDQUVg@mail.gmail.com> <CAHmME9qOztVkPt5AoJ=%2BWKsL02QohFc8LDxEwfq=qegDw9N6Ng@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Feb 18, 2020 at 10:09 AM Jason A. Donenfeld <Jason@zx2c4.com> wrote=
:
>
> Hey K,
>
> On Tue, Feb 18, 2020 at 4:33 PM K. Macy <kmacy@freebsd.org> wrote:
> > I appreciate your enthusiasm, but I can=E2=80=99t count the number of n=
ascent kernel projects that have come up in discussion over the years and u=
ltimately come to nothing.
>
> Do you mean that the FreeBSD one might not work out, or you're
> skeptical that the OpenBSD one will? Either way, I'm pretty determined
> to bring them both -- FreeBSD (with you) and the OpenBSD one -- across
> the finish line as best as we can.

I'm comfortable that these will both come to fruition. However, if you
look on the mailing lists you'll see people saying they'll do X, and X
never happens. If you look at  the git and svn project branches you
will see that even the best developers have lots of ideas that never
make it over the finish line.

>
> > I started by getting the OpenBSD bits to build on FreeBSD. However, the=
 implementation in Open is not really a very good semantic match for FreeBS=
D. So I often have to check what the Linux one is doing as well and sometim=
es the NetBSD one. Ultimately, apart from struct definitions, very little c=
ode will be shared between the platforms.
>
> Yea, that's what I initially had thought, but then for the OpenBSD
> stuff we were actually able to take a lot from the Linux
> implementation in the end, especially with regards to timer semantic
> and key exchange flow. If it winds up helping, we can do the same
> where it's useful for FreeBSD and in the end we'll relicense what we
> need to to {1,2,3,28}-clause BSD, since I imagine FreeBSD doesn't want
> GPL stuff.
>

That would be helpful.

> > I don=E2=80=99t see a whole lot of benefit to coordination until I can =
configure a Wireguard interface and there is at least the possibility of pa=
ssing packets.
>
> I think there will be quite some benefit for coordinating early on and
> talking through some design challenges. We've now worked through this
> exercise several times on a few platforms an might be able to help out
> quite a bit. Are you on IRC? If so, poke me on Freenode -- I'm zx2c4
> -- where we have a channel of people who have implemented this before
> and are eager and excited to help out.

This is a background task, so I can chime in on the weekends.

Cheers.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAHM0Q_Pp_jDqYj0g82dfsCAbW7VE6pVD0tfkh-E=VehTBingRw>