aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/manager (unfollow)
Commit message (Collapse)AuthorFilesLines
2020-04-05updater: allow updating from the command lineJason A. Donenfeld1-1/+1
The administrator user may run `wireguard.exe /update`, which will check for updates and install it if available. A log file may be written using `wireguard.exe /update path\to\log\file.txt`. Requested-by: Elliot Saba <staticfloat@gmail.com> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2020-03-15manager: chdir into unelevated profile before execingJason A. Donenfeld1-0/+2
Otherwise we wind up in \Windows\System32 in the import dialog's default directory. Reported-by: Kai Haberzettl <khaberz@gmail.com> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-10-01manager: do not panic if we can't yet get a configJason A. Donenfeld1-0/+6
Reported-by: Jonathan Tooker <jonathan.tooker@netprotect.com> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-10-01manager: print panic stack trace in one missing partJason A. Donenfeld1-0/+1
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-09-23manager: switch to vanilla gob from rpc to remove reflection bloatJason A. Donenfeld4-143/+444
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-09-23global: use SECURITY_DESCRIPTOR apis from x/sys/windowsJason A. Donenfeld1-2/+2
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-09-01manager: enforce client pipe ownershipJason A. Donenfeld1-1/+6
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-08-30manager: delay stale adapter cleanupJason A. Donenfeld3-4/+4
By delaying this by 10 seconds, we ensure that we don't cause the locks to be contended immediately on startup. Before, this added around 600ms of latency to tunnel startup. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-08-30manager: adjust for wintun api changesJason A. Donenfeld1-9/+4
Also get rid of the "Local Area Connection" hack and "/wintun /deleteall". Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-08-30elevate: check for desktop admin ownershipJason A. Donenfeld1-1/+3
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-08-30elevate: use more strict check for admin groupJason A. Donenfeld1-1/+1
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-08-30manager: fix nits in adapter cleanup logic and also handle ā€˜%sā€™ uniformlyJason A. Donenfeld3-19/+16
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-08-30manager: clean stale adapters on startupSimon Rozman2-0/+70
Signed-off-by: Simon Rozman <simon@rozman.si>
2019-08-24tunnel: move Run into own module to reduce file sizeJason A. Donenfeld5-49/+12
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-08-19manager: do not recycle tunnel tracker threadJason A. Donenfeld1-1/+9
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-08-19manager: print panics on all go routines not just main oneJason A. Donenfeld2-10/+15
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-08-19manager: wait for UIs to quit before quittingJason A. Donenfeld1-4/+12
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-08-05service: fix typo in error messageSimon Rozman1-1/+1
Signed-off-by: Simon Rozman <simon@rozman.si>
2019-08-05elevate: move service/token into proper moduleJason A. Donenfeld1-1/+2
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-06-08manager: set sidtype using upstream methodJason A. Donenfeld1-9/+1
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-06-07manager: install tunnel to depend on NsiJason A. Donenfeld1-0/+1
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-06-07global: cleanup TODO comment spacingJason A. Donenfeld3-5/+5
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-05-23manager: don't forget to close pipe in runtime configJason A. Donenfeld1-1/+1
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-05-23manager: use winpipe instead of winioJason A. Donenfeld1-2/+2
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-05-22manager: don't delay updates by 10 secondsJason A. Donenfeld1-2/+0
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-05-22manager: fix error string find and replace mistakeJason A. Donenfeld1-2/+2
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-05-22firewall: use service-specific SIDJason A. Donenfeld1-0/+9
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2019-05-20service: split into tunnel and managerJason A. Donenfeld8-0/+1507
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>