aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Makefile (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-08-30elevate: ensure desktop token is opened with duplication allowedJason A. Donenfeld1-1/+1
2019-08-30winipcfg: use upstream helper function for elevation testJason A. Donenfeld1-16/+9
2019-08-30ui: add label mnemonicsSimon Rozman7-22/+20
Signed-off-by: Simon Rozman <simon@rozman.si>
2019-08-30main: display localized "Administrators" group nameSimon Rozman2-7/+23
Signed-off-by: Simon Rozman <simon@rozman.si>
2019-08-30elevate: check for desktop admin ownershipJason A. Donenfeld5-9/+71
2019-08-30elevate: use more strict check for admin groupJason A. Donenfeld4-15/+24
2019-08-30manager: fix nits in adapter cleanup logic and also handle ā€˜%sā€™ uniformlyJason A. Donenfeld6-26/+23
2019-08-30manager: clean stale adapters on startupSimon Rozman2-0/+70
Signed-off-by: Simon Rozman <simon@rozman.si>
2019-08-30tunnel: allow disabling deterministic GUIDs for external consumersJason A. Donenfeld1-21/+31
2019-08-30version: hard code name and version at compile timeJason A. Donenfeld12-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.
2019-08-30version: use ProductName and ProductVersion as stringsJason A. Donenfeld7-46/+31
2019-08-27version: bumpJason A. Donenfeld1-2/+2
2019-08-27mod: update dependenciesJason A. Donenfeld2-13/+13
2019-08-27build: backport resume monitoring for timersJason A. Donenfeld3-6/+208
2019-08-27build: use goproxy when not remasteringJason A. Donenfeld2-2/+1
2019-08-26tunnel: do not query real interface nameJason A. Donenfeld2-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>
2019-08-26elevate: use upstream windows directory functionJason A. Donenfeld3-27/+10
2019-08-26ui: enable priority boostJason A. Donenfeld2-1/+3
This makes things a bit more responsive, despite causing some minor issues for Go timers.
2019-08-26elevate: mark as terminal services awareJason A. Donenfeld4-25/+11
2019-08-26firewall: use RtlGetNtVersionNumbers for kernel compat checksJason A. Donenfeld1-3/+2
2019-08-25ui: when check error, reparse textJason A. Donenfeld1-2/+3
Sometimes walk misfires check events. For example, when pressing enter in the title box. This works around the consequences.
2019-08-24version: use upstream RtlGetVersionJason A. Donenfeld3-53/+6
2019-08-24tunnel: move Run into own module to reduce file sizeJason A. Donenfeld7-28/+30
2019-08-23version: bumpJason A. Donenfeld1-2/+2
2019-08-22mod: update dependenciesJason A. Donenfeld2-7/+8
Also commit the 1.13 thing.
2019-08-19version: bumpJason A. Donenfeld1-2/+2
2019-08-19manager: do not recycle tunnel tracker threadJason A. Donenfeld1-1/+9
2019-08-19manager: print panics on all go routines not just main oneJason A. Donenfeld2-10/+15
2019-08-19manager: wait for UIs to quit before quittingJason A. Donenfeld1-4/+12
2019-08-19ui: increase default widthJason A. Donenfeld1-1/+1
2019-08-19quickinstall: deal with paths betterJason A. Donenfeld1-7/+6
2019-08-19mod: update dependenciesJason A. Donenfeld2-9/+10
2019-08-17installer: make the two types of post-install execution mutually exclusiveJason A. Donenfeld1-2/+2
2019-08-17installer: tame restart managerJason A. Donenfeld1-0/+2
This prevents the dialog box from showing.
2019-08-17installer: kill leftover processes forciblyJason A. Donenfeld3-2/+107
2019-08-16installer: hardcode %ProgramFiles%\WireGuard install folderSimon Rozman1-20/+5
Signed-off-by: Simon Rozman <simon@rozman.si>
2019-08-12installer: clean up logicJason A. Donenfeld2-247/+119
2019-08-12build: fix batch file status returningSimon Rozman2-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>
2019-08-12build: use setlocal to keep build environment localSimon Rozman2-25/+12
Signed-off-by: Simon Rozman <simon@rozman.si>
2019-08-09installer: port custom actions from JScript to CSimon Rozman4-108/+419
Signed-off-by: Simon Rozman <simon@rozman.si>
2019-08-07installer: unify WIREGUARD_-specific WiX variablesSimon Rozman2-9/+9
Signed-off-by: Simon Rozman <simon@rozman.si>
2019-08-07build: simplify path managementSimon Rozman1-3/+3
Signed-off-by: Simon Rozman <simon@rozman.si>
2019-08-07build: support building from arbitrary folderSimon Rozman2-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>
2019-08-05version: bumpJason A. Donenfeld1-2/+2
2019-08-05service: fix typo in error messageSimon Rozman1-1/+1
Signed-off-by: Simon Rozman <simon@rozman.si>
2019-08-05installer: raise UI on MSI relaunch and add DO_NOT_LAUNCH overrideSimon Rozman1-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>
2019-08-05elevate: consider ImageBaseAddress to be sufficiently stableJason A. Donenfeld4-26/+33
GetModuleHandle technically returns an opaque value, so comparing to the PEB might in some theoretical sense be cleaner.
2019-08-05elevate: move service/token into proper moduleJason A. Donenfeld6-25/+36
2019-08-05elevate: require builtin admins group and proper reg keyJason A. Donenfeld1-1/+24
2019-08-05elevate: do not rely on undocumented ldr functionJason A. Donenfeld3-19/+72