You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/wgengine/router
Aaron Klotz f7acbefbbb wgengine/router: make the Windows ifconfig implementation reuse existing MibIPforwardRow2 when possible
Looking at profiles, we spend a lot of time in winipcfg.LUID.DeleteRoute
looking up the routing table entry for the provided RouteData.

But we already have the row! We previously obtained that data via the full
table dump we did in getInterfaceRoutes. We can make this a lot faster by
hanging onto a reference to the wipipcfg.MibIPforwardRow2 and executing
the delete operation directly on that.

Fixes #11123

Signed-off-by: Aaron Klotz <aaron@tailscale.com>
4 months ago
..
callback.go wgengine/router: implement UpdateMagicsockPort for CallbackRouter (#10494) 6 months ago
ifconfig_windows.go wgengine/router: make the Windows ifconfig implementation reuse existing MibIPforwardRow2 when possible 4 months ago
ifconfig_windows_test.go wgengine/router: make the Windows ifconfig implementation reuse existing MibIPforwardRow2 when possible 4 months ago
router.go util/linuxfw, wgengine: allow ingress to magicsock UDP port on Linux (#10370) 6 months ago
router_darwin.go all: move network monitoring from wgengine/monitor to net/netmon 1 year ago
router_default.go all: move network monitoring from wgengine/monitor to net/netmon 1 year ago
router_fake.go util/linuxfw, wgengine: allow ingress to magicsock UDP port on Linux (#10370) 6 months ago
router_freebsd.go all: move network monitoring from wgengine/monitor to net/netmon 1 year ago
router_linux.go all: cleanup unused code, part 1 (#10661) 6 months ago
router_linux_test.go util/linuxfw, wgengine: allow ingress to magicsock UDP port on Linux (#10370) 6 months ago
router_openbsd.go util/linuxfw, wgengine: allow ingress to magicsock UDP port on Linux (#10370) 6 months ago
router_test.go all: use reflect.TypeFor now available in Go 1.22 (#11078) 4 months ago
router_userspace_bsd.go util/linuxfw, wgengine: allow ingress to magicsock UDP port on Linux (#10370) 6 months ago
router_windows.go wgengine/router: look up absolute path to netsh.exe on Windows 5 months ago
router_windows_test.go wgengine/router: look up absolute path to netsh.exe on Windows 5 months ago
runner.go all: update copyright and license headers 1 year ago