tailscale/net
Brad Fitzpatrick 4e91cf20a8 control/controlknobs, all: add plumbed Knobs type, not global variables
Previously two tsnet nodes in the same process couldn't have disjoint
sets of controlknob settings from control as both would overwrite each
other's global variables.

This plumbs a new controlknobs.Knobs type around everywhere and hangs
the knobs sent by control on that instead.

Updates #9351

Change-Id: I75338646d36813ed971b4ffad6f9a8b41ec91560
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2023-09-11 12:44:03 -07:00
..
art net/art: allow non-pointers as values 2023-08-17 10:43:18 -07:00
connstats net/connstats: exclude traffic with internal Tailscale service (#7904) 2023-04-17 14:24:29 -07:00
dns all: use set.Set consistently instead of map[T]struct{} 2023-09-09 10:59:19 -07:00
dnscache tstest: prepare for Clock API changes 2023-07-06 17:03:19 -04:00
dnsfallback all: use Go 1.21 slices, maps instead of x/exp/{slices,maps} 2023-08-17 08:42:35 -07:00
flowtrack all: update copyright and license headers 2023-01-27 15:36:29 -08:00
interfaces net/tsdial: be smarter about when to close SystemDial conns 2023-09-01 09:33:55 -07:00
memnet net/memnet: export the network name (#9111) 2023-08-28 11:43:51 -07:00
netaddr all: update copyright and license headers 2023-01-27 15:36:29 -08:00
netcheck net/netcheck,wgengine/magicsock: reduce coupling between netcheck and magicsock 2023-08-11 10:08:21 -07:00
neterror net/neterror, wgengine/magicsock: use UDP GSO and GRO on Linux (#7791) 2023-04-04 16:32:16 -07:00
netknob all: update copyright and license headers 2023-01-27 15:36:29 -08:00
netmon net/netmon, net/tsdial: add some link change metrics 2023-09-02 14:38:34 -07:00
netns net/{interfaces,netmon}: remove "interesting", EqualFiltered API 2023-08-29 11:57:30 -07:00
netstat net/{netns,netstat}: use new x/sys/cpu.IsBigEndian 2023-02-02 07:41:49 -08:00
netutil cmd/tailscale: refactor shared utility methods 2023-08-09 08:59:10 -07:00
packet net/packet: add NAT support for DCCP and GRE 2023-04-24 15:30:50 -07:00
ping net/ping,netcheck: add v6 pinging capabilities to pinger (#7971) 2023-04-26 15:59:37 -07:00
portmapper control/controlknobs, all: add plumbed Knobs type, not global variables 2023-09-11 12:44:03 -07:00
proxymux all: update copyright and license headers 2023-01-27 15:36:29 -08:00
routetable net/routetable: include unknown flags in the routetable doctor output 2023-02-10 15:54:31 -08:00
socks5 net/socks5: add password auth support 2023-03-05 14:08:34 -08:00
sockstats net/netmon: make ChangeFunc's signature take new ChangeDelta, not bool 2023-08-23 10:42:14 -07:00
speedtest all: update copyright and license headers 2023-01-27 15:36:29 -08:00
stun wgengine/magicsock, types/nettype, etc: finish ReadFromUDPAddrPort netip migration 2023-04-15 13:40:15 -07:00
tcpinfo net/tcpinfo: add package to allow fetching TCP information 2023-06-27 21:59:43 -04:00
tlsdial cmd/tailscale/cli: make netcheck run even if machine lacks TLS certs 2023-08-23 21:11:04 -07:00
tsaddr cmd/viewer, types/views, all: un-special case slice of netip.Prefix 2023-08-18 12:27:44 -07:00
tsdial net/netmon, net/tsdial: add some link change metrics 2023-09-02 14:38:34 -07:00
tshttpproxy net/tshttpproxy: don't proxy through ourselves 2023-03-29 17:09:45 -04:00
tstun all: use set.Set consistently instead of map[T]struct{} 2023-09-09 10:59:19 -07:00
wsconn net/wsconn: accept a remote addr string and plumb it through 2023-08-29 16:57:16 -07:00