Brad Fitzpatrick
dda03a911e
wgengine/monitor: change API to permit multiple independent callbakcks
...
Currently it assumes exactly 1 registered callback. This changes it to
support 0, 1, or more than 1.
This is a step towards plumbing wgengine/monitor into more places (and
moving some of wgengine's interface state fetching into monitor in a
later step)
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
5 years ago
Brad Fitzpatrick
d7569863b5
cmd/tailscaled: fix up install-system-daemon on darwin, add uninstall too
...
Tangentially related to #987 , #177 , #594 , #925 , #505
5 years ago
Brad Fitzpatrick
6254efb9ef
cmd/tailscale{,d}: move debug subcommand to tailscaled
...
Work on reducing the size of the tailscale binary, which is
currently pulling in most of the same code as tailscaled.
Updates #1181
5 years ago
Brad Fitzpatrick
468bb3afce
cmd/tailscale/cli: add debug -derp mode
6 years ago
Brad Fitzpatrick
1e0be5a458
tshttp, derphttp: send Proxy-Authorization, not Authorization, to proxies
...
Whoops. But weirdly, sending Authorization sometimes worked?
6 years ago
Brad Fitzpatrick
f915ab6552
net/tshttpproxy: add start of Kerberos Negotiate auth to proxies on Windows
...
For now only used by a new cmd/tailscale debug --get-url
subcommand. Not yet wired up to the places making HTTP requests.
Updates tailscale/corp#583
6 years ago
Brad Fitzpatrick
5e0375808b
cmd/tailscale/cli: fix vet warning
...
And add vet to the "make check" target, like the CI has.
6 years ago
Brad Fitzpatrick
1be6c6dd70
cmd/tailscale/cli: add hidden debug subcommand
6 years ago