Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | uapi: skip peers with invalid keys | Jason A. Donenfeld | 2019-08-05 | 2 | -4/+16 |
| | |||||
* | tun: windows: spin for only a millisecond/80 | Jason A. Donenfeld | 2019-08-03 | 1 | -1/+1 |
| | | | | Performance stays the same as before. | ||||
* | wintun: merge opening device registry key | Simon Rozman | 2019-08-02 | 1 | -21/+15 |
| | | | | | | | | | 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> | ||||
* | wintun: simplify checking reboot requirement | Simon Rozman | 2019-08-02 | 1 | -18/+7 |
| | | | | | | We never checked checkReboot() reported error anyway. Signed-off-by: Simon Rozman <simon@rozman.si> | ||||
* | wintun: refactor `err == nil` error checking | Simon Rozman | 2019-08-02 | 2 | -133/+166 |
| | | | | Signed-off-by: Simon Rozman <simon@rozman.si> | ||||
* | wintun: handle error for deadgwdetect | Jason A. Donenfeld | 2019-08-02 | 1 | -2/+3 |
| | |||||
* | tun: darwin: do not attempt to close tun.event twice | Jason A. Donenfeld | 2019-08-02 | 1 | -4/+1 |
| | | | | | Previously it was possible for this to race. It turns out we really don't need to set anything to -1 anyway. | ||||
* | wintun: get interface path properly with cfgmgr | Jason A. Donenfeld | 2019-07-23 | 4 | -30/+93 |
| | |||||
* | tun: windows: style | Jason A. Donenfeld | 2019-07-23 | 1 | -1/+1 |
| | |||||
* | wintun: simplify resolution of dev node | Jason A. Donenfeld | 2019-07-23 | 1 | -13/+10 |
| | |||||
* | wintun: enable sharing of pnp node | Jason A. Donenfeld | 2019-07-22 | 1 | -1/+1 |
| | |||||
* | tun: windows: close event handle on shutdown | Jason A. Donenfeld | 2019-07-22 | 1 | -0/+1 |
| | |||||
* | ipc: windows: match SDDL of WDK and make monkeyable | Jason A. Donenfeld | 2019-07-19 | 1 | -11/+3 |
| | |||||
* | tun: windows: get rid of retry logic | Jason A. Donenfeld | 2019-07-19 | 2 | -218/+100 |
| | | | | Things work fine on Windows 8. | ||||
* | tun: windows: use specific IOCTL code | Jason A. Donenfeld | 2019-07-19 | 1 | -1/+1 |
| | |||||
* | device: do not crash on nil'd bind in windows binding | Jason A. Donenfeld | 2019-07-18 | 1 | -0/+5 |
| | |||||
* | 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 | 2 | -7/+6 |
| | |||||
* | wintun: calculate path of NDIS device object symbolic link | Jason A. Donenfeld | 2019-07-18 | 1 | -0/+20 |
| | |||||
* | tun: openbsd: don't change MTU when it's already the expected size | Michael Zeltner | 2019-07-18 | 1 | -4/+7 |
| | | | | | | Allows for running wireguard-go as non-root user. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> | ||||
* | 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> | ||||
* | device: immediately rekey all peers after changing device private key | Jason A. Donenfeld | 2019-07-11 | 2 | -0/+25 |
| | | | | Reported-by: Derrick Pallas <derrick@pallas.us> | ||||
* | README: update windows info | Jason A. Donenfeld | 2019-07-08 | 1 | -1/+1 |
| | |||||
* | tun: windows: registration of write buffer no longer required | Jason A. Donenfeld | 2019-07-05 | 2 | -14/+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. | ||||
* | device: receive: uniform message for source address check | Jason A. Donenfeld | 2019-07-01 | 1 | -1/+1 |
| | |||||
* | tun: windows: packetNum is unused | Jason A. Donenfeld | 2019-07-01 | 1 | -3/+0 |
| | |||||
* | device: receive: simplify flush loop | Jason A. Donenfeld | 2019-07-01 | 1 | -35/+12 |
| | |||||
* | 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 | 4 | -13/+22 |
| | |||||
* | tun: remove TUN prefix from types to reduce stutter elsewhere | Matt Layher | 2019-06-14 | 10 | -67/+66 |
| | | | | Signed-off-by: Matt Layher <mdlayher@gmail.com> | ||||
* | device: update transfer counters correctly | Jason A. Donenfeld | 2019-06-11 | 3 | -4/+9 |
| | | | | | The rule is to always update them to the full packet size minus UDP/IP encapsulation for all authenticated packet types. | ||||
* | wintun: increase registry timeout | Jason A. Donenfeld | 2019-06-11 | 1 | -1/+1 |
| | |||||
* | wintun: add helper for cleaning up | Jason A. Donenfeld | 2019-06-10 | 1 | -9/+82 |
| | |||||
* | wintun: simplify error matching and remove dumb comments | Jason A. Donenfeld | 2019-06-10 | 1 | -19/+4 |
| | |||||
* | wintun: fix comments and remove hwnd param | Jason A. Donenfeld | 2019-06-10 | 2 | -124/+55 |
| | | | | This now looks more idiomatic. | ||||
* | setupapi: add SetDeviceRegistryPropertyString description | Simon Rozman | 2019-06-10 | 1 | -1/+2 |
| | | | | Signed-off-by: Simon Rozman <simon@rozman.si> | ||||
* | setupapi: unify ERROR_INSUFFICIENT_BUFFER handling | Simon Rozman | 2019-06-10 | 1 | -58/+32 |
| | | | | Signed-off-by: Simon Rozman <simon@rozman.si> | ||||
* | wintun: allow controlling GUID | Jason A. Donenfeld | 2019-06-10 | 2 | -2/+29 |
| | |||||
* | setupapi: add DeviceInstanceID() | Jason A. Donenfeld | 2019-06-10 | 3 | -0/+41 |
| | |||||
* | global: fixup TODO comment spacing | Jason A. Donenfeld | 2019-06-06 | 7 | -11/+11 |
| | |||||
* | wintun: guid functions are upstream | Jason A. Donenfeld | 2019-06-06 | 7 | -120/+14 |
| | |||||
* | wintun: simplify DeleteInterface method signature | Simon Rozman | 2019-06-06 | 2 | -58/+79 |
| | | | | Signed-off-by: Simon Rozman <simon@rozman.si> | ||||
* | wintun: don't run HrRenameConnection in separate thread | Jason A. Donenfeld | 2019-06-05 | 1 | -3/+2 |
| | | | | | It's very slow, but unfortunately we haven't a choice. NLA needs this to have completed. | ||||
* | 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> | ||||
* | setupapi, wintun: replace syscall with golang.org/x/sys/windows | Simon Rozman | 2019-06-04 | 4 | -36/+32 |
| | | | | Signed-off-by: Simon Rozman <simon@rozman.si> | ||||
* | wintun: set DI_QUIETINSTALL flag for GUI-less device management | Simon Rozman | 2019-06-04 | 1 | -3/+26 |
| | | | | Signed-off-by: Simon Rozman <simon@rozman.si> |