Commit Graph

75 Commits

Author SHA1 Message Date
Paul Lorenz eb5e5ab4cc Fix panic on router missing message. Tidy logging, put more variables in fields 2022-01-03 09:34:18 -05:00
Paul Lorenz 0164e5572e Add support for inspect 2021-12-03 16:13:41 -05:00
Paul Lorenz ba43810ffa Remove error return that's always nil 2021-12-01 17:15:27 -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 d4f2d48545 Use 64 bit ids instead of 32 ids for links and circuits 2021-11-30 13:57:36 -05:00
Paul Lorenz 51a4fe8ed9 Import route evaluation with more efficient data structure 2021-11-19 15:17:56 -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 270fd077b1 Allow way to notify router of rename 2021-04-07 21:29:25 -04:00
Paul Lorenz d0ceb31274 Change default metrics report interval to 1 minute 2021-03-31 18:48:57 -04:00
Paul Lorenz 59dd03cdca Allow access to the service events registry 2021-03-23 17:11:18 -04:00
Paul Lorenz 31a587384a Add interval counts, per service, for dial success, timeout, fail, other 2021-03-10 13:15:55 -05:00
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 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
Michael Quigley de79bddd6b Clean up successful, but abandoned routes. (#180) 2021-02-25 15:35:59 -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
Michael Quigley 08ee342327 Basic controller scaffolding for forwarding fault handling. (#184) 2021-02-11 14:34:21 -05:00
Michael Quigley e55118d8a2 Redundant cast. (#168) 2021-02-10 11:58:11 -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 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 e86f60dd68 Unhappy path unroute/cleanup improvements. Logging improvements. (#168) 2021-02-09 11:38:26 -05:00
Michael Quigley ba8b1a5826 D'oh. Testing. (#168) 2021-02-09 09:16:54 -05:00
Michael Quigley fecf08a9ed Added new 'network.createSessionRetries' option to control number of session creation attempts. (#175) 2021-02-08 14:14:41 -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 cb7a561a39 Up and operational with a version of parallel routing. (#168) 2021-02-08 11:50:57 -05:00
Michael Quigley 3ad20ee31a Manage route senders in network. (#168) 2021-02-08 11:27:04 -05:00
Michael Quigley cd3e31df78 Support for peerData in parallel routing. (#168) 2021-02-08 11:21:42 -05:00
Michael Quigley a5bc713461 Working out the route sender logic. (#168) 2021-02-05 15:09:16 -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 43c90c55ed Use ctrl_msg.RouteResultType as the new route result message. (#168) 2021-02-05 11:49:00 -05:00
Paul Lorenz e8ff9b7799 Add latency and message metrics to router control channels 2021-02-02 16:28:12 -05:00
Michael Quigley f1dee6213c Display configured timeout. (#151) 2021-01-21 13:40:09 -05:00
Michael Quigley aceb021a77 Add options for 'termination timeout' and 'route timeout' to 'network' section of controller configuration. Implement. (#151) 2021-01-21 13:20:08 -05:00
Paul Lorenz 60f7439a33 Implement terminator events so external tools can better monitor service health (#148) 2021-01-12 11:39:03 -05:00
Paul Lorenz 95b081e066 Address review comments 2020-12-04 17:11:35 -05:00
Paul Lorenz 5e33aa22fa Make buffer naming more consistent 2020-12-01 13:33:00 -05:00
Paul Lorenz b2c0b92693 Allow dropping payloads 2020-12-01 13:32:44 -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
Paul Lorenz 9f3182942e Add Xtensible Terminator Validation framework 2020-09-25 11:01:58 -04:00
Paul Lorenz 150f2a112a Add support for addressable terminators 2020-09-25 11:01:58 -04:00
Paul Lorenz 549260d650 Persist terminator precedence. Fix link cost use/scaling. Fix link re… (#125)
* Persist terminator precedence. Fix link cost use/scaling. Fix link removal related panic. Fix service cache clearing on terminator change.

Fixes GH-112
Fixes GH-121
Fixes GH-122
Fixes GH-123
Fixes GH-124
2020-09-01 15:58:46 -04:00
Andrew Martinez 53542cb2ad use event framework for session lifecycle for edge integration
- add clientId (edge session id) to delete events
2020-08-25 12:25:44 -04:00