* wintun0.13 memmod load fails in windows10 (wintun 0.12 loads fine)
@ 2021-08-26 13:14 Gopakumar Choorakkot Edakkunni
2021-08-27 14:11 ` Jason A. Donenfeld
0 siblings, 1 reply; 4+ messages in thread
From: Gopakumar Choorakkot Edakkunni @ 2021-08-26 13:14 UTC (permalink / raw)
To: wireguard
In memmod_windows.go, the program exits when calling
syscall.Syscall(module.entry, 3, module.codeBase,
uintptr(DLL_PROCESS_ATTACH), 0)
module.entry = 0x18000a660
module.codebase = 0x180000000
I I just swap out wintun 0.13 with wintun0.12, the load / syscall
works just fine, just for reference the entry and codebase for wintun
0.12 are below
module.entry = 0x18000b64c
module.codebase = 0x180000000
My windows system details are below
Edition Windows 10 Pro
Version 20H2
Installed on 4/3/2021
OS build 19042.1165
Any suggestions to debug further ?
Rgds,
Gopa.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: wintun0.13 memmod load fails in windows10 (wintun 0.12 loads fine)
2021-08-26 13:14 wintun0.13 memmod load fails in windows10 (wintun 0.12 loads fine) Gopakumar Choorakkot Edakkunni
@ 2021-08-27 14:11 ` Jason A. Donenfeld
2021-08-27 14:40 ` Gopakumar Choorakkot Edakkunni
0 siblings, 1 reply; 4+ messages in thread
From: Jason A. Donenfeld @ 2021-08-27 14:11 UTC (permalink / raw)
To: Gopakumar Choorakkot Edakkunni; +Cc: WireGuard mailing list
Update to the latest wireguard-go commit.
https://git.zx2c4.com/wireguard-go/commit/?id=bad6caeb82edd0e22bdbcfa1ca544a5805109e14
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: wintun0.13 memmod load fails in windows10 (wintun 0.12 loads fine)
2021-08-27 14:11 ` Jason A. Donenfeld
@ 2021-08-27 14:40 ` Gopakumar Choorakkot Edakkunni
2021-08-27 14:42 ` Gopakumar Choorakkot Edakkunni
0 siblings, 1 reply; 4+ messages in thread
From: Gopakumar Choorakkot Edakkunni @ 2021-08-27 14:40 UTC (permalink / raw)
To: Jason A. Donenfeld; +Cc: WireGuard mailing list
Thanks for the response Jason. My reason for trying 0.13 version was
because I "thought" 0.12 had some issue because I was seeing random
packet loss (I had another email thread for it) - but then I figured
the random loss was because I was doing a device.New()/device.UP AND
also reading wintun from my own goroutine, so two of them reading same
queue. Now that I fixed it, I am happy with 0.12. I will wait for the
next wintun release which has this memod load issue fixed (0.14 ?) and
upgrade directly to that
Rgds,
Gopa.
On Fri, Aug 27, 2021 at 10:11 AM Jason A. Donenfeld <Jason@zx2c4.com> wrote:
>
> Update to the latest wireguard-go commit.
> https://git.zx2c4.com/wireguard-go/commit/?id=bad6caeb82edd0e22bdbcfa1ca544a5805109e14
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: wintun0.13 memmod load fails in windows10 (wintun 0.12 loads fine)
2021-08-27 14:40 ` Gopakumar Choorakkot Edakkunni
@ 2021-08-27 14:42 ` Gopakumar Choorakkot Edakkunni
0 siblings, 0 replies; 4+ messages in thread
From: Gopakumar Choorakkot Edakkunni @ 2021-08-27 14:42 UTC (permalink / raw)
To: Jason A. Donenfeld; +Cc: WireGuard mailing list
oh well I guess I dont need a new wintun, but just the new wireguard
go. Sorry I misread it, will try that
Rgds,
Gopa.
On Fri, Aug 27, 2021 at 10:40 AM Gopakumar Choorakkot Edakkunni
<gopakumar.c.e@gmail.com> wrote:
>
> Thanks for the response Jason. My reason for trying 0.13 version was
> because I "thought" 0.12 had some issue because I was seeing random
> packet loss (I had another email thread for it) - but then I figured
> the random loss was because I was doing a device.New()/device.UP AND
> also reading wintun from my own goroutine, so two of them reading same
> queue. Now that I fixed it, I am happy with 0.12. I will wait for the
> next wintun release which has this memod load issue fixed (0.14 ?) and
> upgrade directly to that
>
> Rgds,
> Gopa.
>
> On Fri, Aug 27, 2021 at 10:11 AM Jason A. Donenfeld <Jason@zx2c4.com> wrote:
> >
> > Update to the latest wireguard-go commit.
> > https://git.zx2c4.com/wireguard-go/commit/?id=bad6caeb82edd0e22bdbcfa1ca544a5805109e14
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2021-08-27 14:45 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-26 13:14 wintun0.13 memmod load fails in windows10 (wintun 0.12 loads fine) Gopakumar Choorakkot Edakkunni
2021-08-27 14:11 ` Jason A. Donenfeld
2021-08-27 14:40 ` Gopakumar Choorakkot Edakkunni
2021-08-27 14:42 ` Gopakumar Choorakkot Edakkunni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).