Commit Graph

252 Commits (000fc7c0e014d01dbbcef87e8a62aa2f2b149641)

Author SHA1 Message Date
Haotian 340cfb0d88
refactor(metric): adds filter function to collector init method (#2695)
3 years ago
Todd a0600138fa
Fix wrapped reverse grpc listener (#2687)
3 years ago
Todd b6c0ccc1e8
Refactor proxy handler to separate connection and protocol handling (#2678)
3 years ago
Haotian fbd0a8272b
feat(metric): adds accepted/closed connections counters to worker and controller servers (#2668)
3 years ago
Irena Rindos 5b162a4433
add worker version to network graph (#2672)
3 years ago
Danielle 5f8d292ea1
Inject Custom Response Headers By Status (#2587)
3 years ago
Irena Rindos 834a2a88f7
feat(targets): Addition of egress and ingress worker filters (#2654)
3 years ago
Haotian 2b84013379
Revert " feat(metric): adds accepted/closed connections counters for controller and worker cluster connections (#2656)" for failing a build test (#2660)
3 years ago
Haotian 80f72b8511
feat(metric): adds accepted/closed connections counters for controller and worker cluster connections (#2656)
3 years ago
Johan Brandhorst-Satzkorn 8908dccf6d
Forward port some release fixes (#2631)
3 years ago
Irena Rindos 70e20b5cf5
revert merge llb-multihop-sessions (#2628)
3 years ago
Johan Brandhorst-Satzkorn edd323b73a
Key Rotation/Destruction (#2477) (#2607)
3 years ago
Irena Rindos 781b03d080
dataplane management (#2624)
3 years ago
Irena Rindos 011a7cf640
Dataplane routing (#2623)
3 years ago
Todd 426e6aaa79 Check that the returned resources before referencing them (#2612)
3 years ago
Jeff Mitchell 0c96c6ff6c
Split grace period into multiple config values (#2578) (#2603)
3 years ago
Todd 2a4ce02de6
Disconnect PKI workers from upstreams when they are no longer authorized (#2515)
4 years ago
Irena Rindos b26814a3cc
move user variables into globals (#2580)
4 years ago
Irena Rindos 946dab487e
enable recovery user to list targets and sessions (#2576)
4 years ago
Jeff Mitchell cede1aec93
Add initial templating support to Vault credential libraries (#2569) (#2575)
4 years ago
Hugo Vieira d206635d74 fix(connection): Make bytes up and down a signed 64-bit integer
4 years ago
Hugo Vieira c81398cbf3 feat(worker): Report bytes up and down on Status updates
4 years ago
Hugo f023f05c11 feat(worker): Report bytes up/down on Worker connection closure
4 years ago
Hugo 1bb80624b8 feat(worker): net.Conn implementation to count Bytes Read and Written
4 years ago
Jeff Mitchell b86430c2af
Add some common account bits and change over some getOpts -> GetOpts funcs (#2565) (#2566)
4 years ago
Johan Brandhorst-Satzkorn f57454b6b9
Rewrite interface{} to any (#2535)
4 years ago
Irena Rindos 2ab6ca6a84
Remove unrelated error from error message (#2558)
4 years ago
Todd 73f7004c74 Add RLocks for all read access to s.connInfoMaps in a session (#2553)
4 years ago
Jeff Mitchell 37273d7a9c Fix two items: (#2544)
4 years ago
Haotian 3be8b6efed
refactor(metric): move common metrics functions out of 'internal' directory (#2536)
4 years ago
Todd 412e7a2418
Add interfaces and error codes for processing downstream router connections (#2511)
4 years ago
Louis Ruch f23a28cf01
chore: Add white space (#2516)
4 years ago
Todd 2f68c604c5
Add test helper for creating a multihop worker setup (#2513)
4 years ago
Irena Rindos 4493dfd527 use prior and current worker auth keys (#2495)
4 years ago
Jeff Mitchell 74a007bfdd Adapt to new nodeenrollment X25519KeyProducer interface (#2491)
4 years ago
Louis Ruch b7684a857a
feat(ssh): Use HostId as HostKeyAlias for connect ssh helper (#2490)
4 years ago
Todd d270513b5a
Add error printing when cluster listeners and their consumers error. (#2488)
4 years ago
Irena Rindos bd4f5f3801
update worker auth rotate (#2484)
4 years ago
Todd 06fd086004
Add health endpoint for worker (#2442)
4 years ago
Irena Rindos d951e1ebc1
Worker graceful shutdown (#2455)
4 years ago
Damian Debkowski 546c5dc5be
feat: static json credentials (#2423)
4 years ago
Irena Rindos 821d8317dc
address op state review feedback (#2453)
4 years ago
Jeff Mitchell 53b5e532d5
Remove deprecated methods/fields on targets (#2393)
4 years ago
Jeff Mitchell 37fb9815ce Add session endpoint test for #2448 (#2450)
4 years ago
Louis Ruch 50490d71ae
chore(targets): Improve help and errors around ssh targets (#2445)
4 years ago
Louis Ruch 5812a42ba3
feat(scheduler): set intervals from config (#2443)
4 years ago
Irena Rindos fc0ead73e6
feat(workers): worker operational state (#2427)
4 years ago
Hugo Vieira 8ab9ffbcac refact(cmd): Encapsulate some functionality on Command and Server
4 years ago
Timothy Messier 047a66e87d
fix(worker): Improper reload when running as controller and worker (#2438)
4 years ago
Irena Rindos 18dff62b7b
Merge BYOW GA branch to main (#2398)
4 years ago
Hugo Vieira bf1486f75e
refact(target): Add context to RepositoryFactory constructor
4 years ago
Hugo Vieira bf263fbd7d
perf(target): Use new Permissions object to determine resource access
4 years ago
Hugo Vieira 63196ee4ca
feat(target): Implement new WithPermissions option
4 years ago
Hugo Vieira 224f8d2d4e
refact(controller): Move Target Repository Factory to the target package
4 years ago
Timothy Messier eb61ac6304
refact(session): Add context to session factory
4 years ago
Timothy Messier febf0b9984
refact(controller): Use session repo factory that takes options
4 years ago
Timothy Messier 68568828e6
perf(sessions): Use session repository with permissions
4 years ago
Timothy Messier e4bb847ad1
feat(auth): Expose ACL from VerifyResults
4 years ago
Timothy Messier 39fedd843c
test(targets): Remove auth.DisabledAuthTestContext from tests
4 years ago
Timothy Messier 02cef3d8a8
test(sessions): Remove auth.DisabledAuthTestContext from tests
4 years ago
Hugo Vieira ccb17df01a
feat(auth): Get all authorised scope info for a given list request
4 years ago
Haotian 5c715478e4
feat(workers): Add metrics for worker server-side grpc connections, refactor repeated code into common location (#2367)
4 years ago
Louis Ruch d7c4c648ec
bug(vault): Correctly handle credential stores with expired tokens (#2399)
4 years ago
Jeff Mitchell 01fb949d0b
Add controller-led worker auth flow (#2413)
4 years ago
Timothy Messier 5d0cdf680f
feat(worker): Support reloading of initial upstreams on SIGHUP (#2417)
4 years ago
Irena Rindos db21ead31c
Vault proxy supporting code (#2415)
4 years ago
Jeff Mitchell 9b271d7dd8
Fix error about unimplemented HcpbWorkers call (#2361)
4 years ago
Irena Rindos b4b95e0f0e
refactor(vault): add context and remove deprecated errors (#2396)
4 years ago
Johan Brandhorst-Satzkorn aef9073fa6
Upgrade to Go 1.19 (#2347)
4 years ago
Johan Brandhorst-Satzkorn ac591d8283
fix(managed_groups): Fix validation function panic (#2390)
4 years ago
Renato Costa ec3d2ef360
Fix incorrect use of loop variable in parallel tests (#2389)
4 years ago
Irena Rindos dde0c35f23
Update request data in session manager (#2369)
4 years ago
Damian Debkowski 27e9f775be feat: add initial migration hook
4 years ago
Jim 2818bb65cd
feature (downstreams): Add hooks for optional downstream workers/router (#2359)
4 years ago
Jim 7aa7deafa3
chore: update go-dbw dependencies (#2298)
4 years ago
Jeff Mitchell 7df1331e93
Update configutil/pluginutil deps (#2346)
4 years ago
Louis Ruch 7fafadd70b
db: Add credential_sha256 to session_credentials (#2339)
4 years ago
Jeff Mitchell 02dd28f587
Add support for SSH private key passphrases (#2331)
4 years ago
Jeff Mitchell 07bca9dd66
Ensure initial upstreams is empty before hcpb worker listing (#2334)
4 years ago
Jeff Mitchell 090b2b28f8
Clean up some dev config kms code (#2321)
4 years ago
Jeff Mitchell 8800ec9c94
Reorganize logic to allow a poison pill (#2317)
4 years ago
Jeff Mitchell 4bd249d347
Fix some missing net.JoinHostPort calls (#2305)
4 years ago
Damian Debkowski c25b9285c0
fix(test) uncomment ro tests for cred update (#2301)
4 years ago
Todd 1aad2627c8
OSS side of second downstream connections (see enterprise PR 69) (#2292)
4 years ago
Jeff Mitchell 67d789cb6d
When allowed_origins is "*" use that in response (#2289)
4 years ago
irenarindos 4908aba546 feat(vault): Add unimplemented worker filter support to OSS
4 years ago
Louis Ruch 52c1a4f9f9 feat(targets): Support extraWorkerFilterFunc in target
4 years ago
Jeff Mitchell 8f2ef45a01
Update against new version of nodeenrollment split listener (#2280)
4 years ago
Louis Ruch a17e973712
feat(credentials): Refactor credential purposes (#2260)
4 years ago
Jeff Mitchell 271cc8f781
Add ssh private key to CLI (#2265)
4 years ago
Louis Ruch ef5ac07f02
Add ssh_private_key support for Vault libraries and targets (#2263)
4 years ago
Jeff Mitchell 011e2e7425
Add ssh private key type and add type to static store (#2262)
4 years ago
Jeff Mitchell 8c56a5648d
Migrate plugin host/set/catalog prefixes to typed (#2256)
4 years ago
Haotian 28f53a64b4
feat(workers): implement worker service add/set/remove api tags
4 years ago
Jeff Mitchell fb3b2209e5
Add WithType to worker listing (#2252)
4 years ago
Jeff Mitchell 81af61ae7d
Add client next protos to KMS connection info (#2246)
4 years ago
Jeff Mitchell 1596ff3d1c
Update against new nodee conn type (#2245)
4 years ago
Jeff Mitchell 6b48346bf3
Add managed worker address fetching (#2244)
4 years ago
Jeff Mitchell ca387223b8
Retry faster on initial status (#2243)
4 years ago
Todd 155c5f578b
Create session manager for workers to use to interact with sessions (#2235)
4 years ago