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/ipnlocal
Will Norris f8b0caa8c2 serve: fix hostname for custom http ports
When using a custom http port like 8080, this was resulting in a
constructed hostname of `host.tailnet.ts.net:8080.tailnet.ts.net` when
looking up the serve handler. Instead, strip off the port before adding
the MagicDNS suffix.

Also use the actual hostname in `serve status` rather than the literal
string "host".

Fixes #8635

Signed-off-by: Will Norris <will@tailscale.com>
1 year ago
..
testdata ipn/ipnlocal: fix the path for writing cert files (#7203) 2 years ago
c2n.go util/goroutines: let ScrubbedGoroutineDump get only current stack 1 year ago
cert.go ipn/ipnlocal: add optional support for ACME Renewal Info (ARI) (#8599) 1 year ago
cert_js.go all: update copyright and license headers 2 years ago
cert_test.go ipn/ipnlocal: add optional support for ACME Renewal Info (ARI) (#8599) 1 year ago
dnsconfig_test.go all: use cmpx.Or where it made sense 1 year ago
expiry.go various: add golangci-lint, fix issues (#7905) 2 years ago
expiry_test.go ci: add more lints (#7909) 2 years ago
local.go ipn: rename CapTailnetLockAlpha -> CapTailnetLock 1 year ago
local_test.go tsd: add package with System type to unify subsystem init, discovery 2 years ago
loglines_test.go tsd: add package with System type to unify subsystem init, discovery 2 years ago
network-lock.go ipn: rename CapTailnetLockAlpha -> CapTailnetLock 1 year ago
network-lock_test.go ipn: rename CapTailnetLockAlpha -> CapTailnetLock 1 year ago
peerapi.go ipn/ipnlocal,wgengine/netstack: move LocalBackend specifc serving logic to LocalBackend 1 year ago
peerapi_h2c.go all: update copyright and license headers 2 years ago
peerapi_macios_ext.go all: update copyright and license headers 2 years ago
peerapi_test.go ipn/ipnlocal: drop not required StateKey parameter 2 years ago
profiles.go ipn/ipnlocal: add more logging during profile migration 1 year ago
profiles_notwindows.go ipn/ipnlocal, util/winutil/policy: modify Windows profile migration to load legacy prefs from within tailscaled 2 years ago
profiles_test.go ipn/ipnlocal: reenable profile tests on Windows 2 years ago
profiles_windows.go ipn/ipnlocal: add more logging during profile migration 1 year ago
serve.go serve: fix hostname for custom http ports 1 year ago
serve_test.go ipn/ipnlocal: add docs header to serve HTTP proxy 1 year ago
ssh.go all: update copyright and license headers 2 years ago
ssh_stub.go all: update copyright and license headers 2 years ago
ssh_test.go ipn/ipnlocal: drop not required StateKey parameter 2 years ago
state_test.go tsd: add package with System type to unify subsystem init, discovery 2 years ago