aboutsummaryrefslogtreecommitdiffstatshomepage
Commit message (Collapse)AuthorAgeFilesLines
* tunnel: depend on more servicesjd/more-service-dependencyJason A. Donenfeld2021-09-244-28/+19
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* build: bump to wgnt 0.9Jason A. Donenfeld2021-09-242-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* winipcfg: fix typo in DNS LLMNR flagJason A. Donenfeld2021-09-231-1/+1
| | | | | Reported-by: Brad Fitzpatrick <bradfitz@tailscale.com> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* tunnel: help people fix their DNS Cache serviceJason A. Donenfeld2021-09-191-0/+25
| | | | | | | | Too many people follow silly Internet guides and disable this, making it impossible for us to then set activestore-style DNS servers for the interface. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* tunnel: pretty print route failures betterJason A. Donenfeld2021-09-162-2/+7
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* version: bumpv0.4.9Jason A. Donenfeld2021-09-151-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* tunnel: return if unable to configureJason A. Donenfeld2021-09-151-0/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* build: bump to wgnt 0.8Jason A. Donenfeld2021-09-152-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* build: bump wireguard toolsJason A. Donenfeld2021-09-151-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* tunnel: reinitialize configuration after PnP flaps driver on <10Jason A. Donenfeld2021-09-143-6/+21
| | | | | | | | | | On older Windows, PnP will unload the driver and reload it. This makes multiple tunnels impossible, as we knew. But this also happens when various adapter settings change, like ICS, which is maybe a bigger issue. Solve this by reloading the configuration after these flaps. Reported-by: Harland Coles <harland.coles@energy-x.com> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* version: bumpv0.4.8Jason A. Donenfeld2021-09-131-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* build: bump to wgnt 0.7Jason A. Donenfeld2021-09-132-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* global: prefer WireGuardNT over wireguard-go/WintunJason A. Donenfeld2021-09-1212-169/+29
| | | | | | Also remove Wintun driver on startup. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* docs: mention update notification behavior changeJason A. Donenfeld2021-09-121-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* build: bump to go 1.17.1Jason A. Donenfeld2021-09-112-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* manager: disable multiple tunnels on pre-win10Jason A. Donenfeld2021-09-101-1/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* tunnel: set address after routes so that loopback worksJason A. Donenfeld2021-09-091-11/+10
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* winipcfg: disable DAD so that IP becomes useful soonerJason A. Donenfeld2021-09-091-0/+5
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* tunnel: disable dhcp probesJason A. Donenfeld2021-09-091-0/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* tunnel: disable dad and router discovery on v4 tooJason A. Donenfeld2021-09-091-12/+5
| | | | | | Oddly enough, these mean something for IPv4. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* global: format with go 1.17Jason A. Donenfeld2021-09-097-1/+7
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* version: bumpv0.4.7Jason A. Donenfeld2021-09-091-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* build: bump to wgnt 0.6Jason A. Donenfeld2021-09-092-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* conf: use wgnt for those enrolled in insider programJason A. Donenfeld2021-09-092-4/+35
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* version: bumpv0.4.6Jason A. Donenfeld2021-09-071-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* mod: bumpJason A. Donenfeld2021-09-072-15/+15
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* build: bump to wgnt 0.5Jason A. Donenfeld2021-09-072-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* locales: sync with crowdinJason A. Donenfeld2021-09-0718-2009/+11929
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* conf: generate valid endpoint for ::1Jason A. Donenfeld2021-09-071-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* build: bump to go 1.17Jason A. Donenfeld2021-08-183-49/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* embeddable-dll-service: csharp: fix type conversionsJason A. Donenfeld2021-08-142-3/+3
| | | | | | | | | | ADDRESS_FAMILY is a u16, not a u32. C# promotes a ushort to an int, not to a short, so ntohl was being called instead of ntohs. Fix this with explicit casts. Reported-by: Neutron <dotneutron@protonmail.ch> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* embeddable-dll-service: csharp: specify stdcall, not cdeclJason A. Donenfeld2021-08-131-3/+3
| | | | | | | wireguard.h uses the WINAPI macro, which is __stdcall, so mark these as such. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* conf: split registry key open and createSimon Rozman2021-08-131-2/+3
| | | | | | | | | | | | | | | On reading admin registry values, an on-demand auto creation of registry key is not required side effect. This restores openAdminKey() to original form, we will need anyway after the WireGuardNT call-for-testing promotion is no longer required. The GUI ExperimentalKernelDriver flipping also opened a caching registry key handle issue: should user manually delete our registry key while wireguard.exe is already running, any admin knob get fails. So, the sooner we get rid of the GUI admin knob flipping, the better. Signed-off-by: Simon Rozman <simon@rozman.si>
* winipcfg: update documentationSimon Rozman2021-08-131-1/+1
| | | | Signed-off-by: Simon Rozman <simon@rozman.si>
* version: bumpv0.4.5Jason A. Donenfeld2021-08-131-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* conf: create registry key if it doesn't existJason A. Donenfeld2021-08-131-1/+1
| | | | | Reported-by: Pablo <contact@donpablo.me> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* version: bumpv0.4.4Jason A. Donenfeld2021-08-131-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: add visible knob for kernel testing [revert me please!]Jason A. Donenfeld2021-08-132-6/+64
| | | | | | | | | | I really, really hate visible knobs. But we need some way of getting wider testing of this, and a lot of people who are interested in dare devilish things might not to think to flip some registry knobs. Hopefully this commit will be reverted as soon as possible. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: follow layout variable pattern in tunnelspageJason A. Donenfeld2021-08-131-2/+3
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* manager: make multiple tunnels mode automaticJason A. Donenfeld2021-08-133-46/+74
| | | | | | | | | Rather than having to set a registry knob to enable multiple tunnels, it is now automatic. If an additional activated tunnel has the same route subnets or interface IP addresses as a previous tunnel, that previous one is stopped. But if there's no overlap, then they coexist. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* embeddable-dll-service: allow falling back to wireguard-goJason A. Donenfeld2021-08-101-2/+14
| | | | | Requested-by: Dmitry Smirnov <dmitry.smirnov@netprotect.com> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* tunnel: execute *down commands for wgntJason A. Donenfeld2021-08-101-3/+6
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* version: bumpv0.4.3Jason A. Donenfeld2021-08-101-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* build: bump to wgnt 0.4Jason A. Donenfeld2021-08-102-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* tunnel: provide better logging for when iphlpapi failsJason A. Donenfeld2021-08-103-5/+12
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* embeddable-dll-service: csharp: update for wgntJason A. Donenfeld2021-08-104-35/+316
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* embeddable-dll-service: use wgnt alwaysJason A. Donenfeld2021-08-094-9/+10
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* driver: split 64bit arguments into two for 32bit machinesJason A. Donenfeld2021-08-091-10/+20
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* embeddable-dll-service: mention that you need dlls in right placeJason A. Donenfeld2021-08-092-4/+2
| | | | | Reported-by: Dmitry Smirnov <dmitry.smirnov@netprotect.com> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* manager: do both wgnt and wintun cleanupsJason A. Donenfeld2021-08-092-37/+33
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>