tailscale/cmd
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>
2023-01-03 06:09:10 -08:00
..
addlicense cmd/addlicense: add command to add licenseheaders to generated code 2021-07-19 15:31:56 -07:00
cloner util/codegen, all: use latest year, not time.Now, in generated files 2023-01-02 20:38:32 -08:00
containerboot cmd/containerboot: allow disabling secret storage in k8s. 2022-12-16 15:46:38 -08:00
derper util/endian: delete package; use updated josharian/native instead 2022-12-12 20:12:45 -08:00
derpprobe cmd/derpprobe: add -once flag for one-off CLI diagnostics 2022-11-23 17:41:12 -08:00
gitops-pusher cmd/gitops-pusher: support alternate api-server URLs 2022-12-14 05:07:12 -08:00
hello refactor: move from io/ioutil to io and os packages 2022-09-15 21:45:53 -07:00
k8s-operator cmd/k8s-operator: move the operator into its own namespace. 2022-12-14 20:05:35 -08:00
mkmanifest cmd/{tailscale,tailscaled}: embed manifest into Windows binaries 2022-11-21 18:15:51 -05:00
mkpkg cmd/mkpkg: use package flag (#4373) 2022-04-07 16:38:33 -04:00
nardump cmd/nardump: Go tool to build Nix NARs and compute their hashes. 2022-12-24 15:22:41 -08:00
netlogfmt cmd/netlogfmt: handle any stream of network logs (#6108) 2022-10-28 10:40:45 -07:00
nginx-auth cmd/nginx-auth: add experimental status badge to README 2022-10-25 11:03:40 -07:00
pgproxy cmd/pgproxy: link to blog post at the top. 2022-10-04 16:47:12 -07:00
printdep cmd/printdep: support printing the toolchain SRI hash. 2022-12-24 15:40:22 -08:00
proxy-to-grafana all: gofmt for Go 1.19 2022-08-02 10:08:05 -07:00
speedtest net/speedtest: retune to meet iperf on localhost in a VM 2022-09-23 10:46:04 -07:00
ssh-auth-none-demo ssh/tailssh: add password-forcing workaround for buggy SSH clients 2022-10-11 15:03:02 -07:00
stunc cmd/stunc: add command for making debug stun requests 2022-11-23 15:38:54 -08:00
sync-containers cmd/sync-containers: add a dry-run option. 2022-12-19 19:00:53 -08:00
tailscale cmd/tailscale: use localhost for QNAP authLogin.cgi 2023-01-03 06:09:10 -08:00
tailscaled wgengine/netstack: change netstack API to require LocalBackend 2022-12-23 14:01:26 -08:00
testcontrol all: use any instead of interface{} 2022-03-17 11:35:09 -07:00
tsconnect wgengine/netstack: change netstack API to require LocalBackend 2022-12-23 14:01:26 -08:00
tsshd all: remove old +build tags 2022-11-04 07:25:42 -07:00
viewer util/codegen, all: use latest year, not time.Now, in generated files 2023-01-02 20:38:32 -08:00