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/ipn/ipnlocal
Maisem Ali c60cbca371 control/controlclient: store netinfo and hostinfo separately
Currently, when SetNetInfo is called it sets the value on
hostinfo.NetInfo. However, when SetHostInfo is called it overwrites the
hostinfo field which may mean it also clears out the NetInfo it had just
received.
This commit stores NetInfo separately and combines it into Hostinfo as
needed so that control is always notified of the latest values.

Also, remove unused copies of Hostinfo from ipn.Status and
controlclient.Auto.

Updates #tailscale/corp#4824 (maybe fixes)

Signed-off-by: Maisem Ali <maisem@tailscale.com>
3 years ago
..
dnsconfig_test.go net/dns: schedule DoH upgrade explicitly, fix Resolver.Addr confusion 3 years ago
local.go control/controlclient: store netinfo and hostinfo separately 3 years ago
local_test.go ipn/ipnlocal: make peerIPs return a sorted slice 3 years ago
loglines_test.go ipn/store: add common package for instantiating ipn.StateStores 3 years ago
peerapi.go cmd/tailscaled,ipn/ipnlocal,wgengine/...: pass dns.Manager into netstack 3 years ago
peerapi_h2c.go ipn/ipnlocal: add HTTP/2 h2c server support to peerapi on non-mobile platforms 3 years ago
peerapi_macios_ext.go net/tsdial: move macOS/iOS peerapi sockopt logic from LocalBackend 3 years ago
peerapi_test.go ipn/ipnlocal: add start of inter-user Taildrop 3 years ago
ssh.go tempfork: temporarily fork gliderlabs/ssh and x/crypto/ssh 3 years ago
ssh_stub.go ssh: make it build on darwin 3 years ago
ssh_test.go ipn/ipnlocal: generate tailscaled-owned SSH keys as needed 3 years ago
state_test.go ipn/ipnlocal: do not process old status messages received out of order 3 years ago