aboutsummaryrefslogtreecommitdiffstatshomepage
Commit message (Collapse)AuthorAgeFilesLines
* manager: adjust for wintun api changesJason A. Donenfeld2019-08-302-38/+4
| | | | | Also get rid of the "Local Area Connection" hack and "/wintun /deleteall".
* elevate: ensure desktop token is opened with duplication allowedJason A. Donenfeld2019-08-301-1/+1
|
* winipcfg: use upstream helper function for elevation testJason A. Donenfeld2019-08-301-16/+9
|
* ui: add label mnemonicsSimon Rozman2019-08-307-22/+20
| | | | Signed-off-by: Simon Rozman <simon@rozman.si>
* main: display localized "Administrators" group nameSimon Rozman2019-08-302-7/+23
| | | | Signed-off-by: Simon Rozman <simon@rozman.si>
* elevate: check for desktop admin ownershipJason A. Donenfeld2019-08-305-9/+71
|
* elevate: use more strict check for admin groupJason A. Donenfeld2019-08-304-15/+24
|
* manager: fix nits in adapter cleanup logic and also handle ā€˜%sā€™ uniformlyJason A. Donenfeld2019-08-306-26/+23
|
* manager: clean stale adapters on startupSimon Rozman2019-08-302-0/+70
| | | | Signed-off-by: Simon Rozman <simon@rozman.si>
* tunnel: allow disabling deterministic GUIDs for external consumersJason A. Donenfeld2019-08-301-21/+31
|
* version: hard code name and version at compile timeJason A. Donenfeld2019-08-3012-170/+20
| | | | | | | We really do want the true name and version in logs so that external consumers have a good reference point for helping us debug. We can then do the log file directory explicitly.
* version: use ProductName and ProductVersion as stringsJason A. Donenfeld2019-08-307-46/+31
|
* version: bumpJason A. Donenfeld2019-08-271-2/+2
|
* mod: update dependenciesJason A. Donenfeld2019-08-272-13/+13
|
* build: backport resume monitoring for timersJason A. Donenfeld2019-08-273-6/+208
|
* build: use goproxy when not remasteringJason A. Donenfeld2019-08-272-2/+1
|
* tunnel: do not query real interface nameJason A. Donenfeld2019-08-262-10/+0
| | | | | | | | | | | We want to enforce the relation between the socket name and the service name, especially since the wintun adapter name might get a 1 or 2 appended depending on weird Nci duplication detection. So we just stick with the configuration-given name throughout. Also, the user can change the adapter name at runtime, which is all the more reason why maybe we shouldn't care about it so much. Reported-by: Nenad Kozul <me@nenadkozul.com>
* elevate: use upstream windows directory functionJason A. Donenfeld2019-08-263-27/+10
|
* ui: enable priority boostJason A. Donenfeld2019-08-262-1/+3
| | | | | This makes things a bit more responsive, despite causing some minor issues for Go timers.
* elevate: mark as terminal services awareJason A. Donenfeld2019-08-264-25/+11
|
* firewall: use RtlGetNtVersionNumbers for kernel compat checksJason A. Donenfeld2019-08-261-3/+2
|
* ui: when check error, reparse textJason A. Donenfeld2019-08-251-2/+3
| | | | | Sometimes walk misfires check events. For example, when pressing enter in the title box. This works around the consequences.
* version: use upstream RtlGetVersionJason A. Donenfeld2019-08-243-53/+6
|
* tunnel: move Run into own module to reduce file sizeJason A. Donenfeld2019-08-247-28/+30
|
* version: bumpJason A. Donenfeld2019-08-231-2/+2
|
* mod: update dependenciesJason A. Donenfeld2019-08-222-7/+8
| | | | Also commit the 1.13 thing.
* version: bumpJason A. Donenfeld2019-08-191-2/+2
|
* manager: do not recycle tunnel tracker threadJason A. Donenfeld2019-08-191-1/+9
|
* manager: print panics on all go routines not just main oneJason A. Donenfeld2019-08-192-10/+15
|
* manager: wait for UIs to quit before quittingJason A. Donenfeld2019-08-191-4/+12
|
* ui: increase default widthJason A. Donenfeld2019-08-191-1/+1
|
* quickinstall: deal with paths betterJason A. Donenfeld2019-08-191-7/+6
|
* mod: update dependenciesJason A. Donenfeld2019-08-192-9/+10
|
* installer: make the two types of post-install execution mutually exclusiveJason A. Donenfeld2019-08-171-2/+2
|
* installer: tame restart managerJason A. Donenfeld2019-08-171-0/+2
| | | | This prevents the dialog box from showing.
* installer: kill leftover processes forciblyJason A. Donenfeld2019-08-173-2/+107
|
* installer: hardcode %ProgramFiles%\WireGuard install folderSimon Rozman2019-08-161-20/+5
| | | | Signed-off-by: Simon Rozman <simon@rozman.si>
* installer: clean up logicJason A. Donenfeld2019-08-122-247/+119
|
* build: fix batch file status returningSimon Rozman2019-08-122-8/+8
| | | | | | | | | | | | | Apparently, exit /b works only halfway in Windows 8 and later. The %errorlevel% is correct after batch exits, but && and || do not honor it. The `cmd /c exit` doesn't actually quit the batch processing, therefore it must be at the very end of the batch file. Even `goto :eof` resets the return status for && and ||. Source: https://www.computerhope.com/forum/index.php/topic,65815.msg920454.html#msg920454 Signed-off-by: Simon Rozman <simon@rozman.si>
* build: use setlocal to keep build environment localSimon Rozman2019-08-122-25/+12
| | | | Signed-off-by: Simon Rozman <simon@rozman.si>
* installer: port custom actions from JScript to CSimon Rozman2019-08-094-108/+419
| | | | Signed-off-by: Simon Rozman <simon@rozman.si>
* installer: unify WIREGUARD_-specific WiX variablesSimon Rozman2019-08-072-9/+9
| | | | Signed-off-by: Simon Rozman <simon@rozman.si>
* build: simplify path managementSimon Rozman2019-08-071-3/+3
| | | | Signed-off-by: Simon Rozman <simon@rozman.si>
* build: support building from arbitrary folderSimon Rozman2019-08-072-11/+13
| | | | | | | | The :installdeps used .deps folder in the current working folder, while build failed expecting to find sources in the current working folder as well. Signed-off-by: Simon Rozman <simon@rozman.si>
* version: bumpJason A. Donenfeld2019-08-051-2/+2
|
* service: fix typo in error messageSimon Rozman2019-08-051-1/+1
| | | | Signed-off-by: Simon Rozman <simon@rozman.si>
* installer: raise UI on MSI relaunch and add DO_NOT_LAUNCH overrideSimon Rozman2019-08-051-2/+9
| | | | | | | | | | Clicking on the MSI of an already installed WireGuard launches/raises WireGuard UI now. WireGuard UI launching can now also be disabled by invoking: `msiexec /i wireguard...msi DO_NOT_LAUNCH=1` Signed-off-by: Simon Rozman <simon@rozman.si>
* elevate: consider ImageBaseAddress to be sufficiently stableJason A. Donenfeld2019-08-054-26/+33
| | | | | GetModuleHandle technically returns an opaque value, so comparing to the PEB might in some theoretical sense be cleaner.
* elevate: move service/token into proper moduleJason A. Donenfeld2019-08-056-25/+36
|
* elevate: require builtin admins group and proper reg keyJason A. Donenfeld2019-08-051-1/+24
|