Wintun and related improvements
-
Reference Wintun in the docs
-
Remove TAP-Windows from the installer
-
If
-inot specified, we shouldn't continue to require TAP-Windows (see #239 (comment 568304674)). Instead, usevpninfo->hostnameas Wintun adapter name, with TAP-Windows as a fallback only -
On my Windows VM, I get permission errors with Wintun unless I run as
Administrator.Is there some
sudo-y thing that TAP-Windows is doing, and Wintun isn't? (Discussions with Wintun devs ongoing.) In the meantime, we should give the user an intelligible error. -
Check for exit status of
vpnc-script, even on Windows. (cf. vpnc-scripts!26 (merged)) -
Remove setting of Legacy IP address from within OpenConnect itself; leave this up to
vpnc-script-win.js(working with the aforementioned branch from vpnc-scripts!26 (merged)). -
add
check_address_conflicts()Detect other adapters with conflicting IPv4/6 addresses, and try to use
DeleteUnicastIpAddressEntryto delete-and-reclaim IP address from a down interface, so thatvpnc-script-win.jswill be able to set that address for the TAP/TUN.