tailscale / tailscale

The easiest, most secure way to use WireGuard and 2FA.
https://tailscale.com
BSD 3-Clause "New" or "Revised" License
16.84k stars 1.27k forks source link

net/netns, net/dns/resolver, etc: make netmon required in most places #11896

Closed bradfitz closed 2 weeks ago

bradfitz commented 2 weeks ago

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:

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

bradfitz commented 2 weeks ago

cc @barnstar