tailscale/net
Josh Bleecher Snyder 21b1a44cd6 net/dns: handle comments in resolv.conf
Currently, comments in resolv.conf cause our parser to fail,
with error messages like:

ParseIP("192.168.0.100 # comment"): unexpected character (at " # comment")

Fix that.

Noticed while looking through logs.

Signed-off-by: Josh Bleecher Snyder <josh@tailscale.com>
(cherry picked from commit 9f00510833)
2021-12-14 10:35:23 -08:00
..
dns net/dns: handle comments in resolv.conf 2021-12-14 10:35:23 -08:00
dnscache net/{dnscache,interfaces}: use netaddr.IP.IsPrivate, delete copied code 2021-07-26 20:30:28 -07:00
dnsfallback cmd/cloner: mangle "go:generate" in cloner.go 2021-10-16 17:53:43 -07:00
flowtrack all: use testingutil.MinAllocsPerRun 2021-10-28 12:48:37 -07:00
interfaces net/interfaces/windows: update Tailscale interface detection logic to 2021-11-08 07:44:33 -08:00
netcheck netcheck, controlclient, magicsock: add more metrics 2021-11-16 10:48:19 -08:00
netknob all: disable TCP keep-alives on iOS/Android 2021-09-28 12:03:18 -07:00
netns all: disable TCP keep-alives on iOS/Android 2021-09-28 12:03:18 -07:00
netstat all: gofmt with Go 1.17 2021-08-05 15:54:00 -07:00
nettest net/nettest: make nettest.NewConn pass x/net/nettest.TestConn. 2021-04-06 15:34:29 -07:00
packet all: use testingutil.MinAllocsPerRun 2021-10-28 12:48:37 -07:00
portmapper net/portmapper: only print PCP/PMP if VerboseLogs 2021-10-28 10:18:51 -07:00
socks5 net/socks5/tssocks: add a SOCKS5 dialer type, method-ifying code 2021-06-28 13:12:42 -07:00
speedtest all: fix spelling mistakes 2021-10-12 21:23:14 -07:00
stun all: gofmt with Go 1.17 2021-08-05 15:54:00 -07:00
tlsdial net/tlsdial: add forgotten test file for go mod tidy 2021-10-01 10:30:01 -07:00
tsaddr ipn/ipnlocal: for IPv6-only nodes, publish IPv6 MagicDNS records of peers 2021-10-04 08:54:23 -07:00
tshttpproxy all: gofmt with Go 1.17 2021-08-05 15:54:00 -07:00
tstun net/tstun, wgengine: add packet-level and drop metrics 2021-11-17 16:18:52 -08:00