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
1874ab5f27
Allow a new control channel to takeover even if the router is already connected
...
Add churn limiter so it can only happen so often
2022-04-28 14:55:14 -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
85a4d8484b
Address review comments
2022-04-26 13:49:33 -04:00
Cam Otts
113c37024e
Added heartbeat logging/metrics to control channel ( #341 )
...
* Added heartbeat logging/metrics to control channel
* pr comments
* misunderstood last pr comment
* moved channel closing to happen in either case
2022-04-06 11:10:58 -05:00
Paul Lorenz
8150358d6b
Add service id to log message
2022-04-05 22:34:30 -04:00
Paul Lorenz
9a344da855
Update to use transport library
2022-03-31 10:36:28 -04:00
Paul Lorenz
b35b532d25
Update to use storage library
2022-03-30 16:22:32 -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
tburtchell
2f8a608c4c
Replacing link 'type' with 'protocol' and 'costTags' ( #336 )
...
* Replacing link 'type' with 'protocol' and 'costTags'
2022-03-22 09:06:02 -04:00
Paul Lorenz
2b7db10913
Allow routers more control over link management ( #318 )
...
* Allow routers more control over link management
2022-03-07 12:22:17 -05:00
Paul Lorenz
291c2df0c5
Allow service name for fabric service requests
2022-03-01 12:01:40 -05:00
Paul Lorenz
5fc81fbf18
Update to use channel trace
2022-02-28 15:39:27 -05:00
Paul Lorenz
675b16ef98
Don't call message sends in control channel bind
2022-02-10 09:20:23 -05:00
Paul Lorenz
3cfea85bf7
Update links to use channel library
2022-01-31 15:52:10 -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
84ae5576e1
Update to use channel library
2022-01-27 16:46:21 -05:00
Paul Lorenz
4f5e7b3591
check idle circuits against path
2022-01-24 13:07:14 -05:00
Paul Lorenz
c425cc84a8
Move some events/metrics code from foundation to fabric
2022-01-20 17:22:50 -05:00
Paul Lorenz
e781e3c713
Update control channel to new channel API
2022-01-19 08:15:33 -05:00
Paul Lorenz
3c098defb0
Add more router connect error logging ( #300 )
...
* Add more router connect error logging, fix cert validity check, handle multiple certs properly
2022-01-03 14:25:30 -05:00
Andrew Martinez
ab4e649d61
adds router id and name to already connected error
2021-12-01 14:45:01 -05:00
Paul Lorenz
ea1bac0b17
Add link implementation. Convert link to string from identity.TokenId
2021-11-30 14:05:21 -05:00
Paul Lorenz
b9e87a1597
recieve handlers should never send as they may block forever if the underlying channel closes
2021-11-30 12:55:37 -05:00
Paul Lorenz
6ba7264ff3
Do additional cert chain and verify links with controller
2021-11-12 15:36:05 -05:00
Paul Lorenz
58e159236d
Use string id instead of identity where we don't need certs
2021-09-03 14:10:28 -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
bcd1c374e8
Rename circuit to path
2021-08-04 13:16:09 -04:00
Paul Lorenz
cb70e33fa0
Improve link logging. Add destination id to xlink
2021-07-30 10:18:45 -04:00
Paul Lorenz
375dfd03b4
Add configurable router health check
2021-06-17 12:32:16 -04:00
Paul Lorenz
add3ae6f13
If accept fails, ch will be nil
2021-03-18 13:54:14 -04:00
Paul Lorenz
402dcb1f60
Don't allow routers to connect with no version info. They're too old to work correctly anyway for other reasons
2021-03-18 11:38:42 -04:00
Michael Quigley
072eb3fc3e
Send unroute asynchronously. ( #204 )
2021-03-12 10:32:13 -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
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
Michael Quigley
aa2d7315a4
Better terminator dial error reporting. ( #168 )
2021-02-10 10:25:24 -05:00
Michael Quigley
7d653696e9
We don't want smart routing to start unrouting sessions. ( #168 )
2021-02-09 13:43:08 -05:00
Michael Quigley
6a3f2231df
Also screen RouteResultAttemptHeader from peerData. ( #168 )
2021-02-09 13:39:16 -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
765e7f30bb
Implement non-acting session confirmation receive hander, to prevent future errors with newer routers ( #173 , openziti/fabric#174 )
2021-02-08 14:08:35 -05:00
Michael Quigley
cd3e31df78
Support for peerData in parallel routing. ( #168 )
2021-02-08 11:21:42 -05:00
Michael Quigley
4ef6853fec
Tear down sessions for abandoned route result messages ( #168 )
2021-02-05 13:47:46 -05:00
Michael Quigley
b601068fee
More receive handler, network, route sender wiring. ( #168 )
2021-02-05 13:26:32 -05:00
Michael Quigley
2195476448
Skeleton for route result message handler.
2021-02-05 13:12:10 -05:00
Paul Lorenz
e8ff9b7799
Add latency and message metrics to router control channels
2021-02-02 16:28:12 -05:00
Andrew Martinez
a1df84e913
fixes openziti/fabric#133
...
- Adds version header to outgoing controller hellos and incomming router
hellos
2020-10-06 09:41:36 -04:00