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
Ryan Koski ef2e3c64aa net/dns/resolver: Truncate UDP DNS responses
Perform RFC-compliant truncation of DNS responses
which are to be delivered over UDP when they
exceed the maximum allowed size.

The maximum size is determined by the EDNS0
options in the DNS request, or defaults to
512 bytes if no EDNS0 options are present (or
the ENDS0 value in the request is less than 512).
Per DNS Flag Day 2010 recommendations, we cap
the maximum UDP DNS response size at 1232 bytes.

Fixes #13601 and #18107

Signed-off-by: Ryan Koski <ryan@koski.org>
4 weeks ago
..
ace feature/ace: make ACE modular 3 months ago
art all: rename variables with lowercase-l/uppercase-I 2 months ago
bakedroots tstest/tlstest: simplify, don't even bake in any keys 7 months ago
batching net/batching: fix import formatting 2 months ago
captivedetection syncs: add Mutex/RWMutex alias/wrappers for future mutex debugging 2 months ago
connectproxy net/tlsdial: fix TLS cert validation of HTTPS proxies 7 months ago
dns net/dns/resolver: Truncate UDP DNS responses 4 weeks ago
dnscache syncs: add Mutex/RWMutex alias/wrappers for future mutex debugging 2 months ago
dnsfallback feature, net/tshttpproxy: pull out support for using proxies as a feature 3 months ago
flowtrack net/flowtrack: fix, test String method 2 years ago
ipset all: use iterators over slice views more 1 year ago
ktimeout all: rename variables with lowercase-l/uppercase-I 2 months ago
memnet all: rename variables with lowercase-l/uppercase-I 2 months ago
netaddr all: rename variables with lowercase-l/uppercase-I 2 months ago
netcheck all: rename variables with lowercase-l/uppercase-I 2 months ago
neterror net/neterror, wgengine/magicsock: use UDP GSO and GRO on Linux (#7791) 3 years ago
netkernelconf all: remove non-applicable "linux" deps on Android 8 months ago
netknob all: update copyright and license headers 3 years ago
netmon syncs: add Mutex/RWMutex alias/wrappers for future mutex debugging 2 months ago
netns net/netns: remove spammy logs for interface binding caps 2 months ago
netstat all: add test for package comments, fix, add comments as needed 2 years ago
netutil syncs: add Mutex/RWMutex alias/wrappers for future mutex debugging 2 months ago
netx net/{netx,memnet},all: add netx.DialFunc, move memnet Network impl 9 months ago
packet net/{packet,tstun},wgengine: update disco key when receiving via TSMP (#18158) 1 month ago
ping syncs: add Mutex/RWMutex alias/wrappers for future mutex debugging 2 months ago
portmapper go.mod: bump golang.org/x/crypto (#17907) 2 months ago
proxymux all: cleanup unused code, part 1 (#10661) 2 years ago
routetable net/routetable: don't try to fetch the route table on android 9 months ago
sockopts wgengine/magicsock,net/sockopts: export Windows ICMP suppression logic (#16917) 5 months ago
socks5 all: rename variables with lowercase-l/uppercase-I 2 months ago
sockstats go.mod: bump golang.org/x/crypto (#17907) 2 months ago
speedtest all: rename variables with lowercase-l/uppercase-I 2 months ago
stun ci: enable checklocks workflow for specific packages 2 years ago
stunserver all: use Go 1.22 range-over-int 2 years ago
tcpinfo all: use Go 1.22 range-over-int 2 years ago
tlsdial feature/featuretags, all: add build features, use existing ones in more places 3 months ago
tsaddr net/tsaddr: include test input in test failure output 1 year ago
tsdial types/netmap,*: remove some redundant fields from NetMap 2 months ago
tshttpproxy go.mod: bump golang.org/x/crypto (#17907) 2 months ago
tstun net/{packet,tstun},wgengine: update disco key when receiving via TSMP (#18158) 1 month ago
udprelay net/udprelay: re-use mono.Time in control packet handling 1 month ago
wsconn syncs: add Mutex/RWMutex alias/wrappers for future mutex debugging 2 months ago