aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/README.md (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-05-09ui: networks -> addressesSteven Honson1-2/+2
Consistent with how these are referred to in confview. Signed-off-by: Steven Honson <steven@honson.id.au>
2019-05-09version: bumpJason A. Donenfeld1-2/+2
2019-05-09service: account for delete pending windows bug in tunneltrackerJason A. Donenfeld2-12/+35
Sometimes deleting a service disables it and prepares it for being deleted, but doesn't actually mark it as pending deletion. Presumably this is due to a race condition in the service management code. Workaround this by polling for disabled services, so that we don't wind up sleeping forever. Reported-by: Thomas Gschwantner <tharre3@gmail.com>
2019-05-08ui: confview: recycle more peerviewsJason A. Donenfeld1-1/+21
If there are no similarities between one peer list and the next, then ordering between peers can't possibly matter, so recycle all of the peerviews that we can.
2019-05-08ui: fix ctrl+a on list invalidating listJason A. Donenfeld1-3/+4
2019-05-08ui: don't allow ctrl+a on empty list to hide fillerJason A. Donenfeld1-0/+3
2019-05-08ui: do not allow removed items state changes to change tray stateJason A. Donenfeld1-0/+3
runtime error: invalid memory address or nil pointer dereference goroutine 1 [running, locked to thread]: runtime/debug.Stack(0xc0000bbbc0, 0x9de240, 0x93bf40) C:/Users/Jason A. Donenfeld/Projects/wireguard-windows/.deps/go/src/runtime/debug/stack.go:24 +0xa4 golang.zx2c4.com/wireguard/windows/ui.RunUI.func1() C:/Users/Jason A. Donenfeld/Projects/wireguard-windows/ui/ui.go:25 +0x75 panic(0x9de240, 0x93bf40) C:/Users/Jason A. Donenfeld/Projects/wireguard-windows/.deps/go/src/runtime/panic.go:522 +0x1c3 github.com/lxn/walk.(*Action).Checked(...) C:/Users/Jason A. Donenfeld/Projects/wireguard-windows/.deps/gopath/pkg/mod/golang.zx2c4.com/wireguard/windows@v0.0.0-20190508085227-303a670b0ee4/action.go:118 golang.zx2c4.com/wireguard/windows/ui.(*Tray).SetTunnelState(0xc000106540, 0xc000041540, 0x2, 0xc000166001) C:/Users/Jason A. Donenfeld/Projects/wireguard-windows/ui/tray.go:272 +0xa1 golang.zx2c4.com/wireguard/windows/ui.(*Tray).onTunnelChange.func1() C:/Users/Jason A. Donenfeld/Projects/wireguard-windows/ui/tray.go:214 +0x99 github.com/lxn/walk.runSynchronized() C:/Users/Jason A. Donenfeld/Projects/wireguard-windows/.deps/gopath/pkg/mod/golang.zx2c4.com/wireguard/windows@v0.0.0-20190508085227-303a670b0ee4/form.go:55 +0x95 github.com/lxn/walk.(*FormBase).Run(0xc000166000, 0x0) C:/Users/Jason A. Donenfeld/Projects/wireguard-windows/.deps/gopath/pkg/mod/golang.zx2c4.com/wireguard/windows@v0.0.0-20190508085227-303a670b0ee4/form.go:413 +0x117 golang.zx2c4.com/wireguard/windows/ui.RunUI() C:/Users/Jason A. Donenfeld/Projects/wireguard-windows/ui/ui.go:79 +0x225 main.main() C:/Users/Jason A. Donenfeld/Projects/wireguard-windows/main.go:207 +0x2cf Reported-by: Jungle Boogie <jungleboogie0@gmail.com>
2019-05-08ui: make window restoring and pop-up more aggressiveSimon Rozman4-14/+23
Signed-off-by: Simon Rozman <simon@rozman.si>
2019-05-08ui: confview: do not poll when minimizedJason A. Donenfeld2-1/+4
Also poll for the log less often.
2019-05-08service: prevent against multiple routines per sessionJason A. Donenfeld1-4/+18
2019-05-08service: print in log after UI exitsJason A. Donenfeld1-3/+10
2019-05-08conf: read presharedkey as a hexstring when converting to uapiSteven Honson1-1/+1
Signed-off-by: Steven Honson <steven@honson.id.au>
2019-05-08ui: get correctly sized system iconsJason A. Donenfeld9-84/+71
2019-05-08installer: smarter detection of SYSTEM profile folderSimon Rozman1-1/+3
Signed-off-by: Simon Rozman <simon@rozman.si>
2019-05-08confview: show in the case that there are no peersJason A. Donenfeld1-1/+7
2019-05-08service: waste a page due to sheer incompetenceJason A. Donenfeld1-1/+1
2019-05-08ringlogger: add a basic CLI log dumping commandJason A. Donenfeld2-0/+77
2019-05-08build: update documentationSimon Rozman1-1/+1
Signed-off-by: Simon Rozman <simon@rozman.si>
2019-05-08main: when called with no args, check for admin group membershipJason A. Donenfeld1-5/+33
This should cut back on user confusion.
2019-05-08service: require elevated tokenJason A. Donenfeld1-0/+1
2019-05-08service: make the generated bindings do the type forcingJason A. Donenfeld2-64/+56
2019-05-08service: local system's token is a bit more locked down than elevatedJason A. Donenfeld2-6/+7
2019-05-08service: give process elevated security attributes plus logon session ID with minimal permissionsJason A. Donenfeld5-42/+311
2019-05-08installer: silence LGHT1056 warningSimon Rozman1-0/+1
> warning LGHT1056 : The Property table contains a row with primary key(s) 'MsiHiddenProperties' which cannot be merged from the merge module '.deps\wintun-amd64.msm'. This is likely due to collision of rows with the same primary key(s) (but other different values in other columns) between the database and the merge module. The warning is caused by Wintun MSM and WireGuard MSI both using MsiHiddenProperties property. This property is used by WiX to hide internal data passed to deferred actions from being output to the log. Signed-off-by: Simon Rozman <simon@rozman.si>
2019-05-08installer: silence ICE61 warningSimon Rozman1-1/+3
> ICE61: This product should remove only older versions of itself. The Maximum version is not less than the current product. The warning is caused by <MajorUpgrade AllowSameVersionUpgrades="yes"... For the time being, this is our design choice. We're shipping WireGuard with three-field versions 0.0.x. AllowSameVersionUpgrades="yes" avoids manual configuration of update path in the brain-dead-two-field-version- comparison-only Group Policy, but requires that the MSI packages are added to GPO in correct order. Signed-off-by: Simon Rozman <simon@rozman.si>
2019-05-08firewall: cleanupJason A. Donenfeld6-58/+59
2019-05-08firewall: implode recurring address definitionsOdd Stranne1-14/+15
Signed-off-by: Odd Stranne <odd@mullvad.net>
2019-05-08firewall: remove unused codeOdd Stranne8-296/+44
Signed-off-by: Odd Stranne <odd@mullvad.net>
2019-05-08firewall: add permitHyperV()Odd Stranne3-0/+108
Signed-off-by: Odd Stranne <odd@mullvad.net>
2019-05-08firewall: implement permitNdp()Odd Stranne2-4/+222
Signed-off-by: Odd Stranne <odd@mullvad.net>
2019-05-08ui: remove a few DPI hacksJason A. Donenfeld3-9/+5
2019-05-07attacksurface: update with latest infoJason A. Donenfeld1-10/+2
2019-05-07conf: only retry on no internet if system just bootedJason A. Donenfeld2-3/+11
2019-05-07installer: bump MSI database version to 4.0Simon Rozman1-1/+1
This resolves ICE66 warning regarding MSI 4.0 columns added to Shortcut table by WiX. Besides, Windows 7 has MSI 5.0 out of the box. Signed-off-by: Simon Rozman <simon@rozman.si>
2019-05-07updater: use hsm key and check header matchJason A. Donenfeld2-6/+4
2019-05-07service: delay restart for one secondJason A. Donenfeld2-1/+5
This prevents a thundering herd. Also, we can now use the restart manager in the MSI because our walk fork handles the right window messages.
2019-05-07ui: defer update popup until 3 seconds after app startJason A. Donenfeld2-3/+15
2019-05-07ui: select first tunnel even when showing updates tabJason A. Donenfeld1-1/+4
2019-05-07conf: retry DNS resoluion when no internet presentJason A. Donenfeld4-22/+103
2019-05-07installer: delete config file with custom actionJason A. Donenfeld2-7/+20
2019-05-07ringlogger: export R/O handle for UI processJason A. Donenfeld4-24/+35
2019-05-07installer: fix tag styleJason A. Donenfeld1-1/+1
2019-05-07ui: remove setfocus hackJason A. Donenfeld1-3/+0
It introduces weird other problems.
2019-05-07ui: set global state before main state in trayJason A. Donenfeld1-1/+1
2019-05-07ui: move things out of iconproviderJason A. Donenfeld5-126/+60
2019-05-07ui: confview should be more picky about which tunnelJason A. Donenfeld1-13/+20
2019-05-07ui: scale icons according to DPIJason A. Donenfeld2-2/+2
2019-05-06installer: simplify tmpfile cleanupSimon Rozman1-21/+18
Signed-off-by: Simon Rozman <simon@rozman.si>
2019-05-06updater: move into managerJason A. Donenfeld14-289/+562
2019-05-05ui: do tray click action when popup clickedJason A. Donenfeld1-0/+3