Commit graph

4895 commits

Author SHA1 Message Date
Gus Luxton 6cf3bcf5fe
Add additional AWS regions now supporting encryption at rest (#3273) 2020-01-14 11:57:02 -04:00
Gus Luxton e7e7afabc9
Update package URL to link to Teleport docs (#3266) 2020-01-13 17:29:01 -04:00
Ben Arent 93381082e3
Fix for #3259 (#3260) 2020-01-13 11:23:50 -08:00
Ben Arent fd66de6184
Teleport Production Guide (#3236)
* Start Production Guide
Co-authored-by: Gus Luxton <webvictim@gmail.com>
2020-01-08 15:15:58 -08:00
Gus Luxton 71834b66f3
Update admin-guide.md
Fix some formatting/typos
2020-01-08 12:45:43 -04:00
Ben Arent 010b42bf0c
Bumping 4.2.0 In Docs (#3238)
* Bumping 4.2.0 In reference in docs
2020-01-07 16:24:30 -08:00
Ben Arent b2b5ad0ea7
Updates BCC tools to use Ubuntu and Debian (#3247)
* Updates BCC tools to use Ubuntu and Debian
2020-01-07 16:09:31 -08:00
Alex Wolfe cf5862874b update footer links for docs (#3243)
Co-authored-by: Ben Arent <ben@gravitational.com>
2020-01-07 16:08:59 -08:00
Russell Jones de016aaac5 Updated CHANGELOG.md. 2020-01-06 17:39:41 +00:00
Russell Jones 3f894f9774 Fix cgroup resolution to work on Debian distros.
Replaced the cgroup resolution function to work on Debian distributions
instead of just RHEL based ones. This implementation comes from the
Linux kernel tests.
2020-01-06 09:31:41 -08:00
Alex Wolfe 9265b49038 remove analytics from docs since already added with tag manager (#3242)
* remove analytics, intercom and fb from docs since already added with tag manager
2020-01-03 11:52:54 -08:00
Forrest Marshall 50b597c529 Update CHANGELOG.md 2020-01-03 10:59:41 -08:00
Sasha Klizhentas e21ad25062 Add support for etcd password auth
This commit adds support for etcd password authentication,
it makes client cert auth optional.

Here is an example:

```yaml
storage:
    type: etcd
    peers: ['https://example.com:30983']
    username: 'username'
    password_file: '/mnt/secrets/etcd-pass'
    tls_ca_file: '/mnt/secrets/etcd-ca.pem'
```
2020-01-02 17:56:53 -08:00
Benjamin Alpert 219cada7cc Added S3 third party support (#3054) 2020-01-02 17:56:53 -08:00
Alexey Kontsevoy d3758cfca1 Update e-ref 2019-12-26 13:10:15 -05:00
Alexey Kontsevoy af8a761638 Update package.json dependencies 2019-12-26 12:27:39 -05:00
Walt Della 8458bab69c Updated CHANGELOG.md.
Changelog info pulled from #3113 and @benarent.
2019-12-21 12:26:36 -08:00
Gus Luxton a679d3e6b4
Adds support for client-only builds for Mac, plus signing/notarization/stapling (#3159) 2019-12-19 20:42:50 -04:00
Forrest Marshall 568e185996 Add support for access request resource to cache (#3213)
Cache was missing support for access requests, causing
watchers to hang indefinitely without receiving events
when cache was in use.
2019-12-19 14:14:22 -08:00
Ben Arent 46eefa1e0f
4.2 Documentation Base (#3154)
* Copy 4.1 -> 4.2 ( Documentation Base )
* 4.2 - Docs: Enhanced Session Recording (#3187)
* 4.2 - Docs:  GCP Backend Docs (#3191)
* 4.2 - Docs: Workflow Beta (#3155)
* CLI docs for remote tctl execution. https://github.com/gravitational/teleport/pull/2991
* Expand logging into and set the default to disk.
* Fix any `milv` issues
2019-12-18 11:01:21 -08:00
Gus Luxton 6e5f3c079c
Set public_addr for ssh_service on demo instances so that we can use tsh join (#3224) 2019-12-18 12:58:40 -04:00
Gus Luxton f240b7109d
Add some clarity about RBAC based on customer feedback (#3206) 2019-12-14 10:32:03 -04:00
Russell Jones 9750aafdd8 Updated CHANGELOG.md. 2019-12-13 19:30:26 +00:00
Russell Jones 17f94f59e3 Allow port forwarding to be disabled.
If the option for port forwarding is not specified, it's enabled by
default. Port forwarding is not specified in the default-implicit-role.
Since it's included in all role sets, port forwarding is always
enabled for all roles.

To fix this, port forwarding in the default-implicit-role is set to
false.
2019-12-13 11:16:15 -08:00
Russell Jones 4ed7eb4752
Update CHANGELOG.md 2019-12-10 10:46:24 -08:00
Sasha Klizhentas 9a5e8a117e Relax restrictive traits schema, fixes #3053
This commit relaxes restriction on traits names
that breaks OIDC claims using URL format or @ symbols.
2019-12-10 10:41:51 -08:00
Russell Jones 4253b88339 Don't print an error message on shell exit.
If a shell has been successfully started, don't print an error message
saying the shell failed to start if it exits with exit code other than
0. If an error occured during shell execution or the shell will print
the message itself and exit with an error.
2019-12-09 18:09:10 -08:00
Gus Luxton 42ec959455
Remove old Cloudformation code (#3199) 2019-12-09 18:52:49 -04:00
Russell Jones 6bd6cc8064 Update logic for default auth server selection.
When tctl tries to find the address of the Auth Server to connect to,
first look in file configuration. If a list of Auth Servers is provided
on the CLI override what exists in file configuration.

If nothing is provided in either file configuration or the CLI, then use
the default address.
2019-12-09 13:50:47 -08:00
Lars Lehtonen a5a909ef86 tool/tsh: fix dropped error in authFromIdentity() 2019-12-07 12:41:28 -08:00
Russell Jones fc1fd1da2b Added BPF integration test.
Added BPF integration test that verifies BPF code and differentiate sessions.
2019-12-06 18:14:26 -08:00
Russell Jones a5af2d72ff More enhanced session recording error imporvements
Move BPF checks to node startup and group them togeather.
2019-12-06 18:14:26 -08:00
Russell Jones 8aaed66c26 Improve enhanced session recording error messages.
If the user enabled enhanced session recording in file configuration but
the binary was built without BPF support (like macOS) then exit right
away with a message explaining that their operating system does not
support enhanced session recording.
2019-12-06 18:14:26 -08:00
Russell Jones 9a237b7328 Print scp status without quotes.
Don't escape the final \n in the scp status message. This way the status
message will get printed without double quotes.
2019-12-06 18:14:26 -08:00
Forrest Marshall 088be329af implement delayed access-request cleanup 2019-12-06 15:56:04 -08:00
Lars Lehtonen 5af4f04734 tool/tsh: fix dropped error in TestMakeClient() 2019-12-04 18:14:41 -08:00
Josh D 69d78b63c4 Make Teleport log its version upon service start #3145 (#3168)
* Make Teleport log its version upon service start #3145

This change implements a resolution to issue #3145. Version and Gitref string are output when components start information is logged.

https://github.com/gravitational/teleport/issues/3145

* fix merge artifact
2019-12-04 15:22:00 -08:00
Aleksejs Sinicins bfc6337166 Allow to specify multiple auth servers using cli flags 2019-12-04 10:25:13 -08:00
Gus Luxton 0c2764fa50
Add SessionCreate to launchd example (#3189) 2019-12-04 13:06:26 -04:00
Russell Jones 77e8b63470 Enhanced Session Recording.
Added package cgroup to orchestrate cgroups. Only support for cgroup2
was added to utilize because cgroup2 cgroups have unique IDs that can be
used correlated with BPF events.

Added bpf package that contains three BPF programs: execsnoop,
opensnoop, and tcpconnect. The bpf package starts and stops these
programs as well  correlating their output with Teleport sessions
and emitting them to the audit log.

Added support for Teleport to re-exec itself before launching a shell.
This allows Teleport to start a child process, capture it's PID, place
the PID in a cgroup, and then continue to process. Once the process is
continued it can be tracked by it's cgroup ID.

Reduced the total number of connections to a host so Teleport does not
quickly exhaust all file descriptors. Exhausting all file descriptors
happens very quickly when disk events are emitted to the audit log which
are emitted at a very high rate.

Added tarballs for exec sessions. Updated session.start and session.end
events with additional metadata. Updated the format of session tarballs
to include enhanced events.

Added file configuration for enhanced session recording. Added code to
startup enhanced session recording and pass package to SSH nodes.
2019-12-02 15:10:39 -08:00
Russell Jones 667ae84a8c Vendored bcc-tools 0.11.0 headers. 2019-12-02 15:10:39 -08:00
Russell Jones 05cbc32aac Updated vendoring.
Added github.com/iovisor/gobpf, removed gopkg.in/alecthomas/kingpin.v2.
2019-12-02 15:10:39 -08:00
Forrest Marshall b1c248b562 update e-ref 2019-12-02 14:05:51 -08:00
Forrest Marshall ec327b6e03 Implment access-request system (workflow API) 2019-12-02 14:05:51 -08:00
Gus Luxton a32468033a Quick AWS guide fix 2019-12-02 11:58:43 -04:00
Gus Luxton ed4930a665 Release 4.2.0-alpha.5 2019-11-26 14:15:56 -04:00
Gus Luxton c2e8fa19ad
Fix for CentOS 6 builds (#3179) 2019-11-26 14:15:28 -04:00
Gus Luxton 386ef24ed9 Release 4.2.0-alpha.4 2019-11-26 13:39:54 -04:00
Gus Luxton 2dffdf2a50
Fixes for CentOS 6 builds (#3178) 2019-11-26 13:38:27 -04:00
Gus Luxton 104ca3571f Release 4.2.0-alpha.3 2019-11-26 12:28:14 -04:00