David Anderson
692a011b54
net/interfaces: remove IsTailscaleIP, make callers use tsaddr.
...
Signed-off-by: David Anderson <danderson@tailscale.com>
5 years ago
Brad Fitzpatrick
5c1e443d34
wgengine/monitor: don't call LinkChange when interfaces look unchanged
...
Basically, don't trust the OS-level link monitor to only tell you
interesting things. Sanity check it.
Also, move the interfaces package into the net directory now that we
have it.
6 years ago
Brad Fitzpatrick
433b917977
interfaces, cmd/tsshd: move interface lookup from tsshd to its own package
...
For reuse by derper, etc.
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
6 years ago
David Crawshaw
a631466587
cmd/tsshd: empty file for windows build
...
Signed-off-by: David Crawshaw <david@zentus.com>
6 years ago
Brad Fitzpatrick
745c8c92b1
wgengine: fix windows build for winipcfg-go
...
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
6 years ago
David Anderson
67c1b2c6ef
cmd/tsshd: fix lint.
...
Signed-off-by: David Anderson <dave@natulte.net>
6 years ago
Brad Fitzpatrick
13dc12814e
cmd/tsshd: fix log text
6 years ago
Brad Fitzpatrick
d404f1caed
cmd/tsshd: add basic SSH server
6 years ago