Commit Graph

1206 Commits

Author SHA1 Message Date
Paul Lorenz 70008bfc8f Update for fabric api changes. Fixes #1295 2023-04-25 13:26:25 -04:00
Paul Lorenz 43fc1e96fe Get tests running and do some cleanups 2023-04-25 13:26:19 -04:00
Paul Lorenz bd1b25f60c Update presentation layer for api changes 2023-04-25 13:26:03 -04:00
Paul Lorenz 63f9dad3df Updated model for storage api changes 2023-04-25 13:26:02 -04:00
Paul Lorenz 83bca6a0ba Update for storage and fabric api changes 2023-04-25 13:26:02 -04:00
Paul Lorenz 23110fccb2 Implement entity change events. Fixes openziti/fabric#562 2023-04-25 11:38:03 -04:00
Paul Lorenz f0b83d0010 Track raft index in Db. Let's us start without rerunning all cmds at startup. Fixes #677. Fixes openziti/fabric#582 2023-04-25 11:32:35 -04:00
Paul Lorenz bf76453ce8 Update to go 1.20 2023-04-25 11:32:34 -04:00
Paul Lorenz d1d0fe781b Update for storage API changes. 2023-04-25 11:32:33 -04:00
Paul Lorenz 3c9e9ccbde Info -> Debug on xgress_edge_tunnel dial result 2023-04-17 12:02:54 -04:00
Paul Lorenz d8e50ba43e Make session edge-router check more efficient. Fixes #1418 2023-04-12 15:54:17 -04:00
Paul Lorenz 9bb47428b7 Add network.run watchdog. Closes openziti/fabric#668 2023-04-11 17:11:27 -04:00
Andrew Martinez 0f08bfa7d0 fixes #1391 adding auth policy ref to identity, updates edge-api dep 2023-04-05 15:00:52 -04:00
Paul Lorenz bd9b6a713b Pull some tweaks over from denorm branch 2023-04-03 11:34:37 -04:00
Paul Lorenz ad5dc292bb Improve list performance by using identity indexes rather than service indexes. Fixes #1388 2023-04-03 09:58:21 -04:00
Andrew Martinez ffcfb619e4 fixes #1386 by safely dereferencing auth policy ids on PUT 2023-03-30 09:42:16 -04:00
Paul Lorenz 212e4c2df6 Clear sessions, api-session and api-session certs because of indexing changes 2023-03-28 15:18:30 -04:00
Paul Lorenz 1d0e558f90 Add support disabling routers. Fixes #1373 2023-03-28 13:42:25 -04:00
Paul Lorenz cc09f32c34 Implement batched terminator deletes 2023-03-28 13:18:59 -04:00
Andrew b7cd692102 Merge pull request #1377 from openziti/fix.1376.mfa.create.race.condition
merge check and create tx for MFA enrollment
2023-03-27 16:42:25 -04:00
Andrew 6b8aa137e2 Merge pull request #1375 from openziti/fix.1374.mfa.admin.reset
fixes #1374 admins cannot delete multiple MFA enrollments
2023-03-27 16:26:05 -04:00
Andrew Martinez f274fb30f8 merge check and create tx for MFA enrollment 2023-03-27 16:13:57 -04:00
Andrew Martinez 2a290612b0 fixes #1374 admins cannot delete multiple MFA enrollments 2023-03-27 15:31:49 -04:00
Paul Lorenz 32da1861ca Add router disable flag. Fixes openziti/fabric#651 2023-03-27 14:18:43 -04:00
Paul Lorenz 0a6043bb42 Fix missing entity type id on transit router. Fixes #1369 2023-03-23 23:47:54 -04:00
Paul Lorenz 4057d55989 Merge pull request #1367 from openziti/fix-error-type
Fix error, should be invalid session, not invalid api session. Fixes #1366
2023-03-23 13:35:04 -04:00
Paul Lorenz fd8d41204a Fix error, should be invalid session, not invalid api session. Fixes #1366 2023-03-23 10:43:52 -04:00
Paul Lorenz d76b9bc272 Cache api sessions for router/tunneler. Fixes #1364 2023-03-23 10:22:46 -04:00
Paul Lorenz 2d55b5cc28 Don't delete sessions on failed terminator create 2023-03-23 09:51:14 -04:00
Paul Lorenz 34cc021b3e Make session creates idempotent. Fixes #1359 2023-03-23 09:50:05 -04:00
Paul Lorenz 431df859b2 Handle duplicate tunnel terminator creation gracefully. Fixes #1355 2023-03-21 23:05:07 -04:00
Andrew Martinez e192f271ba remove old "sessionCert" (not ApiSessionCert) bit rot 2023-03-20 18:04:21 -04:00
Andrew Martinez 2f51b4acd7 reworks broker/sync connect/disconnect logic
- defensive checks for closed control channels
- defensive checks for duplicate/mismatch control channels
2023-03-20 15:28:09 -04:00
Paul Lorenz 64d34d78dd Merge pull request #1343 from openziti/update-fabric-dep
Update edge test for fabric api update
2023-03-20 09:50:54 -04:00
Paul Lorenz b09af68d09 Update edge test for fabric api update. Remove unneeded cgo import. 2023-03-17 11:55:38 -04:00
Andrew Martinez 6f7945a9bf fix test build error 2023-03-17 10:51:43 -04:00
gberl002 fbf01410e2 Reordering for 64 bit alignment 2023-03-14 14:54:15 -04:00
gberl002 40a57aadd3 Adding simple tests for checking 64 bit alignment of existing 64 bit values with atomic operations. 2023-03-14 14:47:42 -04:00
Andrew Martinez fed450d75f update jwks processing 2023-03-13 13:29:41 -04:00
Paul Lorenz a7957d0e4a Fix concurrent map error. Fixes openziti/fabric#622 2023-03-02 11:09:13 -05:00
Michael Quigley cdb550892b externalize the interval age threshold 2023-03-01 14:04:05 -05:00
Michael Quigley 7e5340a298 use the already provided metrics report interval 2023-03-01 13:57:49 -05:00
Michael Quigley 98a311e5e3 Merge branch 'main' into usage_reporting_interval 2023-02-28 13:54:13 -05:00
Michael Quigley 53dcd24e26 tweaks for reporting interval 2023-02-28 11:56:39 -05:00
Paul Lorenz 820e6391a4 Add heartbeat config and controller peer heartbeats. Fixes openziti/fabric#507
Adds config to controller for heartbeat config
Add config to routers for heartbeat config
Adds configurable heartbeats to controller <-> controller connections
2023-02-28 09:47:53 -05:00
Andrew Martinez 52ed07405c fix lint errors 2023-02-22 19:43:45 -05:00
Andrew Martinez a4caf933f6 fixes #1310 optional KID causes controller crash 2023-02-22 15:12:07 -05:00
Paul Lorenz 3d6a9ec6d7 Merge pull request openziti/fabric#611 from openziti/add-cluster-events
Add cluster events
2023-02-20 10:34:02 -05:00
Paul Lorenz 7ed8aa1635 Add cluster events. Fixes openziti/fabric#584 2023-02-20 10:27:17 -05:00
Paul Lorenz d7446280ad Merge pull request openziti/fabric#609 from openziti/add-transfer-leadership
Add transfer-leadership command. Fixes openziti/fabric#599
2023-02-20 10:24:40 -05:00