summaryrefslogtreecommitdiffhomepage
path: root/net/interfaces/interfaces_linux.go
AgeCommit message (Collapse)AuthorFilesLines
2021-03-31interfaces: check correct error /proc/net/routeDenton Gentry1-4/+6
wrap io.EOF if we hit https://github.com/google/gvisor/issues/5732 Check for the correct err. Signed-off-by: Denton Gentry <dgentry@tailscale.com>
2021-03-30interfaces: try larger read from /proc/net/routeDenton Gentry1-3/+23
Work around https://github.com/google/gvisor/issues/5732 by trying to read /proc/net/route with a larger bufsize if it fails the first time. Signed-off-by: Denton Gentry <dgentry@tailscale.com>
2020-08-10net/netns, net/interfaces: move defaultRouteInterface, add Android fallbackBrad Fitzpatrick1-0/+93
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2020-07-28net/interfaces: fix likelyHomeRouterIP on AndroidBrad Fitzpatrick1-1/+59
2020-07-06net/interfaces: add func LikelyHomeRouterIPBrad Fitzpatrick1-0/+59
For discovering where we might direct NAT-PMP/PCP/UPnP queries at in the future.