1440 Commits

Author SHA1 Message Date
Paul Lorenz 8a875ea91e Update deps and changelog 2025-09-19 16:47:48 -04:00
Andrew Martinez e01944aba2 fix #3241 fix unsafe nil fingerprint dereference (#3242)
* fix #3241 fix unsafe nil fingerprint dereference

- panic when a router connects and disconnects quickly or fails to
  authenticate
- add safe access
- add an additional safe deref during connect
2025-09-04 14:45:49 -04:00
Paul Lorenz 2264074716 Refactor xgress_edge_tunnel_v2 to make it more pluggable 2025-09-03 16:03:15 -04:00
Kenneth Bingham 773717606e Merge pull request #3237 from openziti/cluster-tweak-hints
Cluster migrate and tweak hints
2025-09-03 11:35:00 -04:00
Paul Lorenz 4b2455096d Merge pull request #3222 from openziti/add-authenticator-indexes
Add indexes for authenticator username and fingerprint. Fixes #3219 Also use  externalId index in IdentityManager.
2025-09-03 09:57:45 -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
Kenneth Bingham 117817719d exit with success code if db-to-raft migration succeeds 2025-09-02 16:50:13 -04:00
Paul Lorenz 0b5e36c652 Add edge session events for JWT edge sessions. Fixes #3225 2025-09-02 15:37:02 -04:00
Andrew Martinez f116212ed4 fix #3231 use root controller server certs for OIDC signing (#3236)
* fix #3231 use root controller server certs for OIDC signing

- addresses HA vs non-HA signing
- fixes issue where APIs server w/ difference certs than the root
  identity
- adds documentation for env/appenv
- adds a new composite type for TLSCert JWT signers

* address possible nil reference

* remove ineff assignment on jwt signing method
2025-08-26 09:29:50 -04:00
Andrew Martinez 91d33abb00 fixes #3239 router enrollment used identity expiration duration (#3240)
- clearer naming for JWT filling functions, doc
- fixed router logic references
- tests
2025-08-26 09:28:54 -04:00
Paul Lorenz f7caf82276 Update for deprecation of HA flag in Go SDK 2025-08-18 19:28:28 -04:00
Andrew Martinez 423dff3d92 fix #3236 SDK/ENV info is not saved on OIDC auth (#3137) 2025-08-05 09:51:00 -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 10f4ad046d Fix race condition on terminator create 2025-07-23 15:00:25 -04:00
Paul Lorenz 9d4ff055b5 Update for SDK flow control changes 2025-07-18 12:42:45 -04:00
Paul Lorenz 90c891fe96 Allow identity app data to a full map. Fixes #3169 2025-07-14 14:59:13 -04:00
Paul Lorenz e5fb69935e Support multi-underlay links. Fixes #3134 2025-07-11 20:56:11 -04:00
Paul Lorenz 5902631861 ids used by circuits and ingress/egress can conflict in an HA setup. Fixes #3124 2025-06-18 11:24:16 -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
Paul Lorenz b21db0faa1 Implement circuit validation API and CLI. Fixes #3098 2025-06-16 13:57:42 -04:00
Andrew Martinez 3995091865 fixes #3068 adds event dispatching for auto ca enrollment (#3069) 2025-05-29 16:05:33 -04:00
Paul Lorenz a70218a11c Allow disabling posture checks. Fixes #3063 2025-05-29 12:40:00 -04:00
Paul Lorenz c4bfd72e22 Add instance id to terminator events. Fixes #3052 2025-05-29 09:57:15 -04:00
Andrew Martinez cb71392706 fixes #3059 keep JWT enrollment secrets sync'ed during refresh (#3060)
- adds tests for desync'ed secrets
2025-05-28 00:02:45 -04:00
Andrew Martinez cdea92b8a4 fix.3048.add.flag.to.api.session.cli.command (#3053)
* fix #3048 adds CLI commands for re-enroll, changelog

- adds flags on authenticators instead of log
- adds CLI command for authenticator re-enrollment
- updates the change log
2025-05-27 08:47:42 -04:00
Andrew Martinez 1743e9c50e fixes #2614 adds token expiration configuration for OIDC (#3022) 2025-05-27 08:29:56 -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 0b8d674884 fix #2996 oidc extend and roll values not set (#3039) 2025-05-05 17:13:24 -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 31bb7fec0a updates change log fixes broken integration test (#3033) 2025-05-02 14:27:53 -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
Paul Lorenz da35cbd1a3 Ensure cluster peers are present and correct before adding. Fixes #3005 2025-05-01 16:26:45 -04:00
Paul Lorenz 981df8269d Support xgress flow control from the SDK. Fixes #2986 2025-04-30 10:27:43 -04:00
Andrew Martinez 7cbd3fe21a Fix.2999.404.during.OIDC.backed.cert.extend (#3000)
* fixes #2999 oidc backed sessions do not 404 anymore during verification

- add double extend test, use JWT authenticator id
2025-04-15 10:42:20 -04:00
Andrew Martinez d410b74e66 fixes #2997 adds authenticator ids for OIDC jwts (#2998)
- updates current-api session logic to use new value
- sets z_authid in access/refresh tokens
- updates tests to ensure authenticator id is set on access/refres
2025-04-14 13:13:14 -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
Andrew Martinez 0e61edb2f9 fix #2984 identity/router enrollment do not return full chains (#2990)
* fix #2984 identity/router enrollment do not return full chains

- router extend via REST/ctrl now return full chains
- identity extend via REST now return full chains
- updates tests to allow for chain lengths
- modifies verification to look at the first cert in the chain (leaf)
- modifies edge routers to not start extension if new certs can't be
  saved
- adds network-jwt tests
2025-04-11 11:27:57 -04:00
Paul Lorenz e647d67325 Update to channel/v4 2025-04-02 15:28:59 -04:00
Paul Lorenz e316231ab0 Merge pull request #2960 from openziti/remove-ctrl-from-db
Controller not removed from DB controller store when removed from controller. Fixes #2906
2025-04-02 14:03:02 -04:00
Paul Lorenz 81f2d84870 Merge pull request #2958 from openziti/fix-pk-rdm-errors
Fix router data model 'create public key' related errors. Fixes #2932
2025-04-02 14:02:52 -04:00
Shawn Carey 7bd0e5db58 add source ip filtering to intercept.v1 (#2962) 2025-04-01 08:12:59 -04:00
Paul Lorenz 5a55aba493 Controller not removed from DB controller store when removed from controller. Fixes #2906 2025-03-29 00:19:52 -04:00
Paul Lorenz d1dad0bc03 Validate node address before adding to cluster. Fixes #2922 2025-03-29 00:09:29 -04:00
Paul Lorenz f79f777d33 Fix router data model 'create public key' related errors. Fixes #2932 2025-03-28 23:57:39 -04:00
Andrew Martinez 7e542fac8b fix typos (#2942) 2025-03-26 18:06:20 -04:00
Andrew Martinez 6502098179 Fix.api.session.synth.jwt (#2935)
* fix #2934 fix API Session Cert to OIDC JWT mapping verification
* fix #2931 log invalid token aud, label token vs ext jwt aud
2025-03-26 11:24:17 -04:00
Paul Lorenz 8dbf6e5d85 Update errorz.MultipleErrors users to errors.Join 2025-03-22 10:14:02 -04:00
Andrew Martinez 03089801c0 adds text/plain to enroll intercept for legacy clients (#2909)
* adds text/plain to enroll intercept for legacy clients
* adds text/plain test
2025-03-21 14:12:05 -04:00