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/net
Brad Fitzpatrick 7f174e84e6 net/interfaces: remove mutating methods, add EqualFiltered instead
Now callers (wgengine/monitor) don't need to mutate the state to remove
boring interfaces before calling State.Equal. Instead, the methods
to remove boring interfaces from the State are removed, as is
the reflect-using Equal method itself, and in their place is
a new EqualFiltered method that takes a func predicate to match
interfaces to compare.

And then the FilterInteresting predicate is added for use
with EqualFiltered to do the job that that wgengine/monitor
previously wanted.

Now wgengine/monitor can keep the full interface state around,
including the "boring" interfaces, which we'll need for peerapi on
macOS/iOS to bind to the interface index of the utunN device.

Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
3 years ago
..
dns Move DNS flush logic to net/dns. 3 years ago
dnscache control/controlclient, net/{dnscache,dnsfallback}: add DNS fallback mechanism 3 years ago
dnsfallback net/dnsfallback: fix infinite loop and limit number of candidates 3 years ago
flowtrack net/packet, wgengine/filter: support SCTP 3 years ago
interfaces net/interfaces: remove mutating methods, add EqualFiltered instead 3 years ago
netcheck net/netcheck: add a few more STUN retries for prior DERP home 3 years ago
netns net/{interfaces,netns}: add some new tests, missed from prior commit 3 years ago
netstat net/netstat: remove a bit more unsafe 4 years ago
nettest net/nettest: de-flake tests on Windows 3 years ago
packet net/packet, wgengine/{filter,tstun}: add TSMP ping 3 years ago
portmapper net/portmapper: silently handle PCP NOT_AUTHORIZED responses. 3 years ago
socks5 cmd/tailscaled, wgengine: remove --fake, replace with netstack 3 years ago
stun tstest/natlab: use net.ErrClosed instead of a new error 3 years ago
tlsdial net/tlsdial, derp/derphttp: finish DERPNode.CertName validation 4 years ago
tsaddr all: s/Magic DNS/MagicDNS/ for consistency 3 years ago
tshttpproxy net/tshttpproxy: call winhttp calls from a fixed OS thread 3 years ago