Re: wireguard-go on windows

2021-09-12 Thread Devanath S
Hi All,, I am trying to run wireguard-go (using "golang.zx2c4.com/wireguard/wgctrl" for configure) on container-optimized os on GCP and I am facing the below issue. The same works on ubuntu/centos etc 1) Wireguard device creation and tunnel gets created as required. It works as expected 2) When t

Re: wireguard-go on windows

2021-02-26 Thread Devanath S
Hi Jason/Matt, I could try running any debug binaries or debug patches, that you want to run to troubleshoot the issue. Plz, advice. Regards, Dev On Thu, Feb 25, 2021 at 12:15 PM Matt Layher wrote: > > A glance at > https://github.com/WireGuard/wgctrl-go/blob/master/internal/wguser/parse.go#L4

Re: wireguard-go on windows

2021-02-25 Thread Matt Layher
A glance at https://github.com/WireGuard/wgctrl-go/blob/master/internal/wguser/parse.go#L48 seems to indicate that we treat the first "blank" line produced by bufio.Scanner (which strips \n) as a sentinel to stop parsing, which would mean something like "errno=0\n\n" would parse the errno and b

Re: wireguard-go on windows

2021-02-25 Thread Jason A. Donenfeld
+ Matt Layher Hi Davanath, > We are trying to use wgctrl way of configuring the wireguard devices > and facing issues while creating/configuring the wireguard device on > windows. > > 1) First problem was while creating the wintun device using wintun.dll > and using wgctrl for configuring it. It

Fwd: wireguard-go on windows

2021-02-25 Thread Devanath S
Hi Jason, Thank you for your prompt response. We are trying to use wgctrl way of configuring the wireguard devices and facing issues while creating/configuring the wireguard device on windows. 1) First problem was while creating the wintun device using wintun.dll and using wgctrl for configuring

Re: wireguard-go on windows

2021-02-25 Thread Jason A. Donenfeld
I'm curious to learn what you're trying to debug this way; you're better off using wireguard-windows. The pipe permissions are too strict internally, it appears. Try running as Local System. Jason

wireguard-go on windows

2021-02-25 Thread Devanath S
Hi All, I am trying to run wireguard-go on windows for debugging purpose only and seem to get the below error. Login user is local admin on the box and it is run as administrator. Plz advice. c:\Go\wire-win\wireguard-go>.\wireguard.exe wg0 Warning: this is a test program for Windows, mai