aboutsummaryrefslogtreecommitdiffstatshomepage
Commit message (Collapse)AuthorAgeFilesLines
* version: bumpv0.0.35Jason A. Donenfeld2019-10-261-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: fix configuration editbox accessibility nameSimon Rozman2019-10-261-2/+16
| | | | | | | RichEdit controls without a label report their name as "RichEdit Control" and the Dynamic Annotation cannot override this. Signed-off-by: Simon Rozman <simon@rozman.si>
* ui: allow (Shift+)Tab to move focus to sibling controls in RichEditSimon Rozman2019-10-261-0/+8
| | | | | | | | | | | With RTF control consuming Tab and Enter keystrokes, there was no way to create or edit a tunnel using keyboard only. This was a major concern for accessibility. Should user want to explicitly insert \t into configuration, one can use Ctrl+Tab, paste it, or use Alt+09 (on numeric keyboard). Signed-off-by: Simon Rozman <simon@rozman.si>
* mod: bumpJason A. Donenfeld2019-10-252-8/+8
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: provide icons for 128x128 and 16x16 at 144dpiSimon Rozman2019-10-252-2/+2
| | | | Signed-off-by: Simon Rozman <simon@rozman.si>
* build: enable aslr and depJason A. Donenfeld2019-10-253-4/+7
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: do not scroll list view horizontallyJason A. Donenfeld2019-10-241-0/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: fix classic theme drawing with gross hackJason A. Donenfeld2019-10-241-46/+73
| | | | | | | | | | Classic theme won't draw transparent images. But new theme erases the text if we draw ourselves, and we want the OS to draw the text so that we have better accessibility. Support both by hacking classic theme with a zero-sized transparent image for the indentation, while using the transparent image normally for new theme. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: use native styling on list viewJason A. Donenfeld2019-10-241-44/+52
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* version: bumpv0.0.34Jason A. Donenfeld2019-10-241-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* mod: bumpJason A. Donenfeld2019-10-242-4/+4
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* version: bumpv0.0.33Jason A. Donenfeld2019-10-241-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* elevate: do not invoke shell execute if program is emptyJason A. Donenfeld2019-10-241-1/+5
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* mod: bumpJason A. Donenfeld2019-10-242-16/+16
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* version: bumpv0.0.32Jason A. Donenfeld2019-10-211-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* tunnel: blackhole sockets when there's going to be a sure routing loopJason A. Donenfeld2019-10-214-15/+55
| | | | | | | | This prevents against common mishaps when changing from a wifi network that supports v6 to one that doesn't. Reported-by: Jonathan Tooker <jonathan.tooker@netprotect.com> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* build: update to go 1.13.3 and remove patcherJason A. Donenfeld2019-10-183-219/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* version: bumpv0.0.31Jason A. Donenfeld2019-10-171-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* build: bump go versionJason A. Donenfeld2019-10-171-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* mod: bumpJason A. Donenfeld2019-10-173-12/+13
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* updater: use ed25519 from standard libraryJason A. Donenfeld2019-10-161-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* build: copy symlinksJason A. Donenfeld2019-10-121-1/+1
| | | | | | Required for debian. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* embeddable-dll-service: use on-demand activation instead of autoJason A. Donenfeld2019-10-101-1/+1
| | | | | | | This prevents this from coming back after boot, since we probably want it tied to the parent process. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Revert "tunnel: check for endpoint interfaces and media connection state"Jason A. Donenfeld2019-10-091-3/+1
| | | | | | | | This reverts commit cf6f599a4a65e89929ffc12982346c8e9012552c. It broke people's setups. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* build: do not build modules when remastering and sort statementsJason A. Donenfeld2019-10-092-6/+4
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* embeddable-dll-service: do not marshall go stringsJason A. Donenfeld2019-10-092-14/+4
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* tunnel: print wintun version in debug logJason A. Donenfeld2019-10-091-0/+6
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* mod: bump versionsJason A. Donenfeld2019-10-092-8/+9
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* go: use upstream patch that landedJason A. Donenfeld2019-10-071-10/+12
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* version: bumpv0.0.30Jason A. Donenfeld2019-10-071-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* installer: bump wintunJason A. Donenfeld2019-10-071-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* golang: do not race on sleep resumeJason A. Donenfeld2019-10-061-23/+23
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* embeddable-dll-service: add key generation function to replace bcryptJason A. Donenfeld2019-10-063-109/+27
| | | | | | | | BCrypt is Win10+ and kind of clunky to use. The tunnel.dll binary has this code in it anyway, so doing it there doesn't actually increase the size of the binary. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* embeddable-dll-service: add csharp example codeJason A. Donenfeld2019-10-066-0/+545
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: remove unused structJason A. Donenfeld2019-10-041-6/+0
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: annotate controlsSimon Rozman2019-10-043-0/+6
| | | | | | | | | | | | | | Regarding interface and peer info text boxes: The read-only edit boxes containing interface and peer status and information were read as "<value> read-only multiline" by NVDA screen reader. The read-only edit boxes that serve the informative purpose only must be annotated as ROLE_SYSTEM_STATICTEXT instead of edit box-inherited ROLE_SYSTEM_TEXT role. Regarding logo image in about dialog: NVDA reads "unknown" when reading the dialog without this patch. Signed-off-by: Simon Rozman <simon@rozman.si>
* mod: bump versionsJason A. Donenfeld2019-10-048-22/+22
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* version: speed up start up by omitting winverifytrust callJason A. Donenfeld2019-10-021-46/+6
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ringlogger: simplifyJason A. Donenfeld2019-10-011-5/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* version: bumpv0.0.29Jason A. Donenfeld2019-10-011-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* manager: do not panic if we can't yet get a configJason A. Donenfeld2019-10-011-0/+6
| | | | | Reported-by: Jonathan Tooker <jonathan.tooker@netprotect.com> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* manager: print panic stack trace in one missing partJason A. Donenfeld2019-10-011-0/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* tunnel: check for endpoint interfaces and media connection stateJason A. Donenfeld2019-10-011-1/+3
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* tunnel: smooth bursts from windows network notifiersJason A. Donenfeld2019-10-011-5/+25
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* tunnel: windows does not always add/remove routes with up/down interfaceJason A. Donenfeld2019-10-013-25/+45
| | | | | | | | | | | | | | | | On Linux, we're used to routes being added after an interface is up, and routes being removed as a consequence of an interface going down. On Windows, this isn't always the case, at least not from the perspective of the route notifiers. In order to work around this and make a multi-interface model coherent, we search for a new default route not only whenever the routing table changes but also whenever any interface link parameters change, such as up/down. The practical consequence is that now WireGuard connects properly when wifi is disconnected and then reconnected. Reported-by: Nenad Kozul <me@nenadkozul.com> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* elevate: use fallback shellexecute when not EV-signedJason A. Donenfeld2019-10-012-1/+73
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* Revert "version: use crypt32 instead of go x509 for cn extraction for file size"Jason A. Donenfeld2019-10-014-59/+15
| | | | | | This reverts commit 4cdc8fef9973a8d82593bff4e7cb350a20e0fa78. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* build: bump and loosen go versionJason A. Donenfeld2019-09-272-6/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* version: bumpv0.0.28Jason A. Donenfeld2019-09-271-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* winipcfg: make Unregister wait for callbacks to completeJason A. Donenfeld2019-09-274-31/+61
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>