Commit Graph

86 Commits

Author SHA1 Message Date
Paul Lorenz c4abcae949 Link management fixes. Fixes #1692 Fixes #1693 2024-01-19 17:33:21 -05:00
Paul Lorenz 07b2ba519f Fix stall cause by ack arriving before payload is received by link send buffer. Fixes #1586 2023-12-14 12:38:26 -05:00
Paul Lorenz 9ddd1b941d Add service max idle time. Fixes #1496. Add decomission router support. Fixes #1402 2023-12-08 12:48:56 -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 700ec34177 Make link heartbeats configurable. Add unresponsive close timeout. Fixes openziti/fabric#796 2023-09-18 22:40:19 -04:00
Paul Lorenz 5c67887c2d Stop retransmit from keeping circuit marked as active. Fixes openziti/fabric#789 2023-09-05 17:26:53 -04:00
Paul Lorenz a631f48643 Do some forwarder option cleaning. Remove unused latency options 2023-08-22 20:37:59 -04:00
Paul Lorenz 509364d908 Remove trace events from dispatcher. Move trace to common 2023-08-16 12:39:42 -04:00
Paul Lorenz f71db654eb Move build and inspect packages to common 2023-08-10 19:45:23 -04:00
Paul Lorenz cdfd037da9 Move protobuf definitions to common 2023-08-10 19:38: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
Paul Lorenz 786c1f6406 Add rate limiter pool. Fixes openziti/fabric#648 2023-03-22 16:20:02 -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 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 74de7e65ee update CODEOWNERS to sig-core and update MM notifications 2022-11-30 12:22: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 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 547d637de1 Improve circuit inspect. Fixes for various races detected by race detector 2022-06-21 14:44:30 -04:00
Andrew Martinez 6f867e34db uses generic version of cmap 2022-05-27 09:47:15 -04:00
Paul Lorenz 6c0774f831 Update default xgress dial workers to 100 and link dial workers to 25. Fixes openziti/fabric#391 2022-05-12 14:56:33 -04:00
Paul Lorenz 998a990121 Add inspect variant which includes goroutines related to xgress 2022-05-02 16:33:20 -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 e3130006a6 Return forward errors on traceroute 2022-04-26 10:21:14 -04:00
Paul Lorenz 6384fae4f6 Fix race condition where link could be closed before being added to registry 2022-04-26 09:53:18 -04:00
Paul Lorenz e2d29d3f07 Rework model for circuit inspections. Add inspect support back to mgmt channel 2022-04-19 10:38:23 -04:00
Paul Lorenz 84cfedf482 Add circuit inspection. Move ctrl handler pools to use goroutines.Pool 2022-03-24 13:32:56 -04:00
gberl002 a934a76732 Removing contstants files and placing them in respective existing files 2022-03-02 17:19:24 -05:00
gberl002 ce9dce27a3 Added global constants files for use in this and other projects 2022-02-28 13:51:23 -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 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 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 692f3d5149 Log how long session has been idle 2021-10-27 14:18:50 -04: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 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 24864fed87 Simpler. (#204) 2021-03-12 13:04:32 -05:00
Michael Quigley 85cc09cc5a Log tuning. (#204) 2021-03-12 10:45:17 -05:00
Michael Quigley 99e1f18870 Remove debug logging. (#204) 2021-03-12 10:07:33 -05:00
Michael Quigley 427fa10258 Merge branch 'main' into idle_route_gc 2021-03-11 09:46:14 -08:00
Michael Quigley 8c14bfd607 Fix for xgressDialQueueLength option in forwarder.options. 2021-03-09 16:56:18 -05:00
Michael Quigley 152da46d01 Report idle sessions to controller. (#173) 2021-03-05 13:45:43 -05:00
Michael Quigley 11fdf96492 Dial dwell time. (#203) 2021-03-05 13:25:59 -05:00
Michael Quigley 24f4be1dc2 Scanner will need the ctrl channel. (#173) 2021-03-04 15:00:40 -05:00