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/util
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
..
backoff control/controlclient: remove unused reference to mapCtx (#17614) 3 months ago
checkchange net/dns, ipn/ipnlocal: fix regressions from change moving away from deephash 3 months ago
cibuild all: update copyright and license headers 3 years ago
clientmetric client/local: add method to set gauge metric to a value 4 weeks ago
cloudenv feature/featuretags, all: add build features, use existing ones in more places 3 months ago
cmpver util/cmpver: add Less/LessEq helper funcs 2 years ago
codegen cmd/viewer, types/views: implement support for json/v2 (#16852) 5 months ago
cstruct all: use Go 1.21's binary.NativeEndian 1 year ago
ctxkey all: use reflect.TypeFor now available in Go 1.22 (#11078) 2 years ago
deephash wgengine/wgcfg: remove two unused Config fields 2 months ago
dirwalk all: use tstest.Replace more 3 years ago
dnsname net/dns,ipn/ipnlocal: add nodecap to resolve subdomains 1 week ago
eventbus util/eventbus: use unbounded event queues for DeliveredEvents in subscribers 2 months ago
execqueue util/execqueue: don't hold mutex in RunSync 2 months ago
expvarx syncs: add Mutex/RWMutex alias/wrappers for future mutex debugging 2 months ago
goroutines syncs: add Mutex/RWMutex alias/wrappers for future mutex debugging 2 months ago
groupmember util/groupmember: fail earlier if group doesn't exist, use slices.Contains 2 years ago
hashx all: use Go 1.22 range-over-int 2 years ago
httphdr util/httphdr: add new package for parsing HTTP headers (#9797) 2 years ago
httpm util/httpm: don't run test if .git doesn't exist 2 years ago
limiter all: rename variables with lowercase-l/uppercase-I 2 months ago
lineiter types/result, util/lineiter: add package for a result type, use it 1 year ago
lineread all: update copyright and license headers 3 years ago
linuxfw all: rename variables with lowercase-l/uppercase-I 2 months ago
lru all: rename variables with lowercase-l/uppercase-I 2 months ago
mak util/mak: delete long-deprecated, unused, pre-generics NonNil func 9 months ago
multierr all: use Go 1.22 range-over-int 2 years ago
must util/must: add Get2 for functions that return two values 7 months ago
nocasemaps all: use Go 1.22 range-over-int 2 years ago
osdiag go.mod: bump golang.org/x/crypto (#17907) 2 months ago
osshare clientupdate, util/osshare, util/winutil, version: improve Windows GUI filename resolution and WinUI build awareness 3 months ago
osuser ssh/tailssh: add Plan 9 support for Tailscale SSH 10 months ago
pidowner types/result, util/lineiter: add package for a result type, use it 1 year ago
pool util/pool: add package for storing and using a pool of items 2 years ago
precompress all: update copyright and license headers 3 years ago
progresstracking ipn/localapi: add support for multipart POST to file-put 2 years ago
prompt util/prompt: add a default and take default in non-interactive cases 4 months ago
quarantine all: update copyright and license headers 3 years ago
race all: use Go 1.22 range-over-int 2 years ago
racebuild all: update copyright and license headers 3 years ago
rands wgengine/magicsock: use math/rands/v2 2 years ago
reload all: use math/rand/v2 more 2 years ago
ringlog syncs: add Mutex/RWMutex alias/wrappers for future mutex debugging 2 months ago
safediff cmd/jsonimports: add static analyzer for consistent "json" imports (#17669) 3 months ago
set control/controlclient: restore aggressive Direct.Close teardown 3 months ago
singleflight util/singleflight: add DoChanContext 2 years ago
slicesx util/slicesx: add AppendNonzero 12 months ago
stringsx util/stringsx: add package for extra string functions, like CompareFold 1 year ago
syspolicy all: rename variables with lowercase-l/uppercase-I 2 months ago
sysresources util/sysresources, magicsock: scale DERP buffer based on system memory 3 years ago
testenv nettest, *: add option to run HTTP tests with in-memory network 9 months ago
topk all: use Go 1.22 range-over-int 2 years ago
truncate util/truncate: support []byte as well (#11614) 2 years ago
usermetric feature/featuretags: make usermetrics modular 3 months ago
vizerror util/vizerror: add WrapWithMessage 1 year ago
winutil all: rename variables with lowercase-l/uppercase-I 2 months ago
zstdframe all: use Go 1.22 range-over-int 2 years ago