Alex Brainman
f2ce64f0c6
wgengine/router: unfork winipcfg-go package, use upstream
...
Use golang.zx2c4.com/wireguard/windows/tunnel/winipcfg
instead of github.com/tailscale/winipcfg-go package.
Updates #760
Signed-off-by: Alex Brainman <alex.brainman@gmail.com >
2020-10-13 09:21:22 -07:00
Josh Bleecher Snyder
a5103a4cae
all: upgrade to latest version of depaware
2020-10-02 20:35:13 -07:00
Josh Bleecher Snyder
38dda1ea9e
all: update depaware.txt
...
Broken by 8051ecff55 .
Signed-off-by: Josh Bleecher Snyder <josh@tailscale.com >
2020-10-01 16:35:32 -07:00
Brad Fitzpatrick
8b94a769be
cmd/tailscaled: use the standard flag page instead of getopt
...
Per discussion with @crawshaw. The CLI tool already used std flag anyway.
If either of them, it would've made more sense for the CLI to use getopt.
2020-09-25 13:12:10 -07:00
Brad Fitzpatrick
3528d28ed1
wgengine/router: move Tailscale's winipcfg additions into wgengine/router
...
Part of unforking our winipcfg-go and using upstream (#760 ), move our
additions into our repo. (We might upstream them later if upstream has
interest)
Originally these were:
@apenwarr: "Add ifc.SyncAddresses() and SyncRoutes()."
https://github.com/tailscale/winipcfg-go/commit/609dcf2df55fbb76effd430a51b9757676853390
@bradfitz: "winipcfg: make Interface.AddRoutes do as much as possible, return combined error"
https://github.com/tailscale/winipcfg-go/commit/e9f93d53f33a7d2cadbdfa822761b8251af4d4bd
@bradfitz: "prevent unnecessary Interface.SyncAddresses work; normalize IPNets in deltaNets"
https://github.com/tailscale/winipcfg-go/commit/decb9ee8e17028db14c6951413cdd34ab46efca4
2020-09-22 09:24:10 -07:00
Christina Wen
f0e9dcdc0a
wgengine/router: restore /etc/resolv.conf after tailscale down is called
...
This change is to restore /etc/resolv.conf after tailscale down is called. This is done by setting the dns.Manager before errors occur. Error collection is also added.
Fixes #723
2020-09-17 16:40:22 -04:00
Brad Fitzpatrick
931bcd44cb
control/controlclient: report Synology "distro" + its version to control
2020-09-15 08:32:06 -07:00
David Anderson
8f5b52e571
net/netns: add windows support.
...
Also remove rebinding logic from the windows router. Magicsock will
instead rebind based on link change signals.
Signed-off-by: David Anderson <danderson@tailscale.com >
2020-09-14 16:28:49 -07:00
Brad Fitzpatrick
4f7751e025
Update depaware for previous ipnserver change.
2020-09-11 19:35:12 -07:00
Brad Fitzpatrick
a084c44afc
wgengine, wgengine/router, cmd/tailscale: force netfilter mode off on Synology
...
For now. Get it working again so it's not stuck on 0.98.
Subnet relay can come later.
Updates #451
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com >
2020-09-11 13:12:40 -07:00
Brad Fitzpatrick
8b60936913
depaware: update deps
2020-09-10 09:29:15 -07:00
Brad Fitzpatrick
22ed3c503e
Add depaware.txt files and GitHub checks. ( #745 )
...
See https://github.com/tailscale/depaware
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com >
2020-09-09 12:11:46 -07:00