Win32: problem with tinc-up script

borg at uu3.net borg at uu3.net
Sun Oct 9 14:27:17 CEST 2016


Hello.

Yet again I fight with tinc-up script on windows.
Long time ago I added hastly commit to fix it:
f61fd437ca36ff03cd669726894a09ae4e128427

Unfortunately, its not enough.. So I decided to change aproach.
Here it is: git://borg.uu3.net/OEM/tinc.git
branch: tap_wait

Im using iphlpapi to wait for windows IP stack to settle
with newly initialized device. After that, when tinc-up
is called, you can for example add extra routing.
Without this, any route command will simply fail.

There is at least one problem. Tinc will hang when
user will use always connected TAP configuration.
Work around for that is to get info about media always
connected and just do not wait. I could not find
a easy way to do so tought.

Please do NOT merge it. While it works it needs futher
discussion how to handle that issue under windows.

Regards,
Borg



More information about the tinc-devel mailing list