Commit Graph

1206 Commits

Author SHA1 Message Date
Paul Lorenz 613245c4c4 Fix terminator sibling lookup. Fixes openziti/fabric#766 2023-08-09 11:40:40 -04:00
Paul Lorenz 6426d55020 Add some warn logging on terminator instance id bind conflict 2023-08-09 10:56:46 -04:00
Paul Lorenz 0c84601cd0 Update for link management changes 2023-08-09 10:20:58 -04:00
Paul Lorenz b061fe9a39 Move internal/certs to common. Remove some incidental files that weren't used. 2023-08-07 10:20:06 -04:00
Paul Lorenz 03b58ebcd3 Move jwtsigner package to controller 2023-08-04 17:04:44 -04:00
Paul Lorenz b108f4424d Remove unused internal/pem and internal/util packages. Move version to only place it's used in response 2023-08-04 17:04:13 -04:00
Paul Lorenz dba0fb6f7c Move protobufs to common 2023-08-04 17:01:15 -04:00
Paul Lorenz 8b3092a3d9 Merge pull request #1566 from openziti/prep-for-ziti-merge-p2
Move eid to common
2023-08-04 16:35:26 -04:00
Paul Lorenz f368b631b0 Merge remote-tracking branch 'origin/main' into prep-for-ziti-merge-p1 2023-08-04 16:26:16 -04:00
Paul Lorenz 1f5eed5956 Move eid to common 2023-08-04 11:46:53 -04:00
Paul Lorenz 7d6f4ef700 Reorganize code in preparation for merging to ziti repo, first pass. 2023-08-04 09:48:06 -04:00
Paul Lorenz f15b8bef23 Add some more config value validation and guardrails 2023-08-03 17:07:49 -04:00
Paul Lorenz 2ee9539f9c Move link calculation to routers. Fixes #692, fixes #749, fixes openziti/fabric#343 2023-08-03 17:07:48 -04:00
Andrew Martinez 7ee4539e6a fix lint 2023-07-24 16:41:58 -04:00
Andrew Martinez 5c30981c8b fix lint 2023-07-24 16:28:17 -04:00
Andrew Martinez 79bc10b690 fix jwt auth response 2023-07-24 16:14:28 -04:00
Andrew Martinez 8c8709ea72 Merge branch 'main' into jwt.auth 2023-07-24 15:42:46 -04:00
Andrew Martinez ef1cffee30 fix tests 2023-07-24 15:39:45 -04:00
Andrew Martinez 240b654f51 fix small issues w/ ER code from split 2023-07-20 09:48:04 -04:00
Andrew Martinez 414cff49d7 adds support OIDC authentication, api access, and ER connections 2023-07-20 09:41:12 -04:00
ekoby 185135dbcd add ability to use shared TLS listeners (#759)
* add ability to use shared TLS listeners

two protocols(for ALPN purposes) are defined:
- ziti-ctrl: control channel marker
- ziti-link: link channel marker
2023-07-14 09:28:00 -04:00
Paul Lorenz 62b73c231c Fix panic in router disconnect when fingerprint is nil. Fixes #1548 2023-07-13 12:03:38 -04:00
Andrew Martinez 2f46688763 adds server certs to raft mesh peer connections 2023-07-13 10:04:30 -04:00
Paul Lorenz 8372559f37 If CA is invalid pem, exit out of loop. Fixes #1543 2023-07-06 13:46:35 -04:00
Paul Otto 1fed936746 Fix cert expire check logic error 2023-06-27 11:36:33 -06:00
Andrew Martinez 1098dfd928 Restores old /edge/client/v1 coverage of the root URL
- restores /version for the c-sdk
- fixes existing Go SDK enrolled configurations which will use the wrong
  API URL (non-prefixed) due to an old enrollment bug.
2023-06-22 14:16:59 -04:00
Andrew Martinez eeb9221fe4 adds .well-known/est/cacerts support to the management API 2023-06-14 09:56:23 -04:00
Andrew Martinez 3325f91e76 fixes #1416 allows totp provisioning URL domain to be configured
- sets default to openziti.io (previously ziti.dev)
- adds edge.totp configuration section
2023-06-13 09:10:31 -04:00
Shawn Carey fcd14e4e99 Allow wildcard domains in intercept.v1 configurations (#1518)
validate intercept addresses with idn-hostname format
2023-06-08 13:58:15 -04:00
Paul Lorenz 8149b69614 Add support for quiescing and dequiescing routers. Fixes openziti/fabric#538
Quiesce marks all terminators as failed and stores the previous state.
Dequiesce restores all terminators with failed state and stored previous
state to their previous state
2023-06-05 17:46:13 -04:00
Paul Lorenz 5c9a942fa5 Timeout is getting reported as conn refused instead of timeout. Fixes openziti/fabric#738 2023-06-05 16:17:29 -04:00
Paul Lorenz f31f849344 Fix panic removing terminator with invalid session. Fixes #1512 2023-06-02 10:52:41 -04:00
Paul Lorenz ef555a536e Notify controller of forward faults on links. Fixes #724. If reroute fails, circuit should be torn down. Fixes openziti/fabric#725 2023-05-25 15:05:28 -04:00
Shawn Carey a980106220 use 'idn-hostname' string format in intercept.v1 and host.vX config types. (#1500) 2023-05-23 15:30:12 -04:00
Paul Lorenz 9a7ff8191c Refactor bootstrap. Cleanup some error messages. Set ctrl check to initial fail state 2023-05-18 22:57:22 -04:00
Andrew Martinez d3a2009582 fix lint issues 2023-05-12 15:44:10 -04:00
Andrew Martinez bf2684ac4e fixes edge#1225 broken CA de-dupe logic, adds tests 2023-05-12 15:32:16 -04:00
Paul Lorenz 3793d6d2b7 Merge pull request openziti/fabric#705 from openziti/link-group-config
Add config support for link groups. Doesn't use group config yet.
2023-05-11 17:02:11 -04:00
Paul Lorenz bc9bac6f0d Add config support for link groups. Doesn't use group config yet. 2023-05-11 09:34:33 -04:00
Andrew Martinez 3116412857 adds missing error message for unmatched iss field 2023-05-10 10:36:33 -04:00
Paul Lorenz 931f1ef8f1 improve cluster bootstrap 2023-05-09 12:09:00 -04:00
Paul Lorenz f16cf4709f Merge pull request openziti/fabric#687 from openziti/annotate-circuit-events
Annotate circuit events with circuit tags, similar to usage. Fixes openziti/fabric#684
2023-05-04 11:05:36 -04:00
Paul Lorenz 97daffe69d Merge pull request #1449 from openziti/annotate-circuit-events
annotate circuit events
2023-05-04 11:03:04 -04:00
Andrew Martinez 661be7876d fixes openziti/ziti#1093
- heart beat system was never being configured with a control channel
2023-05-01 10:02:48 -04:00
Paul Lorenz f28722cfa6 Handle nil terminator when getting circuit tags 2023-04-27 12:16:09 -04:00
Andrew Martinez 95ae025ce9 updates golang sdk to v0.20.0 2023-04-26 13:55:51 -04:00
Paul Lorenz a19a2ab2fe Annotate circuit events with circuit tags, similar to usage. Fixes openziti/fabric#684 2023-04-25 22:54:22 -04:00
Paul Lorenz 7d6901be3d Add edge code needed for entity change events. Fixes #629 2023-04-25 22:34:02 -04:00
Paul Lorenz 833529cb68 Change cluster and entity change events to camel case from snake case 2023-04-25 15:35:40 -04:00
Paul Lorenz 82cbbefceb Fix event type 2023-04-25 14:04:14 -04:00