Commit Graph

98 Commits

Author SHA1 Message Date
Paul Lorenz 3523b34b2c Fix panic when router version info isn't set by ensuring it is set and making sure we get the right version. Fixes #1423 2023-10-11 13:55:50 -04:00
Paul Lorenz 096f53d090 Merge remote-tracking branch 'origin/release-next' into merge-fabric 2023-09-30 12:26:10 -04:00
Paul Lorenz 064ae0df52 Second pass at edge terminator fixes 2023-09-29 10:57:43 -04:00
Paul Lorenz f3d67b7f49 Update fabric imports 2023-09-28 23:34:28 -04:00
Paul Lorenz b12f1d33f5 Add CreateTerminatorV2 flow for edge terminators. Fixes #1619 2023-09-27 17:32:44 -04:00
Paul Lorenz 07da3cd513 Merge remote-tracking branch 'edge/main' into merge-edge
Updated package names
Merged golangci-lint configurations
2023-09-27 16:54:53 -04:00
Paul Lorenz 74006eeb9d Don't update identity if it hasn't changed. Fix change attribution for edge client updates. Fixes #1610. Fixes #1611 2023-09-13 11:42:35 -04:00
Paul Lorenz 8a4ff813b1 Put api session into tunnel state after looking up from cache. Fixes #1597 2023-08-30 17:14:29 -04:00
Paul Lorenz 5b59ae13ee Update for moved packages in fabric 2023-08-23 09:40:05 -04:00
Paul Lorenz 0c84601cd0 Update for link management changes 2023-08-09 10:20:58 -04:00
Paul Lorenz b061fe9a39 Move internal/certs to common. Remove some incidental files that weren't used. 2023-08-07 10:20:06 -04:00
Paul Lorenz dba0fb6f7c Move protobufs to common 2023-08-04 17:01:15 -04:00
Paul Lorenz 7d6f4ef700 Reorganize code in preparation for merging to ziti repo, first pass. 2023-08-04 09:48:06 -04:00
Paul Lorenz f31f849344 Fix panic removing terminator with invalid session. Fixes #1512 2023-06-02 10:52:41 -04:00
Paul Lorenz 97daffe69d Merge pull request #1449 from openziti/annotate-circuit-events
annotate circuit events
2023-05-04 11:03:04 -04:00
Andrew Martinez 661be7876d fixes openziti/ziti#1093
- heart beat system was never being configured with a control channel
2023-05-01 10:02:48 -04:00
Paul Lorenz f28722cfa6 Handle nil terminator when getting circuit tags 2023-04-27 12:16:09 -04:00
Paul Lorenz 7d6901be3d Add edge code needed for entity change events. Fixes #629 2023-04-25 22:34:02 -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 83bca6a0ba Update for storage and fabric api changes 2023-04-25 13:26:02 -04:00
Paul Lorenz d8e50ba43e Make session edge-router check more efficient. Fixes #1418 2023-04-12 15:54:17 -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 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
Paul Lorenz 6b6eed6041 Improve some tunneler log messages 2023-01-06 13:54:49 -05:00
Paul Lorenz 56c6857590 Mark xgress_edge and xgress_edge_tunnel terminators as system entities. Fixes #1272 2022-12-16 14:04:10 -05:00
Paul Lorenz 4abeaa0c0a xgress_edge_tunnel create terminator perf improvements. Fixes #1270
* Make terminator creation asynchronous
* Make terminator creation idempotent
* Improve logging
* Add some timer logging and metrics.
    * controller and router will both log their respective views of how long the terminator create took
    * the router has a new xgress_edge_tunnel.terminator.create_time timer metric
2022-12-15 17:29:29 -05:00
Paul Lorenz 2509f9b575 update CODEOWNERS to sig-core and update MM notifications 2022-11-30 14:34:10 -05:00
Paul Lorenz 30c051889a Make error messages clearer 2022-10-25 19:02:33 -04:00
Paul Lorenz 63c161224a Add linter and fix issues found by linter 2022-10-10 16:56:51 -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 32c197e5e1 Update to channel v2 2022-09-26 18:20:00 -04:00
Paul Lorenz 1f71f952d7 Update to usage v3 2022-09-16 12:41:36 -04:00
Paul Lorenz 387d54adb1 Handles changes to UpdatedFields and EntityManager. Consolidate bolt
sink/source to edgeEntity. Make patch conversion method optional
2022-07-27 11:33:37 -04:00
Paul Lorenz 8500702b6c Track edge session in terminator when hosting to allow assigning usage to hosting endpoints. Fixes #1081 2022-07-18 10:29:00 -04:00
Paul Lorenz 3e7f44aa49 Track router IP when creating api sessions for embedded tunneler. Fixes #1090 2022-07-15 23:26:19 -04:00
Paul Lorenz bae7e40b61 Update for foundation changes 2022-07-01 15:55:30 -04:00
Paul Lorenz 12df770d04 Update copyright 2022-06-30 17:45:08 -04:00
Paul Lorenz 91ea3816b8 Update for terminator terminology changes 2022-06-22 16:24:01 -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
Andrew Martinez 7381423974 use cmap generics, update fabric 2022-05-27 11:02:51 -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
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 b690993263 Update to latest protobuf library 2022-05-10 14:55:54 -04:00
Paul Lorenz 01bea19e1f Update to use transport and storage libs. Use fabric config instead of foundation/config 2022-03-30 22:49:46 -04:00