Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | tun: windows: unify error message format | 2019-09-08 | 1 | -2/+2 | |
| | |||||
* | wintun: take mutex so that deletion uses the right name | 2019-08-30 | 1 | -7/+1 | |
| | |||||
* | wintun: move ring constants into module | 2019-08-29 | 1 | -94/+34 | |
| | |||||
* | wintun: Wintun->Interface | 2019-08-29 | 1 | -10/+10 | |
| | |||||
* | wintun: introduce adapter pools | 2019-08-29 | 1 | -5/+5 | |
| | | | | | | This makes wintun package reusable for non-WireGuard applications. Signed-off-by: Simon Rozman <simon@rozman.si> | ||||
* | wintun: make description consistent across fields | 2019-08-24 | 1 | -1/+1 | |
| | |||||
* | tun: windows: don't spin unless we really need it | 2019-08-19 | 1 | -10/+42 | |
| | |||||
* | tun: windows: spin for only a millisecond/80 | 2019-08-03 | 1 | -1/+1 | |
| | | | | Performance stays the same as before. | ||||
* | tun: windows: style | 2019-07-23 | 1 | -1/+1 | |
| | |||||
* | tun: windows: close event handle on shutdown | 2019-07-22 | 1 | -0/+1 | |
| | |||||
* | tun: windows: get rid of retry logic | 2019-07-19 | 1 | -213/+91 | |
| | | | | Things work fine on Windows 8. | ||||
* | tun: windows: use specific IOCTL code | 2019-07-19 | 1 | -1/+1 | |
| | |||||
* | tun: windows: open file at startup time | 2019-07-18 | 1 | -0/+9 | |
| | |||||
* | tun: windows: silently drop packet when ring is full | 2019-07-18 | 1 | -2/+2 | |
| | |||||
* | tun: windows: switch to NDIS device object | 2019-07-18 | 1 | -2/+6 | |
| | |||||
* | tun: windows: spin for a bit before falling back to event object | 2019-07-18 | 1 | -4/+19 | |
| | |||||
* | tun: windows: implement ring buffers | 2019-07-17 | 1 | -186/+184 | |
| | | | | Signed-off-by: Simon Rozman <simon@rozman.si> | ||||
* | tun: windows: registration of write buffer no longer required | 2019-07-05 | 1 | -12/+1 | |
| | |||||
* | tun: windows: decrease alignment to 4 | 2019-07-05 | 1 | -3/+3 | |
| | |||||
* | tun: windows: delay initial write | 2019-07-04 | 1 | -16/+22 | |
| | | | | Otherwise we provoke Wintun 0.3. | ||||
* | tun: windows: packetNum is unused | 2019-07-01 | 1 | -3/+0 | |
| | |||||
* | tun: windows: inform wintun of maximum buffer length for writes | 2019-06-26 | 1 | -0/+6 | |
| | |||||
* | tun: windows: never retry open on Windows 10 | 2019-06-18 | 1 | -3/+12 | |
| | |||||
* | tun: remove TUN prefix from types to reduce stutter elsewhere | 2019-06-14 | 1 | -5/+5 | |
| | | | | Signed-off-by: Matt Layher <mdlayher@gmail.com> | ||||
* | wintun: fix comments and remove hwnd param | 2019-06-10 | 1 | -5/+5 | |
| | | | | This now looks more idiomatic. | ||||
* | wintun: allow controlling GUID | 2019-06-10 | 1 | -1/+9 | |
| | |||||
* | global: fixup TODO comment spacing | 2019-06-06 | 1 | -1/+1 | |
| | |||||
* | wintun: simplify DeleteInterface method signature | 2019-06-06 | 1 | -2/+2 | |
| | | | | Signed-off-by: Simon Rozman <simon@rozman.si> | ||||
* | tun: windows: obsolete 256 packets per exchange buffer limitation | 2019-06-05 | 1 | -2/+1 | |
| | | | | Signed-off-by: Simon Rozman <simon@rozman.si> | ||||
* | tun: windows: mitigate infinite loop in Flush() | 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 / | 2019-05-26 | 1 | -1/+1 | |
| | |||||
* | wintun: revise GetInterface() | 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 | 2019-05-22 | 1 | -1/+1 | |
| | | | | Signed-off-by: Simon Rozman <simon@rozman.si> | ||||
* | wintun: don't try to flush interface, but rather delete | 2019-05-17 | 1 | -16/+8 | |
| | |||||
* | wintun: make certain methods private | 2019-05-17 | 1 | -10/+3 | |
| | |||||
* | wintun: change acronyms to uppercase | 2019-05-17 | 1 | -5/+5 | |
| | | | | Signed-off-by: Simon Rozman <simon@rozman.si> | ||||
* | wintun: add LUID accessor | 2019-05-10 | 1 | -0/+7 | |
| | |||||
* | wintun: wait for interface registry key on device creation | 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 | 2019-05-03 | 1 | -16/+28 | |
| | |||||
* | tun: windows: Adopt new error codes returned by Wintun | 2019-04-11 | 1 | -3/+2 | |
| | | | | Signed-off-by: Simon Rozman <simon@rozman.si> | ||||
* | tun: windows: do not sleep after OPERATION_ABORTED on write | 2019-04-11 | 1 | -2/+1 | |
| | | | | Signed-off-by: Simon Rozman <simon@rozman.si> | ||||
* | tun: windows: do not sleep after OPERATION_ABORTED | 2019-04-09 | 1 | -2/+1 | |
| | |||||
* | tun: windows: Retry R/W on ERROR_OPERATION_ABORTED | 2019-04-04 | 1 | -18/+44 | |
| | | | | Signed-off-by: Simon Rozman <simon@rozman.si> | ||||
* | tun: windows: Attempt to reopen handle on all errors | 2019-04-03 | 1 | -15/+9 | |
| | | | | Signed-off-by: Simon Rozman <simon@rozman.si> | ||||
* | wintun: add more retry loops | 2019-04-01 | 1 | -12/+5 | |
| | |||||
* | tun: windows: cancel ongoing reads on closing and delete after close | 2019-03-26 | 1 | -4/+11 | |
| | | | | | This reverts commit 52ec440d7977fad966002c3710ed9df957943407 and adds some spice. | ||||
* | tun: windows: delete interface before deleting file handles | 2019-03-22 | 1 | -9/+4 | |
| | |||||
* | tun: windows: Make adapter rename asynchronous | 2019-03-22 | 1 | -5/+12 | |
| | | | | Signed-off-by: Simon Rozman <simon@rozman.si> | ||||
* | tun: windows: Adapter devices renamed to WINTUN<LUID Index> | 2019-03-22 | 1 | -1/+1 | |
| | | | | Signed-off-by: Simon Rozman <simon@rozman.si> | ||||
* | tun: windows: Increase unavailable adapter timeout to 30sec | 2019-03-22 | 1 | -1/+1 | |
| | | | | | | 5 seconds was too short when debugging. Signed-off-by: Simon Rozman <simon@rozman.si> |