aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/gotext.go (unfollow)
Commit message (Collapse)AuthorFilesLines
2020-11-23docs: mention that the uninstaller will nuke knobsJason A. Donenfeld1-1/+2
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2020-11-23docs: clarify group membership search algorithmJason A. Donenfeld1-2/+2
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2020-11-23manager: styleJason A. Donenfeld1-1/+0
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2020-11-23manager: cleanup pipes on failureJason A. Donenfeld1-0/+16
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2020-11-23docs: move to docs subdirectoryJason A. Donenfeld7-101/+134
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2020-11-23main: do not display message when user presses 'no'Jason A. Donenfeld1-2/+2
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2020-11-22tunnel: set %WIREGUARD_INTERFACE_NAME% instead of expanding %iJason A. Donenfeld2-3/+4
While this diverges from wg-quick(8), it's also much more Windows-friendly, considering that % is the prefix for expanding environment variables in cmd.exe. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2020-11-22build: use newer version of go in makefileJason A. Donenfeld1-1/+1
This reflects the recent changes to build.bat. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2020-11-22go-patches: add back hires windows timer patchesJason A. Donenfeld10-19/+529
This adds back the high resolution timer patches, but with the addition of Alex's recent fix to branch to the old code in the event that 0x28(%gs) is zeroed out. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2020-11-22docs: remove highlighting from cmd examples in readmeJason A. Donenfeld1-9/+9
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2020-11-22docs: add networking quirks descriptionJason A. Donenfeld2-0/+34
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2020-11-22docs: add enterprise usage summaryJason A. Donenfeld2-0/+94
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2020-11-22l18n: regenerate indexJason A. Donenfeld16-2596/+1703
We'll soon squash this into new translations from crowdin. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2020-11-22global: update headersJason A. Donenfeld114-114/+114
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2020-11-22version: unify architecture string handlingJason A. Donenfeld5-63/+57
Always report native architecture and use "x86" instead of "386" for all identification strings, except when explicitly stating the Go verison. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2020-11-22conf: always use 64-bit registry view on 64-bit machinesJason A. Donenfeld1-1/+1
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2020-11-22manager: allow multiple tunnels if admin knob allows itJason A. Donenfeld2-25/+39
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2020-11-22tunnel: enable {Pre,Post}{Up,Down} scripts gated behind admin knobJason A. Donenfeld10-12/+169
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2020-11-22conf: allow administrators to add and remove configs easilyJason A. Donenfeld5-22/+78
We loosen the permissions a little bit while tightening the restrictions on encrypted files. This should allow administrators to easily drop unencrypted files into Data\Configurations\ and get them encrypted and made read-only, while also allowing them to delete unwanted configurations. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2020-11-22manager: move IPC notification to go routine per clientJason A. Donenfeld1-2/+15
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2020-11-22manager: allow S-1-5-32-556 users to launch a limited UIJason A. Donenfeld12-36/+178
I still have serious security reservations about this, both conceptually -- should users be allowed to do this stuff? -- and pratically -- there are issues with this implementation that need some examination. TODO: - Is that registry key a secure path? Should we double check it? - Are we leaking handles to the unpriv'd process from the manager? Audit this too. - IPC notifications are blocking. Should we move this to a go routine to mitigate DoS potential? - Is GOB deserialization secure? Can an NCO user crash or RCE the manager? Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2020-11-22tunnel: only enable DNS blocking for 0/0 configsJason A. Donenfeld4-40/+29
This lets people use split tunnel DNS for the more common case. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2020-11-22installer: remove admin knobs in cleanupJason A. Donenfeld1-0/+1
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2020-11-22installer: force modal if KB2921916 is missingJason A. Donenfeld1-7/+19
This goes against user choice, but it's also required to get Windows 7 users upgrading again. Reported-by: /u/tarakan1983 on Reddit Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2020-11-20installer: remove memmemJason A. Donenfeld1-116/+8
There's only one 'h' in the search string, so the efficiency is about the same. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2020-11-19version: bumpv0.2.3Jason A. Donenfeld1-1/+1
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2020-11-19manager: don't serialize a nil tunnelJason A. Donenfeld1-0/+3
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2020-11-19ui: add status icon to context menuJason A. Donenfeld1-0/+4
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2020-11-19build: bump golang version to 1.15.5Jason A. Donenfeld9-27/+27
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2020-11-19ui: re-add systray popup menu tunnel list, but behind submenu if too bigJason A. Donenfeld3-40/+199
This partially reverts commit 851704a761461270eae5b9aaf26711c5527bbc44, but moves the menu into a submenu if there are more than 10 tunnels, suggested by "FatComputerGuy" on reddit. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2020-11-18locales: sync with crowdinJason A. Donenfeld16-1571/+4415
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2020-11-18updater: remove obsolete syscall stubJason A. Donenfeld1-8/+0
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2020-11-18tunnel: mask self before giving routes to windowsJason A. Donenfeld2-0/+9
Otherwise Windows complains. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2020-11-18installer: regard KB2921916 exits when prompted to be USEREXIT so fetcher doesn't mindJason A. Donenfeld1-0/+1
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2020-11-18version: bumpv0.2.2Jason A. Donenfeld1-1/+1
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2020-11-18installer: check for KB2921916's setupapi.dll directlyJason A. Donenfeld1-23/+144
Some people might have the right setupapi.dll without actually having installed the quickfix. Search for a distinguishing feature instead. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2020-11-18conf: do not remigrate configs that are pending deletionJason A. Donenfeld1-6/+18
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2020-11-18installer: refactor custom actions to appear in chronological orderSimon Rozman2-209/+209
...in the source code. Signed-off-by: Simon Rozman <simon@rozman.si>
2020-11-18installer: prevent the process killing on upgrade cleanupSimon Rozman1-7/+13
When MSI is upgrading previous version, the RemoveExistingProducts shouldn't kill our processes we just installed and started. Signed-off-by: Simon Rozman <simon@rozman.si>
2020-11-18installer: ignore remove failuresSimon Rozman1-1/+2
On upgrades from <=0.1.1 there's a short window, where new tunnel service may delete the Wintun 0.8 driver from the store, while 0.1.1 removal is about to do the same, and fails with "File not found". The computer ended up with the old WireGuard installed. Signed-off-by: Simon Rozman <simon@rozman.si>
2020-11-18mod: bump for x/sys/svc/mgr fix for UpdateConfig(Config())Jason A. Donenfeld2-12/+9
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2020-11-17installer: disable ROLLBACKJason A. Donenfeld1-0/+1
This causes more problems than it solves. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2020-11-17conf: delay removal of old configs until next rebootJason A. Donenfeld1-7/+15
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2020-11-17updater: BOOLEAN is a char, whereas BOOL is an intJason A. Donenfeld1-2/+2
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2020-11-17fetcher: styleJason A. Donenfeld1-2/+1
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2020-11-17updater: SetFileInformationByHandle moved into x/sysJason A. Donenfeld3-18/+8
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2020-11-17version: bumpv0.2.1Jason A. Donenfeld1-1/+1
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2020-11-17build: bump wintunJason A. Donenfeld2-2/+2
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2020-11-17version: bumpv0.2Jason A. Donenfeld1-1/+1
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2020-11-17conf: do not attempt to create programfilesJason A. Donenfeld1-1/+2
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>