Maisem Ali
590792915a
wgengine/router{win}: ignore broadcast routes added by Windows when removing routes.
...
Signed-off-by: Maisem Ali <maisem@tailscale.com >
2021-04-24 14:13:35 -07:00
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
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
Brad Fitzpatrick
09d56f54a7
wgengine/router: fix Windows route sorting that caused de-dup to not work ( #727 )
...
Updates #725
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com >
2020-09-01 13:24:58 -07:00