Commit Graph

1206 Commits

Author SHA1 Message Date
Geoff Berl 7d229aa9a9 Extending default enrollment period and session timeout 2022-06-03 11:14:43 -04:00
Paul Lorenz 0c66342f8d Update deps and address review comments 2022-06-02 23:15:23 -04:00
Paul Lorenz a64c626cb4 Controller -> Manager for entity managers 2022-06-02 22:53:22 -04:00
Paul Lorenz eaa75d48c6 Initial support for distributed model via RAFT 2022-06-02 22:49:55 -04:00
Paul Lorenz 2f6a3bc828 Update handler -> manager for base types and config 2022-06-02 00:05:54 -04:00
Paul Lorenz 7cf9dc135d Initial support for raft and command style architecture 2022-06-01 23:52:07 -04:00
tburtchell cf28ad7edc Metrics via inspect (#409)
* Adding inspect handling for 'metrics'
* Adding prometheus metric event format
2022-05-31 16:03:04 -04:00
Andrew Martinez 7381423974 use cmap generics, update fabric 2022-05-27 11:02:51 -04:00
Andrew Martinez 6f867e34db uses generic version of cmap 2022-05-27 09:47:15 -04:00
Andrew 7c9dda9191 Merge pull request #1019 from openziti/update.fabric.xweb.move
updates fabric w/ xweb moved out
2022-05-27 08:59:26 -04:00
Andrew Martinez 601f73e7fb fixes post/update ripple breakage 2022-05-26 17:16:02 -04:00
Andrew Martinez 6fcde2ee3c fix scenarios where nil or non map is provided in data causes a panic
- fixes edge #1020
- adds higher level error
- adds store level error
2022-05-26 17:03:43 -04:00
Andrew Martinez 47b210c67b updates fabric w/ xweb moved out 2022-05-26 11:27:09 -04:00
Andrew Martinez c47f344066 move xweb out of fabric 2022-05-25 15:27:11 -04:00
Andrew Martinez c5f156dd9e adds x509 claims support for external ids to CAs
- adds REST API CA external id field
- adds rest api for external fields
- refactors authentication interfaces for federation
- alters authentication moduels to return AuthResult interfaces
- allows AuthResults to provide external x509 certs as session certs
2022-05-23 13:08:16 -04:00
Andrew Martinez 35cf029952 fix partial update panic for ext jwt update events 2022-05-20 14:51:09 -04:00
Andrew Martinez a09104c3ea remove debug output 2022-05-20 14:35:26 -04:00
Andrew Martinez 2a6ea4944d adds ext jwt update event listning for jwt auth mod cache 2022-05-20 14:29:13 -04:00
Paul Lorenz 4dc6596e7a Fix pool metrics for xg/link dials. Fixes openziti/fabric#404 2022-05-20 10:31:43 -04:00
Andrew a1d9aec518 Merge pull request #1010 from openziti/add.enrollment.create
adds the ability to create identity enrollments
2022-05-16 09:02:01 -04:00
Paul Lorenz 84455c4530 Merge pull request openziti/fabric#401 from openziti/add-pool-metrics
Add pool metrics
2022-05-13 14:21:08 -04:00
Paul Lorenz e53a5e6fc5 Add pool metrics 2022-05-13 13:49:42 -04:00
Cam Otts e5d1982785 threaded timeout from fabric (#974)
* threaded timeout from fabric

* pr comments

* fix timing

* removed utc on deadline check

* small updates

* updated fabric version and add zero check to timeoutdeadline

* fix wrong fabric version

* Update deps

Co-authored-by: Cam Otts <cam@Cams-MacBook-Pro.local>
Co-authored-by: Paul Lorenz <paul.lorenz@netfoundry.io>
2022-05-13 11:11:25 -05:00
Paul Lorenz c9397175f0 Add service id to dial context and service name to CreateCircuit ctx 2022-05-12 16:29:43 -04:00
Paul Lorenz dd5e549033 Merge pull request openziti/fabric#389 from openziti/add-link-count-cost-to-circuit-events
Add link count and cost to circuit events. Fixes openziti/fabric#388
2022-05-12 15:39:52 -04:00
Paul Lorenz a4de1c1b9f Merge pull request openziti/fabric#387 from openziti/make-initial-latency-configurable
Make initial link latency configurable. Fixes openziti/fabric#252
2022-05-12 15:39:12 -04:00
Cam Otts 0c7ff2bd5e threaded a timout through fabric (#356)
* threaded a timout through fabric

* updated default timeout

* pr comments

* fix timing

* applied pr comments

* removed one more utc

* updated to time until and conditionally add deadline

* signed commit


* small proto change

* regenerate pb

* missed extra import
2022-05-12 14:32:18 -05:00
Andrew Martinez 72729fd731 adds the ability to create identity enrollments 2022-05-12 12:40:49 -04:00
Paul Lorenz e8285f76f3 Add link count and cost to circuit events. Fixes openziti/fabric#388 2022-05-11 13:03:08 -04:00
Paul Lorenz 374af45b6d Merge pull request openziti/fabric#386 from openziti/update-protobuf
Update to current protobuf library
2022-05-11 12:58:11 -04:00
Paul Lorenz 01ffc402e3 Make initial link latency configurable. Fixes openziti/fabric#252 2022-05-11 09:51:56 -04:00
Paul Lorenz b690993263 Update to latest protobuf library 2022-05-10 14:55:54 -04:00
Paul Lorenz 8dfdce7fab Update to current protobuf library 2022-05-10 14:54:00 -04:00
Paul Lorenz 2cdf3f469c Verify router instead of link when getting new link dial 2022-05-10 14:26:55 -04:00
Paul Lorenz 69bc2fb0cc Update to transport/v2 2022-05-10 11:58:41 -04:00
Paul Lorenz cca93c7eee Update test for initial link cost changes 2022-05-09 11:46:44 -04:00
Paul Lorenz b3c120f389 Add link delete method. Set initial link latency costs high. 2022-05-09 11:46:00 -04:00
Paul Lorenz 8b871b09f2 Fix links list in circuit detail when listing circuits 2022-05-06 13:59:15 -04:00
Andrew de9cd7298f Merge pull request #985 from openziti/adds.authenticator.enrollment.reissue
Adds authenticato re-enrollment
2022-05-06 10:37:53 -04:00
Paul Lorenz 0243212f83 Use ZitiSession const from golang sdk instead of foundation (so we can remove it from foundation) 2022-05-02 17:20:03 -04:00
Paul Lorenz 8423ac5cfa Make host.v2 stricter. Fixes #991 2022-05-02 17:19:48 -04:00
Paul Lorenz 1874ab5f27 Allow a new control channel to takeover even if the router is already connected
Add churn limiter so it can only happen so often
2022-04-28 14:55:14 -04:00
Paul Lorenz 5d4947b505 Add a configurable minimum router cost 2022-04-27 14:41:55 -04:00
Paul Lorenz 0149b03439 Merge pull request openziti/fabric#361 from openziti/notify-bad-destinations
Notify controller of invalid destinations in routes.
2022-04-27 14:25:26 -04:00
Curt Tudor fc28b414b7 don't raise a 403 on CORS pre-flight if 'Authorization' header is present (#362) 2022-04-27 11:49:27 -04:00
Paul Lorenz 18539faf87 Add dest type to routing so we don't need to overload ids 2022-04-27 11:20:02 -04:00
Paul Lorenz e21d41df05 Notify controller of invalid destinations in routes.
Allow xgress and links to be destinguished by ID suffix
If a link destination is missing, send a link fault
Add forget-link router debug agent op to allow testing invalid
destinations
2022-04-26 22:16:58 -04:00
Paul Lorenz 85a4d8484b Address review comments 2022-04-26 13:49:33 -04:00
Paul Lorenz 4d45e2ab6c Don't allow failed links to be marked as connected 2022-04-26 09:58:19 -04:00
Andrew Martinez fa9a72a240 adds nil checks on identity lookups 2022-04-22 12:20:15 -04:00