Commit Graph

38 Commits

Author SHA1 Message Date
Andrew Martinez e4207d9f9f lint fixes 2024-03-05 10:25:24 -05:00
Andrew Martinez 401de61bbc spelling errors 2024-02-29 10:06:22 -05:00
Andrew Martinez 09542c7728 consolidated ha changes 2024-02-29 09:27:56 -05:00
Paul Lorenz c9f0cdbc52 Merge pull request #1655 from mjtrangoni/add-codespell
codespell: Add spelling check and fix all issues
2023-12-21 10:52:43 -05:00
Mario Trangoni 126ee5d79c codespell: Add spelling check and fix all issues
Signed-off-by: Mario Trangoni <mjtrangoni@gmail.com>
2023-12-19 10:52:42 +01:00
Kenneth Bingham 22b54e8558 promote log from debug to info 2023-11-22 12:12:38 -05:00
Kenneth Bingham d7d7a10906 demote and clarify a log warning message about mismatched advertised and
listening ports, which is expected in deployed envs where exposed,
advertised ports are forwarded to listening, server ports
2023-11-21 17:06:03 -05:00
Paul Lorenz f3d67b7f49 Update fabric imports 2023-09-28 23:34:28 -04:00
Paul Lorenz 07da3cd513 Merge remote-tracking branch 'edge/main' into merge-edge
Updated package names
Merged golangci-lint configurations
2023-09-27 16:54:53 -04:00
Andrew Martinez 05b2e38404 fixes openziti/ziti#1310 enrollment extension waits for controller
For router certificate extension, routers now wait for a control
channel for 10s then check again every one minute till it is
available or the router is terminated or self terminates
due to a lack of a control channel.
2023-09-15 15:02:31 -04:00
Paul Lorenz dba0fb6f7c Move protobufs to common 2023-08-04 17:01:15 -04:00
Paul Lorenz 7d6f4ef700 Reorganize code in preparation for merging to ziti repo, first pass. 2023-08-04 09:48:06 -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 63c161224a Add linter and fix issues found by linter 2022-10-10 16:56:51 -04:00
Andrew Martinez 9e6cfaa47d fixes #1103 allow multiple advertise hostnames for listeners 2022-07-26 16:06:47 -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 2b2726ca32 Update to go 1.18 and transport/v2 2022-05-10 13:11:12 -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
Paul Lorenz 06679b93a9 Remove fabric callback that are no longer needed 2022-02-17 11:13:15 -05:00
Andrew Martinez 9c89cb08c2 fix enrollment issues if no previous enrollment exists 2021-10-19 11:25:56 -04:00
Andrew Martinez 6612ad9c14 fix startup timing issues 2021-10-19 10:58:59 -04:00
Andrew Martinez 58fa1887a9 remove debug flag 2021-10-18 16:11:01 -04:00
Andrew Martinez 45158ff864 updates to newest foundation/fabric/sdk-golang 2021-10-18 16:07:33 -04:00
Andrew Martinez 4a9b226f0e adds the ability for router to extend their enrollment
- routers can now opt to extend their enrollment at any time with a
  previous or new key
- adds tests for router enrollment
- adds tests for router enrollment extension
2021-04-14 09:21:59 -04:00
Paul Lorenz 680852f80e Allow tunnel to run over xgress directly 2021-03-22 14:33:54 -04:00
Paul Lorenz 89974769a1 Fix validate interval calculation 2021-02-22 10:14:12 -05:00
Paul Lorenz 155bbd8217 Validate sessions on controller instead of edge router 2021-02-17 20:38:13 -05:00
Andrew Martinez 12ab2bbb34 do not remove api sessions added after/during sync 2021-02-17 10:54:07 -05:00
Andrew Martinez d07618c9d5 modular edge router sync
- edge router sync is now modular and can have different strategies
- plans to make this configurabe in the future with multiple strat
- legacy strategy is called "instant" and is the only option
- instant strat now supports control signaling and resync requests
- edge routers now do not remove connections till after a full sync
- added the ability for the controller to report the er sync status
- added er syn status to GET /edge-routers list and detail
- improved log output in sync logic
2021-02-15 13:22:07 -05:00
Paul Lorenz 208036d29c Merge pull request #509 from openziti/fix-router-crash
Fix router crash caused by concurrent access to map
2021-02-05 12:20:43 -05:00
Paul Lorenz f61faf0d54 Fix router crash caused by concurrent access to map 2021-02-05 10:13:26 -05:00
Curt Tudor 2c6814aaa4 edge router enhancements for browZer support (#499) 2021-02-04 06:09:46 -05:00
Paul Lorenz cdba8994ff Add timeout to api session lookup. Make api-session/session lookup timeouts configurable 2021-01-25 16:54:23 -05:00
Andrew Martinez a3789c063a adds support of API Session Certificates
- adds ability for any authenticated API Session to create ephemeral
 certificates
- allows UPDB session connection
- adds create/delete/read of current api session certificates
- add session cert pem result on create and detail
- fixes ER not updating sessions with new certs from API session
- fixes naming of session vs apiSession on members, functions, etc
- organizes ER state manager functions into apiSession vs session
- adds api session ids to api sessions and sessions sent from the
  controller to ERs
- ensure api and ns fingerprints are the same
- filter api session certs by valid periods
- clarify fingerprint func naming
2021-01-06 09:42:57 -05:00
Andrew Martinez c726f158d6 fixes #365 adds hasApiSession and hasEdgeRouterConnection 2020-10-20 15:00:22 -04:00
Paul Lorenz c53843c08d Update go-events to latest version (#332) 2020-10-09 12:37:20 -04:00
Andrew Martinez 41da009787 remove the last of the things named gateway 2020-10-08 07:53:17 -04:00