Maisem Ali
95e296fd96
cmd/tailscale/web: restrict web access to synology admins.
...
Signed-off-by: Maisem Ali <maisem@tailscale.com>
2021-06-03 08:41:47 +05:00
Elias Naur
adfe8cf41d
paths: generalize IOSSharedDir to cover Android
...
Also fix an error message while here.
Signed-off-by: Elias Naur <mail@eliasnaur.com>
2021-05-24 13:52:48 -07:00
David Crawshaw
85beaa52b3
paths: add synology socket path
...
Signed-off-by: David Crawshaw <crawshaw@tailscale.com>
2021-05-03 11:18:58 -07:00
Brad Fitzpatrick
950fc28887
ipn, paths, cmd/tailscaled: remove LegacyConfigPath, relaynode migration
...
It is time.
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2021-04-07 10:15:45 -07:00
Brad Fitzpatrick
c3bee0b722
ipn/ipnlocal: make peerapi work on iOS again
...
It didn't have a storage directory.
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2021-03-31 14:09:06 -07:00
Brad Fitzpatrick
33bc69cf1f
paths: fall back to XDG_DATA_HOME for non-root users' state dir
...
So peerapi has a default state directory, mostly for netstack mode
testing.
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2021-03-30 08:21:14 -07:00
Brad Fitzpatrick
54e108ff4e
paths: update some default paths for darwin
2021-02-13 12:10:20 -08:00
Brad Fitzpatrick
a7562be5e1
cmd/tailscaled: move more of the Windows server setup code into tailscaled
...
Updates #1232
2021-02-05 09:53:54 -08:00
Brad Fitzpatrick
f98706bdb3
paths, cmd/tailscaled: on Windows, don't try to migrate from legacy relay.conf
...
Avoids confusing logspam on Windows.
2020-07-13 08:59:54 -07:00
David Anderson
dbc99dc0d2
paths: use /var/db for state on BSDs, and /var/run for sockets.
...
On BSD, /var/db is what linux calls /var/lib.
On modern linux, /run and /var/run are the same directory, but
on BSD the correct path is /var/run, so use that.
Fixes #79
Signed-off-by: David Anderson <dave@natulte.net>
2020-03-03 17:49:31 -08:00
Brad Fitzpatrick
383d86df5f
paths: remove some debug logging I left in
2020-03-03 11:45:49 -08:00
Brad Fitzpatrick
65e7c58aa4
cmd/tailscale, cmd/tailscaled, paths: add paths package for default paths
...
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2020-03-03 09:36:18 -08:00