Commit Graph

520 Commits (cli-labels)
 

Author SHA1 Message Date
Todd Knight 2f8d7f0a32
API Errors: Hide and log internal errors (#411)
6 years ago
Pete Pacent ac9a7735e1
Readme typos (#409)
6 years ago
Jeff Mitchell 03436a73de
Update CLI output functions to show scope info and cleanup (#416)
6 years ago
Jeff Mitchell 38ce9d9eac
Combine controller and worker commands (#415)
6 years ago
Jeff Mitchell 0a4669e96d
Remove dev mode from controller/worker, and streamline flags on dev command (#413)
6 years ago
Michael Gaffney 36d465476c
Name all the check constraints in the database (#410)
6 years ago
Jim 57da9f918e
cancel a session when one of its FKs is set to null (#406)
6 years ago
Michael Gaffney f0c84de49c
Disambiguate auth_account scope_id by adding iam_user_scope_id column (#407)
6 years ago
Jeff Malnick c93254c05b
docs: rm logo for timebeing (#408)
6 years ago
Jim cfc76eb88f
add support for WithSessionIds in ListSesions (#395)
6 years ago
Jeff Mitchell 262ff06042
Add public address config option (#405)
6 years ago
Christian Frichot 475c6cdebe
Fix updated help text for the authenticate base command so it aligns with the password subcommand (#401)
6 years ago
Christian Frichot 9e6c016223
Add JSON formatted output for authenticate password cli command (#402)
6 years ago
Christian Frichot 874a7180ea
Fix segfault with boundary sessions help output (#403)
6 years ago
Jeff Mitchell e9b91f323f
Allow port to not be specified in listener address (#404)
6 years ago
Jeff Mitchell dd06615c2e
Add database initialization command (#400)
6 years ago
Jeff Mitchell 7e3c174b70
Disallow deletion of r_default (#398)
6 years ago
Jeff Mitchell f25186f78a
Standardize on one spelling of "canceled" (#399)
6 years ago
Jeff Mitchell 35c3f5b717
Use 'at' for auth token prefix (#397)
6 years ago
Jeff Mitchell 6a09e0966e Fix some broken tests that were expecting nil but are now getting an empty struct
6 years ago
Todd Knight 21f5cc274f
Don't return nil, nil for API service methods. Add tests for updating w/ wrong version. (#396)
6 years ago
Jeff Mitchell 1adbe64160
Update some tests that are failing due to 300 nano difference in time comparisons between create and lookup (#393)
6 years ago
Jeff Mitchell d3606e14b6 Set wrapper on client, not token, so it doesn't fail KMS recovery on update calls
6 years ago
Michael Gaffney d52fb81e68
Change the default max session for a target to 8 hours (#392)
6 years ago
Jeff Mitchell 27d728875c
Cleanup session state enum (#394)
6 years ago
Jim b334aeff41
refactor CancelSession and updateStates to be idempotent (#390)
6 years ago
Christian Frichot 72de1a6916
Fix WATCHTWER ENV variable names (#389)
6 years ago
Jeff Mitchell 9b2646eaf9
Fix retry behavior with KMS recovery and misleading error message (#391)
6 years ago
Jeff Mitchell 5747ea603e Fix nil pointer with revamped chosen host ID logic
6 years ago
Jeff Mitchell fcdaf129a3 Add missing continue in close function
6 years ago
Jeff Mitchell 33b0021547
Add Sessions CLI command and add session cleanup to worker (#388)
6 years ago
Jeff Mitchell bb6ece69b6 Remove unused struct member
6 years ago
Jeff Mitchell 9cbc7b5c3d
Add connection close call from worker to controller (#387)
6 years ago
Jeff Mitchell 7ff4b7f106
Send connected RPC to controller (#386)
6 years ago
Jeff Mitchell 5370111336 Omit private key from session output
6 years ago
Jeff Mitchell 4669c95999
Pass more session info around, make proxy UX nicer (#385)
6 years ago
Todd Knight e937b0ea27
Sessions Read/List/Cancel API and SDK (#369)
6 years ago
Jeff Mitchell f7e48ec836
Plumb connection limit to proxy and output it (#384)
6 years ago
Jeff Mitchell 7db0e2a5ed Fix database check
6 years ago
Jeff Mitchell 697ea561e0 Fix breakage from dual merges
6 years ago
Jim 5764b2c70a
return States as a field of Connection repo operations. (#382)
6 years ago
Jeff Mitchell edffc7863d
Change connection limit to -1 for unlimited so it works with TF (#383)
6 years ago
Jeff Mitchell 5214f14105
Work on connection authorization (#381)
6 years ago
Jim 223591d835
return connection authz info from session.AuthorizeConnection (#380)
6 years ago
Jim 66400c9cff
changes needed for sessions.AuthorizeConnection (#377)
6 years ago
Jeff Mitchell ee7cdde7de Add trace code for when we add port to controller address
6 years ago
Jeff Mitchell 5bf555cca2
Remove connection idle timeout seconds for now (#379)
6 years ago
Jeff Mitchell e002326293
Plumb timeouts to worker and set appropriate deadlines (#378)
6 years ago
Jeff Mitchell 0a3f9b8357
Rename connection idle timeout duration -> seconds and sessions max duration -> seconds (#376)
6 years ago
Jeff Mitchell 62baef1b7e
Add multi connection parameters through targets and into session creation (#375)
6 years ago