Win32: problem with tinc-up script

borg at uu3.net borg at uu3.net
Sun Oct 9 16:55:01 CEST 2016


I added Web Browser so everyone can peek at commit
without cloning whole repo:
http://borg.uu3.net/cgit/cgit.cgi/OEM/tinc/log/?h=tap_wait

---------- Original message ----------

From: borg at uu3.net
To: tinc-devel at tinc-vpn.org
Subject: Win32: problem with tinc-up script
Date: Sun, 9 Oct 2016 14:27:17 +0200 (CEST)
Message-ID: <Pine.LNX.4.64.1610091400130.16372 at cube>

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

_______________________________________________
tinc-devel mailing list
tinc-devel at tinc-vpn.org
https://www.tinc-vpn.org/cgi-bin/mailman/listinfo/tinc-devel


More information about the tinc-devel mailing list