aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/ui/raise.go (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-05-12ui: leave it to walk to lock threadJason A. Donenfeld1-3/+0
2019-05-12ui: give editor different iconJason A. Donenfeld1-0/+3
2019-05-12ui: don't tie ctrl+S to exportingJason A. Donenfeld1-2/+0
Roopesh doesn't like it.
2019-05-12ui: adjust message filter for raiseJason A. Donenfeld2-6/+6
High integrity means UIPI blocks this, so let it through.
2019-05-12service: run UI with elevated tokenJason A. Donenfeld4-381/+15
There are too many attacks possible when starting this with a non-elevated token.
2019-05-11service: run UI at high integrityJason A. Donenfeld4-0/+35
2019-05-11ui: allow editing existing tunnels without changing nameJason A. Donenfeld1-18/+19
2019-05-11ui: tunnel cloningSteven Honson2-8/+31
Allows a tunnel to be cloned verbatim. It's not part of the toolbar or with a shortcut, as it's a rather obscure action. Signed-off-by: Steven Honson <steven@honson.id.au> [zx2c4: removed from toolbar and shortcut]
2019-05-11ui: edit requires further informationSteven Honson1-1/+1
As edit generally requires further information from the user, it should be suffixed with an ellipsis. Signed-off-by: Steven Honson <steven@honson.id.au>
2019-05-11ui: use ipc client to list existing tunnelsSteven Honson1-3/+4
The manager service and ui application may be running as different users, and therefore use different configurations directories. Using the ipc client ensures that tunnels are listed from the perspective of the service. Signed-off-by: Steven Honson <steven@honson.id.au>
2019-05-11ui: optimise window sizing for a single peerSteven Honson1-1/+2
Increasing the default size of the manage window allows all of the detail and status for a basic single peer configuration with a preshared key to be visible without scrolling. Also sets a minimum window size for the manage window. Signed-off-by: Steven Honson <steven@honson.id.au> [zx2c4: reduced from 800x600 to 670x525]
2019-05-10service: use LUID directlyJason A. Donenfeld1-15/+5
InterfaceGuidToLuid fails if called soon after device creation.
2019-05-10version: bumpJason A. Donenfeld1-2/+2
2019-05-10ui: dont use main window and run our own message loopJason A. Donenfeld3-19/+50
This allows us to do custom things like send raise click messages.
2019-05-10service: clean up addresses from stale interfacesJason A. Donenfeld1-0/+51
Other VPN implementations leave trash laying around...
2019-05-10ui: somewhat aggressively cache iconsJason A. Donenfeld7-65/+107
2019-05-10service: fix user logoutJason A. Donenfeld1-17/+50
2019-05-09ui: show correct name in deletion confirmationJason A. Donenfeld1-1/+1
2019-05-09conf: don't verify scope as part of ip checkingJason A. Donenfeld1-1/+5
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