summaryrefslogtreecommitdiffhomepage
path: root/net/interfaces
AgeCommit message (Collapse)AuthorFilesLines
2020-07-15net/interfaces: set SysProcAttr.HideWindow to prevent cmd.exe flash on WindowsBrad Fitzpatrick1-0/+2
2020-07-06net/tsaddr: new package to hold Tailscale-specific IPs/rangesBrad Fitzpatrick1-3/+3
And update existing callers with (near) duplicated cases.
2020-07-06netcheck, tailcfg, interfaces, magicsock: survey UPnP, NAT-PMP, PCPBrad Fitzpatrick2-5/+30
Don't do anything with UPnP, NAT-PMP, PCP yet, but see how common they are in the wild. Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2020-07-06net/interfaces: add func LikelyHomeRouterIPBrad Fitzpatrick5-0/+213
For discovering where we might direct NAT-PMP/PCP/UPnP queries at in the future.
2020-05-28Make netcheck handle v6-only interfaces better, faster.Brad Fitzpatrick1-48/+37
Also: * add -verbose flag to cmd/tailscale netcheck * remove some API from the interfaces package * convert some of the interfaces package to netaddr.IP * don't even send IPv4 probes on machines with no IPv4 (or only v4 loopback) * and once three regions have replied, stop waiting for other probes at 2x the slowest duration. Updates #376
2020-04-10net/interfaces: add IsExpensive and up state to StateBrad Fitzpatrick2-1/+33
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2020-03-27cmd/tailscale: add status subcommandBrad Fitzpatrick1-16/+51
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2020-03-10Move linkstate boring change filtering to magicsockBrad Fitzpatrick1-0/+34
So we can at least re-STUN on boring updates. Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2020-03-10wgengine/monitor: don't call LinkChange when interfaces look unchangedBrad Fitzpatrick2-0/+215
Basically, don't trust the OS-level link monitor to only tell you interesting things. Sanity check it. Also, move the interfaces package into the net directory now that we have it.