Commit graph

46 commits

Author SHA1 Message Date
George Gaál b66bda89d0
Update Dockerfile (#6499)
remove unnecessary apt-get update and small rework

Co-authored-by: Andrew Lytvynov <andrew@goteleport.com>
2021-04-21 14:19:10 -07:00
Gus Luxton 8d40ce9b6a
Address post-release checklist items for 5.1 (#5223) 2021-01-20 17:13:42 -04:00
Gus Luxton 553d632b2d
Post-release checklist for 5.0 (#4982) 2020-11-25 17:23:00 -04:00
Gus Luxton d1cd94535c
Bump Go to 1.15.5 (#4853) 2020-11-16 15:18:10 -04:00
Andrew Lytvynov 76d07d10cf
Bump Go to 1.15.3 (#4811)
* Bump Go to 1.15.5

* Downgraded Go version to 1.15.3.

* Sign .drone.yml

Co-authored-by: Russell Jones <rjones@gravitational.com>
Co-authored-by: Gus Luxton <gus@gravitational.com>
2020-11-16 18:36:17 +00:00
Gus Luxton e32db1d2f8
Update Teleport image and dumb-init path in Docker quickstart (#4655) 2020-10-29 18:02:48 -03:00
Andrew Lytvynov 8d7a217089 Run shellcheck during "make lint"
Shellcheck is a linter for shell scripts. Since we have quite a few of
those for release packaging and examples, we'll benefit from an extra
set of (robot) eyes.

Note: I disabled https://github.com/koalaman/shellcheck/wiki/Sc2086 to
make this PR smaller. That specific check is for the most frequent
mistake in our scripts - not quoting env var expansions. I'll do a
separate PR cleaning those up.

`build.assets/pkg` is no longer used and was removed.
2020-09-29 20:40:16 +00:00
Brian Joerger 10aa7efe70 Fix teleport-buildbox docker image name in Dockerfile. 2020-09-23 20:35:33 +00:00
Gus Luxton a1ac0ec4ba
Fix Docker Quickstart configuration paths (#4116) 2020-07-24 16:00:02 -03:00
Gus Luxton 2c2440c53c
Add Docker OSS/Enterprise quickstarts (#4071)
* Add docker-compose Teleport quickstart and update docs
2020-07-21 07:34:03 -07:00
Andrew Lytvynov 2f45cef664 Update dockerized build to Go 1.14 2020-07-10 20:29:28 +00:00
Lisa Kim a573fd25ed
Update docker/README and its Dockerfile (#3400)
* Add missing (make build) step for running teleport cluster in docker container
* Edit Dockerfile teleport-buildbox tag from :latest to :go1.13.2 to match the image tag from running "make docker" from root.
* Update root README about docker
2020-03-03 20:33:24 -08:00
Sasha Klizhentas 83d0f7e7bb Fix role mapping for trusted clusters
This commit fixes #3252

Security patches 4.2 introduced a regression - leaf clusters ignore role mapping
and attempt to use role names coming from identity of the root cluster
whenever GetNodes method was used.

This commit reverts back the logic, however it ensures that the original
fix is preserved - traits and groups are updated on the user object.

Integration test has been extended to avoid the regression in the future.
2020-01-15 12:57:33 -08:00
Gus Luxton 435c546dba
/var/run/teleport -> /run/teleport (#3043) 2019-10-02 20:26:56 -03:00
Cove Schneider aaf5029d25 fix docker dev env docs and image build problem 2019-02-04 10:27:31 -08:00
Benedict Hartmann 9ec8ba1b3b fix issue 2274: update debian repos 2018-12-27 09:42:17 -08:00
Sasha Klizhentas 7e54109ad2 Update test plan and add sshd flow 2018-03-02 15:48:27 -08:00
Sasha Klizhentas e809a7eb2c Better signal handling and pools for gzip.
Fixes #1698.

* Added sync.Pool to take care of many gzip.Writer
allocating a lot of large objects on the heap.

* Reshuffled signal handling, SIGQUIT is now
graceful shutdown, just like in Nginx.

* Signal USR1 prints hepful diagnostic info to stderr.

* Removed gops endpoint and flags.

* Fixed logs in some places.

* Debug flag now adds extra pprof handlers to diagnostic
endpoint.
2018-02-19 10:57:26 -08:00
Sasha Klizhentas ebe3c1a9c1 Fix several issues with audit events.
1. Fixes several cosmetic issues with logs:

Fixes #1690, fixes #1687

2. Fixes deadlocks that were revealed during stress
testing on slow encrypted EFS system.

The following deadlock scenario was happening:

Goroutine 1:

t1. auditlock.Lock <- success
t3. diskSessionLogger.Lock <- blocked

Gorotuine 2:

t2. diskSessionLogger.Lock <- success
t4. auditLock.Lock  <- blocked

3. Update ansible upgrade scripts
to support custom binary upgrades.

4. Fix docker flow by removing deprecated
--gops-addr flag

5. Remove verbose logging lines.

6. Reduce compression efficiency to
reduce large memory load.
2018-02-15 18:28:42 -08:00
Roman Tkachenko 69866262ea Allow to pick pro or enterprise mode in docker flow 2018-01-09 17:56:08 -08:00
Sasha Klizhentas 71c15e5835 Add support for NFS-friendly log protocol.
* Session events are delivered in continuous
batches in a guaranteed order with every event
and print event ordered from session start.

* Each auth server writes to a separate folder
on disk to make sure that no two processes write
to the same file at a time.

* When retrieving sessions, auth servers fetch
and merge results recorded by each auth server.

* Migrations and compatibility modes are in place
for older clients not aware of the new format,
but compatibility mode is not NFS friendly.

* On disk migrations are launched automatically
during auth server upgrades.
2018-01-04 18:54:37 -08:00
Sasha Klizhentas 0130c6aa41 Mutual TLS Auth server and clients.
This commit introduced mutual TLS authentication
for auth server API server.

Auth server multiplexes HTTP over SSH - existing
protocol and HTTP over TLS - new protocol
on the same listening socket.

Nodes and users authenticate with 2.5.0 Teleport
using TLS mutual TLS except backwards-compatibility
cases.
2017-12-27 11:37:19 -08:00
Roman Tkachenko 2109720483 Fix docker flow for enterprise 2017-11-29 12:41:37 -08:00
Sasha Klizhentas 4089574f53 fix delays and offsets, address review comments 2017-11-16 14:43:35 -08:00
Sasha Klizhentas 6e4d6b0cb2 more work, discovery works 2017-10-07 18:11:03 -07:00
Sasha Klizhentas e12ec7422c refactoring 2017-10-05 17:29:31 -07:00
Russell Jones d0a3733167 Fixed Docker admin role. 2017-04-19 12:02:17 -07:00
Russell Jones 7f487a3808 Updated docker cluster config to set cluster authentication to
password-only.
2017-04-19 12:02:17 -07:00
Russell Jones 95be741eeb Fixed recursive copy path. 2017-04-19 12:02:17 -07:00
Russell Jones c4f0b81b71 Updated trusted cluster documentation for docker build. 2017-04-11 16:57:59 -07:00
Russell Jones e9b1754cdb Added Ansible playbook for testing and docs on how to run it. 2017-03-30 15:20:36 -07:00
Russell Jones 835a754fdb Fixed Ansible regressions and added documentation for docker build. 2017-03-30 13:52:06 -07:00
Russell Jones edeb2da0c0 Update README.md 2017-03-14 18:28:25 -07:00
Russell Jones 024ed28080 Updated documentation for Trusted Clusters. 2017-03-13 18:57:39 -07:00
Sasha Klizhentas b8be3c5101 Merge branch 'master' into sasha/agents 2017-03-09 16:23:17 -08:00
Sasha Klizhentas 0f64d0c547 agent forwarding, fixes #756 2017-03-09 16:20:39 -08:00
Russell Jones 2f70866e5a Added TrustedCluster resource. 2017-03-09 13:49:44 -08:00
Sasha Klizhentas 67068086b3 more work 2017-03-08 17:40:35 -08:00
Sasha Klizhentas 80852f0bf6 working proto 2017-03-07 21:42:17 -08:00
Ev Kontsevoy be52971437 Terminal resizing in the UI works for remote clusters
Fixes #778
2017-02-24 22:04:59 -08:00
Ev Kontsevoy 4f5ac31e6b Updated docker-based example 2017-02-23 21:45:13 -08:00
Ev Kontsevoy fa1b113cc8 Minor dockerile/make changes 2017-02-23 17:00:56 -08:00
Ev Kontsevoy 068d4535de Initial commit of working with the regressions 2017-02-22 17:50:31 -08:00
Ev Kontsevoy 1541271bc0 Created Docker-based test bed
Got tired of using always-failing-for-a-new-reason Vagrant and created
Docker-based way to quickly start&test Teleport.

See docker/README.md
2017-02-18 22:06:12 -08:00
Ev Kontsevoy 74d8dc1b52 Removed Docker experiment 2016-05-09 20:48:59 -07:00
Ev Kontsevoy af67bfb9a8 Changed "page size max" for stream fetching from 512Kb to 10MB 2016-05-09 14:43:05 -07:00