wintun.dll + go CreateTun crash
Our project calls
tun.CreateTUN(interfaceName, mtu).
I upgraded to windows 11 tonight and this call now crashes at:
golang.zx2c4.com/[email protected]/tun /wintun/wintun_windows.go:89
which is this system call:
r0, _, e1 := syscall.Syscall(procWintunOpenAdapter.Addr(), 2,
uintptr(unsafe.Pointer(pool)), uintptr(unsafe.Pointer(ifname16)), 0)
I'm going to try to debug why myself but figured I'd reach out to the mailing list in case this was a known issue that's already solved or being worked on?
Thanks (I can supply the full stack if you like but I wouldn't think it'd help and decided to keep this mail shorter)
-Clint
If you're using the latest wireguard-go, make sure you're also using the latest wintun.dll (v0.14 as of writing). You can download the dll from wintun.net.