Martin Baillie
15f8c8dde4
wgengine: add initial rough OpenBSD implementation
...
Signed-off-by: Martin Baillie <martin@baillie.email>
2020-02-12 15:57:49 -08:00
Brad Fitzpatrick
13dc12814e
cmd/tsshd: fix log text
2020-02-12 14:51:47 -08:00
Brad Fitzpatrick
d404f1caed
cmd/tsshd: add basic SSH server
2020-02-12 14:46:59 -08:00
Brad Fitzpatrick
7e5e32775a
wgengine: flesh out some docs, minor cleanups
...
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2020-02-12 13:37:45 -08:00
Brad Fitzpatrick
819daf10e2
wgengine: flesh out some docs
...
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2020-02-12 13:37:45 -08:00
wardn
490e586eac
wgengine: add required NewFakeRouter parameter
...
Signed-off-by: wardn <wardn@users.noreply.github.com>
2020-02-12 13:09:33 -08:00
David Crawshaw
e180bd67e6
controlclient: handle nil Logf option
2020-02-11 15:20:45 -05:00
David Crawshaw
2b947b3b40
controlclient: handle nil Logf option
2020-02-11 15:08:07 -05:00
David Anderson
ea11d58e96
debian: fix changelog generation.
...
It seems changelog generation got broken by moving the code between
corp and OSS repos, because one of the commit SHAs doesn't have an
associated tag.
In the interest of fixing the build, and because we're not yet trying
to upstream the debian package, I fixed this by allowing hash-based
versions to show up in the changelog. This maybe wrong from a
debian standards perspective, but for our current point in life
it'll work until we learn to do it better.
Signed-Off-By: David Anderson <dave@natulte.net>
2020-02-11 11:54:55 -08:00
David Anderson
595325c716
meta: add a staticcheck CI step.
...
Signed-off-by: David Anderson <dave@natulte.net>
2020-02-11 10:58:57 -08:00
David Anderson
81eedcd5be
ipnserver: ignore lint error for unused context.
...
The linter is strictly correct, but the code is structured
this way to avoid variable shadowing problems in the following
for loop. The context doesn't leak.
Staticcheck is correctly pointing out that this code is hard to
follow. However, this chunk of code is in service of enforcing
one frontend <> one backend, and we want to remove that limitation.
So, we'll just ignore the lint warning until this entire piece of
code goes away.
Signed-off-by: David Anderson <dave@natulte.net>
2020-02-11 10:35:55 -08:00
David Anderson
8380d8575a
logtail: remove unused code from old sentinel logic.
...
Signed-off-by: David Anderson <dave@natulte.net>
2020-02-11 10:33:36 -08:00
David Anderson
39bc24cb96
safesocket: make test use testing.T correctly.
...
Signed-off-by: David Anderson <dave@natulte.net>
2020-02-11 10:28:11 -08:00
David Anderson
e59605595e
Add a SECURITY.md for vulnerability reports.
...
Signed-off-by: David Anderson <dave@natulte.net>
2020-02-11 10:26:41 -08:00
Brad Fitzpatrick
a59dc5f155
Use logger.Logf consistently. It was used in most places.
...
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2020-02-11 09:38:32 -08:00
David Anderson
c1917710ad
meta: revert issue templates for now.
...
Looks like Github doesn't understand mailto: links, so
we'll have to create KB pages on tailscale.com and point
to those.
Signed-off-by: David Anderson <dave@natulte.net>
2020-02-11 09:33:16 -08:00
Dave Anderson
a097f206d8
Create some issue templates
...
The goal here is to avoid support and "general product questions" from landing in Github, because we don't monitor Github for those.
2020-02-11 09:30:59 -08:00
David Anderson
1dfc0af361
meta: create issue template configuration.
...
The configuration directs support/product questions
to info@tailscale.com , and security issues to
security@tailscale.com .
Signed-off-by: David Anderson <dave@natulte.net>
2020-02-11 09:21:39 -08:00
David Anderson
fb36bb9a88
Add slack notifications to CI.
...
Signed-off-by: David Anderson <dave@natulte.net>
2020-02-11 09:16:13 -08:00
Shawn Smith
1ca83fd205
fix typos
...
Signed-off-by: Shawn Smith <shawnpsmith@gmail.com>
2020-02-11 08:55:11 -08:00
Tiago Reis
1812f6afa6
README.md: Fix typo on the word `versions`
...
Signed-off-by: Tiago Reis <reis.tiago@gmail.com>
2020-02-11 08:01:28 -08:00
David Crawshaw
33dfb8999e
controlclient, ipn: update tests for key pointer change
...
Signed-off-by: David Crawshaw <crawshaw@tailscale.com>
2020-02-11 04:55:07 -05:00
David Anderson
2f9cdd0aac
wgengine: fix error string.
...
Signed-off-by: David Anderson <dave@natulte.net>
2020-02-11 00:01:58 -08:00
David Anderson
43becc4334
wgengine/packet: fix minor lint errors.
...
Signed-off-by: David Anderson <dave@natulte.net>
2020-02-11 00:01:14 -08:00
David Anderson
8a339a6819
stunner: correct minor lint errors.
...
Signed-off-by: David Anderson <dave@natulte.net>
2020-02-11 00:00:07 -08:00
David Anderson
9ac1dda0d9
portlist: add a lint ignore for unused function.
...
The function is indeed unused on linux, but we want it around
so that unit tests exercise the netstat logic even on linux,
even if it's only used on !linux.
Signed-off-by: David Anderson <dave@natulte.net>
2020-02-10 23:50:06 -08:00
David Anderson
520e96afd1
portlist: simplify slice expression.
...
Signed-off-by: David Anderson <dave@natulte.net>
2020-02-10 23:40:56 -08:00
David Anderson
be6bcd59cd
logtail: don't pass in nil contexts.
...
Signed-off-by: David Anderson <dave@natulte.net>
2020-02-10 23:36:17 -08:00
David Anderson
250dfc9016
logtail: remove unused struct fields.
...
Signed-off-by: David Anderson <dave@natulte.net>
2020-02-10 23:34:03 -08:00
David Anderson
80ecb8342f
logtail/filch: use io's seek constants.
...
Signed-off-by: David Anderson <dave@natulte.net>
2020-02-10 23:32:14 -08:00
David Anderson
c3f9f74247
ipn: fix lint complaints in tests.
...
Signed-off-by: David Anderson <dave@natulte.net>
2020-02-10 23:28:44 -08:00
David Anderson
1cd278aa0b
control/policy: make error strings staticcheck-compliant.
...
Signed-off-by: David Anderson <dave@natulte.net>
2020-02-10 23:23:57 -08:00
David Anderson
542f46ed4d
controlclient: remove unused function.
...
Signed-off-by: David Anderson <dave@natulte.net>
2020-02-10 23:21:08 -08:00
David Anderson
2227ede8af
controlclient: fix staticcheck lint.
...
Signed-off-by: David Anderson <dave@natulte.net>
2020-02-10 23:16:13 -08:00
David Anderson
fe9af19da9
controlclient: remove unnecessary comparison to bool.
...
Signed-off-by: David Anderson <dave@natulte.net>
2020-02-10 23:14:38 -08:00
David Anderson
14af0c4eb3
taillogin: check err in controlclient.New.
...
Signed-off-by: David Anderson <dave@natulte.net>
2020-02-10 23:13:28 -08:00
David Anderson
452b81d56b
Add a code of conduct.
...
It's verbatim from https://www.contributor-covenant.org/ , except for
adding in the contact info for reports.
Fixes #20 .
Signed-off-by: David Anderson <dave@natulte.net>
2020-02-10 22:16:30 -08:00
David Anderson
a07906d1d8
wgengine: make SetRoutesFunc less appealing to use.
...
It exists as a way to glue the mac-specific xcode logic with the OSS
logic, and shouldn't be used by anything but the xcode glue.
2020-02-10 21:40:00 -08:00
Jimmy Zelinskie
41d94cdcaa
init dockerfile
...
Signed-off-by: Jimmy Zelinskie <jimmy.zelinskie+git@gmail.com>
2020-02-10 21:22:38 -08:00
wardn
aef438dfa7
.gitignore: ignore compiled binaries in the cmd folders
...
Signed-off-by: wardn <wardn@users.noreply.github.com>
2020-02-10 21:21:03 -08:00
David Anderson
3dd4471036
Add a build+test github action, as a quick and cheerful CI.
...
Signed-Off-By: David Anderson <dave@natulte.net>
2020-02-10 21:15:47 -08:00
David Crawshaw
87334fb332
wgengine, controlclient: fewer pointers in wgcfg key types
...
Signed-off-by: David Crawshaw <david@zentus.com>
2020-02-10 22:09:59 -05:00
Brad Fitzpatrick
fef2548981
README: https, links, mention Go version, DCO
2020-02-10 14:01:37 -08:00
Brad Fitzpatrick
516a15ee58
cmd: add import comments
...
See https://golang.org/cmd/go/#hdr-Import_path_checking
2020-02-10 13:32:37 -08:00
David Crawshaw
d539a950ca
README.md: add content
2020-02-10 14:56:04 -05:00
Brad Fitzpatrick
1f1dc3ad14
version: fix path for git describe of version for redo
2020-02-10 09:19:57 -08:00
Brad Fitzpatrick
a1fbf25f77
version: add stub; use rsc.io/goversion/version later
2020-02-10 09:00:30 -08:00
Earl Lee
a8d8b8719a
Move Linux client & common packages into a public repo.
2020-02-09 09:32:57 -08:00
Earl Lee
c955043dfe
Initial commit
2020-01-31 22:04:10 -08:00