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