Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2019-08-29 | wintun: keep reference to pool in wintun object | Jason A. Donenfeld | 1 | -7/+9 | |
2019-08-29 | wintun: introduce adapter pools | Simon Rozman | 2 | -26/+50 | |
This makes wintun package reusable for non-WireGuard applications. Signed-off-by: Simon Rozman <simon@rozman.si> | |||||
2019-08-28 | wintun: simplify rename logic | Jason A. Donenfeld | 1 | -5/+4 | |
2019-08-28 | wintun: give better errors when ndis interface listing fails | Jason A. Donenfeld | 1 | -2/+2 | |
2019-08-28 | wintun: also check for numbered suffix and friendly name | Jason A. Donenfeld | 1 | -9/+22 | |
2019-08-28 | wintun: upgrade deleting all interfaces and make it reusable | Simon Rozman | 1 | -4/+29 | |
DeleteAllInterfaces() didn't check if SPDRP_DEVICEDESC == "WireGuard Tunnel". It deleted _all_ Wintun adapters, not just WireGuard's. Furthermore, the DeleteAllInterfaces() was upgraded into a new function called DeleteMatchingInterfaces() for selectively deletion. This will be used by WireGuard to clean stale Wintun adapters. Signed-off-by: Simon Rozman <simon@rozman.si> | |||||
2019-08-27 | wintun: cleanup earlier | Jason A. Donenfeld | 1 | -19/+20 | |
2019-08-27 | wintun: rename duplicate adapters instead of ourselves | Jason A. Donenfeld | 4 | -0/+118 | |
2019-08-26 | wintun: match suffix numbers | Jason A. Donenfeld | 1 | -1/+8 | |
2019-08-25 | device: getsockname on linux to determine port | Jason A. Donenfeld | 1 | -0/+10 | |
It turns out Go isn't passing the pointer properly so we wound up with a zero port every time. | |||||
2019-08-24 | wintun: make description consistent across fields | Jason A. Donenfeld | 2 | -13/+10 | |
2019-08-22 | wintun: try multiple names until one isn't a duplicate | Jason A. Donenfeld | 1 | -4/+12 | |
2019-08-21 | wintun: use nci.dll directly instead of buggy netshell | Jason A. Donenfeld | 5 | -84/+102 | |
2019-08-20 | wintun: set friendly a bit better | Jason A. Donenfeld | 1 | -22/+10 | |
This is still wrong, but NETSETUPPKEY_Driver_FriendlyName seems a bit tricky to use. | |||||
2019-08-19 | wintun: also set friendly name after setting interface name | Jason A. Donenfeld | 1 | -8/+23 | |
2019-08-19 | wintun: defer requires unique variable | Jason A. Donenfeld | 1 | -33/+22 | |
2019-08-19 | wintun: set adapter description name | Jason A. Donenfeld | 1 | -0/+24 | |
2019-08-19 | tun: windows: don't spin unless we really need it | Jason A. Donenfeld | 1 | -10/+42 | |
2019-08-05 | version: bump snapshot0.0.20190805 | Jason A. Donenfeld | 1 | -1/+1 | |
2019-08-05 | device: drop lock before expiring keys | Jason A. Donenfeld | 1 | -4/+11 | |
2019-08-05 | uapi: skip peers with invalid keys | Jason A. Donenfeld | 2 | -4/+16 | |
2019-08-03 | tun: windows: spin for only a millisecond/80 | Jason A. Donenfeld | 1 | -1/+1 | |
Performance stays the same as before. | |||||
2019-08-02 | wintun: merge opening device registry key | Simon Rozman | 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> | |||||
2019-08-02 | wintun: simplify checking reboot requirement | Simon Rozman | 1 | -18/+7 | |
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 | 2 | -133/+166 | |
Signed-off-by: Simon Rozman <simon@rozman.si> | |||||
2019-08-02 | wintun: handle error for deadgwdetect | Jason A. Donenfeld | 1 | -2/+3 | |
2019-08-02 | tun: darwin: do not attempt to close tun.event twice | Jason A. Donenfeld | 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. | |||||
2019-07-23 | wintun: get interface path properly with cfgmgr | Jason A. Donenfeld | 4 | -30/+93 | |
2019-07-23 | tun: windows: style | Jason A. Donenfeld | 1 | -1/+1 | |
2019-07-23 | wintun: simplify resolution of dev node | Jason A. Donenfeld | 1 | -13/+10 | |
2019-07-22 | wintun: enable sharing of pnp node | Jason A. Donenfeld | 1 | -1/+1 | |
2019-07-22 | tun: windows: close event handle on shutdown | Jason A. Donenfeld | 1 | -0/+1 | |
2019-07-19 | ipc: windows: match SDDL of WDK and make monkeyable | Jason A. Donenfeld | 1 | -11/+3 | |
2019-07-19 | tun: windows: get rid of retry logic | Jason A. Donenfeld | 2 | -218/+100 | |
Things work fine on Windows 8. | |||||
2019-07-19 | tun: windows: use specific IOCTL code | Jason A. Donenfeld | 1 | -1/+1 | |
2019-07-18 | device: do not crash on nil'd bind in windows binding | Jason A. Donenfeld | 1 | -0/+5 | |
2019-07-18 | tun: windows: open file at startup time | Jason A. Donenfeld | 1 | -0/+9 | |
2019-07-18 | tun: windows: silently drop packet when ring is full | Jason A. Donenfeld | 1 | -2/+2 | |
2019-07-18 | tun: windows: switch to NDIS device object | Jason A. Donenfeld | 2 | -7/+6 | |
2019-07-18 | wintun: calculate path of NDIS device object symbolic link | Jason A. Donenfeld | 1 | -0/+20 | |
2019-07-18 | tun: openbsd: don't change MTU when it's already the expected size | Michael Zeltner | 1 | -4/+7 | |
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 | 1 | -4/+19 | |
2019-07-17 | tun: windows: implement ring buffers | Simon Rozman | 1 | -186/+184 | |
Signed-off-by: Simon Rozman <simon@rozman.si> | |||||
2019-07-11 | device: immediately rekey all peers after changing device private key | Jason A. Donenfeld | 2 | -0/+25 | |
Reported-by: Derrick Pallas <derrick@pallas.us> | |||||
2019-07-08 | README: update windows info | Jason A. Donenfeld | 1 | -1/+1 | |
2019-07-05 | tun: windows: registration of write buffer no longer required | Jason A. Donenfeld | 2 | -14/+1 | |
2019-07-05 | tun: windows: decrease alignment to 4 | Jason A. Donenfeld | 1 | -3/+3 | |
2019-07-04 | tun: windows: delay initial write | Jason A. Donenfeld | 1 | -16/+22 | |
Otherwise we provoke Wintun 0.3. | |||||
2019-07-01 | device: receive: uniform message for source address check | Jason A. Donenfeld | 1 | -1/+1 | |
2019-07-01 | tun: windows: packetNum is unused | Jason A. Donenfeld | 1 | -3/+0 | |