tailscale/wgengine/router
Brad Fitzpatrick 3672f29a4e net/netns, net/dns/resolver, etc: make netmon required in most places
The goal is to move more network state accessors to netmon.Monitor
where they can be cheaper/cached. But first (this change and others)
we need to make sure the one netmon.Monitor is plumbed everywhere.

Some notable bits:

* tsdial.NewDialer is added, taking a now-required netmon

* because a tsdial.Dialer always has a netmon, anything taking both
  a Dialer and a NetMon is now redundant; take only the Dialer and
  get the NetMon from that if/when needed.

* netmon.NewStatic is added, primarily for tests

Updates tailscale/corp#10910
Updates tailscale/corp#18960
Updates #7967
Updates #3299

Change-Id: I877f9cb87618c4eb037cee098241d18da9c01691
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2024-04-27 12:17:45 -07:00
..
callback.go wgengine/router: implement UpdateMagicsockPort for CallbackRouter (#10494) 2023-12-07 10:45:14 -05:00
consolidating_router_test.go wgengine/router: consolidate routes before reconfiguring router for mobile clients 2024-04-23 20:15:56 -05:00
consolidating_router.go wgengine/router: consolidate routes before reconfiguring router for mobile clients 2024-04-23 20:15:56 -05:00
ifconfig_windows_test.go all: use Go 1.22 range-over-int 2024-04-16 15:32:38 -07:00
ifconfig_windows.go health, all: remove health.Global, finish plumbing health.Tracker 2024-04-26 12:03:11 -07:00
router_darwin.go health, all: remove health.Global, finish plumbing health.Tracker 2024-04-26 12:03:11 -07:00
router_default.go health, all: remove health.Global, finish plumbing health.Tracker 2024-04-26 12:03:11 -07:00
router_fake.go util/linuxfw, wgengine: allow ingress to magicsock UDP port on Linux (#10370) 2023-12-05 18:12:02 -05:00
router_freebsd.go health, all: remove health.Global, finish plumbing health.Tracker 2024-04-26 12:03:11 -07:00
router_linux_test.go health, all: remove health.Global, finish plumbing health.Tracker 2024-04-26 12:03:11 -07:00
router_linux.go health, all: remove health.Global, finish plumbing health.Tracker 2024-04-26 12:03:11 -07:00
router_openbsd.go health, all: remove health.Global, finish plumbing health.Tracker 2024-04-26 12:03:11 -07:00
router_test.go all: use Go 1.22 range-over-int 2024-04-16 15:32:38 -07:00
router_userspace_bsd.go health, all: remove health.Global, finish plumbing health.Tracker 2024-04-26 12:03:11 -07:00
router_windows_test.go wgengine/router: look up absolute path to netsh.exe on Windows 2024-01-10 20:20:19 -05:00
router_windows.go health, all: remove health.Global, finish plumbing health.Tracker 2024-04-26 12:03:11 -07:00
router.go net/netns, net/dns/resolver, etc: make netmon required in most places 2024-04-27 12:17:45 -07:00
runner.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00