Commit Graph

1206 Commits

Author SHA1 Message Date
Andrew Martinez 5dc8a66fe9 addresses #1226 api session certificate issues w/ 3rd party cas
- events during a multi-step transaction were immediately emitting events
  causing out of order and incomplete events to be received,
  specifically API Sessions w/o fingerprints
- API Session Certificates created implicitly during 3rd Party CA auth
  did not properly set all properties
- adds tests
2022-11-04 14:40:07 -04:00
Paul Lorenz 30c051889a Make error messages clearer 2022-10-25 19:02:33 -04:00
Paul Lorenz f2a2520317 Ensure disconnect handling applies to right router instance. Fixes #1217 2022-10-24 15:51:39 -04:00
Paul Lorenz ec885daed5 Always use a new router instance for connected routers so we can ensure
disconnect handling applies to the right instance
2022-10-24 14:44:27 -04:00
Paul Lorenz 63c161224a Add linter and fix issues found by linter 2022-10-10 16:56:51 -04:00
Paul Lorenz ad8392cef4 Update deps 2022-10-10 16:56:50 -04:00
Paul Lorenz 4a1f234839 Add linter and update deps 2022-10-10 13:29:40 -04:00
Paul Lorenz 38746d39cf Merge pull request #1188 from openziti/router-multi-ctrls
Support multiple routers in router edge extensions
2022-09-30 09:49:24 -04:00
Paul Lorenz 63e0d9663e Support multiple routers in router edge extensions 2022-09-30 09:34:04 -04:00
Paul Lorenz c117984c9b Merge pull request #1190 from openziti/fix-api-session-create-race
Fix race condition creating api sessions from embedded tunneler. Fixe…
2022-09-29 12:29:50 -04:00
Paul Lorenz 02539e9e16 Support multiple control channels. Fixes openziti/fabric#469 2022-09-29 12:06:41 -04:00
Andrew Martinez f802603d9f fixes openziti/ziti#853
- fix nil 0 index x509 definition created
- updates x509-claims to v1.0.3 to fix x509 claim panics
2022-09-29 10:20:46 -04:00
Paul Lorenz d205944051 Fix race condition creating api sessions from embedded tunneler. Fixes #1189 2022-09-29 10:01:47 -04:00
Paul Lorenz b7f81ea7cb Fix issue where lookup is expected to return err, but returns nil, causing nil reference and panic. Fixes #1186 2022-09-27 09:52:53 -04:00
Paul Lorenz 32c197e5e1 Update to channel v2 2022-09-26 18:20:00 -04:00
Paul Lorenz 519574497e Update to channel v2 2022-09-26 17:00:34 -04:00
Cam Otts ddbe41aca2 Readonly lock (#504)
* initial work for adding readonly lock

* Added checks on peer adding/removing

* added tests around readonly checking and setting

* updated error and change atomic to not be a pointer
2022-09-26 13:53:55 -05:00
Paul Lorenz 9aa41409b3 Cleanup trace controller loop. Refactor for multiple control channels: openziti/fabric#469 2022-09-22 11:05:35 -04:00
Andrew Martinez 291eb6b509 fixes nil deref on partial jwks info 2022-09-22 09:36:46 -04:00
Paul Lorenz db5c73b33b Refactor edge events to follow model established in fabric 2022-09-16 12:47:46 -04:00
Paul Lorenz 1f71f952d7 Update to usage v3 2022-09-16 12:41:36 -04:00
Paul Lorenz aafa99ae6f Fix some linting issues. svcId -> serviceId 2022-09-15 17:34:44 -04:00
Paul Lorenz aa6124105d Update to usage v3. Adds circuit tags to usage. Fixes openziti/fabric#496 2022-09-15 17:34:33 -04:00
Andrew Martinez 60fc51253d fixes #1176 patching externalIdClaim on CA 2022-09-15 11:18:41 -04:00
Paul Lorenz 3a265ca32f Fix patching tags on services and transit routers. Fixes #1174 2022-09-15 09:40:12 -04:00
Paul Lorenz ece5eae675 Allow searching by configs. Fixes #1154 2022-09-14 23:36:14 -04:00
Paul Lorenz c77160ba6d Fix patching tags on routers and services. Fixes openziti/fabric#499 2022-09-14 23:29:07 -04:00
Paul Lorenz e4d2a30399 Fix service policy patch when type isn't provided. Fixes #1169 2022-09-06 23:21:40 -04:00
Paul Lorenz 096e981959 Add remote addr to circuit events. Fixes openziti/fabric#459 2022-09-06 22:58:06 -04:00
Paul Lorenz 77efd9a560 Wait for changes request from follow to be applied to follower before returning. Fixes openziti/fabric#481 2022-08-26 12:47:20 -04:00
Paul Lorenz 4d05c59df0 Run gofmt -w -s 2022-08-22 14:17:43 -04:00
Paul Lorenz 0b8a65207a Change bootstrap check. Add hooks for isRaftEnabled 2022-08-22 12:14:40 -04:00
Paul Lorenz e0f5092a08 Use one port for ctrl channel to router and controllers. Allow syncing existing DB to raft. Fixes #471. Fixes openziti/fabric#479. 2022-08-22 12:09:07 -04:00
Paul Lorenz 0d1dfb9779 Fixes for raft command encoding and decoding 2022-08-18 12:22:30 -04:00
Paul Lorenz 521c5d2be1 Fixes for command encoding and decoding 2022-08-11 11:24:23 -04:00
Paul Lorenz a3b31eb5ed Convert posture checks to use raft commands. Fixes #1125 2022-08-09 21:54:53 -04:00
Paul Lorenz 2e578ab784 Update identities to use raft commands. Fixes #1131 2022-08-09 14:58:23 -04:00
Paul Lorenz 4ce51b271c Convert transit routers to use raft commands. Fixes #1132 2022-08-09 09:38:07 -04:00
Paul Lorenz 40ef589193 Fixes panic when dialing service with terminator but none for instanceId. Fixes openziti/fabric#463 2022-08-04 21:42:01 -04:00
Paul Lorenz d3a4c7d0ac Update edge routers to use raft commands. Fixes #1107 2022-08-04 10:43:21 -04:00
Paul Lorenz 5c27d8308c Update enrollments to use raft commands. Fixes #1130 2022-08-04 10:14:39 -04:00
Paul Lorenz fe1b0463d7 Update authenticators to use raft commands. Fixes #1099 2022-08-04 10:14:21 -04:00
Paul Lorenz f60c06491e Update MFA to use raft commands. Closes #1128 2022-08-02 14:56:51 -04:00
Paul Lorenz d068397cd0 Rename controller model handler types to manager. Fixes #1124 2022-08-01 14:00:01 -04:00
Paul Lorenz cb0a634414 Update edge services to use raft commands. Fixes #1118 2022-07-29 15:56:09 -04:00
Paul Lorenz 748036985d Convert posture check types handler to manager. Fixes #1120 2022-07-29 15:38:58 -04:00
Paul Lorenz 3b57f19d61 Convert identity type handler to manager Fixes #1117 2022-07-29 15:36:14 -04:00
Paul Lorenz 0e827df0e2 Convert external jwt signers to raft commands. Fixes #1116 2022-07-29 14:56:56 -04:00
Paul Lorenz 0e07f211be Add flags to create/update commands. allows some lightweight logic specialization (eg priveleged vs non-priveleged updates) 2022-07-29 10:53:39 -04:00
Paul Lorenz 9303b24547 Update service policies to use raft commands. Fixes #1111 2022-07-28 18:40:47 -04:00