Paul Lorenz
898e41ae2a
Implement router data model changesets. Fixes #1966
2024-04-23 11:56:10 -04:00
Andrew Martinez
36ced919ae
Merge branch 'main' into ha-staging
2024-03-14 08:38:57 -04:00
Paul Lorenz
4f7502b888
Fix panic on second api session sync failed notify in router. Fixes #1815
2024-03-12 16:36:22 -04:00
Andrew Martinez
09542c7728
consolidated ha changes
2024-02-29 09:27:56 -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
Mario Trangoni
a29b184265
apiSessionAdded.go: Fix typo found by codespell ( #1652 )
...
Signed-off-by: Mario Trangoni <mjtrangoni@gmail.com >
2023-12-18 14:28:20 -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
Paul Lorenz
5b59ae13ee
Update for moved packages in fabric
2023-08-23 09:40:05 -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
dba0fb6f7c
Move protobufs to common
2023-08-04 17:01:15 -04:00
Andrew Martinez
414cff49d7
adds support OIDC authentication, api access, and ER connections
2023-07-20 09:41:12 -04:00
Paul Lorenz
a8cb0dd48f
Fix ER/T service config handling
2023-05-05 11:45:32 -04:00
Andrew Martinez
95ae025ce9
updates golang sdk to v0.20.0
2023-04-26 13:55:51 -04:00
Paul Lorenz
63c161224a
Add linter and fix issues found by linter
2022-10-10 16:56:51 -04:00
Paul Lorenz
ad8392cef4
Update deps
2022-10-10 16:56:50 -04:00
Paul Lorenz
63e0d9663e
Support multiple routers in router edge extensions
2022-09-30 09:34:04 -04:00
Paul Lorenz
32c197e5e1
Update to channel v2
2022-09-26 18:20:00 -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
9c200097f8
Fix various races detected by the race detector
2022-06-21 15:11:50 -04:00
Paul Lorenz
b690993263
Update to latest protobuf library
2022-05-10 14:55:54 -04:00
Paul Lorenz
2b2726ca32
Update to go 1.18 and transport/v2
2022-05-10 13:11:12 -04: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
3b75094429
Update router side to use channel library for control channel
2022-01-28 15:48:15 -05:00
Andrew Martinez
97773f5917
update log messages w/ router context
2021-12-20 09:20:10 -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
bfcb037783
Initial pass at fabric rest api working ( #838 )
...
* Update for fabric rest controller changes
2021-11-30 16:30:17 -05:00
Andrew Martinez
45158ff864
updates to newest foundation/fabric/sdk-golang
2021-10-18 16:07:33 -04:00
Paul Lorenz
ace44b4e75
Fix panic. Fix generate rest script. Add metric for unknown api session tokens
2021-06-21 15:17:46 -04:00
Paul Lorenz
d920dbbd93
Fix sync early exit bug. Track new session during sync. Simplify thre… ( #686 )
...
* Fix sync early exit bug. Track new session during sync. Simplify threading and tighten up locking. Add dump api-sessions debug operation
* Address review comments. Remove spurious error message. Fix defaultHostingCost/Precedence field names
2021-06-11 14:01:20 -04:00
Paul Lorenz
025cfc204d
Move service list handler invoke out of decode loop
2021-05-06 13:00:48 -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
Andrew Martinez
ba1427d2d9
add posture check disconnect test
2021-03-26 09:38:14 -04:00
Paul Lorenz
038e9bdd91
Add support for host.v1. Add health checks to host.v1. Add host.v2 (multiple terminators). Add support for health events.
2021-03-25 15:43:07 -04:00
Paul Lorenz
680852f80e
Allow tunnel to run over xgress directly
2021-03-22 14:33:54 -04: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
f061ba7c33
spelling/cleanup
2021-02-15 13:22:08 -05:00
Andrew Martinez
ad03b24546
shutdown go routines, log messages
...
- shut down go routines for handlers on HandleClose
- fix log messages and add more states to sync tracking
- remove nil sync fail output
2021-02-15 13:22:07 -05:00
Andrew Martinez
fdb2fb35ad
rename routerTx to routerSender
2021-02-15 13:22:07 -05:00
Andrew Martinez
41884d6482
router log cleanup
2021-02-15 13:22:07 -05:00
Andrew Martinez
a8f1b8b79a
moves sync strat/state to headers
2021-02-15 13:22: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
Curt Tudor
2c6814aaa4
edge router enhancements for browZer support ( #499 )
2021-02-04 06:09:46 -05:00
Andrew Martinez
41da009787
remove the last of the things named gateway
2020-10-08 07:53:17 -04:00