Commit Graph

118 Commits

Author SHA1 Message Date
Andrew Martinez ce83c0fb7c fixes openziti/ziti#2324 add token based enrollment (#3342)
* fixes openziti/ziti#2324 add token based enrollment

- allows enrollment to certificate auth
- allows enrollment to ext jwt token auth
- alters ext jwt claimsProperty (maps identity id) to support JSON
  pointers, defaults to `/sub`
- adds ext jwt enrollToCert, enrollToToken to controller  valid
  enrollment end-authenticator state
- adds ext jwt enrollAuthPolicyId to map end identity auth policy to,
  defaults to `default`
- adds ext jwt enrollAttributeSelector, supports single field name or
  JSON pointer to point to a single string or array of string attributes
  to give the identity, defaults to no selector
- adds ext jwt enrollNameSelector, supports single field name or JSON
  pointer to a string field to use as the name, defaults to `/sub`
- add enrollment errors to determine if enrollment has occurred
- adds CLI support for ext jwt signer enroll flags
2025-11-05 15:43:49 -05:00
Paul Lorenz 1b009643f7 Add host interfaces config type. Fixes #3269 2025-09-23 11:08:19 -04:00
Paul Lorenz db4e1c6365 Add proxy.v1 suport and add support to ER/T for it in proxy and tproxy interceptors. Fixes #3258 2025-09-23 11:08:18 -04:00
Paul Lorenz 4eae37a6ac Fix interfaces.v1 config type name. Fixes #3259 2025-09-23 11:08:18 -04:00
Paul Lorenz 6df9532920 Add indexes for authenticator username and fingerprint. Fixes #3219 Also use externalId index in IdentityManager. 2025-09-02 21:55:01 -04:00
Andrew Martinez 87c9ce3718 fix #3178 apis missing from controllers (#3180)
* fix #3178 apis missing from controllers, fixes #3193 adds totp auth query enrollment flag

- fixed controller store to no longer blank apis on all CUD actions
- controllers now report their current config state on leader change to
  avoid stale information
