tailscale/net
David Anderson cfde997699 net/dns: don't use interfaces.Tailscale to find the tailscale interface index.
interfaces.Tailscale only returns an interface if it has at least one Tailscale
IP assigned to it. In the resolved DNS manager, when we're called upon to tear
down DNS config, the interface no longer has IPs.

Instead, look up the interface index on construction and reuse it throughout
the daemon lifecycle.

Fixes #1892.

Signed-off-by: David Anderson <dave@natulte.net>
2021-05-10 15:24:42 -07:00
..
dns net/dns: don't use interfaces.Tailscale to find the tailscale interface index. 2021-05-10 15:24:42 -07:00
dnscache control/controlclient, net/{dnscache,dnsfallback}: add DNS fallback mechanism 2021-03-01 18:42:03 -08:00
dnsfallback net/dnsfallback: fix infinite loop and limit number of candidates 2021-03-04 19:19:40 -08:00
flowtrack net/packet, wgengine/filter: support SCTP 2021-03-20 21:34:13 -07:00
interfaces net/interface: remove darwin fetchRoutingTable workaround 2021-05-10 08:24:11 -07:00
netcheck net/netcheck: add a few more STUN retries for prior DERP home 2021-03-12 11:46:08 -08:00
netns net/{interfaces,netns}: add some new tests, missed from prior commit 2021-02-14 21:18:27 -08:00
netstat net/netstat: remove a bit more unsafe 2020-11-17 13:49:24 -08:00
nettest net/nettest: make nettest.NewConn pass x/net/nettest.TestConn. 2021-04-06 15:34:29 -07:00
packet net/{packet,tstun}: send peerapi port in TSMP pongs 2021-03-29 15:18:23 -07:00
portmapper net/portmapper: silently handle PCP NOT_AUTHORIZED responses. 2021-03-17 19:44:35 -07:00
socks5 cmd/tailscaled, wgengine: remove --fake, replace with netstack 2021-03-01 11:09:19 -08:00
stun tstest/integration: add testNode.AwaitListening, DERP+STUN, improve proxy trap 2021-05-03 12:14:20 -07:00
tlsdial net/tlsdial, derp/derphttp: finish DERPNode.CertName validation 2020-06-01 09:01:37 -07:00
tsaddr net/tsaddr: add NewContainsIPFunc (move from wgengine) 2021-05-05 13:15:50 -07:00
tshttpproxy net/tshttpproxy: call winhttp calls from a fixed OS thread 2021-03-03 19:16:04 -08:00
tstun net/tstun: fix TUN log spam when ACLs drop a packet 2021-05-06 06:42:58 -07:00