Commit Graph
12 Commits
Author SHA1 Message Date
Mike Jensen 7a13c74c57 errors.go: Update link in error message for self signed cert setup (#19132) 2022-12-07 23:45:45 +00:00
Jakub Nyckowski 0ee91f6c37 Enable GCI linter (#17894) 2022-10-28 20:20:28 +00:00
Gavin FrazarandSTeve Huang 4a3f241e2a fixup untrusted cert errors (#16127)
* Add util helpers for untrusted cert errors

* Remove superfluous error checking

* Add helpful message on first time node join

* Cleanup cert error messages when connecting to auth service

* Add helpful certs message for tctl

* Fix flaky TestHandlerConnectionUpgrade

* Change long line back to the way it was before

Co-authored-by: STeve Huang <xin.huang@goteleport.com>
2022-09-07 22:49:20 +00:00
Andrew Burke 870ac4ca9b tsh list resources accross proxies and clusters (#12934)
This change adds the --all/-R flag to tsh ls, tsh apps ls, tsh db ls, and tsh kube ls, which lets tsh list resources from across all clusters and logged in proxies.
2022-06-08 18:42:25 +00:00
Edoardo Spadolini 9d91466a0e Proxy restart fixes (#11802)
* Remove unused backend wrapper from Cache

* Remove double printShutdownStatus

* Fix readyz race condition

* Test coverage for the readyz.monitor fix

* Close listeners immediately in proxy.shutdown

* Use and handle net.ErrClosed correctly

This adapts utils.IsUseOfClosedNetworkError to check for net.ErrClosed
even inside trace.Aggregate errors, makes it so that we always return
something that would pass errors.Is(err, net.ErrClosed) when returning
from a (net.Listener).Accept(), and handles closed listeners within our
various Serve() loops so that we don't hit spurious backoff waits while
shutting down.

* Close listeners early and emitters late

* Test coverage for the proxy listener changes

* Revert some errors back to trace.ConnectionProblem

* Reduce PR scope to just the proxy, add comments

* Improve error logging.
2022-05-06 18:12:11 +02:00
Jakub Nyckowski 530ff4c402 Add Redis integration (#10053)
Add support for Database Access for Redis for standalone and cluster self-hosted instances. Teleport requires mTLS in order to connect to Redis instance which is only supported in Redis 6.0+. RESP2 is currently the only supported protocol.
2022-02-16 13:32:32 -05:00
Roman Tkachenko 4d5493eb69 Add Azure access token auth support for Postgres/MySQL (#8951) 2021-12-01 14:30:25 -08:00
Brian Joerger 9b8b9d6d0c rollback - Upgrade api version. (#7751) 2021-07-30 15:34:19 -07:00
Brian Joerger c040aca4c1 Upgrade api version. (#7609) 2021-07-28 13:51:21 -07:00
Brian Joerger 7bff7c41bd Remove API aliases (#6983) 2021-06-04 13:29:31 -07:00
Roman Tkachenko d0cfc8a66b Proxy line support for mysql (#6594) 2021-04-29 18:03:10 -07:00
a-palchikov b7f96f8fb7 Wait for key agent to stop between key agent tests to improve reentrancy (#5342) 2021-04-20 09:36:39 -07:00