summaryrefslogtreecommitdiffhomepage
path: root/cmd
diff options
context:
space:
mode:
authorBrad Fitzpatrick <bradfitz@tailscale.com>2021-12-17 12:40:24 -0800
committerBrad Fitzpatrick <brad@danga.com>2021-12-17 14:40:26 -0800
commit3dedcd16408cd93ca4fc3456163d40fa67367278 (patch)
treeb8cd031c24bc1bbb7bae4f2775d001821f770038 /cmd
parent5a9914a92fa72d61510b5f2aacd6665e3f8fa659 (diff)
downloadtailscale-3dedcd16408cd93ca4fc3456163d40fa67367278.tar.xz
tailscale-3dedcd16408cd93ca4fc3456163d40fa67367278.zip
logpolicy, ipn/ipnserver: connect to logtail via tailscaled when needed
This is for use by the Windows GUI client to log via when an exit node is in use, so the logs don't go out via the exit node and instead go directly, like tailscaled's. The dialer tried to do that in the unprivileged GUI by binding to a specific interface, but the "Internet Kill Switch" installed by tailscaled for exit nodes precludes that from working and instead the GUI fails to dial out. So, go through tailscaled (with a CONNECT request) instead. Fixes tailscale/corp#3169 Change-Id: I17a8efdc1d4b8fed53a29d1c19995592b651b215 Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
Diffstat (limited to 'cmd')
-rw-r--r--cmd/tailscaled/depaware.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/tailscaled/depaware.txt b/cmd/tailscaled/depaware.txt
index d30960342..c5d4ed01f 100644
--- a/cmd/tailscaled/depaware.txt
+++ b/cmd/tailscaled/depaware.txt
@@ -183,7 +183,7 @@ tailscale.com/cmd/tailscaled dependencies: (generated by github.com/tailscale/de
tailscale.com/kube from tailscale.com/ipn
tailscale.com/log/filelogger from tailscale.com/logpolicy
tailscale.com/log/logheap from tailscale.com/control/controlclient
- tailscale.com/logpolicy from tailscale.com/cmd/tailscaled
+ tailscale.com/logpolicy from tailscale.com/cmd/tailscaled+
tailscale.com/logtail from tailscale.com/logpolicy+
tailscale.com/logtail/backoff from tailscale.com/cmd/tailscaled+
tailscale.com/logtail/filch from tailscale.com/logpolicy