Commit Graph

56 Commits

Author SHA1 Message Date
Paul Lorenz 8423a8dd6a Fix link management race conditions found by chaos testing. Fixes #1709 2024-01-29 17:23:51 -05:00
Paul Lorenz c4abcae949 Link management fixes. Fixes #1692 Fixes #1693 2024-01-19 17:33:21 -05:00
Paul Lorenz 04adf74691 Simplify link ack handling. Fixes #1519 2023-11-17 15:23:27 -05:00
Paul Lorenz 36cd802cd0 Ensure links don't get stuck in dialing status. Only mark link status failed if closing link was current. Fixes #1471 2023-10-31 15:16:21 -04:00
Paul Lorenz f3d67b7f49 Update fabric imports 2023-09-28 23:34:28 -04:00
Paul Lorenz 80c5f042fe Add a couple more 8s to the latency not received marker value 2023-09-22 11:26:39 -04:00
Paul Lorenz 700ec34177 Make link heartbeats configurable. Add unresponsive close timeout. Fixes openziti/fabric#796 2023-09-18 22:40:19 -04:00
Paul Lorenz 509364d908 Remove trace events from dispatcher. Move trace to common 2023-08-16 12:39:42 -04:00
Paul Lorenz cdfd037da9 Move protobuf definitions to common 2023-08-10 19:38:48 -04:00
Paul Lorenz 2ee9539f9c Move link calculation to routers. Fixes #692, fixes #749, fixes openziti/fabric#343 2023-08-03 17:07:48 -04:00
Paul Lorenz ef555a536e Notify controller of forward faults on links. Fixes #724. If reroute fails, circuit should be torn down. Fixes openziti/fabric#725 2023-05-25 15:05:28 -04:00
gberl002 40a57aadd3 Adding simple tests for checking 64 bit alignment of existing 64 bit values with atomic operations. 2023-03-14 14:47:42 -04:00
Paul Lorenz 23c55b6bf0 Refactor endpoint management code. Fixes openziti/fabric#610 2023-03-10 09:31:08 -05:00
Paul Lorenz 229e648cdb Delay link.dropped_msgs metric init until channel bind to prevent metric leak. Fixes openziti/fabric#604 2023-02-14 23:34:14 -05:00
Paul Lorenz 4a1f234839 Add linter and update deps 2022-10-10 13:29:40 -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 9aa41409b3 Cleanup trace controller loop. Refactor for multiple control channels: openziti/fabric#469 2022-09-22 11:05:35 -04:00
Paul Lorenz 960dfe88f6 Report high latency on latency timeout. Use marker value of 88.888888888 seconds. Fixes openziti/fabric#443 2022-07-15 23:45:31 -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 2cdf3f469c Verify router instead of link when getting new link dial 2022-05-10 14:26:55 -04:00
Paul Lorenz 6ad681b5eb Disable closing links for now 2022-04-27 15:02:38 -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 c2a59e7dda Don't get time.Now() again when we just got it 2022-03-31 10:36:30 -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 f2bc37f21a Add missing headers. Use util function for fingerprint 2022-01-31 16:34:44 -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 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
Paul Lorenz d6b2c16304 Make sure we don't deadlock when recursively calling close 2021-12-08 15:11:54 -05:00
Paul Lorenz c468cdd795 Tidy link logging 2021-12-07 16:14:06 -05:00
Paul Lorenz f19cf0ce09 Tweaks to logging 2021-12-01 13:53:52 -05:00
Paul Lorenz 6ba7264ff3 Do additional cert chain and verify links with controller 2021-11-12 15:36:05 -05:00
Paul Lorenz d154dd1731 Add xgress control messages and support for doing route tracing 2021-10-08 15:52:02 -04:00
Paul Lorenz 21c261fb19 Rename session -> circuit 2021-08-04 13:17:39 -04:00
Paul Lorenz cb70e33fa0 Improve link logging. Add destination id to xlink 2021-07-30 10:18:45 -04:00
Michael Quigley 4d0774c025 Updates for metrics.ProbeLatency timeout parameter (#190) 2021-02-24 14:27:42 -05:00
Paul Lorenz 5f9b28cfc1 Shutdown ack handler on link close. Remove unnecessary timers 2021-01-18 11:29:36 -05:00
Paul Lorenz 92733a6148 Tidy 2020-12-09 14:07:37 -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 93864c1acf Split xlink impl 2020-12-01 13:32:44 -05:00
Paul Lorenz b2c0b92693 Allow dropping payloads 2020-12-01 13:32:44 -05: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 14953d9cd7 Peek. 2020-04-01 10:33:32 -04:00
Michael Quigley 70a6eb6719 Metrics peekhandler moved to foundation. 2020-03-25 13:43:39 -04:00
Michael Quigley 510b5205ac Merge branch 'master' into p14_c1 2020-03-25 13:39:40 -04:00