Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | tun: windows: style | Jason A. Donenfeld | 2019-07-23 | 1 | -1/+1 |
| | |||||
* | tun: windows: close event handle on shutdown | Jason A. Donenfeld | 2019-07-22 | 1 | -0/+1 |
| | |||||
* | tun: windows: get rid of retry logic | Jason A. Donenfeld | 2019-07-19 | 1 | -213/+91 |
| | | | | Things work fine on Windows 8. | ||||
* | tun: windows: use specific IOCTL code | Jason A. Donenfeld | 2019-07-19 | 1 | -1/+1 |
| | |||||
* | tun: windows: open file at startup time | Jason A. Donenfeld | 2019-07-18 | 1 | -0/+9 |
| | |||||
* | tun: windows: silently drop packet when ring is full | Jason A. Donenfeld | 2019-07-18 | 1 | -2/+2 |
| | |||||
* | tun: windows: switch to NDIS device object | Jason A. Donenfeld | 2019-07-18 | 1 | -2/+6 |
| | |||||
* | tun: windows: spin for a bit before falling back to event object | Jason A. Donenfeld | 2019-07-18 | 1 | -4/+19 |
| | |||||
* | tun: windows: implement ring buffers | Simon Rozman | 2019-07-17 | 1 | -186/+184 |
| | | | | Signed-off-by: Simon Rozman <simon@rozman.si> | ||||
* | tun: windows: registration of write buffer no longer required | Jason A. Donenfeld | 2019-07-05 | 1 | -12/+1 |
| | |||||
* | tun: windows: decrease alignment to 4 | Jason A. Donenfeld | 2019-07-05 | 1 | -3/+3 |
| | |||||
* | tun: windows: delay initial write | Jason A. Donenfeld | 2019-07-04 | 1 | -16/+22 |
| | | | | Otherwise we provoke Wintun 0.3. | ||||
* | tun: windows: packetNum is unused | Jason A. Donenfeld | 2019-07-01 | 1 | -3/+0 |
| | |||||
* | tun: windows: inform wintun of maximum buffer length for writes | Jason A. Donenfeld | 2019-06-26 | 1 | -0/+6 |
| | |||||
* | tun: windows: never retry open on Windows 10 | Jason A. Donenfeld | 2019-06-18 | 1 | -3/+12 |
| | |||||
* | tun: remove TUN prefix from types to reduce stutter elsewhere | Matt Layher | 2019-06-14 | 1 | -5/+5 |
| | | | | Signed-off-by: Matt Layher <mdlayher@gmail.com> | ||||
* | wintun: fix comments and remove hwnd param | Jason A. Donenfeld | 2019-06-10 | 1 | -5/+5 |
| | | | | This now looks more idiomatic. | ||||
* | wintun: allow controlling GUID | Jason A. Donenfeld | 2019-06-10 | 1 | -1/+9 |
| | |||||
* | global: fixup TODO comment spacing | Jason A. Donenfeld | 2019-06-06 | 1 | -1/+1 |
| | |||||
* | wintun: simplify DeleteInterface method signature | Simon Rozman | 2019-06-06 | 1 | -2/+2 |
| | | | | Signed-off-by: Simon Rozman <simon@rozman.si> | ||||
* | tun: windows: obsolete 256 packets per exchange buffer limitation | Simon Rozman | 2019-06-05 | 1 | -2/+1 |
| | | | | Signed-off-by: Simon Rozman <simon@rozman.si> | ||||
* | tun: windows: mitigate infinite loop in Flush() | Jason A. Donenfeld | 2019-05-31 | 1 | -29/+35 |
| | | | | | It's possible that for whatever reason, we keep returning EOF, resulting in repeated close/open/write operations, except with empty packets. | ||||
* | wintun: remove extra / | Jason A. Donenfeld | 2019-05-26 | 1 | -1/+1 |
| | |||||
* | wintun: revise GetInterface() | Simon Rozman | 2019-05-24 | 1 | -0/+2 |
| | | | | | | | | | | | - Make foreign interface found error numeric to ease condition detection. - Update GetInterface() documentation. - Make tun.CreateTUN() quit when foreign interface found before attempting to create a Wintun interface with a duplicate name. Creation is futile. Signed-off-by: Simon Rozman <simon@rozman.si> | ||||
* | setupapi: trim "Get" from getters | Simon Rozman | 2019-05-22 | 1 | -1/+1 |
| | | | | Signed-off-by: Simon Rozman <simon@rozman.si> | ||||
* | wintun: don't try to flush interface, but rather delete | Jason A. Donenfeld | 2019-05-17 | 1 | -16/+8 |
| | |||||
* | wintun: make certain methods private | Jason A. Donenfeld | 2019-05-17 | 1 | -10/+3 |
| | |||||
* | wintun: change acronyms to uppercase | Simon Rozman | 2019-05-17 | 1 | -5/+5 |
| | | | | Signed-off-by: Simon Rozman <simon@rozman.si> | ||||
* | wintun: add LUID accessor | Jason A. Donenfeld | 2019-05-10 | 1 | -0/+7 |
| | |||||
* | wintun: wait for interface registry key on device creation | Simon Rozman | 2019-05-10 | 1 | -24/+16 |
| | | | | | | By using RegNotifyChangeKeyValue(). Also disable dead gateway detection. Signed-off-by: Simon Rozman <simon@rozman.si> | ||||
* | wintun: work around GetInterface staleness bug | Jason A. Donenfeld | 2019-05-03 | 1 | -16/+28 |
| | |||||
* | tun: windows: Adopt new error codes returned by Wintun | Simon Rozman | 2019-04-11 | 1 | -3/+2 |
| | | | | Signed-off-by: Simon Rozman <simon@rozman.si> | ||||
* | tun: windows: do not sleep after OPERATION_ABORTED on write | Simon Rozman | 2019-04-11 | 1 | -2/+1 |
| | | | | Signed-off-by: Simon Rozman <simon@rozman.si> | ||||
* | tun: windows: do not sleep after OPERATION_ABORTED | Jason A. Donenfeld | 2019-04-09 | 1 | -2/+1 |
| | |||||
* | tun: windows: Retry R/W on ERROR_OPERATION_ABORTED | Simon Rozman | 2019-04-04 | 1 | -18/+44 |
| | | | | Signed-off-by: Simon Rozman <simon@rozman.si> | ||||
* | tun: windows: Attempt to reopen handle on all errors | Simon Rozman | 2019-04-03 | 1 | -15/+9 |
| | | | | Signed-off-by: Simon Rozman <simon@rozman.si> | ||||
* | wintun: add more retry loops | Jason A. Donenfeld | 2019-04-01 | 1 | -12/+5 |
| | |||||
* | tun: windows: cancel ongoing reads on closing and delete after close | Jason A. Donenfeld | 2019-03-26 | 1 | -4/+11 |
| | | | | | This reverts commit 52ec440d7977fad966002c3710ed9df957943407 and adds some spice. | ||||
* | tun: windows: delete interface before deleting file handles | Jason A. Donenfeld | 2019-03-22 | 1 | -9/+4 |
| | |||||
* | tun: windows: Make adapter rename asynchronous | Simon Rozman | 2019-03-22 | 1 | -5/+12 |
| | | | | Signed-off-by: Simon Rozman <simon@rozman.si> | ||||
* | tun: windows: Adapter devices renamed to WINTUN<LUID Index> | Simon Rozman | 2019-03-22 | 1 | -1/+1 |
| | | | | Signed-off-by: Simon Rozman <simon@rozman.si> | ||||
* | tun: windows: Increase unavailable adapter timeout to 30sec | Simon Rozman | 2019-03-22 | 1 | -1/+1 |
| | | | | | | 5 seconds was too short when debugging. Signed-off-by: Simon Rozman <simon@rozman.si> | ||||
* | tun: windows: Make writing persistent too | Simon Rozman | 2019-03-22 | 1 | -15/+17 |
| | | | | Signed-off-by: Simon Rozman <simon@rozman.si> | ||||
* | tun: windows: Fix paused adapter test | Simon Rozman | 2019-03-22 | 1 | -1/+1 |
| | | | | Signed-off-by: Simon Rozman <simon@rozman.si> | ||||
* | tun: windows: just open two file handles | Jason A. Donenfeld | 2019-03-21 | 1 | -93/+83 |
| | |||||
* | receive: implement flush semantics | Jason A. Donenfeld | 2019-03-21 | 1 | -5/+7 |
| | |||||
* | tun: windows: add dummy overlapped events back | Jason A. Donenfeld | 2019-03-21 | 1 | -2/+21 |
| | | | | These seem basically wrong to me, but we get crashes without them. | ||||
* | tun: windows: use new constants in sys | Jason A. Donenfeld | 2019-03-20 | 1 | -1/+1 |
| | |||||
* | wintun: Use native Win32 API for I/O | Simon Rozman | 2019-03-21 | 1 | -25/+80 |
| | | | | Signed-off-by: Simon Rozman <simon@rozman.si> | ||||
* | tun: windows: wintun does iocp | Jason A. Donenfeld | 2019-03-18 | 1 | -135/+49 |
| |