37 Commits

Author SHA1 Message Date
Paul Lorenz 975a23e5f6 Add a recover mechanism for when a controller cluster can't form a quorum. Fixes #3849
- adds 'ziti ops cluster recover <controller-config>', an offline CLI
  that opens a stopped controller's data directory, forces the raft
  configuration to a single local node via raft.RecoverCluster, and
  aligns the FSM-tracked member list in ctrl-ha.db so stale peers don't
  leak through IsPeerMember or CtrlAddresses on restart
- removes the previous in-process recovery path: the cluster.recover
  config flag and the corresponding RaftConfig.Recover field are gone,
  along with the os.Exit branch in Controller.Init that consumed them
- adds BoltDbFsm.OverwriteServers and GetCachedServers so offline
  tooling can update and inspect the FSM-side server list without a
  live raft instance; OverwriteServers runs before raft.RecoverCluster
  so the snapshot it produces captures the corrected configuration
- updates Broker.AcceptClusterEvent to call DeleteRemovedPeers on every
  ClusterLeadershipGained, making the controllers entity table
  self-healing for any membership change a non-leader missed (offline
  recovery, or a 'cluster remove' applied while another node was leader)
- wires the new subcommand into both V1 and V2 CLI roots so it's
  reachable regardless of ZITI_CLI_LAYOUT
- switches filesystem path joins in the raft package and the recover
  command from path.Join to filepath.Join
- tests bootstrap a two-node configuration, run recoverDataDir, then
  verify the post-recovery snapshot, the FSM-cached server list, and
  Fsm.GetCurrentState (after starting a real raft instance) all report
  the survivor only
2026-05-27 09:23:01 -04:00
Paul Lorenz 2ffc6e1151 Update ziti version to 2.0 2026-01-28 12:34:10 -05:00
dovholuknf ca1f73643c bump to 1.8 and fix typo (#3367) 2025-11-14 11:15:59 -05:00
Paul Lorenz 16949f9536 Update changelog and deps 2025-09-30 16:15:30 -04:00
Paul Lorenz 35520f7aff Support multi-underlay channels for edge sdks. Fixes #2930 2025-04-09 21:06:17 -04:00
Paul Lorenz cc9c712495 Router endpoints file should have .yml extension by default. Fixes #2849 2025-03-10 09:48:13 -04:00
Paul Lorenz 6ad8aca5fb Rename raft operations to cluster. Fixes #2546 2025-01-31 11:19:16 -05:00
Paul Lorenz 4238e8eeb7 Bump version in version file and update changelog 2025-01-23 11:12:07 -05:00
Paul Lorenz 16f0a858e6 Add controller connect events. Fixes #1835. Fixes #2234 2024-11-01 15:21:01 -04:00
Paul Lorenz 9c314a7cf0 Update version and changelog 2024-04-17 16:26:29 -04:00
Paul Lorenz 1b2e85b762 Set version to 1.0 2024-04-09 19:48:25 -04:00
Paul Lorenz af1a4e6a4b Update for golang sdk changes 2024-03-14 10:35:18 -04:00
Paul Lorenz fab81e4cd4 Add terminator chaos testing and fix issues found. Fixes #1794 Fixes #1369 2024-03-12 10:31:36 -04:00
Paul Lorenz 04873a250d Add auth rate limiter. Fixes #1657. Also add links fablab stress test. 2023-12-21 09:48:04 -05:00
Paul Lorenz 9bed8a14a8 Add optional command rate limiter. Fixes #1445 2023-10-23 13:45:49 -04:00
Paul Lorenz 9a873cc715 Update deps and changelog for link management changes 2023-08-09 15:21:01 -04:00
Paul Lorenz 3d7c3dbaf3 Update deps and changelog 2023-07-03 09:45:06 -04:00
dovholuknf 27f01b1e43 move to 0.28 per paul's request 2023-04-18 10:46:11 -04:00
Paul Lorenz 44a2bdaa52 bump the version to 0.27 2022-12-12 12:01:09 -05:00
Paul Lorenz a3bce7660a Bump version to 0.26 2022-07-13 14:26:57 -04:00
Paul Lorenz 3d6a85bd0e Update changelog and deps for link management refactor 2022-03-07 14:57:25 -05:00
Paul Lorenz e8f9d17553 Add support for ziti fabric operations 2021-11-30 16:44:05 -05:00
Paul Lorenz 55fd3ca61e Update deps and changelog 2021-11-15 16:30:56 -05:00
Paul Lorenz d51064c87a Bump version number 2021-08-11 09:13:55 -04:00
Paul Lorenz cd74909868 Update deps (#449)
* Specify semantic when creating policies
* Update deps and changelog. 
* Add ziti ps set-channel-log-level and clear-channel-log-level commands
2021-07-30 14:22:50 -04:00
Andrew Martinez 4f7e9ef30f use xweb, changelog, ziti cmd updates
- use xweb in fabric/edge updates some startup code for the cmds
- the ziti cmd now looks up the management API path for new and old
  versions
2021-05-07 15:28:08 -04:00
Paul Lorenz 0763467480 Update deps and changelog 2021-02-17 22:51:57 -05:00
Paul Lorenz 06c82fec2c Update deps (#255)
* Update deps, docs and version
2020-12-16 13:17:33 -05:00
Curt Tudor 0d9f6b8e0a Enroller emit rsa private keys (#215)
* add ability for enroller to emit EC|RSA keys
* add KeyAlg
* bump to 0.17
* add release notes pertaining to TCP half-close
* bump to sdk-golang v0.14.3
* fix 'ziti-enroller' cmd to also use KeyAlg

Co-authored-by: rentallect <curt.tudor@netfoundry.io>
Co-authored-by: Eugene K <eugene.kobyakov@netfoundry.io>
2020-10-23 11:41:36 -04:00
Paul Lorenz a3c8487bb4 Update deps for xgress race condition fix. 2020-08-11 14:12:02 -04:00
Andrew M e023e48e6c bump version to 15 2020-06-16 10:39:56 -04:00
Paul Lorenz 6b511f2490 Update dependencies and release notes (#89)
* release 0.14 with first pass at full Xt support
2020-05-05 09:02:48 -04:00
Paul Lorenz 03c3043da1 Add support for role attribute querying to CLI (#62)
* Add support for role attribute querying to CLI

* Consolidate release notes into single file
2020-03-23 16:08:44 -04:00
Paul Lorenz 9a06a7a7f5 Multiple endpoints (#60)
* Add terminator related commands. Update service commands for terminator changes

* Fix version parsion

* Add edge controller version command
2020-03-19 14:43:02 -04:00
ekoby f00b26a886 Update 0.11 (#54)
* end-to-end SDK encryption
* level up
* add release notes related to end-to-end encryption

Co-authored-by: Paul Lorenz <plorenz@gmail.com>
Co-authored-by: ziti-ci <60663654+ziti-ci@users.noreply.github.com>
2020-03-03 11:43:36 -05:00
Andrew Martinez 1abbea0fe6 updates to 0.10.0 2020-02-27 14:15:24 -05:00
Paul Lorenz 582a3d0a60 Try travis build (#42)
* Add tagging and versioning

* Mark non-release executables as utils

* Update dependencies
2020-02-11 17:19:17 -05:00