126 Commits

Author SHA1 Message Date
Paul Lorenz 8a875ea91e Update deps and changelog 2025-09-19 16:47:48 -04:00
Andrew Martinez 0506ef251b fix.3048.auth.events.impropert.chain.flag (#3050)
fixes #3084 adds events and improper chain flag

- splits cert resolution into root, legacy root + intermediate,
  and third-party pool. Allowing the detection of client authentication
  with incomplete chains if root + intermediate succeeds after root only fails
- adds `improperClientCertChain` to API Sessions and Current API Session.
  Added for OIDC and legacy auth. Set to true when a client certificate is used
  that was issued by the network and did not pass the root-only pool.
2025-05-21 11:49:39 -04:00
Andrew Martinez c4b89e9d01 fixes #2904 limit client certs requested/allowed (#2974)
* fixes #2904 limit client certs requested/allowed

Some clients (browsers) show a popup when interacting with our TLS
servers and a pop-up or other UI to select certificates for
interacting with our server. If not limited, this causes any client cert
available to be shown, allowing the user to choose a certificate
that will never work. This fix limits the issuer's allowed so the popup
never appears or only appears with viable options.

- use new xweb to modify server TLS configs with static and 3rd party
  CAs
- centralize CA certificates for re-use
2025-04-11 14:33:21 -04:00
Paul Lorenz e647d67325 Update to channel/v4 2025-04-02 15:28:59 -04:00
Paul Lorenz ed6194b333 Fix restore if db is restored in multiple locations. Fixes #2891 2025-03-14 13:00:46 -04:00
Paul Lorenz 50a4cca051 Fix controller online status. Fixes #2854 2025-03-10 09:49:30 -04:00
dovholuknf 37cedecd48 closes #2860 - add validation from controller/router (#2861)
* closes #2860 - add validation from controller/router instead of within xweb.
allow routers to have misconfigured xweb section for healthchecks

* remove prototyping

* add changelog too
2025-02-28 13:25:58 -05:00
Paul Lorenz 58e3b8cb9f Shutdown raft when controller shuts down 2025-02-11 13:01:34 -05:00
Paul Lorenz 03870760c3 Ensure restores and migrations work properly with RDM. Add restore from db for HA Clusters. Fixes #2549. Fixes #2649. Fixes #2707 2025-01-31 13:57:43 -05:00
Andrew Martinez 4d2eeb7c3a Merge branch 'main' into fix.2591.split.apis.cause.login.fail 2025-01-21 13:52:44 -05:00
Paul Lorenz 02ac768207 Add changelog and panic fix for health check update. Closes #2582 2025-01-15 08:10:56 -05:00
Paul Lorenz 12e3bb86d0 Merge pull request #2581 from nenkoru/main
Add controller-isleader xweb component to respond with 200 if the controller in question is a raft leader
2025-01-14 15:05:14 -05:00
Paul Lorenz 5621d5ce55 Make sure controller data is correctly updated after peer connect. Fixes #2586 2025-01-10 16:33:19 -05:00
Paul Lorenz f147fc6b99 Add events for cluster has leader/is leaderless. Change cluster events NS to cluster. Fixes #2639 Fixes #2184
Also fix member events. We were getting add evetts on startup as the log was replayed. Store them in the
DB so we only get events when membership has actually changed.
2025-01-10 13:57:28 -05:00
Paul Lorenz 5429ce5064 Separate leader updates from controller cluster member updates 2025-01-09 16:18:34 -05:00
Chernenko Ruslan 425c69968e feat: make healtcheck controller specific
Signed-off-by: Chernenko Ruslan <ractyfree@gmail.com>
2025-01-08 19:01:48 +03:00
Chernenko Ruslan ed26065331 feat: move to a more generic health endpoint in conjunction with isleader check
Signed-off-by: Chernenko Ruslan <ractyfree@gmail.com>
2025-01-08 19:01:39 +03:00
Chernenko Ruslan 6d695c8db0 feat: add controller-isleader xweb component to return 200 if the controller is a raft leader
Signed-off-by: Chernenko Ruslan <ractyfree@gmail.com>
2025-01-08 19:01:31 +03:00
Paul Lorenz 37a80da89b Add RDM config, including a ctrl side disable flag. Fixes #2596 2025-01-07 19:22:47 -05:00
Paul Lorenz a34478bb06 Fix controller endpoint updates and update deps. Test RDM with HA. 2025-01-07 19:22:46 -05:00
Andrew Martinez 5e0237e663 fixes #2591 ziti edge login will not fail with split APIs
- ziti edge login now properly probes endpoints and their return content
  type along with the existing status code check
- probed endpoint responses are no longer blindly parsed
- the management endpoint is the default initial probe point, falling
  back to the client version endpoint then the legacy root version
  endpoint
- the SPA/ZAC bindings for web apis has been moved to the webapis folder
- improved erroring and messaging for the SPA/ZAC handling
2024-12-13 13:33:48 -05:00
Paul Lorenz c2162ea9a9 Add cluster id, to prevent merging disparate clusters. Fixes #2541 2024-11-14 12:34:17 -05:00
Paul Lorenz 32eddd61ca HA SDK terminators test. Fixes #2217. Fixes #2533 2024-11-12 18:45:08 -05:00
Paul Lorenz fb809263b3 Simplify raft bootstrapping and controller initialization. Fixes #2212 2024-11-01 15:21:01 -04:00
Andrew Martinez 22a800b4de allow fabric only testing to set fabric management as default API 2024-09-17 10:35:45 -04:00
Paul Lorenz cccf0c06af Update to channel/v3. Fixes #2390 2024-09-09 12:23:25 -04:00
Paul Lorenz b8f944326f Ensure controller is initialized before raft. Fixes #2279 2024-08-01 14:14:55 -04:00
Paul Lorenz 77d27ca781 Enhance the router data model with config information, fixes #2010 Add subscription model to router data model, fixes #1990 2024-07-17 14:31:39 -04:00
Paul Lorenz c3b43133d1 Merge fabric and controller model code. Fixes #2205 2024-07-09 16:11:01 -04:00
Andrew Martinez 6ecca65c85 fixes #2165 adds network id configuration/spiffe id look up
- adds support for trust domain lookup on x509 chain
- adds support for non-ha trustDomain configuration
- adds default generated trust domain for non-ha controllers
- non-HA controllers will generate a trust domain from the root CA if
  possible
- additionalTrustDomains has been added for transitioning between trust
  domains

update changelog.md
2024-07-03 10:23:50 -04:00
Paul Lorenz 91fd7097f0 Add support for sticky termininator selection on dials. Fixes #2019 2024-05-21 13:18:15 -04:00
Paul Lorenz 0383bc63f1 Raft should not initialize if db is misconfigured. Fixes #1973 2024-04-24 08:04:17 -04:00
Paul Lorenz 8f4f9944f5 Add TLS handshake rate limiter. Fixes #1904 2024-04-09 17:25:35 -04:00
Paul Lorenz 3bdf2634cc Fix panic on first ha controller startup. Fixes #1911 2024-04-08 12:31:35 -04:00
Andrew Martinez 8c7b3b2e84 reduces prerms from admin to authenticated on list controllers
- updated public key sync to use controller list data instead of mesh peer
- fixes perms on controller list to not be admin only
2024-03-26 10:55:50 -04:00
Andrew Martinez 36ced919ae Merge branch 'main' into ha-staging 2024-03-14 08:38:57 -04:00
Andrew Martinez 09542c7728 consolidated ha changes 2024-02-29 09:27:56 -05:00
dovholuknf 8d2b239db9 actually undo unexpected refactor 2024-02-27 20:43:58 -05:00
dovholuknf 5b2d67e80b rearrange where the zac handler goes and keep spa handler separate 2024-02-27 20:24:39 -05:00
dovholuknf 1f94fd5ebe fix refactor gone awry 2024-02-27 18:31:33 -05:00
dovholuknf 26698531c4 rename from NewZitiAdminConsoleFactory to NewSinglePageAppFactory 2024-02-27 18:18:59 -05:00
gberl002 261e12043c Changing xweb to SPA for clarification
Signed-off-by: gberl002 <geoff.berl@netfoundry.io>
2024-02-27 14:34:02 -05:00
gberl002 20a8c30cba Merging latest from release-next 2024-02-27 13:14:41 -05:00
gberl002 c7dd1757a3 renamed the handler to a more generic name
updated the controller config to have a zac binding in place by default

Signed-off-by: gberl002 <geoff.berl@netfoundry.io>
2024-02-12 15:31:17 -05:00
Paul Lorenz 744ae68bbd Fix controller crash. Fixes #1736 2024-02-08 21:55:48 -05:00
Paul Lorenz c4abcae949 Link management fixes. Fixes #1692 Fixes #1693 2024-01-19 17:33:21 -05:00
dovholuknf cf02910c30 add a prototype xweb handler for thoughts 2023-11-29 14:57:49 -05:00
Paul Lorenz 9bed8a14a8 Add optional command rate limiter. Fixes #1445 2023-10-23 13:45:49 -04:00
Paul Lorenz f3d67b7f49 Update fabric imports 2023-09-28 23:34:28 -04:00
Paul Lorenz 20b61e0e9f Add capabilities to hello. Fixes openziti/fabric#799 2023-09-26 11:56:01 -04:00