0
0
mirror of https://github.com/OpenVPN/openvpn3.git synced 2024-09-20 12:12:15 +02:00
Commit Graph

57 Commits

Author SHA1 Message Date
James Yonan
3c28461021 Windows build script changes:
* Raised minimum deployment target to Vista (from XP).

* Added shell32.lib and ole32.lib to link path to
  accommodate calls to SHGetKnownFolderPath.
2014-02-20 17:27:55 -07:00
James Yonan
b84b48fb75 Ported to Windows.
Implemented full TunClient class for Windows with TAP driver
support.  For now, we use netsh (rather than TAP driver DHCP)
to set all tunnel adapter properties, as this appears to work
great on Windows 7.

IPv6 is fully supported.

Known isues:

* netsh doesn't have a command for adding DNS search domains, so
  we don't support them yet.

* While we always try to remove routes and added properties from
  TAP adapter instance when we close out the session, for robustness,
  when we bring up TAP adapter, we should try to delete any stale
  routes on interface left over from previous session.

* Right now we call netsh with system().  For security and
  compatibility with Windows apps (not only console apps),
  we should use CreateProcess instead.
2014-02-16 01:13:26 -07:00
James Yonan
11be089e3c Updated build system:
* Support VS 2013

To build cli.exe:

1. Edit parms.py

2. Build dependencies (OpenSSL, Boost):
   $ python $O3/win/buildep.py

3. Build cli:
   $ cd $O3/dist
   $ python $O3/win/build.py
2014-02-08 00:13:24 -07:00
James Yonan
3c99b8976b C++ core fixes for Windows. 2012-04-21 04:47:30 +00:00
James Yonan
98b159a35a Added Windows build script 2012-01-27 08:06:44 +00:00
James Yonan
d9e8a028c8 Ported core to Windows except for TAP driver support. 2012-01-25 08:32:27 +00:00
James Yonan
b457ec9d18 Windows build system now builds OpenSSL and Boost. 2012-01-24 23:05:44 +00:00