Commit Graph

173 Commits

Author SHA1 Message Date
Andrew Martinez 9e6cfaa47d fixes #1103 allow multiple advertise hostnames for listeners 2022-07-26 16:06:47 -04:00
Paul Lorenz 1fb3339bb1 Update for changes to fabric events model 2022-07-19 11:18:08 -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 b53fa0cd98 Remove event log and georegions 2022-06-30 10:35:19 -04:00
Andrew Martinez 9ae2eb825c adds jwks support
- ext-jwt-signers now support jwks endpoints in addition to static
  certificates
- ext-jwt-signers now require either kid+cert or jkwsEndpoint
- ext-jwt-signers now requires issuer and audience fields
- jwksEndpoints are initially cached and will be revalidated on invalid
  auth once every 5s at most
- adds more external id tests
2022-06-07 09:57:22 -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 601f73e7fb fixes post/update ripple breakage 2022-05-26 17:16:02 -04:00
Andrew Martinez 6fcde2ee3c fix scenarios where nil or non map is provided in data causes a panic
- fixes edge #1020
- adds higher level error
- adds store level error
2022-05-26 17:03:43 -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
Paul Lorenz 8423ac5cfa Make host.v2 stricter. Fixes #991 2022-05-02 17:19:48 -04:00
Andrew c32fa95ca8 Merge pull request #961 from openziti/add.ext.jwt.aud.iss.checks
adds optional issuer and audience properties to ext jwt signers
2022-04-12 08:54:53 -04:00
Andrew Martinez 59af07dcd0 fixes is admin not set on updates (put/patch) 2022-04-08 11:20:15 -04:00
Andrew Martinez ec51635f26 adds optional issuer and audience properties to ext jwt signers 2022-04-06 15:48:17 -04:00
Paul Lorenz 5f62d05a9a Merge pull request #952 from openziti/update-deps
Update to transport and storage libs. Update workflows
2022-03-31 11:14:29 -04:00
Andrew Martinez 213f03bd89 fix migration version check 2022-03-31 10:52:50 -04:00
Andrew Martinez b5605f0738 updates db version 2022-03-31 10:48:31 -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
Andrew Martinez ba84d2fae9 adds settable kid to ext jwt signers, fixes default auth policy 2022-03-30 13:51:23 -04:00
Andrew Martinez 708dcfe0c9 adds auth policy / disabled identity auth logic 2022-03-29 14:26:04 -04:00
Andrew Martinez a34ae130b8 adds externalId, plumbs auth url, use external id
- adding tests and boundaries to values
- updating foundation
- squash, rebase
2022-03-28 10:54:27 -04:00
Andrew Martinez 99e3b283b6 adds auth policy CRUD, does not affect authentication 2022-03-25 14:40:07 -04:00
Andrew 1459cd3b7b Merge pull request #918 from openziti/add.ext.jwt.authenticator
adds ext-jwt authenticator
2022-03-21 15:56:04 -04:00
Paul Lorenz 76e207fe28 Add cost/precedence back to host configs. Fixes #931 2022-03-16 12:04:17 -04:00
Paul Lorenz 7526b0db38 Move integrity checker to fabric 2022-03-10 11:08:20 -05:00
Andrew Martinez 3380807334 adds ext-jwt authenticator
- enables /authenticate?method=ext-jwt
- adds ext-jwt to OpenAPI schema
- rebase to main, squash
2022-03-08 10:01:38 -05:00
Andrew Martinez 3e5f08c99f adds cert authenticator extension endpoint
- adds endpoint POST /edge/management/v1/authenticator/{id}/extend
- adds endpoint POST /edge/management/v1/authenticator/{id}/extend-verify
- adds endpoint POST /edge/client/v1/authenticator/{id}/extend
- adds endpoint POST /edge/client/v1/authenticator/{id}/extend-verify
- add logic that allows a client endpoint to extend the valid period for
  their current certificate authenticator
