Michael Quigley
3ec45972b9
Warn->Info ( #206 )
2021-03-09 12:52:41 -05:00
Michael Quigley
f4d9be4271
Log lint. ( #206 )
2021-03-09 12:42:26 -05:00
Michael Quigley
5c22c9e531
Initial parallel network re-routing, and session-level concurrency control. ( #206 )
2021-03-09 11:35:51 -05:00
Andrew
9612637454
Merge pull request #573 from openziti/thread.safe.router.state
...
adds thread safe router state
2021-03-08 16:19:54 -05:00
Andrew Martinez
219c19c8e7
fix map passed by reference in shallow struct copy
2021-03-08 15:58:57 -05:00
Andrew Martinez
fff256487c
status to state in broker
2021-03-08 15:04:51 -05:00
Andrew Martinez
90ca54adb8
adds thread safe router state
...
Router state used to be stored and accessed in a thread unsafe way.
State is now locks on a mutex for setting values and values are copied
out for referencing.
2021-03-08 14:55:36 -05:00
Paul Lorenz
9df72e9627
Update deps and update for foundation api change
2021-03-08 13:18:52 -05:00
Paul Lorenz
0066137733
If api session not found, skip rest of loop
2021-03-08 10:27:10 -05:00
Michael Quigley
b8b9c47fcf
Lint.
2021-03-05 15:14:32 -05:00
Michael Quigley
eb904f8b4c
Controller cleanup side. ( #173 )
2021-03-05 14:14:26 -05:00
Andrew Martinez
3edbc4a16e
reduce from 80 bytes to 80 bits
...
Our secrets were huuuuuge.
2021-03-05 10:03:50 -05:00
Andrew Martinez
1b253839fc
Merge branch 'main' into add.session.route
2021-03-04 09:47:10 -05:00
Andrew Martinez
5eb8649186
move routePath to /sessions/id/route-path
2021-03-04 09:44:12 -05:00
Paul Lorenz
ba97da239f
Update for system entity changes
2021-03-03 14:51:28 -05:00
Paul Lorenz
735eb1d80f
Move ApiError and FieldError to foundation
2021-03-03 14:44:26 -05:00
Michael Quigley
1c63a5fb84
Merge branch 'main' into transwarp_2
2021-03-02 12:27:42 -05:00
Andrew Martinez
005234cb39
add route path to session
2021-03-01 18:02:25 -05:00
Andrew Martinez
44eced5dd1
session to Session
2021-03-01 16:58:38 -05:00
Michael Quigley
793ed028e5
Show count of cleaned-up abandoned routers. ( #180 )
2021-03-01 13:11:04 -05:00
Paul Lorenz
d72d20966a
Merge pull request #555 from openziti/fix-session-client-id
...
Fix fabric session client id. should be edge session id not token. Ad…
2021-02-26 09:51:23 -05:00
Paul Lorenz
d64d18308d
Merge pull request #554 from openziti/fix-update-terminator
...
Fix update terminator. Add test for terminator updates. Remove unused…
2021-02-26 09:47:04 -05:00
Paul Lorenz
560137fb65
Fix fabric session client id. should be edge session id not token. Add test for events.
2021-02-26 09:38:13 -05:00
Paul Lorenz
8a160d93b1
Fix update terminator. Add test for terminator updates. Remove unused store_events
2021-02-26 09:04:32 -05:00
Michael Quigley
de79bddd6b
Clean up successful, but abandoned routes. ( #180 )
2021-02-25 15:35:59 -05:00
Andrew Martinez
7e60583043
fix swagger parameter names, allow mfa codes on headers for get/delete
...
- swagger copy pasta was using the same parameter name for everything,
"body", which made error messages read "error in body for body"
- parameter rename ripples into parameter property definitions
- allow mfa codes in GET and DELETe as libuv doesn't allow them to have
bodies (-.-)
2021-02-25 14:23:12 -05:00
Michael Quigley
f4b6653c55
Merge branch 'main' into transwarp_2
2021-02-24 12:41:31 -05:00
Andrew Martinez
75029f8600
centralize edge router properties, add supportedProtocols to edge
...
session
- centralized edge router properties so adding/altering affects all
edge router output
- adds supportedProtocols to edge session create response
- mark urls on edge session create response as deprecated
2021-02-23 15:07:43 -05:00
Andrew Martinez
b784577f36
add new error state for router sync, move defers to catch router info
2021-02-19 20:58:53 -05:00
Andrew Martinez
69bb67d237
fix exiting workers, panic recovery is unrelate but a good change
2021-02-19 20:14:24 -05:00
Andrew
1eb262c734
Merge pull request #544 from openziti/fix.er.connect.disconnect.panic
...
ignore duplicate connecting routers, do not dereference er hostnames
2021-02-19 11:31:22 -05:00
Andrew Martinez
4afc0bd0b6
fix dupe connection testing by looking at strat stat not network state
2021-02-19 11:18:09 -05:00
Andrew Martinez
a51cf270f2
ignore duplicate connecting routers, do not dereference er hostnames
...
hostnames may be a nil pointer at times now due to the fact that edge
routers may be waiting to sync and may be "online" but edge hellos
have not been exchanged.
2021-02-19 10:19:26 -05:00
Andrew Martinez
5ec44c3d3e
add migration to remove api sessions/sessions on migration from 18->19
2021-02-19 09:54:55 -05:00
Paul Lorenz
155bbd8217
Validate sessions on controller instead of edge router
2021-02-17 20:38:13 -05:00
Paul Lorenz
2b283dcdce
Cleanup go-routines on shutdown. Allow Xtrl instances to contribute trace decoders
2021-02-17 20:22:14 -05:00
Andrew Martinez
707a5a7362
Merge branch 'main' into additional.posture.os.unit.tests
2021-02-17 13:11:04 -05:00
Andrew Martinez
4b75b638da
use send instead of send w/ tx
2021-02-17 13:02:49 -05:00
Andrew Martinez
d2774ae41d
fix lint errors
2021-02-17 12:55:58 -05:00
Andrew Martinez
919d7a3d6b
add hearbeat invalid api token delete
2021-02-17 12:19:06 -05:00
Andrew Martinez
7eb3699f9b
additional os posture checks
2021-02-16 13:24:21 -05:00
Paul Lorenz
1823ec01fc
support ctrl channel reconnect notifications and turning ctrl channel on/off via debug ops
2021-02-15 21:57:24 -05:00
Andrew Martinez
74d4187f22
documentation, split shared options for instant sync, renames
2021-02-15 14:56:56 -05:00
Andrew Martinez
f55751c77e
fix worker count
2021-02-15 13:59:51 -05:00
Andrew Martinez
d76fcbc168
merge stops in instant strat, add broker stop to shutdown
2021-02-15 13:39:07 -05:00
Andrew Martinez
fdb2fb35ad
rename routerTx to routerSender
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
Paul Lorenz
ea87fc24fe
set faultreporter. use right var for ids
2021-02-11 17:19:44 -05:00
Michael Quigley
08ee342327
Basic controller scaffolding for forwarding fault handling. ( #184 )
2021-02-11 14:34:21 -05:00