| Age | Commit message (Collapse) | Author |
|
there seems to be no point in adding support for partial read from the
TAP, as there is no delimiter and we get data on a per-frame level.
git-svn-id: https://gnunet.org/svn/gnunet@25966 140774ce-b5e7-0310-ab8b-a85725594a96
|
|
git-svn-id: https://gnunet.org/svn/gnunet@25964 140774ce-b5e7-0310-ab8b-a85725594a96
|
|
added check if we are running on a win32/wow64/win64 host system.
git-svn-id: https://gnunet.org/svn/gnunet@25959 140774ce-b5e7-0310-ab8b-a85725594a96
|
|
git-svn-id: https://gnunet.org/svn/gnunet@25956 140774ce-b5e7-0310-ab8b-a85725594a96
|
|
removed a few obsolete variables
git-svn-id: https://gnunet.org/svn/gnunet@25954 140774ce-b5e7-0310-ab8b-a85725594a96
|
|
git-svn-id: https://gnunet.org/svn/gnunet@25952 140774ce-b5e7-0310-ab8b-a85725594a96
|
|
git-svn-id: https://gnunet.org/svn/gnunet@25885 140774ce-b5e7-0310-ab8b-a85725594a96
|
|
named pipes
moved declaration of hdr outside of the ifs
fixed an incorrect comparison introduced in last commit
git-svn-id: https://gnunet.org/svn/gnunet@25884 140774ce-b5e7-0310-ab8b-a85725594a96
|
|
consistent
attept_write now properly resets the read facility to IOSTATE_RESUME, in
case read was stalled because write was busy
git-svn-id: https://gnunet.org/svn/gnunet@25883 140774ce-b5e7-0310-ab8b-a85725594a96
|
|
git-svn-id: https://gnunet.org/svn/gnunet@25882 140774ce-b5e7-0310-ab8b-a85725594a96
|
|
git-svn-id: https://gnunet.org/svn/gnunet@25873 140774ce-b5e7-0310-ab8b-a85725594a96
|
|
git-svn-id: https://gnunet.org/svn/gnunet@25872 140774ce-b5e7-0310-ab8b-a85725594a96
|
|
woops logics bug discovered: when read goes into waiting, the output
facility will
not transfer the input buffer and forget about it silently...
git-svn-id: https://gnunet.org/svn/gnunet@25871 140774ce-b5e7-0310-ab8b-a85725594a96
|
|
newly set IP addresses now should expire upon reboot (buggy on some
windows, but at least it solves the IP-persistence issues in win7 and
above)
cloned read functions to properly apply or strip the gnunet message
header
removed the status BOOL from the overlapped struct and made it local
some fixes here and there
added a lot of comments
style adjustments
TODO:
* actually strip the gnunet message header or apply it again
* test with the main vpn binary
git-svn-id: https://gnunet.org/svn/gnunet@25870 140774ce-b5e7-0310-ab8b-a85725594a96
|
|
* added functionality to remove ip addresses from our interfaces
* some formatting work
* added rety-loop for the interface-name resolver (retry up to 30
seconds)
* set new ipv4/v6 addresses to be forgotten on bootup (store=active)
* adjusted some debug output (added a few \n here and there)
git-svn-id: https://gnunet.org/svn/gnunet@25816 140774ce-b5e7-0310-ab8b-a85725594a96
|
|
git-svn-id: https://gnunet.org/svn/gnunet@25809 140774ce-b5e7-0310-ab8b-a85725594a96
|
|
Registry is extremely slow at refreshing. inserted a makeshift sleep(5)
to avoid retrieving outdated interface-information.
added proper return-codes to set_address4/6
fixed incorrect string-length handling for the HWID tags
updatedriverforplugandplaydevicesa now updates only the driver for our
current device, no longer the other siblings too (for >10 devices,
this could easily have taken > 60 seconds! ).
removed inet_pton, as we require API version XPSP2 anyway.
git-svn-id: https://gnunet.org/svn/gnunet@25805 140774ce-b5e7-0310-ab8b-a85725594a96
|
|
mandatory when adding a new device node. unfortunately this is pretty
slow...
added new required include+library to link against: newdev.h/dll
git-svn-id: https://gnunet.org/svn/gnunet@25802 140774ce-b5e7-0310-ab8b-a85725594a96
|
|
git-svn-id: https://gnunet.org/svn/gnunet@25801 140774ce-b5e7-0310-ab8b-a85725594a96
|
|
git-svn-id: https://gnunet.org/svn/gnunet@25800 140774ce-b5e7-0310-ab8b-a85725594a96
|
|
added teardown functionality.
now: testing...
git-svn-id: https://gnunet.org/svn/gnunet@25799 140774ce-b5e7-0310-ab8b-a85725594a96
|
|
the same way as we can read from our TAP.
added high-level description of attempt_read
git-svn-id: https://gnunet.org/svn/gnunet@25743 140774ce-b5e7-0310-ab8b-a85725594a96
|
|
handed down as pipes.
helper will reopen stdin and stdout in overlapped mode. ReOpenFile
requires WinXPSP2 or Win2003SP1.
git-svn-id: https://gnunet.org/svn/gnunet@25741 140774ce-b5e7-0310-ab8b-a85725594a96
|
|
differently(in contrast to *nix). overlapping does not exist for console
handles, and different functions are required to read/write/poll
stdin/out.
- THus, we can now detect the type of handle we got as
stdin/stdout from our calling process.
- Did a bit of refactoring.
next: add logics to use the proper access mode depending on our handletype.
git-svn-id: https://gnunet.org/svn/gnunet@25737 140774ce-b5e7-0310-ab8b-a85725594a96
|
|
more research on the conin/stdin+overlapping issue.
git-svn-id: https://gnunet.org/svn/gnunet@25713 140774ce-b5e7-0310-ab8b-a85725594a96
|
|
* ready (to do work),
* queued (waiting for async-io to return),
* waiting (a read-facilities wait for its output partner to get process)
* failed (if a socket error occured)
added attempt_tap_read machine.
reworked run() for overlapped IO
git-svn-id: https://gnunet.org/svn/gnunet@25683 140774ce-b5e7-0310-ab8b-a85725594a96
|
|
git-svn-id: https://gnunet.org/svn/gnunet@25677 140774ce-b5e7-0310-ab8b-a85725594a96
|
|
* started work on our select-equivalent for windows.
git-svn-id: https://gnunet.org/svn/gnunet@25668 140774ce-b5e7-0310-ab8b-a85725594a96
|
|
Only version 9.8 and later support IPv6, 9.8 is broken with IPv4. Thus,
we are using the same minium version as openvpn 2.3: tap32-9.9
* created our TAP/TUN handle-object (equivalent to the *nix init_tun()
function), this still requires some more logics to be
complete.
* added logics to set the tun up (+a fixed sleep, to wait for it to
come up)
* we now also store the device's GUID, as we need it for creating the
handle.
* added the exports of tap32: src/include/tap_windows.h , for the sake
of upgradability. This file contains version-specific defines for the
driver.
* happy new year!
git-svn-id: https://gnunet.org/svn/gnunet@25667 140774ce-b5e7-0310-ab8b-a85725594a96
|
|
according to recommendations found in the C/C++-specs(wchar !=
unicode support, but may break compiler compatibility).
git-svn-id: https://gnunet.org/svn/gnunet@25665 140774ce-b5e7-0310-ab8b-a85725594a96
|
|
git-svn-id: https://gnunet.org/svn/gnunet@25438 140774ce-b5e7-0310-ab8b-a85725594a96
|
|
netsh.
Added wrapper for launching programs in a windows shell.
Added define for _tpopen
git-svn-id: https://gnunet.org/svn/gnunet@25432 140774ce-b5e7-0310-ab8b-a85725594a96
|
|
finding anything. Switched over to backup plan:
* lookup the devices's name directly in registry via the PNPInterfaceID. Registry fun, yey!
* added a few fixes here and there
git-svn-id: https://gnunet.org/svn/gnunet@25401 140774ce-b5e7-0310-ab8b-a85725594a96
|
|
the registry. This information is needed for netsh later on.
git-svn-id: https://gnunet.org/svn/gnunet@25378 140774ce-b5e7-0310-ab8b-a85725594a96
|
|
virtual interface again. Needed, because netsh requires us to resolve
the devices name as string, which can not be derived off the
deviceinfoset directly.
we are now using the handed over devicename + our PID
the result looks something like this: gnunet-vpn13381
git-svn-id: https://gnunet.org/svn/gnunet@25336 140774ce-b5e7-0310-ab8b-a85725594a96
|
|
added some fixes here and there. added more comments to the code.
git-svn-id: https://gnunet.org/svn/gnunet@25309 140774ce-b5e7-0310-ab8b-a85725594a96
|
|
git-svn-id: https://gnunet.org/svn/gnunet@25286 140774ce-b5e7-0310-ab8b-a85725594a96
|
|
the win32 vpn-helper.
git-svn-id: https://gnunet.org/svn/gnunet@25249 140774ce-b5e7-0310-ab8b-a85725594a96
|
|
win32 based on the info that can be found in the MSDN.
Current revision: http://msdn.microsoft.com/en-us/library/windows/hardware/ff549791%28v=vs.85%29.aspx
git-svn-id: https://gnunet.org/svn/gnunet@25209 140774ce-b5e7-0310-ab8b-a85725594a96
|
|
git-svn-id: https://gnunet.org/svn/gnunet@25133 140774ce-b5e7-0310-ab8b-a85725594a96
|
|
- modified vpn-makefile definitions to process gnunet-helper-vpn-windows
instead of the regular one when using mingw as toolchain
git-svn-id: https://gnunet.org/svn/gnunet@24991 140774ce-b5e7-0310-ab8b-a85725594a96
|
|
git-svn-id: https://gnunet.org/svn/gnunet@24719 140774ce-b5e7-0310-ab8b-a85725594a96
|
|
git-svn-id: https://gnunet.org/svn/gnunet@24693 140774ce-b5e7-0310-ab8b-a85725594a96
|
|
git-svn-id: https://gnunet.org/svn/gnunet@24682 140774ce-b5e7-0310-ab8b-a85725594a96
|
|
updating code to run binaries from new location, which is no longer in PATH
git-svn-id: https://gnunet.org/svn/gnunet@24593 140774ce-b5e7-0310-ab8b-a85725594a96
|
|
git-svn-id: https://gnunet.org/svn/gnunet@24573 140774ce-b5e7-0310-ab8b-a85725594a96
|
|
git-svn-id: https://gnunet.org/svn/gnunet@24237 140774ce-b5e7-0310-ab8b-a85725594a96
|
|
git-svn-id: https://gnunet.org/svn/gnunet@24216 140774ce-b5e7-0310-ab8b-a85725594a96
|
|
git-svn-id: https://gnunet.org/svn/gnunet@23777 140774ce-b5e7-0310-ab8b-a85725594a96
|
|
git-svn-id: https://gnunet.org/svn/gnunet@23497 140774ce-b5e7-0310-ab8b-a85725594a96
|