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
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>
4 years ago
..
dns net/dns: don't use interfaces.Tailscale to find the tailscale interface index. 4 years ago
dnscache control/controlclient, net/{dnscache,dnsfallback}: add DNS fallback mechanism 4 years ago
dnsfallback net/dnsfallback: fix infinite loop and limit number of candidates 4 years ago
flowtrack net/packet, wgengine/filter: support SCTP 4 years ago
interfaces net/interface: remove darwin fetchRoutingTable workaround 4 years ago
netcheck net/netcheck: add a few more STUN retries for prior DERP home 4 years ago
netns net/{interfaces,netns}: add some new tests, missed from prior commit 4 years ago
netstat net/netstat: remove a bit more unsafe 4 years ago
nettest net/nettest: make nettest.NewConn pass x/net/nettest.TestConn. 4 years ago
packet net/{packet,tstun}: send peerapi port in TSMP pongs 4 years ago
portmapper net/portmapper: silently handle PCP NOT_AUTHORIZED responses. 4 years ago
socks5 cmd/tailscaled, wgengine: remove --fake, replace with netstack 4 years ago
stun tstest/integration: add testNode.AwaitListening, DERP+STUN, improve proxy trap 4 years ago
tlsdial net/tlsdial, derp/derphttp: finish DERPNode.CertName validation 5 years ago
tsaddr net/tsaddr: add NewContainsIPFunc (move from wgengine) 4 years ago
tshttpproxy net/tshttpproxy: call winhttp calls from a fixed OS thread 4 years ago
tstun net/tstun: fix TUN log spam when ACLs drop a packet 4 years ago