WireGuard for Windows tunnel deactivation after prolonged resolution failure during startup

Jason A. Donenfeld Jason at zx2c4.com
Fri Jan 29 00:54:33 UTC 2021


On Fri, Jan 29, 2021 at 1:39 AM Mike O'Connor <mike at pineview.net> wrote:
>
> Hi Jason
>
> I'm not a windows users so can not test, but it seems to me that
> Microsoft have API's to indicate the network status.
>
> This to indicate if there is a connection
> https://docs.microsoft.com/en-us/windows/win32/api/wininet/nf-wininet-internetgetconnectedstate
> This to indicate if there is route-able service. It seem this is
> deprecated for windows 10.
> https://docs.microsoft.com/en-us/windows/win32/api/wininet/nf-wininet-internetcheckconnectiona
> There is reference to a win10 version, in the notes.

Yes, these functions are already used in the existing algorithm. That
doesn't answer any of the questions raised, however.


More information about the WireGuard mailing list