Paul Lorenz
37b2fe5a0e
Fix check for timeout error. Fixes #1791
2024-03-01 14:06:36 -05:00
Paul Lorenz
b7bd2aa975
Fix xgress dialer config. Fixes #1673
2023-12-29 13:16:04 -05:00
Paul Lorenz
f3d67b7f49
Update fabric imports
2023-09-28 23:34:28 -04:00
Paul Lorenz
cdfd037da9
Move protobuf definitions to common
2023-08-10 19:38:48 -04:00
Paul Lorenz
00a39c9900
Move logcontext package to common
2023-08-10 18:07:00 -04:00
Paul Lorenz
368d6e5568
Move config, ctrl_msg and handler_common to common/
2023-08-10 17:29:08 -04:00
Paul Lorenz
02539e9e16
Support multiple control channels. Fixes openziti/fabric#469
2022-09-29 12:06:41 -04:00
Paul Lorenz
519574497e
Update to channel v2
2022-09-26 17:00:34 -04:00
Paul Lorenz
aa6124105d
Update to usage v3. Adds circuit tags to usage. Fixes openziti/fabric#496
2022-09-15 17:34:33 -04:00
Paul Lorenz
4d05c59df0
Run gofmt -w -s
2022-08-22 14:17:43 -04:00
Paul Lorenz
3d49022f4a
Update for foundation changes
2022-07-01 14:29:12 -04:00
Paul Lorenz
b26fcf8909
Fix copyright
2022-06-29 16:59:46 -04:00
Paul Lorenz
e53a5e6fc5
Add pool metrics
2022-05-13 13:49:42 -04:00
Paul Lorenz
5d2febb7b7
Fix conditional
2022-05-12 23:21:10 -04:00
Cam Otts
0c7ff2bd5e
threaded a timout through fabric ( #356 )
...
* threaded a timout through fabric
* updated default timeout
* pr comments
* fix timing
* applied pr comments
* removed one more utc
* updated to time until and conditionally add deadline
* signed commit
* small proto change
* regenerate pb
* missed extra import
2022-05-12 14:32:18 -05:00
Paul Lorenz
f51ebf40f4
Fix route related deadlock issues. Fixes openziti/fabric#393
...
If we can't queue to dial pool, don't block, fail right away
Ensure we don't write response in reader go-routine
Add timeouts on response writes, so they don't block indefinitely
2022-05-12 14:08:04 -04:00
Paul Lorenz
8dfdce7fab
Update to current protobuf library
2022-05-10 14:54:00 -04:00
Paul Lorenz
69bc2fb0cc
Update to transport/v2
2022-05-10 11:58:41 -04:00
Paul Lorenz
18539faf87
Add dest type to routing so we don't need to overload ids
2022-04-27 11:20:02 -04:00
Paul Lorenz
e21d41df05
Notify controller of invalid destinations in routes.
...
Allow xgress and links to be destinguished by ID suffix
If a link destination is missing, send a link fault
Add forget-link router debug agent op to allow testing invalid
destinations
2022-04-26 22:16:58 -04:00
Paul Lorenz
c3538f6781
update deps and remove quick references
2022-03-24 13:33:24 -04:00
Paul Lorenz
84cfedf482
Add circuit inspection. Move ctrl handler pools to use goroutines.Pool
2022-03-24 13:32:56 -04:00
Cam Otts
405492ce92
Route error codes ( #335 )
...
* Initial work on adding route error codes to route responses
* updated messaging
* Split out terminator incrementors
Added handling for Service Errors
Added initial steps at deleting misbehaving terminators
* Added test for destroying and settin gprecedence on terminators
Added handling for terminator errors in routing
* inverted error switch
* cleanup for pr
* PR comments
* refactored conditional printing to account for single node paths that don't have links
* added error log when route status
* added another misconfigured error
Co-authored-by: Paul Lorenz <paul.lorenz@netfoundry.io >
2022-03-23 12:51:49 -05:00
Paul Lorenz
e9133f4a94
Update router side of control channel to use channel library
2022-01-28 12:38:26 -05:00
Paul Lorenz
f5e53853dd
Fix sessionId -> circuit. Fix nil reference on non-egress routes
2021-08-10 13:16:57 -04:00
ziti-ci
23a9da54e7
Allow injecting context into path creation/establishment operations
2021-08-06 16:34:57 -04:00
Paul Lorenz
21c261fb19
Rename session -> circuit
2021-08-04 13:17:39 -04:00
Paul Lorenz
3f4b4486ed
Logging tweaks. Give close grace period on unroute if end of session hasn't arrived yet
2021-07-15 13:11:30 -04:00
Michael Quigley
11fdf96492
Dial dwell time. ( #203 )
2021-03-05 13:25:59 -05:00
Michael Quigley
010b320617
Sleep on dial. ( #173 )
2021-03-04 15:14:01 -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
Paul Lorenz
0021aa1f2b
Set reply-to on route message responses
2021-02-11 16:49:12 -05:00
Michael Quigley
16f50a5427
Lint.
2021-02-10 10:31:53 -05:00
Michael Quigley
aa2d7315a4
Better terminator dial error reporting. ( #168 )
2021-02-10 10:25:24 -05:00
Michael Quigley
be69649bf1
Attempt encoding support in the route plumbing. Allows the route sender to more accurately handle unhappy scenarios. ( #168 ) Fix for 'UpdateTerminatorRequestType' typo in protobufs. ( #176 ).
2021-02-09 13:36:23 -05:00
Michael Quigley
cb7a561a39
Up and operational with a version of parallel routing. ( #168 )
2021-02-08 11:50:57 -05:00
Michael Quigley
43c90c55ed
Use ctrl_msg.RouteResultType as the new route result message. ( #168 )
2021-02-05 11:49:00 -05:00
Paul Lorenz
b2c0b92693
Allow dropping payloads
2020-12-01 13:32:44 -05:00
Paul Lorenz
4e29aadeef
Return failure to controller when egress connect fails. Fixes GH-114
2020-08-07 16:07:45 -04:00
Andrew M
68be5a1ffd
fixes openziti/fabric#109 , adds pools of workers for select handlers
...
- adds woker pool support in routers for dial and route handers
- adds configuration for pool/queue under the forwarder section
2020-08-02 23:09:25 -04:00
Andrew M
37587d73c3
adds support for e2e via peer data for openziti/edge/issues#173
...
- add xt.PeerData type
- convert all peer data maps to xt.PeerData
- allow xgress dials to return session runtime peer data
2020-07-27 16:16:27 -04:00
Michael Quigley
10e6a7ef93
netfoundry/ziti-fabric -> openziti/fabric
2020-05-26 17:14:16 -04:00
Paul Lorenz
414cb52953
Implement update terminator for ctrl channel. Lots of xt fixes. Log level tidying
2020-05-06 14:29:10 -04:00
Michael Quigley
2902c4942b
Move the X... frameworks underneath controller/ or router/.
2020-03-20 13:57:59 -04:00
Paul Lorenz
c32144d668
Remove copyright date
2020-03-19 13:26:09 -04:00
Paul Lorenz
6fdd5bcda5
Add support for multiple endpoints to services and sync model abstrac… ( #53 )
...
* Add support for multiple terminators to services and sync model abstractions with edge
* Add Snapshot to db.Db
* Make API friendly errors
* Add association querying. Consolidate Entity* interfaces
2020-03-19 13:23:16 -04:00
ekoby
7f6fb5e5eb
initial support for passing crypto material ( #41 )
...
implement passing information between hosting and dialing endpoints (used for crypto key exchange)
2020-02-27 12:57:39 -05:00
Michael Quigley
c1c459db25
De-stuttered the Xgress API. ( #40 )
2020-02-04 16:58:09 -05:00
Michael Quigley
42307baf3d
Fixed.
2020-01-17 13:25:53 -05:00
Michael Quigley
d17870d35b
Remove stuttered naming.
2019-12-03 12:41:13 -05:00