Commit Graph

610 Commits

Author SHA1 Message Date
tburtchell c0a01b5f6b Adding local bind support for link dialers (#354)
* Adding local bind support for link dialers

* Adding local interface bind support to network controller dial
2022-04-13 08:51:29 -04:00
tburtchell 23cd6fe6e6 A couple more places where linkType -> linkProtocol refactor was missed (#352)
Co-authored-by: Tod Burtchell <tod.burtchell@netfoundry.io>
2022-04-12 11:26:01 -04:00
Paul Lorenz 86d1913763 make network exit an info instead of an error 2022-04-11 14:06:30 -04:00
tburtchell 03040f31fc Adding hearbeat message handler to router (#353)
* Adding hearbeat message handler to router

Co-authored-by: Tod Burtchell <tod.burtchell@netfoundry.io>
Co-authored-by: ziti-ci <ziti-ci@netfoundry.io>
2022-04-11 13:29:58 -04:00
Cam Otts 4b7a4d1081 added circuit creation timespan (#349)
* added circuit creation timespan

* added creation timespan to event message
2022-04-06 11:14:43 -05: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 c4d9849474 Merge pull request openziti/fabric#351 from openziti/add-service-to-remove-terminator-msg
Add service id to log message
2022-04-05 22:39:09 -04:00
Paul Lorenz 8150358d6b Add service id to log message 2022-04-05 22:34:30 -04:00
Paul Lorenz b264f89294 Fix issue where peerdata could be set to nil if non-terminator router return from route last 2022-04-04 15:37:12 -04:00
Paul Lorenz ec45cb03f9 Merge pull request openziti/fabric#348 from openziti/remove-travis-workflows
Remove travis workflows
2022-03-31 12:01:11 -04:00
Paul Lorenz b10916e29e Remove travis workflows 2022-03-31 11:17:20 -04:00
Paul Lorenz a342944355 Merge pull request openziti/fabric#347 from openziti/update-to-transport-library
Update to use transport library
2022-03-31 10:51:21 -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 7bd0f84832 Move profiler code to fabric since this is the only place it's used 2022-03-31 10:36:30 -04:00
Paul Lorenz 81d275326d Update workflows to build with go 1.18. remove codesee 2022-03-31 10:36:30 -04:00
Paul Lorenz 9a344da855 Update to use transport library 2022-03-31 10:36:28 -04:00
Paul Lorenz 5dfde12e03 Merge pull request openziti/fabric#346 from openziti/update-to-storage-lib
Update to use storage library
2022-03-30 16:26:48 -04:00
Paul Lorenz b35b532d25 Update to use storage library 2022-03-30 16:22:32 -04:00
Paul Lorenz 88a28e7454 Merge pull request openziti/fabric#345 from openziti/move-config-to-fabric
Move foundation/config to fabric
2022-03-30 16:20:32 -04:00
Paul Lorenz f5e9ff41ee Merge pull request openziti/fabric#344 from openziti/tweaks
Don't send egress on re-route, since it will always be ignored
2022-03-30 16:19:48 -04:00
Paul Lorenz 21c6866f42 Move foundation/config to fabric 2022-03-30 13:48:14 -04:00
Paul Lorenz 1ee1c644c5 Don't send egress on re-route, since it will always be ignored 2022-03-30 13:44:58 -04:00
Cam Otts 648d89fb93 lower circuit retries (#342) 2022-03-30 09:24:45 -05:00
Paul Lorenz 4e26431091 Use shutdownDownC instead of separate xtrl shutdown chan 2022-03-26 14:36:21 -04:00
Paul Lorenz 264c83f233 Merge pull request openziti/fabric#339 from openziti/add-circuit-inspection
Add circuit inspection. Move ctrl handler pools to use goroutines.Pool
2022-03-24 13:40:03 -04:00
Paul Lorenz c3538f6781 update deps and remove quick references 2022-03-24 13:33:24 -04:00
Paul Lorenz 84cfedf482 Add circuit inspection. Move ctrl handler pools to use goroutines.Pool 2022-03-24 13:32:56 -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
Andrew 27ac2860b9 Merge pull request openziti/fabric#337 from openziti/add.500.panic.error.code
adds a default panic 500 HTTP status code
2022-03-21 14:28:50 -04:00
Paul Lorenz 0feba9f44c Merge pull request openziti/fabric#338 from openziti/fix-bind-panic
Fix panic on link bind. Add gpg signing bits to GH actions workflows
2022-03-21 12:36:58 -04:00
Paul Lorenz a1114367a6 Fix panic on link bind. Add gpg signing bits to GH actions workflows 2022-03-21 11:51:14 -04:00
Andrew Martinez f12594602c adds a default panic 500 HTTP status code 2022-03-21 09:50:53 -04:00
Paul Lorenz aefe5ad1bd Merge pull request openziti/fabric#334 from openziti/fix-flaky-test
Fix flaky test
2022-03-17 13:45:51 -04:00
Paul Lorenz 6b42451923 Fix flaky test 2022-03-17 13:33:35 -04:00
ekoby 89d4bba40a disable xgress message fragmentation (#333) 2022-03-16 09:53:03 -04:00
tburtchell b07efcdf95 Merge pull request openziti/fabric#332 from openziti/331-router-link-listener-can-fail-to-infer-the-link-type-when-advertise-address-is-not-defined
331 - inferring link type from listener bind
2022-03-11 13:33:30 -05:00
Tod Burtchell a2e514c6a8 331 - inferring link type from listener bind instead of listener advertise address 2022-03-11 11:31:34 -05:00
Paul Lorenz 20a046bd9a Merge pull request openziti/fabric#330 from openziti/db-ops
Copy db ops from edge to fabric (for eventual removal from edge). Add…
2022-03-10 10:59:40 -05:00
Paul Lorenz ef7c69558b Copy db ops from edge to fabric (for eventual removal from edge). Add snapshot db agent op 2022-03-10 10:07:41 -05:00
Paul Lorenz c399d3a26e Merge pull request openziti/fabric#329 from openziti/fix-panic-on-startup
Fix panic caused by race condition on startup
2022-03-09 07:21:14 -05:00
Paul Lorenz 9ea9244f44 Fix panic caused by race condition on startup 2022-03-08 22:31:01 -05: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
Geoff Berl b8e2fb4369 Merge pull request openziti/fabric#327 from openziti/add-global-constants
Added global constants for use in this and other projects
2022-03-03 15:14:50 -05:00
gberl002 a934a76732 Removing contstants files and placing them in respective existing files 2022-03-02 17:19:24 -05:00
Cam Otts 725afe13de added allow traversal flag (#326)
* added allow traversal flag

* Added test to verify a single router connection that is marked untraversable fails path creating

* Updated default cost to be one step above the threshold to avoid overflow.

* Updated checks to only care about middle routers. Fixed relevant unit tests and added test with untraversable middle router.

* Refactor allowTraversal to be flipped to noTraversal

* default noTraversal to false
2022-03-02 10:33:04 -06:00
Paul Lorenz 4ee333bab1 Merge pull request openziti/fabric#328 from openziti/allow-service-name-circuit
Allow service name when creating circuit
2022-03-01 12:05:36 -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
gberl002 ce9dce27a3 Added global constants files for use in this and other projects 2022-02-28 13:51:23 -05:00