Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-08-03 | tun: windows: spin for only a millisecond/80 | Jason A. Donenfeld | |
Performance stays the same as before. | |||
2019-08-02 | wintun: merge opening device registry key | Simon Rozman | |
This also introduces waiting for key to appear on initial access. See if this resolves the issue caused by HDD power-up delay resulting in failure to create the adapter. Signed-off-by: Simon Rozman <simon@rozman.si> | |||
2019-08-02 | wintun: simplify checking reboot requirement | Simon Rozman | |
We never checked checkReboot() reported error anyway. Signed-off-by: Simon Rozman <simon@rozman.si> | |||
2019-08-02 | wintun: refactor `err == nil` error checking | Simon Rozman | |
Signed-off-by: Simon Rozman <simon@rozman.si> | |||
2019-08-02 | wintun: handle error for deadgwdetect | Jason A. Donenfeld | |
2019-08-02 | tun: darwin: do not attempt to close tun.event twice | Jason A. Donenfeld | |
Previously it was possible for this to race. It turns out we really don't need to set anything to -1 anyway. | |||
2019-07-23 | wintun: get interface path properly with cfgmgr | Jason A. Donenfeld | |
2019-07-23 | tun: windows: style | Jason A. Donenfeld | |
2019-07-23 | wintun: simplify resolution of dev node | Jason A. Donenfeld | |
2019-07-22 | wintun: enable sharing of pnp node | 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 | wintun: calculate path of NDIS device object symbolic link | Jason A. Donenfeld | |
2019-07-18 | tun: openbsd: don't change MTU when it's already the expected size | Michael Zeltner | |
Allows for running wireguard-go as non-root user. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | |||
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-11 | wintun: increase registry timeout | Jason A. Donenfeld | |
2019-06-10 | wintun: add helper for cleaning up | Jason A. Donenfeld | |
2019-06-10 | wintun: simplify error matching and remove dumb comments | Jason A. Donenfeld | |
2019-06-10 | wintun: fix comments and remove hwnd param | Jason A. Donenfeld | |
This now looks more idiomatic. | |||
2019-06-10 | setupapi: add SetDeviceRegistryPropertyString description | Simon Rozman | |
Signed-off-by: Simon Rozman <simon@rozman.si> | |||
2019-06-10 | setupapi: unify ERROR_INSUFFICIENT_BUFFER handling | Simon Rozman | |
Signed-off-by: Simon Rozman <simon@rozman.si> | |||
2019-06-10 | wintun: allow controlling GUID | Jason A. Donenfeld | |
2019-06-10 | setupapi: add DeviceInstanceID() | Jason A. Donenfeld | |
2019-06-06 | global: fixup TODO comment spacing | Jason A. Donenfeld | |
2019-06-06 | wintun: guid functions are upstream | Jason A. Donenfeld | |
2019-06-06 | wintun: simplify DeleteInterface method signature | Simon Rozman | |
Signed-off-by: Simon Rozman <simon@rozman.si> | |||
2019-06-05 | wintun: don't run HrRenameConnection in separate thread | Jason A. Donenfeld | |
It's very slow, but unfortunately we haven't a choice. NLA needs this to have completed. | |||
2019-06-05 | tun: windows: obsolete 256 packets per exchange buffer limitation | Simon Rozman | |
Signed-off-by: Simon Rozman <simon@rozman.si> | |||
2019-06-04 | setupapi, wintun: replace syscall with golang.org/x/sys/windows | Simon Rozman | |
Signed-off-by: Simon Rozman <simon@rozman.si> | |||
2019-06-04 | wintun: set DI_QUIETINSTALL flag for GUI-less device management | Simon Rozman | |
Signed-off-by: Simon Rozman <simon@rozman.si> | |||
2019-06-04 | setupapi: define PropChangeParams struct | Simon Rozman | |
This structure is required for calling DIF_PROPERTYCHANGE installer class. 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-29 | device, tun: rearrange code and fix device tests | Matt Layher | |
Signed-off-by: Matt Layher <mdlayher@gmail.com> | |||
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-23 | wintun: never return nil, nil | Jason A. Donenfeld | |
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 | |