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/ipn
Brad Fitzpatrick 4a82b317b7 ipn/{ipnlocal,localapi}: use strs.CutPrefix, add more domain validation
The GitHub CodeQL scanner flagged the localapi's cert domain usage as a problem
because user input in the URL made it to disk stat checks.

The domain is validated against the ipnstate.Status later, and only
authenticated root/configured users can hit this, but add some
paranoia anyway.

Change-Id: I373ef23832f1d8b3a27208bc811b6588ae5a1ddd
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2 years ago
..
ipnlocal ipn/{ipnlocal,localapi}: use strs.CutPrefix, add more domain validation 2 years ago
ipnserver refactor: move from io/ioutil to io and os packages 2 years ago
ipnstate cmd/tailscale: add emoji for illumos in status subcommand 2 years ago
localapi ipn/{ipnlocal,localapi}: use strs.CutPrefix, add more domain validation 2 years ago
policy ipn/policy: treat DNS service as interesting so it's not filtered out 3 years ago
store refactor: move from io/ioutil to io and os packages 2 years ago
backend.go all: gofmt for Go 1.19 2 years ago
doc.go Move Linux client & common packages into a public repo. 4 years ago
fake_test.go ipn/ipnlocal: move Ping method from IPN bus to LocalBackend (HTTP) 2 years ago
handle.go all: convert more code to use net/netip directly 2 years ago
ipn_clone.go cmd/tailscale/cli: add backwards compatibility 'up' processing for legacy client 2 years ago
message.go all: gofmt for Go 1.19 2 years ago
message_test.go all: use any instead of interface{} 2 years ago
prefs.go refactor: move from io/ioutil to io and os packages 2 years ago
prefs_test.go refactor: move from io/ioutil to io and os packages 2 years ago
store.go assorted: plumb tka initialization & network-lock key into tailscaled 2 years ago