Re: svn commit: r368163 - in head: sbin/ifconfig sys/dev/if_wg sys/dev/if_wg/include sys/dev/if_wg/include/crypto sys/dev/if_wg/include/sys sys/dev/if_wg/include/zinc sys/dev/if_wg/module sys/dev/if_w

2020-12-04 Thread Matthew Macy
I worry about the incredible mess of header dependencies that the linuxkpi
is prone to introducing. I’m happy to review any proposed changes to that
effect, but do not feel like it’s important enough to make a priority.


Thanks.

-M

On Mon, Nov 30, 2020 at 08:33 Bjoern A. Zeeb 
wrote:

> On 30 Nov 2020, at 14:53, cglogic wrote:
>
> > So you propose to make it dependent on linuxkpi? What have to do a
> > user who does not compile linuxkpi, but wants to use if_wg?
>
> If we’d move the implementations into linuxkpi you’d have to compile
> it to use if_wg.
> So that this however is only a question.
>
> Effectively you are using parts of linuxkpi now already, just
> copy (duplicated) into local files under if_wg;  for as much as I
> can see for most of that would however not require linuxkpi to be
> loaded, just present at compile time like any other kernel headers.
>
> /bz
>
___
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"


Re: svn commit: r368163 - in head: sbin/ifconfig sys/dev/if_wg sys/dev/if_wg/include sys/dev/if_wg/include/crypto sys/dev/if_wg/include/sys sys/dev/if_wg/include/zinc sys/dev/if_wg/module sys/dev/if_w

2020-12-04 Thread Matthew Macy
Just what I put on the review. I’ll put together a man page the week
after next. Sorry for the delay.

-M

On Mon, Nov 30, 2020 at 10:16 Michael Tuexen  wrote:

>
>
> > On 29. Nov 2020, at 20:38, Matt Macy  wrote:
> >
> > Author: mmacy
> > Date: Sun Nov 29 19:38:03 2020
> > New Revision: 368163
> > URL: https://svnweb.freebsd.org/changeset/base/368163
> >
> > Log:
> >  Import kernel WireGuard support
> >
> >  Data path largely shared with the OpenBSD implementation by
> >  Matt Dunwoodie 
> >
> >  Reviewed by: gre...@freebsd.org
> >  MFC after:   1 month
> >  Sponsored by:Rubicon LLC, (Netgate)
> >  Differential Revision:   https://reviews.freebsd.org/D26137
> >
> Is there some documentation available somewhere how to setup a tunnel?
>
> Best regards
> Michael
>
>
___
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"


Re: svn commit: r368163 - in head: sbin/ifconfig sys/dev/if_wg sys/dev/if_wg/include sys/dev/if_wg/include/crypto sys/dev/if_wg/include/sys sys/dev/if_wg/include/zinc sys/dev/if_wg/module sys/dev/if_w

2020-12-01 Thread Hartmann, O.
On Tue, 1 Dec 2020 07:47:50 -0600
Kyle Evans  wrote:

> On Tue, Dec 1, 2020 at 7:39 AM O. Hartmann 
> wrote:
> >
> > On Sun, 29 Nov 2020 19:38:04 + (UTC)
> > Matt Macy  wrote:
> >  
> > > Author: mmacy
> > > Date: Sun Nov 29 19:38:03 2020
> > > New Revision: 368163
> > > URL: https://svnweb.freebsd.org/changeset/base/368163
> > >
> > > Log:
> > >   Import kernel WireGuard support
> > >
> > >   Data path largely shared with the OpenBSD implementation by
> > >   Matt Dunwoodie 
> > >
> > >   Reviewed by:gre...@freebsd.org
> > >   MFC after:  1 month
> > >   Sponsored by:   Rubicon LLC, (Netgate)
> > >   Differential Revision:  https://reviews.freebsd.org/D26137
> > >
> > > [... snip ...]  
> >
> > "make installkernel" fails for me in a non-DEBUG environment with
> > the error shown below. Recent CURRENT source tree is r368226,
> > failing systems are running at r368055 or r368226.
> >
> > [...]
> >  
> > ===> i2c/cyapa (install)  
> > --- realinstall_subdir_if_wg ---
> > install -T dbg -o root -g wheel -m 555   if_wg.ko.debug
> > /usr/lib/debug/boot/kernel/ install: /usr/lib/debug/boot/kernel/:
> > No such file or directory --- realinstall_subdir_iflib ---
> > --- _kmodinstall ---
> > --- realinstall_subdir_if_wg ---
> > *** [_kmodinstall] Error code 71
> >
> > make[4]: stopped in /usr/src/sys/modules/if_wg
> > 1 error
> >
> > make[4]: stopped in /usr/src/sys/modules/if_wg
> > --- realinstall_subdir_iflib ---
> > install -T release -o root -g wheel -m 555   iflib.ko /boot/kernel/
> > --- realinstall_subdir_if_wg ---
> > --- realinstall_subdir_geom ---
> > --- realinstall_subdir_iflib ---
> > --- realinstall_subdir_i2c ---
> > *** [modules-install] Error code 2
> >
> > [...]  
> 
> Go to sys/modules/if_wg/Makefile and rip out the DEBUG_FLAGS line,
> this should fix it.

Thankyou very much,
that works as a workaround.

Kind regards,

oh


pgpfN9BkTwpfb.pgp
Description: OpenPGP digital signature


Re: svn commit: r368163 - in head: sbin/ifconfig sys/dev/if_wg sys/dev/if_wg/include sys/dev/if_wg/include/crypto sys/dev/if_wg/include/sys sys/dev/if_wg/include/zinc sys/dev/if_wg/module sys/dev/if_w

2020-12-01 Thread Kyle Evans
On Tue, Dec 1, 2020 at 7:39 AM O. Hartmann  wrote:
>
> On Sun, 29 Nov 2020 19:38:04 + (UTC)
> Matt Macy  wrote:
>
> > Author: mmacy
> > Date: Sun Nov 29 19:38:03 2020
> > New Revision: 368163
> > URL: https://svnweb.freebsd.org/changeset/base/368163
> >
> > Log:
> >   Import kernel WireGuard support
> >
> >   Data path largely shared with the OpenBSD implementation by
> >   Matt Dunwoodie 
> >
> >   Reviewed by:gre...@freebsd.org
> >   MFC after:  1 month
> >   Sponsored by:   Rubicon LLC, (Netgate)
> >   Differential Revision:  https://reviews.freebsd.org/D26137
> >
> > [... snip ...]
>
> "make installkernel" fails for me in a non-DEBUG environment with the error
> shown below. Recent CURRENT source tree is r368226, failing systems are 
> running
> at r368055 or r368226.
>
> [...]
>
> ===> i2c/cyapa (install)
> --- realinstall_subdir_if_wg ---
> install -T dbg -o root -g wheel -m 555   if_wg.ko.debug
> /usr/lib/debug/boot/kernel/ install: /usr/lib/debug/boot/kernel/: No such file
> or directory --- realinstall_subdir_iflib ---
> --- _kmodinstall ---
> --- realinstall_subdir_if_wg ---
> *** [_kmodinstall] Error code 71
>
> make[4]: stopped in /usr/src/sys/modules/if_wg
> 1 error
>
> make[4]: stopped in /usr/src/sys/modules/if_wg
> --- realinstall_subdir_iflib ---
> install -T release -o root -g wheel -m 555   iflib.ko /boot/kernel/
> --- realinstall_subdir_if_wg ---
> --- realinstall_subdir_geom ---
> --- realinstall_subdir_iflib ---
> --- realinstall_subdir_i2c ---
> *** [modules-install] Error code 2
>
> [...]

Go to sys/modules/if_wg/Makefile and rip out the DEBUG_FLAGS line,
this should fix it.
___
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"


