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