Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | main_windows: use proper version constant | Jason A. Donenfeld | |
2019-04-09 | version: put version in right place | Jason A. Donenfeld | |
2019-04-09 | version: bump snapshot | Jason A. Donenfeld | |
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: rename device using undocumented API that netsh.exe uses | Jason A. Donenfeld | |
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 | wintun: query for NetCfgInstanceId several times | Jason A. Donenfeld | |
2019-03-22 | tun: windows: delete interface before deleting file handles | Jason A. Donenfeld | |
2019-03-22 | tun: windows: Make adapter rename asynchronous | Simon Rozman | |
Signed-off-by: Simon Rozman <simon@rozman.si> | |||
2019-03-22 | tun: windows: Adapter devices renamed to WINTUN<LUID Index> | Simon Rozman | |
Signed-off-by: Simon Rozman <simon@rozman.si> | |||
2019-03-22 | tun: windows: Increase unavailable adapter timeout to 30sec | Simon Rozman | |
5 seconds was too short when debugging. Signed-off-by: Simon Rozman <simon@rozman.si> | |||
2019-03-22 | tun: windows: Make writing persistent too | Simon Rozman | |
Signed-off-by: Simon Rozman <simon@rozman.si> | |||
2019-03-22 | tun: windows: Fix paused adapter test | Simon Rozman | |
Signed-off-by: Simon Rozman <simon@rozman.si> | |||
2019-03-21 | tun: windows: just open two file handles | Jason A. Donenfeld | |
2019-03-21 | receive: implement flush semantics | Jason A. Donenfeld | |
2019-03-21 | tun: windows: add dummy overlapped events back | Jason A. Donenfeld | |
These seem basically wrong to me, but we get crashes without them. | |||
2019-03-20 | tun: windows: use new constants in sys | Jason A. Donenfeld | |
2019-03-20 | uapi: remove unhelpful log messages | Jason A. Donenfeld | |
2019-03-21 | wintun: Use native Win32 API for I/O | Simon Rozman | |
Signed-off-by: Simon Rozman <simon@rozman.si> | |||
2019-03-19 | uapi: report endpoint error | Jason A. Donenfeld | |
2019-03-18 | tun: windows: wintun does iocp | Jason A. Donenfeld | |
2019-03-13 | tun: windows: temporary hack for forcing MTU | Jason A. Donenfeld | |
2019-03-10 | wintun: Poll more often | Jason A. Donenfeld | |
2019-03-10 | uapi: make ipcerror conform to interface | Jason A. Donenfeld | |
2019-03-08 | wintun: Make errors more descriptive | Simon Rozman | |
Signed-off-by: Simon Rozman <simon@rozman.si> | |||
2019-03-08 | wintun: Return correct reboot-req flag on CreateInterface() error too | Simon Rozman | |
Signed-off-by: Simon Rozman <simon@rozman.si> | |||
2019-03-08 | wintun: Fix double-quoted strings escaping on output | Simon Rozman | |
Signed-off-by: Simon Rozman <simon@rozman.si> | |||
2019-03-08 | wintun: Introduce SetupAPI enumerator and machineName consts | Simon Rozman | |
Signed-off-by: Simon Rozman <simon@rozman.si> | |||
2019-03-08 | Windows: Apply strict security descriptor on pipe server | Odd Stranne | |
Signed-off-by: Odd Stranne <odd@mullvad.net> | |||
2019-03-08 | uapi: windows: work out pipe semantics | Jason A. Donenfeld | |
Pipes can be arranged like this, so that's fine. We also apply a strict SDDL that can't be inherited and only gives access to local system. Developed-with: Odd Stranne <odd@mullvad.net> | |||
2019-03-07 | wintun: Cleanup | Simon Rozman | |
Signed-off-by: Simon Rozman <simon@rozman.si> | |||
2019-03-07 | wintun: Refactor network registry key name generation | Simon Rozman | |
Signed-off-by: Simon Rozman <simon@rozman.si> | |||
2019-03-07 | wintun: Revise interface creation wait | Simon Rozman | |
DIF_INSTALLDEVICE returns almost immediately, while the device installation continues in the background. It might take a while, before all registry keys and values are populated. Previously, wireguard-go waited for HKLM\SYSTEM\CurrentControlSet\ Control\Class\{4D36E972-E325-11CE-BFC1-08002BE10318}\<id> registry key only. Followed by a SetInterfaceName() method of Wintun struct which tried to access HKLM\SYSTEM\CurrentControlSet\Control\Network\ {4D36E972-E325-11CE-BFC1-08002BE10318}\<id>\Connection registry key might not be available yet. This commit loops until both registry keys are available before returning from CreateInterface() function. Signed-off-by: Simon Rozman <simon@rozman.si> | |||
2019-03-07 | receive: squelch tear down error | Jason A. Donenfeld | |
2019-03-07 | tun: linux: work out netpoll trick | Jason A. Donenfeld | |
2019-03-04 | wintun: Resolve some of golint warnings | Simon Rozman | |
Signed-off-by: Simon Rozman <simon@rozman.si> | |||
2019-03-04 | Elaborate the failing step when forwarding errors on return | Simon Rozman | |
Signed-off-by: Simon Rozman <simon@rozman.si> | |||
2019-03-04 | Simplify reading NetCfgInstanceId from registry | Simon Rozman | |
As querying non-existing registry value and reading non-existing registry string value both return ERROR_FILE_NOT_FOUND, we can use later only. Signed-off-by: Simon Rozman <simon@rozman.si> | |||
2019-03-04 | Unify interface-specific network registry key open | Simon Rozman | |
Signed-off-by: Simon Rozman <simon@rozman.si> | |||
2019-03-04 | tun: import mobile particularities | Jason A. Donenfeld | |
2019-03-04 | boundif: introduce API for socket binding | Jason A. Donenfeld | |
2019-03-03 | global: begin modularization | Jason A. Donenfeld | |
2019-03-01 | tun: windows: expose GUID | Jason A. Donenfeld | |
2019-03-01 | tun: allow special methods in NativeTun | Jason A. Donenfeld | |
2019-02-27 | tun: linux: netpoll is broken for tun's epoll | Jason A. Donenfeld | |
So this mostly reverts the switch to Sysconn for Linux. Issue: https://github.com/golang/go/issues/30426 |