Re: svn commit: r368163 - in head: sbin/ifconfig sys/dev/if_wg sys/dev/if_wg/include sys/dev/if_wg/include/crypto sys/dev/if_wg/include/sys sys/dev/if_wg/include/zinc sys/dev/if_wg/module sys/dev/if_w

2020-12-01 Thread O. Hartmann
On Sun, 29 Nov 2020 19:38:04 + (UTC)
Matt Macy  wrote:

> Author: mmacy
> Date: Sun Nov 29 19:38:03 2020
> New Revision: 368163
> URL: https://svnweb.freebsd.org/changeset/base/368163
>
> Log:
>   Import kernel WireGuard support
>
>   Data path largely shared with the OpenBSD implementation by
>   Matt Dunwoodie 
>
>   Reviewed by:gre...@freebsd.org
>   MFC after:  1 month
>   Sponsored by:   Rubicon LLC, (Netgate)
>   Differential Revision:  https://reviews.freebsd.org/D26137
>
> Added:
>   head/sbin/ifconfig/ifwg.c   (contents, props changed)
>   head/sys/dev/if_wg/
>   head/sys/dev/if_wg/include/
>   head/sys/dev/if_wg/include/crypto/blake2s.h   (contents, props changed)
>   head/sys/dev/if_wg/include/crypto/curve25519.h   (contents, props changed)
>   head/sys/dev/if_wg/include/crypto/zinc.h   (contents, props changed)
>   head/sys/dev/if_wg/include/sys/
>   head/sys/dev/if_wg/include/sys/if_wg_session.h   (contents, props changed)
>   head/sys/dev/if_wg/include/sys/if_wg_session_vars.h   (contents, props
> changed) head/sys/dev/if_wg/include/sys/simd-x86_64.h   (contents, props
> changed) head/sys/dev/if_wg/include/sys/support.h   (contents, props changed)
>   head/sys/dev/if_wg/include/sys/wg_cookie.h   (contents, props changed)
>   head/sys/dev/if_wg/include/sys/wg_module.h   (contents, props changed)
>   head/sys/dev/if_wg/include/sys/wg_noise.h   (contents, props changed)
>   head/sys/dev/if_wg/include/zinc/blake2s.h   (contents, props changed)
>   head/sys/dev/if_wg/include/zinc/chacha20.h   (contents, props changed)
>   head/sys/dev/if_wg/include/zinc/chacha20poly1305.h   (contents, props
> changed) head/sys/dev/if_wg/include/zinc/curve25519.h   (contents, props
> changed) head/sys/dev/if_wg/include/zinc/poly1305.h   (contents, props
> changed) head/sys/dev/if_wg/module/
>   head/sys/dev/if_wg/module/blake2s.c   (contents, props changed)
>   head/sys/dev/if_wg/module/blake2s.h   (contents, props changed)
>   head/sys/dev/if_wg/module/chacha20-x86_64.S   (contents, props changed)
>   head/sys/dev/if_wg/module/crypto/zinc/chacha20/chacha20-arm-glue.c
> (contents, props changed)
> head/sys/dev/if_wg/module/crypto/zinc/chacha20/chacha20-arm.pl   (contents,
> props changed)
> head/sys/dev/if_wg/module/crypto/zinc/chacha20/chacha20-arm64.pl   (contents,
> props changed)
> head/sys/dev/if_wg/module/crypto/zinc/chacha20/chacha20-mips-glue.c
> (contents, props changed)
> head/sys/dev/if_wg/module/crypto/zinc/chacha20/chacha20-mips.S   (contents,
> props changed)
> head/sys/dev/if_wg/module/crypto/zinc/chacha20/chacha20-unrolled-arm.S
> (contents, props changed)
> head/sys/dev/if_wg/module/crypto/zinc/chacha20/chacha20-x86_64-glue.c
> (contents, props changed)
> head/sys/dev/if_wg/module/crypto/zinc/chacha20/chacha20-x86_64.pl
> (contents, props changed)
> head/sys/dev/if_wg/module/crypto/zinc/chacha20/chacha20.c   (contents, props
> changed) head/sys/dev/if_wg/module/crypto/zinc/chacha20poly1305.c
> (contents, props changed)
> head/sys/dev/if_wg/module/crypto/zinc/poly1305/poly1305-arm-glue.c
> (contents, props changed)
> head/sys/dev/if_wg/module/crypto/zinc/poly1305/poly1305-arm.pl   (contents,
> props changed)
> head/sys/dev/if_wg/module/crypto/zinc/poly1305/poly1305-arm64.pl   (contents,
> props changed)
> head/sys/dev/if_wg/module/crypto/zinc/poly1305/poly1305-donna32.c
> (contents, props changed)
> head/sys/dev/if_wg/module/crypto/zinc/poly1305/poly1305-donna64.c
> (contents, props changed)
> head/sys/dev/if_wg/module/crypto/zinc/poly1305/poly1305-mips-glue.c
> (contents, props changed)
> head/sys/dev/if_wg/module/crypto/zinc/poly1305/poly1305-mips.S   (contents,
> props changed)
> head/sys/dev/if_wg/module/crypto/zinc/poly1305/poly1305-mips64.pl
> (contents, props changed)
> head/sys/dev/if_wg/module/crypto/zinc/poly1305/poly1305-x86_64-glue.c
> (contents, props changed)
> head/sys/dev/if_wg/module/crypto/zinc/poly1305/poly1305-x86_64.pl
> (contents, props changed)
> head/sys/dev/if_wg/module/crypto/zinc/poly1305/poly1305.c   (contents, props
> changed) head/sys/dev/if_wg/module/crypto/zinc/selftest/blake2s.c
> (contents, props changed)
> head/sys/dev/if_wg/module/crypto/zinc/selftest/chacha20.c   (contents, props
> changed) head/sys/dev/if_wg/module/crypto/zinc/selftest/chacha20poly1305.c
> (contents, props changed)
> head/sys/dev/if_wg/module/crypto/zinc/selftest/curve25519.c   (contents,
> props changed) head/sys/dev/if_wg/module/crypto/zinc/selftest/poly1305.c
> (contents, props changed)
> head/sys/dev/if_wg/module/crypto/zinc/selftest/run.h   (contents, props
> changed) head/sys/dev/if_wg/module/curve25519.c   (contents, props changed)
> head/sys/dev/if_wg/module/if_wg_session.c   (contents, props changed)
> head/sys/dev/if_wg/module/module.c   (contents, props changed)
> head/sys/dev/if_wg/module/poly1305-x86_64.S   (contents, props changed)
> head/sys/dev/if_wg/module/wg_cookie.c   (contents, props changed)
> head/sys/dev/if_wg/module/wg_noise.c   (contents, props 

Re: svn commit: r368163 - in head: sbin/ifconfig sys/dev/if_wg sys/dev/if_wg/include sys/dev/if_wg/include/crypto sys/dev/if_wg/include/sys sys/dev/if_wg/include/zinc sys/dev/if_wg/module sys/dev/if_w

2020-12-01 Thread O. Hartmann
On Sun, 29 Nov 2020 19:38:04 + (UTC)
Matt Macy  wrote:

> Author: mmacy
> Date: Sun Nov 29 19:38:03 2020
> New Revision: 368163
> URL: https://svnweb.freebsd.org/changeset/base/368163
>
> Log:
>   Import kernel WireGuard support
>
>   Data path largely shared with the OpenBSD implementation by
>   Matt Dunwoodie 
>
>   Reviewed by:gre...@freebsd.org
>   MFC after:  1 month
>   Sponsored by:   Rubicon LLC, (Netgate)
>   Differential Revision:  https://reviews.freebsd.org/D26137
>
> Added:
>   head/sbin/ifconfig/ifwg.c   (contents, props changed)
>   head/sys/dev/if_wg/
>   head/sys/dev/if_wg/include/
>   head/sys/dev/if_wg/include/crypto/blake2s.h   (contents, props changed)
>   head/sys/dev/if_wg/include/crypto/curve25519.h   (contents, props changed)
>   head/sys/dev/if_wg/include/crypto/zinc.h   (contents, props changed)
>   head/sys/dev/if_wg/include/sys/
>   head/sys/dev/if_wg/include/sys/if_wg_session.h   (contents, props changed)
>   head/sys/dev/if_wg/include/sys/if_wg_session_vars.h   (contents, props
> changed) head/sys/dev/if_wg/include/sys/simd-x86_64.h   (contents, props
> changed) head/sys/dev/if_wg/include/sys/support.h   (contents, props changed)
>   head/sys/dev/if_wg/include/sys/wg_cookie.h   (contents, props changed)
>   head/sys/dev/if_wg/include/sys/wg_module.h   (contents, props changed)
>   head/sys/dev/if_wg/include/sys/wg_noise.h   (contents, props changed)
>   head/sys/dev/if_wg/include/zinc/blake2s.h   (contents, props changed)
>   head/sys/dev/if_wg/include/zinc/chacha20.h   (contents, props changed)
>   head/sys/dev/if_wg/include/zinc/chacha20poly1305.h   (contents, props
> changed) head/sys/dev/if_wg/include/zinc/curve25519.h   (contents, props
> changed) head/sys/dev/if_wg/include/zinc/poly1305.h   (contents, props
> changed) head/sys/dev/if_wg/module/
>   head/sys/dev/if_wg/module/blake2s.c   (contents, props changed)
>   head/sys/dev/if_wg/module/blake2s.h   (contents, props changed)
>   head/sys/dev/if_wg/module/chacha20-x86_64.S   (contents, props changed)
>   head/sys/dev/if_wg/module/crypto/zinc/chacha20/chacha20-arm-glue.c
> (contents, props changed)
> head/sys/dev/if_wg/module/crypto/zinc/chacha20/chacha20-arm.pl   (contents,
> props changed)
> head/sys/dev/if_wg/module/crypto/zinc/chacha20/chacha20-arm64.pl   (contents,
> props changed)
> head/sys/dev/if_wg/module/crypto/zinc/chacha20/chacha20-mips-glue.c
> (contents, props changed)
> head/sys/dev/if_wg/module/crypto/zinc/chacha20/chacha20-mips.S   (contents,
> props changed)
> head/sys/dev/if_wg/module/crypto/zinc/chacha20/chacha20-unrolled-arm.S
> (contents, props changed)
> head/sys/dev/if_wg/module/crypto/zinc/chacha20/chacha20-x86_64-glue.c
> (contents, props changed)
> head/sys/dev/if_wg/module/crypto/zinc/chacha20/chacha20-x86_64.pl
> (contents, props changed)
> head/sys/dev/if_wg/module/crypto/zinc/chacha20/chacha20.c   (contents, props
> changed) head/sys/dev/if_wg/module/crypto/zinc/chacha20poly1305.c
> (contents, props changed)
> head/sys/dev/if_wg/module/crypto/zinc/poly1305/poly1305-arm-glue.c
> (contents, props changed)
> head/sys/dev/if_wg/module/crypto/zinc/poly1305/poly1305-arm.pl   (contents,
> props changed)
> head/sys/dev/if_wg/module/crypto/zinc/poly1305/poly1305-arm64.pl   (contents,
> props changed)
> head/sys/dev/if_wg/module/crypto/zinc/poly1305/poly1305-donna32.c
> (contents, props changed)
> head/sys/dev/if_wg/module/crypto/zinc/poly1305/poly1305-donna64.c
> (contents, props changed)
> head/sys/dev/if_wg/module/crypto/zinc/poly1305/poly1305-mips-glue.c
> (contents, props changed)
> head/sys/dev/if_wg/module/crypto/zinc/poly1305/poly1305-mips.S   (contents,
> props changed)
> head/sys/dev/if_wg/module/crypto/zinc/poly1305/poly1305-mips64.pl
> (contents, props changed)
> head/sys/dev/if_wg/module/crypto/zinc/poly1305/poly1305-x86_64-glue.c
> (contents, props changed)
> head/sys/dev/if_wg/module/crypto/zinc/poly1305/poly1305-x86_64.pl
> (contents, props changed)
> head/sys/dev/if_wg/module/crypto/zinc/poly1305/poly1305.c   (contents, props
> changed) head/sys/dev/if_wg/module/crypto/zinc/selftest/blake2s.c
> (contents, props changed)
> head/sys/dev/if_wg/module/crypto/zinc/selftest/chacha20.c   (contents, props
> changed) head/sys/dev/if_wg/module/crypto/zinc/selftest/chacha20poly1305.c
> (contents, props changed)
> head/sys/dev/if_wg/module/crypto/zinc/selftest/curve25519.c   (contents,
> props changed) head/sys/dev/if_wg/module/crypto/zinc/selftest/poly1305.c
> (contents, props changed)
> head/sys/dev/if_wg/module/crypto/zinc/selftest/run.h   (contents, props
> changed) head/sys/dev/if_wg/module/curve25519.c   (contents, props changed)
> head/sys/dev/if_wg/module/if_wg_session.c   (contents, props changed)
> head/sys/dev/if_wg/module/module.c   (contents, props changed)
> head/sys/dev/if_wg/module/poly1305-x86_64.S   (contents, props changed)
> head/sys/dev/if_wg/module/wg_cookie.c   (contents, props changed)
> head/sys/dev/if_wg/module/wg_noise.c   (contents, props 

Re: svn commit: r368163 - in head: sbin/ifconfig sys/dev/if_wg sys/dev/if_wg/include sys/dev/if_wg/include/crypto sys/dev/if_wg/include/sys sys/dev/if_wg/include/zinc sys/dev/if_wg/module sys/dev/if_w

2020-11-30 Thread Michael Tuexen



> On 29. Nov 2020, at 20:38, Matt Macy  wrote:
> 
> Author: mmacy
> Date: Sun Nov 29 19:38:03 2020
> New Revision: 368163
> URL: https://svnweb.freebsd.org/changeset/base/368163
> 
> Log:
>  Import kernel WireGuard support
> 
>  Data path largely shared with the OpenBSD implementation by
>  Matt Dunwoodie 
> 
>  Reviewed by: gre...@freebsd.org
>  MFC after:   1 month
>  Sponsored by:Rubicon LLC, (Netgate)
>  Differential Revision:   https://reviews.freebsd.org/D26137
> 
Is there some documentation available somewhere how to setup a tunnel?

Best regards
Michael

___
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"


Re: svn commit: r368163 - in head: sbin/ifconfig sys/dev/if_wg sys/dev/if_wg/include sys/dev/if_wg/include/crypto sys/dev/if_wg/include/sys sys/dev/if_wg/include/zinc sys/dev/if_wg/module sys/dev/if_w

2020-11-30 Thread Bjoern A. Zeeb

On 30 Nov 2020, at 14:53, cglogic wrote:

So you propose to make it dependent on linuxkpi? What have to do a 
user who does not compile linuxkpi, but wants to use if_wg?


If we’d move the implementations into linuxkpi you’d have to compile 
it to use if_wg.

So that this however is only a question.

Effectively you are using parts of linuxkpi now already, just 
copy (duplicated) into local files under if_wg;  for as much as I 
can see for most of that would however not require linuxkpi to be 
loaded, just present at compile time like any other kernel headers.


/bz
___
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"


Re: svn commit: r368163 - in head: sbin/ifconfig sys/dev/if_wg sys/dev/if_wg/include sys/dev/if_wg/include/crypto sys/dev/if_wg/include/sys sys/dev/if_wg/include/zinc sys/dev/if_wg/module sys/dev/if_w

2020-11-30 Thread cglogic via svn-src-all
On Monday, November 30, 2020 3:44 PM, Bjoern A. Zeeb 
 wrote:

> On 30 Nov 2020, at 9:27, Emmanuel Vadot wrote:
>
> > On Mon, 30 Nov 2020 01:13:12 +
> > "Bjoern A. Zeeb" bzeeb-li...@lists.zabbadoz.net wrote:
> >
> > > On 29 Nov 2020, at 19:38, Matt Macy wrote:
> > >
> > > > Author: mmacy
> > > > Date: Sun Nov 29 19:38:03 2020
> > > > New Revision: 368163
> > > > URL: https://svnweb.freebsd.org/changeset/base/368163
> > > > Log:
> > > > Import kernel WireGuard support
> > > > Data path largely shared with the OpenBSD implementation by
> > > > Matt Dunwoodie n...@nconroy.net
> > > > Reviewed by: gre...@freebsd.org
> > > > MFC after: 1 month
> > > > Sponsored by: Rubicon LLC, (Netgate)
> > > > Differential Revision: https://reviews.freebsd.org/D26137
> > > > Added:
> > > > head/sbin/ifconfig/ifwg.c (contents, props changed)
> > > > head/sys/dev/if_wg/
> > > > head/sys/dev/if_wg/include/
> > > > head/sys/dev/if_wg/include/crypto/blake2s.h (contents, props
> > > > changed)
> > > > head/sys/dev/if_wg/include/crypto/curve25519.h (contents, props
> > > > changed)
> > > > head/sys/dev/if_wg/include/crypto/zinc.h (contents, props
> > > > changed)
> > > > head/sys/dev/if_wg/include/sys/
> > > > head/sys/dev/if_wg/include/sys/if_wg_session.h (contents, props
> > > > changed)
> > > > head/sys/dev/if_wg/include/sys/if_wg_session_vars.h (contents,
> > > > props changed)
> > > > head/sys/dev/if_wg/include/sys/simd-x86_64.h (contents, props
> > > > changed)
> > > > head/sys/dev/if_wg/include/sys/support.h (contents, props
> > > > changed)
> > > > head/sys/dev/if_wg/include/sys/wg_cookie.h (contents, props
> > > > changed)
> > > > head/sys/dev/if_wg/include/sys/wg_module.h (contents, props
> > > > changed)
> > > > head/sys/dev/if_wg/include/sys/wg_noise.h (contents, props
> > > > changed)
> > > > head/sys/dev/if_wg/include/zinc/blake2s.h (contents, props
> > > > changed)
> > > > head/sys/dev/if_wg/include/zinc/chacha20.h (contents, props
> > > > changed)
> > > > head/sys/dev/if_wg/include/zinc/chacha20poly1305.h (contents,
> > > > props changed)
> > > > head/sys/dev/if_wg/include/zinc/curve25519.h (contents, props
> > > > changed)
> > > > head/sys/dev/if_wg/include/zinc/poly1305.h (contents, props
> > > > changed)
> > > > head/sys/dev/if_wg/module/
> > > > head/sys/dev/if_wg/module/blake2s.c (contents, props changed)
> > > > head/sys/dev/if_wg/module/blake2s.h (contents, props changed)
> > > > head/sys/dev/if_wg/module/chacha20-x86_64.S (contents, props
> > > > changed)
> > > > head/sys/dev/if_wg/module/crypto/zinc/chacha20/chacha20-arm-glue.c
> > > > (contents, props changed)
> > > > head/sys/dev/if_wg/module/crypto/zinc/chacha20/chacha20-arm.pl
> > > > (contents, props changed)
> > > > head/sys/dev/if_wg/module/crypto/zinc/chacha20/chacha20-arm64.pl
> > > > (contents, props changed)
> > > > head/sys/dev/if_wg/module/crypto/zinc/chacha20/chacha20-mips-glue.c
> > > > (contents, props changed)
> > > > head/sys/dev/if_wg/module/crypto/zinc/chacha20/chacha20-mips.S
> > > > (contents, props changed)
> > > > head/sys/dev/if_wg/module/crypto/zinc/chacha20/chacha20-unrolled-arm.S
> > > > (contents, props changed)
> > > > head/sys/dev/if_wg/module/crypto/zinc/chacha20/chacha20-x86_64-glue.c
> > > > (contents, props changed)
> > > > head/sys/dev/if_wg/module/crypto/zinc/chacha20/chacha20-x86_64.pl
> > > > (contents, props changed)
> > > > head/sys/dev/if_wg/module/crypto/zinc/chacha20/chacha20.c
> > > > (contents, props changed)
> > > > head/sys/dev/if_wg/module/crypto/zinc/chacha20poly1305.c
> > > > (contents, props changed)
> > > > head/sys/dev/if_wg/module/crypto/zinc/poly1305/poly1305-arm-glue.c
> > > > (contents, props changed)
> > > > head/sys/dev/if_wg/module/crypto/zinc/poly1305/poly1305-arm.pl
> > > > (contents, props changed)
> > > > head/sys/dev/if_wg/module/crypto/zinc/poly1305/poly1305-arm64.pl
> > > > (contents, props changed)
> > > > head/sys/dev/if_wg/module/crypto/zinc/poly1305/poly1305-donna32.c
> > > > (contents, props changed)
> > > > head/sys/dev/if_wg/module/crypto/zinc/poly1305/poly1305-donna64.c
> > > > (contents, props changed)
> > > > head/sys/dev/if_wg/module/crypto/zinc/poly1305/poly1305-mips-glue.c
> > > > (contents, props changed)
> > > > head/sys/dev/if_wg/module/crypto/zinc/poly1305/poly1305-mips.S
> > > > (contents, props changed)
> > > > head/sys/dev/if_wg/module/crypto/zinc/poly1305/poly1305-mips64.pl
> > > > (contents, props changed)
> > > > head/sys/dev/if_wg/module/crypto/zinc/poly1305/poly1305-x86_64-glue.c
> > > > (contents, props changed)
> > > > head/sys/dev/if_wg/module/crypto/zinc/poly1305/poly1305-x86_64.pl
> > > > (contents, props changed)
> > > > head/sys/dev/if_wg/module/crypto/zinc/poly1305/poly1305.c
> > > > (contents, props changed)
> > > > head/sys/dev/if_wg/module/crypto/zinc/selftest/blake2s.c
> > > > (contents, props changed)
> > > > head/sys/dev/if_wg/module/crypto/zinc/selftest/chacha20.c
> > > > (contents, props changed)
> > > > 

Re: svn commit: r368163 - in head: sbin/ifconfig sys/dev/if_wg sys/dev/if_wg/include sys/dev/if_wg/include/crypto sys/dev/if_wg/include/sys sys/dev/if_wg/include/zinc sys/dev/if_wg/module sys/dev/if_w

2020-11-30 Thread Hans Petter Selasky

On 11/30/20 2:44 PM, Bjoern A. Zeeb wrote:

On 30 Nov 2020, at 9:27, Emmanuel Vadot wrote:


On Mon, 30 Nov 2020 01:13:12 +
"Bjoern A. Zeeb"  wrote:


On 29 Nov 2020, at 19:38, Matt Macy wrote:


Author: mmacy
Date: Sun Nov 29 19:38:03 2020
New Revision: 368163
URL: https://svnweb.freebsd.org/changeset/base/368163

Log:
  Import kernel WireGuard support

  Data path largely shared with the OpenBSD implementation by
  Matt Dunwoodie 

  Reviewed by:    gre...@freebsd.org
  MFC after:    1 month
  Sponsored by:    Rubicon LLC, (Netgate)
  Differential Revision:    https://reviews.freebsd.org/D26137

Added:
  head/sbin/ifconfig/ifwg.c   (contents, props changed)
  head/sys/dev/if_wg/
  head/sys/dev/if_wg/include/
  head/sys/dev/if_wg/include/crypto/blake2s.h   (contents, props
changed)
  head/sys/dev/if_wg/include/crypto/curve25519.h   (contents, props
changed)
  head/sys/dev/if_wg/include/crypto/zinc.h   (contents, props changed)
  head/sys/dev/if_wg/include/sys/
  head/sys/dev/if_wg/include/sys/if_wg_session.h   (contents, props
changed)
  head/sys/dev/if_wg/include/sys/if_wg_session_vars.h   (contents,
props changed)
  head/sys/dev/if_wg/include/sys/simd-x86_64.h   (contents, props
changed)
  head/sys/dev/if_wg/include/sys/support.h   (contents, props changed)
  head/sys/dev/if_wg/include/sys/wg_cookie.h   (contents, props
changed)
  head/sys/dev/if_wg/include/sys/wg_module.h   (contents, props
changed)
  head/sys/dev/if_wg/include/sys/wg_noise.h   (contents, props
changed)
  head/sys/dev/if_wg/include/zinc/blake2s.h   (contents, props
changed)
  head/sys/dev/if_wg/include/zinc/chacha20.h   (contents, props
changed)
  head/sys/dev/if_wg/include/zinc/chacha20poly1305.h   (contents,
props changed)
  head/sys/dev/if_wg/include/zinc/curve25519.h   (contents, props
changed)
  head/sys/dev/if_wg/include/zinc/poly1305.h   (contents, props
changed)
  head/sys/dev/if_wg/module/
  head/sys/dev/if_wg/module/blake2s.c   (contents, props changed)
  head/sys/dev/if_wg/module/blake2s.h   (contents, props changed)
  head/sys/dev/if_wg/module/chacha20-x86_64.S   (contents, props
changed)
  head/sys/dev/if_wg/module/crypto/zinc/chacha20/chacha20-arm-glue.c
(contents, props changed)
  head/sys/dev/if_wg/module/crypto/zinc/chacha20/chacha20-arm.pl
(contents, props changed)
  head/sys/dev/if_wg/module/crypto/zinc/chacha20/chacha20-arm64.pl
(contents, props changed)
  head/sys/dev/if_wg/module/crypto/zinc/chacha20/chacha20-mips-glue.c
 (contents, props changed)
  head/sys/dev/if_wg/module/crypto/zinc/chacha20/chacha20-mips.S
(contents, props changed)
  
head/sys/dev/if_wg/module/crypto/zinc/chacha20/chacha20-unrolled-arm.S

  (contents, props changed)
  head/sys/dev/if_wg/module/crypto/zinc/chacha20/chacha20-x86_64-glue.c
  (contents, props changed)
  head/sys/dev/if_wg/module/crypto/zinc/chacha20/chacha20-x86_64.pl
(contents, props changed)
  head/sys/dev/if_wg/module/crypto/zinc/chacha20/chacha20.c
(contents, props changed)
  head/sys/dev/if_wg/module/crypto/zinc/chacha20poly1305.c
(contents, props changed)
  head/sys/dev/if_wg/module/crypto/zinc/poly1305/poly1305-arm-glue.c
(contents, props changed)
  head/sys/dev/if_wg/module/crypto/zinc/poly1305/poly1305-arm.pl
(contents, props changed)
  head/sys/dev/if_wg/module/crypto/zinc/poly1305/poly1305-arm64.pl
(contents, props changed)
  head/sys/dev/if_wg/module/crypto/zinc/poly1305/poly1305-donna32.c
(contents, props changed)
  head/sys/dev/if_wg/module/crypto/zinc/poly1305/poly1305-donna64.c
(contents, props changed)
  head/sys/dev/if_wg/module/crypto/zinc/poly1305/poly1305-mips-glue.c
 (contents, props changed)
  head/sys/dev/if_wg/module/crypto/zinc/poly1305/poly1305-mips.S
(contents, props changed)
  head/sys/dev/if_wg/module/crypto/zinc/poly1305/poly1305-mips64.pl
(contents, props changed)
  head/sys/dev/if_wg/module/crypto/zinc/poly1305/poly1305-x86_64-glue.c
  (contents, props changed)
  head/sys/dev/if_wg/module/crypto/zinc/poly1305/poly1305-x86_64.pl
(contents, props changed)
  head/sys/dev/if_wg/module/crypto/zinc/poly1305/poly1305.c
(contents, props changed)
  head/sys/dev/if_wg/module/crypto/zinc/selftest/blake2s.c
(contents, props changed)
  head/sys/dev/if_wg/module/crypto/zinc/selftest/chacha20.c
(contents, props changed)
  head/sys/dev/if_wg/module/crypto/zinc/selftest/chacha20poly1305.c
(contents, props changed)
  head/sys/dev/if_wg/module/crypto/zinc/selftest/curve25519.c
(contents, props changed)
  head/sys/dev/if_wg/module/crypto/zinc/selftest/poly1305.c
(contents, props changed)
  head/sys/dev/if_wg/module/crypto/zinc/selftest/run.h   (contents,
props changed)
  head/sys/dev/if_wg/module/curve25519.c   (contents, props changed)
  head/sys/dev/if_wg/module/if_wg_session.c   (contents, props
changed)
  head/sys/dev/if_wg/module/module.c   (contents, props changed)
  head/sys/dev/if_wg/module/poly1305-x86_64.S   (contents, props
changed)
  head/sys/dev/if_wg/module/wg_cookie.c   (contents, props changed)
  head/sys/dev/if_wg/module/wg_noise.c   (contents, 

Re: svn commit: r368163 - in head: sbin/ifconfig sys/dev/if_wg sys/dev/if_wg/include sys/dev/if_wg/include/crypto sys/dev/if_wg/include/sys sys/dev/if_wg/include/zinc sys/dev/if_wg/module sys/dev/if_w

2020-11-30 Thread Bjoern A. Zeeb

On 30 Nov 2020, at 9:27, Emmanuel Vadot wrote:


On Mon, 30 Nov 2020 01:13:12 +
"Bjoern A. Zeeb"  wrote:


On 29 Nov 2020, at 19:38, Matt Macy wrote:


Author: mmacy
Date: Sun Nov 29 19:38:03 2020
New Revision: 368163
URL: https://svnweb.freebsd.org/changeset/base/368163

Log:
  Import kernel WireGuard support

  Data path largely shared with the OpenBSD implementation by
  Matt Dunwoodie 

  Reviewed by:  gre...@freebsd.org
  MFC after:1 month
  Sponsored by: Rubicon LLC, (Netgate)
  Differential Revision:https://reviews.freebsd.org/D26137

Added:
  head/sbin/ifconfig/ifwg.c   (contents, props changed)
  head/sys/dev/if_wg/
  head/sys/dev/if_wg/include/
  head/sys/dev/if_wg/include/crypto/blake2s.h   (contents, props
changed)
  head/sys/dev/if_wg/include/crypto/curve25519.h   (contents, props
changed)
  head/sys/dev/if_wg/include/crypto/zinc.h   (contents, props 
changed)

  head/sys/dev/if_wg/include/sys/
  head/sys/dev/if_wg/include/sys/if_wg_session.h   (contents, props
changed)
  head/sys/dev/if_wg/include/sys/if_wg_session_vars.h   (contents,
props changed)
  head/sys/dev/if_wg/include/sys/simd-x86_64.h   (contents, props
changed)
  head/sys/dev/if_wg/include/sys/support.h   (contents, props 
changed)

  head/sys/dev/if_wg/include/sys/wg_cookie.h   (contents, props
changed)
  head/sys/dev/if_wg/include/sys/wg_module.h   (contents, props
changed)
  head/sys/dev/if_wg/include/sys/wg_noise.h   (contents, props
changed)
  head/sys/dev/if_wg/include/zinc/blake2s.h   (contents, props
changed)
  head/sys/dev/if_wg/include/zinc/chacha20.h   (contents, props
changed)
  head/sys/dev/if_wg/include/zinc/chacha20poly1305.h   (contents,
props changed)
  head/sys/dev/if_wg/include/zinc/curve25519.h   (contents, props
changed)
  head/sys/dev/if_wg/include/zinc/poly1305.h   (contents, props
changed)
  head/sys/dev/if_wg/module/
  head/sys/dev/if_wg/module/blake2s.c   (contents, props changed)
  head/sys/dev/if_wg/module/blake2s.h   (contents, props changed)
  head/sys/dev/if_wg/module/chacha20-x86_64.S   (contents, props
changed)
  head/sys/dev/if_wg/module/crypto/zinc/chacha20/chacha20-arm-glue.c
(contents, props changed)
  head/sys/dev/if_wg/module/crypto/zinc/chacha20/chacha20-arm.pl
(contents, props changed)
  head/sys/dev/if_wg/module/crypto/zinc/chacha20/chacha20-arm64.pl
(contents, props changed)
  head/sys/dev/if_wg/module/crypto/zinc/chacha20/chacha20-mips-glue.c
 (contents, props changed)
  head/sys/dev/if_wg/module/crypto/zinc/chacha20/chacha20-mips.S
(contents, props changed)
  head/sys/dev/if_wg/module/crypto/zinc/chacha20/chacha20-unrolled-arm.S
  (contents, props changed)
  head/sys/dev/if_wg/module/crypto/zinc/chacha20/chacha20-x86_64-glue.c
  (contents, props changed)
  head/sys/dev/if_wg/module/crypto/zinc/chacha20/chacha20-x86_64.pl
(contents, props changed)
  head/sys/dev/if_wg/module/crypto/zinc/chacha20/chacha20.c
(contents, props changed)
  head/sys/dev/if_wg/module/crypto/zinc/chacha20poly1305.c
(contents, props changed)
  head/sys/dev/if_wg/module/crypto/zinc/poly1305/poly1305-arm-glue.c
(contents, props changed)
  head/sys/dev/if_wg/module/crypto/zinc/poly1305/poly1305-arm.pl
(contents, props changed)
  head/sys/dev/if_wg/module/crypto/zinc/poly1305/poly1305-arm64.pl
(contents, props changed)
  head/sys/dev/if_wg/module/crypto/zinc/poly1305/poly1305-donna32.c
(contents, props changed)
  head/sys/dev/if_wg/module/crypto/zinc/poly1305/poly1305-donna64.c
(contents, props changed)
  head/sys/dev/if_wg/module/crypto/zinc/poly1305/poly1305-mips-glue.c
 (contents, props changed)
  head/sys/dev/if_wg/module/crypto/zinc/poly1305/poly1305-mips.S
(contents, props changed)
  head/sys/dev/if_wg/module/crypto/zinc/poly1305/poly1305-mips64.pl
(contents, props changed)
  head/sys/dev/if_wg/module/crypto/zinc/poly1305/poly1305-x86_64-glue.c
  (contents, props changed)
  head/sys/dev/if_wg/module/crypto/zinc/poly1305/poly1305-x86_64.pl
(contents, props changed)
  head/sys/dev/if_wg/module/crypto/zinc/poly1305/poly1305.c
(contents, props changed)
  head/sys/dev/if_wg/module/crypto/zinc/selftest/blake2s.c
(contents, props changed)
  head/sys/dev/if_wg/module/crypto/zinc/selftest/chacha20.c
(contents, props changed)
  head/sys/dev/if_wg/module/crypto/zinc/selftest/chacha20poly1305.c
(contents, props changed)
  head/sys/dev/if_wg/module/crypto/zinc/selftest/curve25519.c
(contents, props changed)
  head/sys/dev/if_wg/module/crypto/zinc/selftest/poly1305.c
(contents, props changed)
  head/sys/dev/if_wg/module/crypto/zinc/selftest/run.h   (contents,
props changed)
  head/sys/dev/if_wg/module/curve25519.c   (contents, props changed)
  head/sys/dev/if_wg/module/if_wg_session.c   (contents, props
changed)
  head/sys/dev/if_wg/module/module.c   (contents, props changed)
  head/sys/dev/if_wg/module/poly1305-x86_64.S   (contents, props
changed)
  head/sys/dev/if_wg/module/wg_cookie.c   (contents, props changed)
  head/sys/dev/if_wg/module/wg_noise.c   (contents, props changed)
  head/sys/modules/if_wg/
  

Re: svn commit: r368163 - in head: sbin/ifconfig sys/dev/if_wg sys/dev/if_wg/include sys/dev/if_wg/include/crypto sys/dev/if_wg/include/sys sys/dev/if_wg/include/zinc sys/dev/if_wg/module sys/dev/if_w

2020-11-30 Thread Bjoern A. Zeeb

On 29 Nov 2020, at 19:38, Matt Macy wrote:

Hi,


Author: mmacy
Date: Sun Nov 29 19:38:03 2020
New Revision: 368163
URL: https://svnweb.freebsd.org/changeset/base/368163

Log:
  Import kernel WireGuard support

  Data path largely shared with the OpenBSD implementation by
  Matt Dunwoodie 

  MFC after:1 month

Added:


probably an oversight as all the other files seem at least 
dual-licensed.


This one is GPL-2.0 only:

/* SPDX-License-Identifier: GPL-2.0 */

  head/sys/dev/if_wg/module/crypto/zinc/chacha20/chacha20-unrolled-arm.S 
  (contents, props changed)


Seems we don’t actually use most of these non-amd64 files (currently).
Can we remove at least this one please to avoid accidentally compiling 
it in in the future (and then not MFC it please)?



Thanks,
Bjoern
___
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"


Re: svn commit: r368163 - in head: sbin/ifconfig sys/dev/if_wg sys/dev/if_wg/include sys/dev/if_wg/include/crypto sys/dev/if_wg/include/sys sys/dev/if_wg/include/zinc sys/dev/if_wg/module sys/dev/if_w

2020-11-30 Thread Emmanuel Vadot
On Mon, 30 Nov 2020 01:13:12 +
"Bjoern A. Zeeb"  wrote:

> On 29 Nov 2020, at 19:38, Matt Macy wrote:
> 
> > Author: mmacy
> > Date: Sun Nov 29 19:38:03 2020
> > New Revision: 368163
> > URL: https://svnweb.freebsd.org/changeset/base/368163
> >
> > Log:
> >   Import kernel WireGuard support
> >
> >   Data path largely shared with the OpenBSD implementation by
> >   Matt Dunwoodie 
> >
> >   Reviewed by:  gre...@freebsd.org
> >   MFC after:1 month
> >   Sponsored by: Rubicon LLC, (Netgate)
> >   Differential Revision:https://reviews.freebsd.org/D26137
> >
> > Added:
> >   head/sbin/ifconfig/ifwg.c   (contents, props changed)
> >   head/sys/dev/if_wg/
> >   head/sys/dev/if_wg/include/
> >   head/sys/dev/if_wg/include/crypto/blake2s.h   (contents, props 
> > changed)
> >   head/sys/dev/if_wg/include/crypto/curve25519.h   (contents, props 
> > changed)
> >   head/sys/dev/if_wg/include/crypto/zinc.h   (contents, props changed)
> >   head/sys/dev/if_wg/include/sys/
> >   head/sys/dev/if_wg/include/sys/if_wg_session.h   (contents, props 
> > changed)
> >   head/sys/dev/if_wg/include/sys/if_wg_session_vars.h   (contents, 
> > props changed)
> >   head/sys/dev/if_wg/include/sys/simd-x86_64.h   (contents, props 
> > changed)
> >   head/sys/dev/if_wg/include/sys/support.h   (contents, props changed)
> >   head/sys/dev/if_wg/include/sys/wg_cookie.h   (contents, props 
> > changed)
> >   head/sys/dev/if_wg/include/sys/wg_module.h   (contents, props 
> > changed)
> >   head/sys/dev/if_wg/include/sys/wg_noise.h   (contents, props 
> > changed)
> >   head/sys/dev/if_wg/include/zinc/blake2s.h   (contents, props 
> > changed)
> >   head/sys/dev/if_wg/include/zinc/chacha20.h   (contents, props 
> > changed)
> >   head/sys/dev/if_wg/include/zinc/chacha20poly1305.h   (contents, 
> > props changed)
> >   head/sys/dev/if_wg/include/zinc/curve25519.h   (contents, props 
> > changed)
> >   head/sys/dev/if_wg/include/zinc/poly1305.h   (contents, props 
> > changed)
> >   head/sys/dev/if_wg/module/
> >   head/sys/dev/if_wg/module/blake2s.c   (contents, props changed)
> >   head/sys/dev/if_wg/module/blake2s.h   (contents, props changed)
> >   head/sys/dev/if_wg/module/chacha20-x86_64.S   (contents, props 
> > changed)
> >   head/sys/dev/if_wg/module/crypto/zinc/chacha20/chacha20-arm-glue.c   
> > (contents, props changed)
> >   head/sys/dev/if_wg/module/crypto/zinc/chacha20/chacha20-arm.pl   
> > (contents, props changed)
> >   head/sys/dev/if_wg/module/crypto/zinc/chacha20/chacha20-arm64.pl   
> > (contents, props changed)
> >   head/sys/dev/if_wg/module/crypto/zinc/chacha20/chacha20-mips-glue.c  
> >  (contents, props changed)
> >   head/sys/dev/if_wg/module/crypto/zinc/chacha20/chacha20-mips.S   
> > (contents, props changed)
> >   head/sys/dev/if_wg/module/crypto/zinc/chacha20/chacha20-unrolled-arm.S 
> >   (contents, props changed)
> >   head/sys/dev/if_wg/module/crypto/zinc/chacha20/chacha20-x86_64-glue.c 
> >   (contents, props changed)
> >   head/sys/dev/if_wg/module/crypto/zinc/chacha20/chacha20-x86_64.pl   
> > (contents, props changed)
> >   head/sys/dev/if_wg/module/crypto/zinc/chacha20/chacha20.c   
> > (contents, props changed)
> >   head/sys/dev/if_wg/module/crypto/zinc/chacha20poly1305.c   
> > (contents, props changed)
> >   head/sys/dev/if_wg/module/crypto/zinc/poly1305/poly1305-arm-glue.c   
> > (contents, props changed)
> >   head/sys/dev/if_wg/module/crypto/zinc/poly1305/poly1305-arm.pl   
> > (contents, props changed)
> >   head/sys/dev/if_wg/module/crypto/zinc/poly1305/poly1305-arm64.pl   
> > (contents, props changed)
> >   head/sys/dev/if_wg/module/crypto/zinc/poly1305/poly1305-donna32.c   
> > (contents, props changed)
> >   head/sys/dev/if_wg/module/crypto/zinc/poly1305/poly1305-donna64.c   
> > (contents, props changed)
> >   head/sys/dev/if_wg/module/crypto/zinc/poly1305/poly1305-mips-glue.c  
> >  (contents, props changed)
> >   head/sys/dev/if_wg/module/crypto/zinc/poly1305/poly1305-mips.S   
> > (contents, props changed)
> >   head/sys/dev/if_wg/module/crypto/zinc/poly1305/poly1305-mips64.pl   
> > (contents, props changed)
> >   head/sys/dev/if_wg/module/crypto/zinc/poly1305/poly1305-x86_64-glue.c 
> >   (contents, props changed)
> >   head/sys/dev/if_wg/module/crypto/zinc/poly1305/poly1305-x86_64.pl   
> > (contents, props changed)
> >   head/sys/dev/if_wg/module/crypto/zinc/poly1305/poly1305.c   
> > (contents, props changed)
> >   head/sys/dev/if_wg/module/crypto/zinc/selftest/blake2s.c   
> > (contents, props changed)
> >   head/sys/dev/if_wg/module/crypto/zinc/selftest/chacha20.c   
> > (contents, props changed)
> >   head/sys/dev/if_wg/module/crypto/zinc/selftest/chacha20poly1305.c   
> > (contents, props changed)
> >   head/sys/dev/if_wg/module/crypto/zinc/selftest/curve25519.c   
> > (contents, props changed)
> >   head/sys/dev/if_wg/module/crypto/zinc/selftest/poly1305.c   
> > (contents, props changed)
> >   head/sys/dev/if_wg/module/crypto/zinc/selftest/run.h   

Re: svn commit: r368163 - in head: sbin/ifconfig sys/dev/if_wg sys/dev/if_wg/include sys/dev/if_wg/include/crypto sys/dev/if_wg/include/sys sys/dev/if_wg/include/zinc sys/dev/if_wg/module sys/dev/if_w

2020-11-29 Thread Ravi Pokala
-Original Message-
From:  on behalf of Ian Lepore 

Date: 2020-11-29, Sunday at 16:26
To: Shawn Webb , Matt Macy 
Cc: , , 

Subject: Re: svn commit: r368163 - in head: sbin/ifconfig sys/dev/if_wg 
sys/dev/if_wg/include sys/dev/if_wg/include/crypto sys/dev/if_wg/include/sys 
sys/dev/if_wg/include/zinc sys/dev/if_wg/module sys/dev/if_wg...

On Sun, 2020-11-29 at 19:20 -0500, Shawn Webb wrote:
> On Sun, Nov 29, 2020 at 07:38:04PM +, Matt Macy wrote:
> > Author: mmacy
> > Date: Sun Nov 29 19:38:03 2020
> > New Revision: 368163
> > URL: https://svnweb.freebsd.org/changeset/base/368163
> > 
> > Log:
> >   Import kernel WireGuard support
> >   
> >   Data path largely shared with the OpenBSD implementation by
> >   Matt Dunwoodie 
> >   
> >   Reviewed by:  gre...@freebsd.org
> >   MFC after:1 month
> >   Sponsored by: Rubicon LLC, (Netgate)
> >   Differential Revision:https://reviews.freebsd.org/D26137
> 
> RELNOTES: yes?
> 
> Thanks,
> 

Or maybe an entry in src/RELNOTES, preferably one that (unlike the
commit message) has at least some tiny shred of a clue about what
Wireguard is.

-- Ian

In addition to an update to RELNOTES, a manpage would also be greatly 
appreciated.

-Ravi (rpokala@)


___
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"


Re: svn commit: r368163 - in head: sbin/ifconfig sys/dev/if_wg sys/dev/if_wg/include sys/dev/if_wg/include/crypto sys/dev/if_wg/include/sys sys/dev/if_wg/include/zinc sys/dev/if_wg/module sys/dev/if_w

2020-11-29 Thread Bjoern A. Zeeb

On 29 Nov 2020, at 19:38, Matt Macy wrote:


Author: mmacy
Date: Sun Nov 29 19:38:03 2020
New Revision: 368163
URL: https://svnweb.freebsd.org/changeset/base/368163

Log:
  Import kernel WireGuard support

  Data path largely shared with the OpenBSD implementation by
  Matt Dunwoodie 

  Reviewed by:  gre...@freebsd.org
  MFC after:1 month
  Sponsored by: Rubicon LLC, (Netgate)
  Differential Revision:https://reviews.freebsd.org/D26137

Added:
  head/sbin/ifconfig/ifwg.c   (contents, props changed)
  head/sys/dev/if_wg/
  head/sys/dev/if_wg/include/
  head/sys/dev/if_wg/include/crypto/blake2s.h   (contents, props 
changed)
  head/sys/dev/if_wg/include/crypto/curve25519.h   (contents, props 
changed)

  head/sys/dev/if_wg/include/crypto/zinc.h   (contents, props changed)
  head/sys/dev/if_wg/include/sys/
  head/sys/dev/if_wg/include/sys/if_wg_session.h   (contents, props 
changed)
  head/sys/dev/if_wg/include/sys/if_wg_session_vars.h   (contents, 
props changed)
  head/sys/dev/if_wg/include/sys/simd-x86_64.h   (contents, props 
changed)

  head/sys/dev/if_wg/include/sys/support.h   (contents, props changed)
  head/sys/dev/if_wg/include/sys/wg_cookie.h   (contents, props 
changed)
  head/sys/dev/if_wg/include/sys/wg_module.h   (contents, props 
changed)
  head/sys/dev/if_wg/include/sys/wg_noise.h   (contents, props 
changed)
  head/sys/dev/if_wg/include/zinc/blake2s.h   (contents, props 
changed)
  head/sys/dev/if_wg/include/zinc/chacha20.h   (contents, props 
changed)
  head/sys/dev/if_wg/include/zinc/chacha20poly1305.h   (contents, 
props changed)
  head/sys/dev/if_wg/include/zinc/curve25519.h   (contents, props 
changed)
  head/sys/dev/if_wg/include/zinc/poly1305.h   (contents, props 
changed)

  head/sys/dev/if_wg/module/
  head/sys/dev/if_wg/module/blake2s.c   (contents, props changed)
  head/sys/dev/if_wg/module/blake2s.h   (contents, props changed)
  head/sys/dev/if_wg/module/chacha20-x86_64.S   (contents, props 
changed)
  head/sys/dev/if_wg/module/crypto/zinc/chacha20/chacha20-arm-glue.c   
(contents, props changed)
  head/sys/dev/if_wg/module/crypto/zinc/chacha20/chacha20-arm.pl   
(contents, props changed)
  head/sys/dev/if_wg/module/crypto/zinc/chacha20/chacha20-arm64.pl   
(contents, props changed)
  head/sys/dev/if_wg/module/crypto/zinc/chacha20/chacha20-mips-glue.c  
 (contents, props changed)
  head/sys/dev/if_wg/module/crypto/zinc/chacha20/chacha20-mips.S   
(contents, props changed)
  head/sys/dev/if_wg/module/crypto/zinc/chacha20/chacha20-unrolled-arm.S 
  (contents, props changed)
  head/sys/dev/if_wg/module/crypto/zinc/chacha20/chacha20-x86_64-glue.c 
  (contents, props changed)
  head/sys/dev/if_wg/module/crypto/zinc/chacha20/chacha20-x86_64.pl   
(contents, props changed)
  head/sys/dev/if_wg/module/crypto/zinc/chacha20/chacha20.c   
(contents, props changed)
  head/sys/dev/if_wg/module/crypto/zinc/chacha20poly1305.c   
(contents, props changed)
  head/sys/dev/if_wg/module/crypto/zinc/poly1305/poly1305-arm-glue.c   
(contents, props changed)
  head/sys/dev/if_wg/module/crypto/zinc/poly1305/poly1305-arm.pl   
(contents, props changed)
  head/sys/dev/if_wg/module/crypto/zinc/poly1305/poly1305-arm64.pl   
(contents, props changed)
  head/sys/dev/if_wg/module/crypto/zinc/poly1305/poly1305-donna32.c   
(contents, props changed)
  head/sys/dev/if_wg/module/crypto/zinc/poly1305/poly1305-donna64.c   
(contents, props changed)
  head/sys/dev/if_wg/module/crypto/zinc/poly1305/poly1305-mips-glue.c  
 (contents, props changed)
  head/sys/dev/if_wg/module/crypto/zinc/poly1305/poly1305-mips.S   
(contents, props changed)
  head/sys/dev/if_wg/module/crypto/zinc/poly1305/poly1305-mips64.pl   
(contents, props changed)
  head/sys/dev/if_wg/module/crypto/zinc/poly1305/poly1305-x86_64-glue.c 
  (contents, props changed)
  head/sys/dev/if_wg/module/crypto/zinc/poly1305/poly1305-x86_64.pl   
(contents, props changed)
  head/sys/dev/if_wg/module/crypto/zinc/poly1305/poly1305.c   
(contents, props changed)
  head/sys/dev/if_wg/module/crypto/zinc/selftest/blake2s.c   
(contents, props changed)
  head/sys/dev/if_wg/module/crypto/zinc/selftest/chacha20.c   
(contents, props changed)
  head/sys/dev/if_wg/module/crypto/zinc/selftest/chacha20poly1305.c   
(contents, props changed)
  head/sys/dev/if_wg/module/crypto/zinc/selftest/curve25519.c   
(contents, props changed)
  head/sys/dev/if_wg/module/crypto/zinc/selftest/poly1305.c   
(contents, props changed)
  head/sys/dev/if_wg/module/crypto/zinc/selftest/run.h   (contents, 
props changed)

  head/sys/dev/if_wg/module/curve25519.c   (contents, props changed)
  head/sys/dev/if_wg/module/if_wg_session.c   (contents, props 
changed)

  head/sys/dev/if_wg/module/module.c   (contents, props changed)
  head/sys/dev/if_wg/module/poly1305-x86_64.S   (contents, props 
changed)

  head/sys/dev/if_wg/module/wg_cookie.c   (contents, props changed)
  head/sys/dev/if_wg/module/wg_noise.c   (contents, props changed)
  head/sys/modules/if_wg/
  

Re: svn commit: r368163 - in head: sbin/ifconfig sys/dev/if_wg sys/dev/if_wg/include sys/dev/if_wg/include/crypto sys/dev/if_wg/include/sys sys/dev/if_wg/include/zinc sys/dev/if_wg/module sys/dev/if_w

2020-11-29 Thread Ian Lepore
On Sun, 2020-11-29 at 19:20 -0500, Shawn Webb wrote:
> On Sun, Nov 29, 2020 at 07:38:04PM +, Matt Macy wrote:
> > Author: mmacy
> > Date: Sun Nov 29 19:38:03 2020
> > New Revision: 368163
> > URL: https://svnweb.freebsd.org/changeset/base/368163
> > 
> > Log:
> >   Import kernel WireGuard support
> >   
> >   Data path largely shared with the OpenBSD implementation by
> >   Matt Dunwoodie 
> >   
> >   Reviewed by:  gre...@freebsd.org
> >   MFC after:1 month
> >   Sponsored by: Rubicon LLC, (Netgate)
> >   Differential Revision:https://reviews.freebsd.org/D26137
> 
> RELNOTES: yes?
> 
> Thanks,
> 

Or maybe an entry in src/RELNOTES, preferably one that (unlike the
commit message) has at least some tiny shred of a clue about what
Wireguard is.

-- Ian

___
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"


Re: svn commit: r368163 - in head: sbin/ifconfig sys/dev/if_wg sys/dev/if_wg/include sys/dev/if_wg/include/crypto sys/dev/if_wg/include/sys sys/dev/if_wg/include/zinc sys/dev/if_wg/module sys/dev/if_w

2020-11-29 Thread Shawn Webb
On Sun, Nov 29, 2020 at 07:38:04PM +, Matt Macy wrote:
> Author: mmacy
> Date: Sun Nov 29 19:38:03 2020
> New Revision: 368163
> URL: https://svnweb.freebsd.org/changeset/base/368163
> 
> Log:
>   Import kernel WireGuard support
>   
>   Data path largely shared with the OpenBSD implementation by
>   Matt Dunwoodie 
>   
>   Reviewed by:gre...@freebsd.org
>   MFC after:  1 month
>   Sponsored by:   Rubicon LLC, (Netgate)
>   Differential Revision:  https://reviews.freebsd.org/D26137

RELNOTES:   yes?

Thanks,

-- 
Shawn Webb
Cofounder / Security Engineer
HardenedBSD

GPG Key ID:  0xFF2E67A277F8E1FA
GPG Key Fingerprint: D206 BB45 15E0 9C49 0CF9  3633 C85B 0AF8 AB23 0FB2
https://git-01.md.hardenedbsd.org/HardenedBSD/pubkeys/src/branch/master/Shawn_Webb/03A4CBEBB82EA5A67D9F3853FF2E67A277F8E1FA.pub.asc


signature.asc
Description: PGP signature