Re: WireGuard root-less support for android

2017-11-07 Thread Samuel Holland
Hello, On 11/06/17 22:38, Aurélien Chabot wrote: I worked on a set of change to add root-less support of WireGuard for android. The solution I choose is to use the wireguard-go library inside the android application. Golang as a mechanism to export some native binding quite easily to java.

Windows Subsystem for Linux & wireguard

2017-11-07 Thread Michał Kowalski
Hi I s it possible to create interface for wiregurad in Windows Subsystem for Linux (e.g UBUNTU) ? Regards, Michal ___ WireGuard mailing list WireGuard@lists.zx2c4.com https://lists.zx2c4.com/mailman/listinfo/wireguard

Re: Production usage of Wireguard

2017-11-07 Thread Fredrik Strömberg
On Tue, Nov 7, 2017 at 10:38 AM, Greg KH wrote: > On Mon, Nov 06, 2017 at 09:41:18PM +, Ferris Ellis wrote: >> Hello Wireguard mailing list! >> >> I have been very interested in the WireGuard project for a little while now >> and am in the process of evaluating it.

WireGuard-Go Android support

2017-11-07 Thread Aurélien Chabot
Hi, This is a set of patch the wireguard-go project adding some needed stuff to have android support.  The idea is to use the wireguard-go project as a library that is exposed with a "gomobile" binding to an android application. I posted a set of patch on the wireguard-android project too and it

[PATCH 2/2] Add android support

2017-11-07 Thread Aurélien Chabot
Signed-off-by: Aurélien Chabot --- src/wireguard/conn.go | 16 ++ src/wireguard/device.go| 1 + src/wireguard/send.go | 77 +- src/wireguard/tun_linux.go | 2 ++ src/wireguard/uapi.go | 36

[PATCH 1/2] Put the code in a 'wireguard' go package

2017-11-07 Thread Aurélien Chabot
Signed-off-by: Aurélien Chabot --- src/Makefile| 2 +- src/main.go | 23 --- src/{ => wireguard}/conn.go | 2 +- src/{ => wireguard}/conn_default.go | 2 +- src/{ =>

Re: Production usage of Wireguard

2017-11-07 Thread Outback Dingo
On Tue, Nov 7, 2017 at 10:38 AM, Greg KH wrote: > On Mon, Nov 06, 2017 at 09:41:18PM +, Ferris Ellis wrote: >> Hello Wireguard mailing list! >> >> I have been very interested in the WireGuard project for a little while now >> and am in the process of evaluating it.

Re: WireGuard root-less support for android

2017-11-07 Thread Jason A. Donenfeld
Hi Aurélien, Thanks for this patchset. I'll review it ASAP. As an administrative situation, your set of Go changes will likely need to be merged back up with the official Go repository; putting your fork in the Android one isn't really tenable. So please submit your changes to the wireguard-go

parallel crypto leads to performance degradation

2017-11-07 Thread k
I posted about this problem month ago but nobody replied. This summer WIREGUARD_PARALLEL option was removed and parallel crypto became unconditional. This seems to slow performance 1.5 times on slow 1 core systems such as routers. Task switch eats cpu time. Do you have plans to mitigate this

Re: Production usage of Wireguard

2017-11-07 Thread Jonathon Fernyhough
On 06/11/17 21:41, Ferris Ellis wrote: > I know the project is still young but was > wondering if anyone on the mailing list had started using WireGuard in > production? And, if so, if they’d be willing to share some details about > their use case and experience? > I use on on several

Re: Production usage of Wireguard

2017-11-07 Thread Greg KH
On Mon, Nov 06, 2017 at 09:41:18PM +, Ferris Ellis wrote: > Hello Wireguard mailing list! > > I have been very interested in the WireGuard project for a little while now > and am in the process of evaluating it. While benchmarks and code reviews > are useful, they don’t uncover many of the