2009-01-25 21:33:24 +00:00
|
|
|
|
|
|
|
|
|
|
|
iodine - http://code.kryo.se/iodine
|
|
|
|
|
|
|
|
***********************************
|
|
|
|
|
|
|
|
Extra README file for Win32 related stuff
|
|
|
|
|
|
|
|
|
|
|
|
== Running iodine on Windows:
|
|
|
|
1. Install the TAP32 driver
|
2009-06-11 17:23:30 +00:00
|
|
|
http://openvpn.net/index.php/open-source/downloads.html
|
2009-01-25 21:33:24 +00:00
|
|
|
choose OpenVPN 2.0.9 Windows Installer, when installing you can
|
|
|
|
select to install only the TAP driver.
|
|
|
|
|
|
|
|
2. Have one TAP32 interface installed
|
|
|
|
|
|
|
|
3. Name the interface "dns"
|
|
|
|
|
|
|
|
4. Make sure the interface does not have a default gateway set
|
|
|
|
|
|
|
|
5. Run iodine/iodined as normal.
|
2009-06-11 17:23:30 +00:00
|
|
|
You may have to run is as administrator depending on user privileges.
|
2009-01-25 21:33:24 +00:00
|
|
|
|
|
|
|
6. Enjoy!
|
|
|
|
|
|
|
|
|
|
|
|
== Building on Windows:
|
|
|
|
You need:
|
|
|
|
MinGW, MSYS, GCC, zlib
|
|
|
|
|
|
|
|
Then just run make
|
|
|
|
|
|
|
|
|
|
|
|
== Cross-compiling for MinGW:
|
|
|
|
You need:
|
|
|
|
MinGW crosscompiler, crosscompiled zlib
|
|
|
|
|
|
|
|
Then run "make cross-mingw"
|
|
|
|
Note that the binaries will not get a .exe suffix
|
|
|
|
|
|
|
|
|
|
|
|
== Zlib download
|
|
|
|
You can get zlib for MinGW here (both for native and crosscompile):
|
|
|
|
http://code.kryo.se/iodine/deps/zlib.zip
|
|
|
|
Unzip it in your MinGW directory on Windows or in $ROOT/usr for
|
|
|
|
cross-compile.
|
|
|
|
|
|
|
|
|
|
|
|
== Results of crappy Win32 API:
|
|
|
|
The following fixable limitations apply:
|
|
|
|
- Exactly one TAP32 interface must be installed
|
2009-03-21 12:51:59 +00:00
|
|
|
- The TAP32 interface must be named "dns" and be version 0801 or 0901
|
2009-01-25 21:33:24 +00:00
|
|
|
- Server cannot read packet destination address
|
|
|
|
|
|
|
|
The following (probably) un-fixable limitations apply:
|
2009-02-22 16:46:50 +00:00
|
|
|
- A password entered as -P argument can be shown in process list
|
2009-01-25 21:33:24 +00:00
|
|
|
- Priviligies cannot be dropped
|
|
|
|
- chroot() cannot be used
|
|
|
|
- Detaching from terminal not possible
|
|
|
|
- Server on windows must be run with /30 netmask
|
|
|
|
- Client can only talk to server, not other clients
|
|
|
|
|