tailscale/net
Adrian Dewhurst 8bdf878832 net/dns/resolver: use forwarded dns txid directly
Previously, we hashed the question and combined it with the original
txid which was useful when concurrent queries were multiplexed on a
single local source port. We encountered some situations where the DNS
server canonicalizes the question in the response (uppercase converted
to lowercase in this case), which resulted in responses that we couldn't
match to the original request due to hash mismatches. This includes a
new test to cover that situation.

Fixes #2597

Signed-off-by: Adrian Dewhurst <adrian@tailscale.com>
2021-08-06 14:56:11 -04:00
..
dns net/dns/resolver: use forwarded dns txid directly 2021-08-06 14:56:11 -04:00
dnscache net/{dnscache,interfaces}: use netaddr.IP.IsPrivate, delete copied code 2021-07-26 20:30:28 -07:00
dnsfallback all: gofmt with Go 1.17 2021-08-05 15:54:00 -07:00
flowtrack net/packet, wgengine/filter: support SCTP 2021-03-20 21:34:13 -07:00
interfaces all: gofmt with Go 1.17 2021-08-05 15:54:00 -07:00
netcheck net/{interfaces,netcheck}: rename some fields, funcs 2021-06-17 17:50:13 -07:00
netns all: gofmt with Go 1.17 2021-08-05 15:54:00 -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 net/packet: use netaddr AppendTo methods 2021-05-20 20:42:18 -07:00
portmapper net/portmapper: add start of self-contained portmapper integration tests 2021-08-06 08:34:45 -07:00
socks5 net/socks5/tssocks: add a SOCKS5 dialer type, method-ifying code 2021-06-28 13:12:42 -07:00
speedtest Implemented Commandline Download Speedtest (#2064) 2021-07-15 14:43:13 -04:00
stun all: gofmt with Go 1.17 2021-08-05 15:54:00 -07:00
tlsdial net/tlsdial, derp/derphttp: finish DERPNode.CertName validation 2020-06-01 09:01:37 -07:00
tsaddr net/tsaddr: remove IsULA, replace with netaddr.IP.IsPrivate 2021-07-30 19:56:11 -07:00
tshttpproxy all: gofmt with Go 1.17 2021-08-05 15:54:00 -07:00
tstun all: gofmt with Go 1.17 2021-08-05 15:54:00 -07:00