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
Adrian Dewhurst 8b11937eaf net/dns/resolver: permit larger max responses, signal truncation
This raises the maximum DNS response message size from 512 to 4095. This
should be large enough for almost all situations that do not need TCP.
We still do not recognize EDNS, so we will still forward requests that
claim support for a larger response size than 4095 (that will be solved
later). For now, when a response comes back that is too large to fit in
our receive buffer, we now set the truncation flag in the DNS header,
which is an improvement from before but will prompt attempts to use TCP
which isn't supported yet.

On Windows, WSARecvFrom into a buffer that's too small returns an error
in addition to the data. On other OSes, the extra data is silently
discarded. In this case, we prefer the latter so need to catch the error
on Windows.

Partially addresses #1123

Signed-off-by: Adrian Dewhurst <adrian@tailscale.com>
3 years ago
..
dns net/dns/resolver: permit larger max responses, signal truncation 3 years ago
dnscache
dnsfallback
flowtrack
interfaces net/{interfaces,netns}: change which build tag means mac/ios Network/System Extension 4 years ago
netcheck all: adapt to opaque netaddr types 4 years ago
netns net/{interfaces,netns}: change which build tag means mac/ios Network/System Extension 4 years ago
netstat all: adapt to opaque netaddr types 4 years ago
nettest
packet net/packet: use netaddr AppendTo methods 4 years ago
portmapper all: adapt to opaque netaddr types 4 years ago
socks5 cmd/tailscaled, wgengine: remove --fake, replace with netstack 4 years ago
stun
tlsdial
tsaddr net/tsaddr: simplify TailscaleServiceIP 4 years ago
tshttpproxy
tstun net/tstun: add a debug envvar to override tun MTU. 4 years ago