Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-11-22 | wintun: manage ring memory manually | Jason A. Donenfeld | |
It's large and Go's garbage collector doesn't deal with it especially well. | |||
2019-10-17 | tun: match windows CreateTUN signature to the Linux variant | Avery Pennarun | |
Signed-off-by: Avery Pennarun <apenwarr@gmail.com> [zx2c4: fix default value] | |||
2019-10-08 | wintun: expose version | Jason A. Donenfeld | |
2019-09-08 | tun: windows: unify error message format | Jason A. Donenfeld | |
2019-08-30 | wintun: take mutex so that deletion uses the right name | Jason A. Donenfeld | |
2019-08-29 | wintun: move ring constants into module | Jason A. Donenfeld | |
2019-08-29 | wintun: Wintun->Interface | Jason A. Donenfeld | |
2019-08-29 | wintun: introduce adapter pools | Simon Rozman | |
This makes wintun package reusable for non-WireGuard applications. Signed-off-by: Simon Rozman <simon@rozman.si> | |||
2019-08-24 | wintun: make description consistent across fields | Jason A. Donenfeld | |
2019-08-19 | tun: windows: don't spin unless we really need it | Jason A. Donenfeld | |
2019-08-03 | tun: windows: spin for only a millisecond/80 | Jason A. Donenfeld | |
Performance stays the same as before. | |||
2019-07-23 | tun: windows: style | Jason A. Donenfeld | |
2019-07-22 | tun: windows: close event handle on shutdown | Jason A. Donenfeld | |
2019-07-19 | tun: windows: get rid of retry logic | Jason A. Donenfeld | |
Things work fine on Windows 8. | |||
2019-07-19 | tun: windows: use specific IOCTL code | Jason A. Donenfeld | |
2019-07-18 | tun: windows: open file at startup time | Jason A. Donenfeld | |
2019-07-18 | tun: windows: silently drop packet when ring is full | Jason A. Donenfeld | |
2019-07-18 | tun: windows: switch to NDIS device object | Jason A. Donenfeld | |
2019-07-18 | tun: windows: spin for a bit before falling back to event object | Jason A. Donenfeld | |
2019-07-17 | tun: windows: implement ring buffers | Simon Rozman | |
Signed-off-by: Simon Rozman <simon@rozman.si> | |||
2019-07-05 | tun: windows: registration of write buffer no longer required | Jason A. Donenfeld | |
2019-07-05 | tun: windows: decrease alignment to 4 | Jason A. Donenfeld | |
2019-07-04 | tun: windows: delay initial write | Jason A. Donenfeld | |
Otherwise we provoke Wintun 0.3. | |||
2019-07-01 | tun: windows: packetNum is unused | Jason A. Donenfeld | |
2019-06-26 | tun: windows: inform wintun of maximum buffer length for writes | Jason A. Donenfeld | |
2019-06-18 | tun: windows: never retry open on Windows 10 | Jason A. Donenfeld | |
2019-06-14 | tun: remove TUN prefix from types to reduce stutter elsewhere | Matt Layher | |
Signed-off-by: Matt Layher <mdlayher@gmail.com> | |||
2019-06-10 | wintun: fix comments and remove hwnd param | Jason A. Donenfeld | |
This now looks more idiomatic. | |||
2019-06-10 | wintun: allow controlling GUID | Jason A. Donenfeld | |
2019-06-06 | global: fixup TODO comment spacing | Jason A. Donenfeld | |
2019-06-06 | wintun: simplify DeleteInterface method signature | Simon Rozman | |
Signed-off-by: Simon Rozman <simon@rozman.si> | |||
2019-06-05 | tun: windows: obsolete 256 packets per exchange buffer limitation | Simon Rozman | |
Signed-off-by: Simon Rozman <simon@rozman.si> | |||
2019-05-31 | tun: windows: mitigate infinite loop in Flush() | Jason A. Donenfeld | |
It's possible that for whatever reason, we keep returning EOF, resulting in repeated close/open/write operations, except with empty packets. | |||
2019-05-26 | wintun: remove extra / | Jason A. Donenfeld | |
2019-05-24 | wintun: revise GetInterface() | Simon Rozman | |
- 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> | |||
2019-05-22 | setupapi: trim "Get" from getters | Simon Rozman | |
Signed-off-by: Simon Rozman <simon@rozman.si> | |||
2019-05-17 | wintun: don't try to flush interface, but rather delete | Jason A. Donenfeld | |
2019-05-17 | wintun: make certain methods private | Jason A. Donenfeld | |
2019-05-17 | wintun: change acronyms to uppercase | Simon Rozman | |
Signed-off-by: Simon Rozman <simon@rozman.si> | |||
2019-05-10 | wintun: add LUID accessor | Jason A. Donenfeld | |
2019-05-10 | wintun: wait for interface registry key on device creation | Simon Rozman | |
By using RegNotifyChangeKeyValue(). Also disable dead gateway detection. Signed-off-by: Simon Rozman <simon@rozman.si> | |||
2019-05-03 | wintun: work around GetInterface staleness bug | Jason A. Donenfeld | |
2019-04-11 | tun: windows: Adopt new error codes returned by Wintun | Simon Rozman | |
Signed-off-by: Simon Rozman <simon@rozman.si> | |||
2019-04-11 | tun: windows: do not sleep after OPERATION_ABORTED on write | Simon Rozman | |
Signed-off-by: Simon Rozman <simon@rozman.si> | |||
2019-04-09 | tun: windows: do not sleep after OPERATION_ABORTED | Jason A. Donenfeld | |
2019-04-04 | tun: windows: Retry R/W on ERROR_OPERATION_ABORTED | Simon Rozman | |
Signed-off-by: Simon Rozman <simon@rozman.si> | |||
2019-04-03 | tun: windows: Attempt to reopen handle on all errors | Simon Rozman | |
Signed-off-by: Simon Rozman <simon@rozman.si> | |||
2019-04-01 | wintun: add more retry loops | Jason A. Donenfeld | |
2019-03-26 | tun: windows: cancel ongoing reads on closing and delete after close | Jason A. Donenfeld | |
This reverts commit 52ec440d7977fad966002c3710ed9df957943407 and adds some spice. | |||
2019-03-22 | tun: windows: delete interface before deleting file handles | Jason A. Donenfeld | |