- fixes peer disconnect to only set online state
- adds enrollment state flags to auth queries
- adds test for OIDC MFA enrollment/recovery/delete
- adds controller store unit tests
2025-08-05 09:15:27 -04:00
Paul Lorenz b43738530e Update go tunneler to support multiple interfaces. Fixes #3162 2025-07-28 11:53:28 -04:00
Paul Lorenz 90c891fe96 Allow identity app data to a full map. Fixes #3169 2025-07-14 14:59:13 -04:00
Andrew Martinez 23e8211a16 fixed #3117 authenticators last auth to root, updatedAt, createdAt flags (#3118) 2025-06-18 09:18:13 -04:00
Paul Lorenz cc7eefaf24 Add support for tracking network interfaces on routers and identities. Fixes #3082. Add network discover to router. Fixes #3083 2025-06-17 09:32:51 -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
Shawn Carey aac5693f48 support address translation (#3023)
* support address translation

* update rendered host.v2 config-type

* remove stale comments

* fix changelog link
2025-05-05 09:42:56 -04:00
Andrew Martinez 0ca892060f fix #2996 add ability to flag cert authenticators for extension/key roll (#3025)
* fix #2996 add ability to flag cert authenticators for extension/key roll
2025-05-01 17:41:00 -04:00
Shawn Carey 7bd0e5db58 add source ip filtering to intercept.v1 (#2962) 2025-04-01 08:12:59 -04:00
Paul Lorenz c35290e63a Fix deprecations 2025-02-11 14:23:52 -05:00
Paul Lorenz bd384acbae Merge pull request #2758 from openziti/posture-type-filterable
Allow filtering on posture check type. Fixes #2668
2025-02-07 16:22:11 -05:00
Paul Lorenz 27dbaaf5a1 Posture check PUTs fail to do update. Fixes #2672 2025-02-07 15:17:42 -05:00
Paul Lorenz b5486cb0af Allow filtering on posture check type. Fixes #2668 2025-02-07 14:53:55 -05:00
Andrew Martinez fccc0751ac fixes #2681 adds targetToken support for ext jwt signers (#2686)
* fixes #2681 adds targetToken support for ext jwt signers

- adds targetToken of values ACCESS, ID for management API CRUD
- adds targetToken to client API reads
- adds --target-token to external jwt signers CLI
- updates/adds tests
- update client test
2025-02-07 14:21:49 -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
Paul Lorenz 19425aaacc Merge pull request #2640 from openziti/fix-ctrl-update-on-peer-connect
Make sure controller data is correctly updated after peer connect. Fi…
2025-01-14 11:21:14 -05:00
Paul Lorenz 5b861f8e69 Merge pull request #2626 from openziti/sess-cleanup-ert
Ensure sessions are removed when ER/T is deleted. Fixes #2625
2025-01-14 10:15:47 -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 c404a3a5bd Add config/config type tests for router data model 2025-01-07 19:22:47 -05:00
Paul Lorenz f839c86656 Ensure sessions are removed when ER/T is deleted. Fixes #2625 2025-01-07 14:58:15 -05:00
Paul Lorenz 47d864f065 Handle nil lastJoinedAt in controller 2024-11-22 13:10:07 -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 0a2f1393d4 Fix identity service config overrides referential integrity issue. Fixes #2506 2024-10-29 11:49:37 -04:00
Paul Lorenz ff67b7f539 Fix policy denormalization when service policy type is changed. Fixes #2415 2024-09-19 08:33:09 -04:00
Paul Lorenz ca66653f8a Update linter and fix issues caught by updated linter 2024-09-06 16:23:31 -04:00
Andrew Martinez e6b4dc33f9 add migration for network certs 2024-08-30 15:31:33 -04:00
Andrew Martinez 0ef6f03570 updates authenticator/api session logic for isCertExtendable
- updates legacy and oidc authentication for isCertExtendable
- updates authenticators REST responses to include isIsssuedByNetwork
2024-08-29 10:13:47 -04:00
Andrew Martinez d01cef1aad Merge branch 'main' into fix.2091.add.scope.clientid.ext.jwt 2024-08-21 16:07:56 -04:00
Andrew Martinez 66e7284c84 fixes #2091 adds scope and client id configuration to ext jwt signers 2024-08-21 09:31:52 -04:00
Paul Lorenz 7e7e2aa269 Fix patch appData on edge routers. Fixes #2318 2024-08-12 14:43:10 -04:00
Paul Lorenz 0945427320 Migrated edge router tunneler code to use the router data model. Fixes #2121 2024-07-26 17:06:01 -04:00
Paul Lorenz b603acafed Updates for changes to storage API 2024-07-25 10:12:00 -04:00
Paul Lorenz dfda33fb01 Merge pull request #2068 from openziti/enhance-rdm-with-configs
enhance rdm with configs
2024-07-18 17:49:49 -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
Andrew Martinez 54c9f8211f fixed #2240 secondary ext-jwt processing would fail...
...if ext-jwt primary wasn't enabled.

- fixes extra JWT processing on authentication endpoints (that would
  never pass)
- updates error message for missing NamedIndexStore implementations
- fixes ext-jwt store error stating that a named index is not present
2024-07-16 13:51:40 -04:00
Paul Lorenz d07dd3b8e9 Delete api session certs when related api session are deleted. Fixes #2124 2024-06-10 13:28:57 -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 898e41ae2a Implement router data model changesets. Fixes #1966 2024-04-23 11:56:10 -04:00
Paul Lorenz 32d743ff11 Update router data model with: add service policy type, flesh out identity. Fixes #1950 Fixes #1951 2024-04-17 14:57:20 -04:00
Paul Lorenz 8f4f9944f5 Add TLS handshake rate limiter. Fixes #1904 2024-04-09 17:25: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
Paul Lorenz 3cdb009aea Merge pull request #1853 from openziti/fix-db-validation
Fix validation perf. Fixes #1428. Remove duplicate LoadOneById method.
2024-03-21 13:51:02 -04:00
Paul Lorenz 881ec14b63 Fix validation perf. Fixes #1428. Remove duplicate LoadOneById method. 2024-03-21 10:10:07 -04:00
Paul Lorenz aad1ad57cf Add api session cert index to fix lookup perf. Fixes #1846 2024-03-20 09:05:53 -04:00