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/cmd/tailscale/cli
Denton Gentry 467ace7d0c cmd/tailscale: use localhost for QNAP authLogin.cgi
When the user clicks on the Tailscale app in the QNAP App Center,
we do a GET from /cgi-bin/authLogin.cgi to look up their SID.

If the user clicked "secure login" on the QNAP login page to use
HTTPS, then our access to authLogin.cgi will also use HTTPS
but the certiciate is self-signed. Our GET fails with:
    Get "https://10.1.10.41/cgi-bin/authLogin.cgi?sid=abcd0123":
    x509: cannot validate certificate for 10.1.10.41 because it
    doesn't contain any IP SANs
or similar errors.

Instead, access QNAP authentication via http://localhost:8080/
as documented in
https://download.qnap.com/dev/API_QNAP_QTS_Authentication.pdf

Fixes https://github.com/tailscale/tailscale-qpkg/issues/62

Signed-off-by: Denton Gentry <dgentry@tailscale.com>
1 year ago
..
auth-redirect.html cmd/tailscale/web: add support for QNAP 3 years ago
bugreport.go cmd/tailscale, ipn: enable debug logs when --report flag is passed to bugreport (#5830) 2 years ago
cert.go cmd/tailscale/cli: capitalize Get (#6586) 2 years ago
cli.go cmd/tailscale/cli: hide Windows named pipe default name in flag help 2 years ago
cli_test.go cmd/tailscale/cli: add ability to set short names for profiles 2 years ago
configure-host.go all: fix resource leaks with missing .Close() calls 2 years ago
debug.go ipn{,/ipnlocal}: add ipn.NotifyInitial* flags to WatchIPNBus 2 years ago
diag.go all: remove old +build tags 2 years ago
diag_other.go all: remove old +build tags 2 years ago
down.go cmd/tailscale/cli: [up] move lose-ssh check after other validations 2 years ago
file.go cmd/tailscale/cli: add progress to tailscale file cp 2 years ago
id-token.go cmd/tailscale/cli: use printf and outln consistently 2 years ago
ip.go all: use various net/netip parse funcs directly 2 years ago
licenses.go cmd/tailscale: add licenses link to web UI 2 years ago
login.go cmd/tailscale/cli: add ability to set short names for profiles 2 years ago
logout.go client/tailscale: move/copy all package funcs to new LocalClient type 2 years ago
nc.go client/tailscale: move/copy all package funcs to new LocalClient type 2 years ago
netcheck.go net/netcheck: add check for captive portal (#5593) 2 years ago
network-lock.go cmd/tailscale/cli: update lock status help strings (#6675) 2 years ago
ping.go all: use various net/netip parse funcs directly 2 years ago
risks.go tstest/integration: add --accept-risk=all to tailscale down 2 years ago
serve.go cmd/tailscale/cli, ipn/localapi: add funnel status to status command (#6402) 2 years ago
serve_test.go cmd/tailscale/cli: Improve messaging when Funnel is unavailable. (#6502) 2 years ago
set.go cmd/tailscale/cli: use "account" instead of "profile" in user-visible text 2 years ago
set_test.go types/ptr: move all the ptrTo funcs to one new package's ptr.To 2 years ago
ssh.go cmd/tailscale/cli: [ssh] fix typo in help text (#6694) 2 years ago
ssh_exec.go all: remove old +build tags 2 years ago
ssh_exec_js.go use C:\Windows\System32\OpenSSH\ssh.exe (#4933) 2 years ago
ssh_exec_windows.go all: fix spelling mistakes 2 years ago
ssh_unix.go all: remove old +build tags 2 years ago
status.go cmd/tailscale/cli, ipn/localapi: add funnel status to status command (#6402) 2 years ago
switch.go cmd/tailscale/cli: use "account" instead of "profile" in user-visible text 2 years ago
up.go cmd/tailscale: fix "up" warning about netfilter-mode on Synology 2 years ago
version.go client/tailscale: move/copy all package funcs to new LocalClient type 2 years ago
web.css cli: web advertise exit node button 3 years ago
web.go cmd/tailscale: use localhost for QNAP authLogin.cgi 1 year ago
web.html cmd/tailscale: add licenses link to web UI 2 years ago
web_test.go cmd/tailscale: update web server test copyright 3 years ago