Commit Graph

148 Commits

Author SHA1 Message Date
Paul Lorenz 375dfd03b4 Add configurable router health check 2021-06-17 12:32:16 -04:00
Michael Quigley fa9da87419 Refactor ctrl_pb.Dial to support both LinkId and RouterId. (#238) 2021-05-14 14:35:12 -04:00
Andrew Martinez ae85cbad0b adds xweb share config validation points, time.ParseDuration
- split xweb/config.go into multiple files by type
- allow api factories to validate shared config
- use time.ParseDuration for duration config values in core xweb options
- add interface documentation for api factories
- merge http.request context values for xweb
2021-05-06 15:22:03 -04:00
Andrew Martinez 68c4d9a030 fixes xweb comments, fixes xweb startup
- fixes multi server startup would block on first server
- fixes comments, goland was complaining
- adds better output for what APIs are starting on what servers/bind
  points
- adds IsHandled() demuxer
2021-05-05 14:11:24 -04:00
Paul Lorenz 0173a633c6 Add nill check on terminator lookup. Fix spelling mistake 2021-04-29 18:56:04 -04:00
Paul Lorenz 478d8c1e0b Remove eXtensible Terminator Validator framework (xtv) as it's now unused.
terminator validation can be done in custom control channel handlers instead
2021-04-29 12:45:07 -04:00
Paul Lorenz 14c632c862 Add events for router online/offline 2021-04-22 11:27:10 -04:00
Andrew Martinez deb46432e1 initial xweb implementation
- adds config structures
- adds server structures
- simplifies interfaces
- removed unused remnants
- refactor work
- adds doc
2021-04-14 13:19:39 -04:00
Andrew Martinez 4d9ea4e504 update cache instead of clearing 2021-04-08 16:00:42 -04:00
Andrew Martinez b9b624a0a0 add ability to clear the cached state of a router from bbolt
Will be used for enrollment extension where the fingerprint has been
updated
2021-04-08 16:00:41 -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 1d6bec6a09 Expose IsSystem to the model level as a read-only property 2021-03-26 12:02:44 -04:00
Paul Lorenz 451ea9e58a Merge pull request openziti/fabric#224 from openziti/all-access-to-service-events-registry
Allow access to the service events registry
2021-03-25 09:34:25 -04:00
Paul Lorenz 59dd03cdca Allow access to the service events registry 2021-03-23 17:11:18 -04:00
Michael Quigley 36840eb20e Merge branch 'main' into transwarp_2 2021-03-23 11:17:38 -04:00
Paul Lorenz add3ae6f13 If accept fails, ch will be nil 2021-03-18 13:54:14 -04:00
Michael Quigley c2881e9cd5 Merge branch 'main' into transwarp_2 2021-03-18 13:34:39 -04:00
Paul Lorenz d2e54e766f Fix circuit test and update foundation dep 2021-03-18 13:30:35 -04:00
Michael Quigley 920a6970e9 Merge branch 'main' into transwarp_2 2021-03-18 13:25:39 -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 57f904b739 Configuration for bolt db tracing. 2021-03-17 10:42:02 -04:00
Michael Quigley c59ec4d927 Cleaner logging without anonymous functions. 2021-03-17 10:34:18 -04:00
Michael Quigley 2c9b1552c7 Enable bbolt tracing in controller. 2021-03-16 11:25:18 -04:00
Michael Quigley 34d1f5dccc Merge branch 'main' into transwarp_2 2021-03-15 09:42:58 -04:00
Michael Quigley 072eb3fc3e Send unroute asynchronously. (#204) 2021-03-12 10:32:13 -05:00
Michael Quigley 427fa10258 Merge branch 'main' into idle_route_gc 2021-03-11 09:46:14 -08: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 77012b47db Merge branch 'main' into transwarp_2 2021-03-09 16:00:47 -08: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
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
Michael Quigley 1c63a5fb84 Merge branch 'main' into transwarp_2 2021-03-02 12:27:42 -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
Michael Quigley f4b6653c55 Merge branch 'main' into transwarp_2 2021-02-24 12:41:31 -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 1823ec01fc support ctrl channel reconnect notifications and turning ctrl channel on/off via debug ops 2021-02-15 21:57:24 -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 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 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 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