- requires clients to use their existing client cetificate for extension
- requires clients to verify they have received the new public key
- allows clients to use a new private key if desired
- allows only 1st party certificate authenticators to extend
- adds authenticatorId to apiSession for persistence, model, api model
- add session cert to already authenticated session on extend
- removes empty test stub
2022-03-02 09:20:08 -05:00
Paul Lorenz 0f782ce144 Address review comment 2022-02-24 11:56:39 -05:00
Paul Lorenz 3fd000a1bd Separate fabric and edge entity counts for parent/child stores 2022-02-24 11:26:44 -05:00
Paul Lorenz e18e4a16fb Add back in commented out test code 2022-02-17 19:33:16 -05:00
Paul Lorenz dbac831bee Add edge router events test 2022-02-17 15:58:25 -05:00
Paul Lorenz 06679b93a9 Remove fabric callback that are no longer needed 2022-02-17 11:13:15 -05:00
Andrew Martinez 236babd62c adds start/end times for events 2022-01-18 14:19:52 -05:00
Andrew Martinez 1f784d89ce adds asynchronous eventer to controller
- emits events for processing progress/state for metric instrumentation
- emits events for eventual event backlog state for metrics
- alters Trigger() to return a channel that can be waited upon
- adds ability to add eventual events within a specific bbolt
  transaction
- splits session lookup and delete into view/update transactions
- add eventual event gauge
- use CascadeCreateUpdate
- adds named functions
- documentation for 500us timeout
- grammar fixes
2022-01-18 14:19:36 -05:00
Andrew Martinez dae084f61c alters router/controller enrollment extension logic
- routers propertly wait on certs that are about to expire
- routers no longer send multiple extension requests
- routers now request cert verification
- routers now verify new certs before saving
- controller now supports verification requests
2021-12-20 09:19:10 -05:00
Paul Lorenz 31107eb4d4 Update for removing custom bbolt version with trace support 2021-12-11 00:34:40 -05:00
Andrew 62ae85539f Merge pull request #819 from openziti/gosec.improvements
fixes gosec output of a few items
2021-11-02 09:05:22 -04:00
Paul Lorenz 2d4260e76e Allow using a specific bolt db file for tests 2021-10-26 14:19:24 -04:00
Andrew Martinez c8de8a8fac fixes gosec output of a few items 2021-10-21 17:40:52 -04:00
Paul Lorenz 0c8206b8d4 Don't allow hashtags or at symbols on role attributes. Fixes #786 2021-09-22 10:31:01 -04:00
Eugene K c9e7d2f4c7 update host configs as well to pickup wildcardDomain addition 2021-09-15 15:57:39 -04:00
Eugene K 83f0d5597d add wildcard domain to intercept addresses configuration 2021-09-15 15:52:53 -04:00
Andrew Martinez 50752b8b7a check for nill checker 2021-09-14 09:47:41 -04:00
Andrew Martinez b0f9f18f72 adds EventFullyAuthenticated to the API session store
The previous implementation would send API Sessions to Edge Routers
while partially authenticated. Due to state issues addressed separately
in the c-SDK, these partial API Sessions are maintained if a channel
connected to an edge router was established during reconnect. This would
further cause problems with channel connection using the wrong API
session vs what the rest of the SDK was using.
2021-09-13 15:15:34 -04:00
Andrew Martinez 17b82de1fd remove debug output 2021-09-03 09:55:39 -04:00
Andrew Martinez a7be333879 adds migration to fill identityId for existing sessions 2021-09-03 09:48:21 -04:00
Paul Lorenz 05fb2e155a Merge pull request #764 from openziti/fix-service-poll-time-check-add-tests
Fix time check on list tunnel. Add policy enforcer test. Add update s…
2021-09-02 11:48:03 -04:00
Andrew Martinez 76e839cfaa adds constants for posture check types 2021-09-02 10:15:31 -04:00
Paul Lorenz 782f43cb26 Fix time check on list tunnel. Add policy enforcer test. Add update session test 2021-09-01 16:20:43 -04:00