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
Fernando Serboncini 276f54cb8b net/dns,ipn/ipnlocal: add nodecap to resolve subdomains
This adds a new node capability 'dns-subdomain-resolve' that signals
that all of hosts' subdomains should resolve to the same IP address.
It allows wildcard matching on any node marked with this capability.

This change also includes an util/dnsname utility function that lets
us access the parent of a full qualified domain name. MagicDNS takes
this function and recursively searchs for a matching real node name.

One important thing to observe is that, in this context, a subdomain
can have multiple sub labels. This means that for a given node named
machine, both my.machine and be.my.machine will be a positive match.

Updates #1196

Signed-off-by: Fernando Serboncini <fserb@tailscale.com>
1 week 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,ipn/ipnlocal: add nodecap to resolve subdomains 1 week 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 4 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 net/netmon, wgengine/userspace: purge ChangeDelta.Major and address TODOs (#17823) 4 weeks 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 net/netmon, wgengine/userspace: purge ChangeDelta.Major and address TODOs (#17823) 4 weeks 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 net/netmon, wgengine/userspace: purge ChangeDelta.Major and address TODOs (#17823) 4 weeks 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: remove tailscaled_peer_relay_endpoints_total (#18254) 4 weeks ago
wsconn syncs: add Mutex/RWMutex alias/wrappers for future mutex debugging 2 months ago