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 4fa40a18e9 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>
6 months ago
..
art all: use Go 1.22 range-over-int 7 months ago
connstats all: use Go 1.22 range-over-int 7 months ago
dns net/netns, net/dns/resolver, etc: make netmon required in most places 6 months ago
dnscache net/netns, net/dns/resolver, etc: make netmon required in most places 6 months ago
dnsfallback tsd, ipnlocal, etc: add tsd.System.HealthTracker, start some plumbing 6 months ago
flowtrack all: update copyright and license headers 2 years ago
interfaces interfaces: create android impl (#11784) 7 months ago
ktimeout net/ktimeout: add a package to set TCP user timeout 8 months ago
memnet net/memnet: export the network name (#9111) 1 year ago
netaddr all: update copyright and license headers 2 years ago
netcheck net/netns, net/dns/resolver, etc: make netmon required in most places 6 months ago
neterror net/neterror, wgengine/magicsock: use UDP GSO and GRO on Linux (#7791) 2 years ago
netkernelconf client/tailscale,ipn/{ipnlocal,localapi}: check UDP GRO config (#10071) 12 months ago
netknob all: update copyright and license headers 2 years ago
netmon net/netns, net/dns/resolver, etc: make netmon required in most places 6 months ago
netns net/netns, net/dns/resolver, etc: make netmon required in most places 6 months ago
netstat net/{netns,netstat}: use new x/sys/cpu.IsBigEndian 2 years ago
netutil net/netutil: remove a use of deprecated interfaces.GetState 6 months ago
packet all: use Go 1.22 range-over-int 7 months ago
ping net/ping: fix ICMP echo code field to 0 1 year ago
portmapper net/netns, net/dns/resolver, etc: make netmon required in most places 6 months ago
proxymux all: cleanup unused code, part 1 (#10661) 11 months ago
routetable net/routetable: increase route limit used by the test 8 months ago
socks5 net/socks5: add password auth support 2 years ago
sockstats all: use Go 1.22 range-over-int 7 months ago
speedtest all: update copyright and license headers 2 years ago
stun wgengine/magicsock, types/nettype, etc: finish ReadFromUDPAddrPort netip migration 2 years ago
stunserver all: use Go 1.22 range-over-int 7 months ago
tcpinfo all: use Go 1.22 range-over-int 7 months ago
tlsdial tsd, ipnlocal, etc: add tsd.System.HealthTracker, start some plumbing 6 months ago
tsaddr all: use Go 1.22 range-over-int 7 months ago
tsdial net/netns, net/dns/resolver, etc: make netmon required in most places 6 months ago
tshttpproxy all: use Go 1.22 range-over-int 7 months ago
tstun all: use Go 1.22 range-over-int 7 months ago
wsconn net/wsconn: accept a remote addr string and plumb it through 1 year ago