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
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>
2 years ago
..
ipnauth all: update copyright and license headers 3 years ago
ipnlocal serve: fix hostname for custom http ports 2 years ago
ipnserver logpolicy, various: allow overriding log function 2 years ago
ipnstate tailcfg,etc: remove unused tailcfg.Node.KeepAlive field 3 years ago
localapi ipn/ipnlocal: validate ping type (#8458) 3 years ago
policy ipn: prefer allow/denylist terminology 3 years ago
store ipn/store/awsstore: persist state with intelligent tiering 3 years ago
backend.go all: update copyright and license headers 3 years ago
doc.go all: update copyright and license headers 3 years ago
fake_test.go all: update copyright and license headers 3 years ago
ipn_clone.go {cmd/tailscale/cli,ipn}: add http support to tailscale serve (#8358) 3 years ago
ipn_view.go {cmd/tailscale/cli,ipn}: add http support to tailscale serve (#8358) 3 years ago
prefs.go all: update copyright and license headers 3 years ago
prefs_test.go all: update copyright and license headers 3 years ago
serve.go {cmd/tailscale/cli,ipn}: add http support to tailscale serve (#8358) 3 years ago
serve_test.go ipn: add Funnel port check from nodeAttr 3 years ago
store.go ipn/store: add support for stores to hook into a custom dialer 3 years ago