Commit Graph

211 Commits

Author SHA1 Message Date
gberl002 ce9dce27a3 Added global constants files for use in this and other projects 2022-02-28 13:51:23 -05:00
Paul Lorenz 6a21f127ff notify route strategy of failure on timeout 2022-02-25 08:43:56 -05:00
Cam Otts be30ee8026 Added cost to routers and relevant persistence and path checking. (#324)
* Added cost to routers and relevant persistence and path checking.

* removed router cost from config

* changed cost to be required on update

* removed some import reorderings and added fingerprint to be required

* missed one line
2022-02-23 10:14:00 -06:00
Paul Lorenz db9e66e222 Merge pull request openziti/fabric#323 from openziti/circuit-event-refactor
Refactor circuit events. All circuit events now show all circuit data…
2022-02-22 13:33:22 -05:00
Paul Lorenz 883312255f address review comments 2022-02-17 15:47:47 -05:00
Paul Lorenz 91585a84b7 Refactor circuit events. All circuit events now show all circuit data. Fixes openziti/fabric#322 2022-02-17 15:37:53 -05:00
Paul Lorenz 5eaa60e236 Use RemoveCB to update cache atomically. Do uncached lookup when updating cache 2022-02-17 15:35:57 -05:00
Paul Lorenz 01fa63e716 Use updated store events. Fixes openziti/fabric#319 2022-02-17 10:41:38 -05:00
Paul Lorenz 76e139a26d Remove deprecated management channel operations 2022-02-15 15:45:32 -05:00
Paul Lorenz 675b16ef98 Don't call message sends in control channel bind 2022-02-10 09:20:23 -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 93ba2f460f Merge remote-tracking branch 'origin/main' into update-channel 2022-01-28 11:09:47 -05:00
Andrew Martinez 27c9aaf2ed add host/san validation 2022-01-28 10:01:49 -05:00
Paul Lorenz 84ae5576e1 Update to use channel library 2022-01-27 16:46:21 -05:00
Andrew Martinez 58f2268f35 add doc 2022-01-27 11:17:27 -05:00
Andrew Martinez 08e658514a adds newListener and newAddress options for controller ip/hostname move
- ctrl section for fabric now supports newListener addresses, sent on
  router connect
- xweb bindPoints now support newAddress, sent as a header on every
  response
2022-01-27 10:17:53 -05:00
Paul Lorenz 4f5e7b3591 check idle circuits against path 2022-01-24 13:07:14 -05:00
Paul Lorenz c425cc84a8 Move some events/metrics code from foundation to fabric 2022-01-20 17:22:50 -05:00
Paul Lorenz e781e3c713 Update control channel to new channel API 2022-01-19 08:15:33 -05:00
Paul Lorenz a918f1be0d Merge pull request openziti/fabric#301 from openziti/fix-panic-on-missing-router
Fix panic on router missing message. Tidy logging, put more variables…
2022-01-10 16:16:22 -05:00
Andrew 41155960ea Merge pull request openziti/fabric#302 from openziti/responder.set.content.length
sets content-length http response header
2022-01-06 13:28:25 -05:00
Andrew Martinez 778bb6d57c changes debug logs to errors, provide fallback content on producer err 2022-01-06 13:21:59 -05:00
Andrew Martinez 0ee7b73e63 adds an error log for HTTP timeouts 2022-01-06 12:04:08 -05:00
Andrew Martinez f128087d5e sets content-length http response header
Setting the content-length header for HTTP responses allows the golang
net/http library to avoid chunking the response.
2022-01-06 11:51:12 -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 eb5e5ab4cc Fix panic on router missing message. Tidy logging, put more variables in fields 2022-01-03 09:34:18 -05:00
Paul Lorenz 60c4142bf6 Merge pull request openziti/fabric#296 from openziti/inspect-support
Add support for inspect
2021-12-13 09:25:56 -05:00
Paul Lorenz 7a4c831df9 Remove bolt trace which required custom bolt. Remove stackdump_tool, which is moving to ziti-ops 2021-12-10 17:48:27 -05:00
Paul Lorenz 0164e5572e Add support for inspect 2021-12-03 16:13:41 -05:00
Andrew 82b5b023a2 Merge pull request openziti/fabric#295 from openziti/add.router.info.to.already.connected
adds router id and name to already connected error
2021-12-03 09:11:10 -05:00
Paul Lorenz ba43810ffa Remove error return that's always nil 2021-12-01 17:15:27 -05:00
Paul Lorenz 5b6a2eb988 Fix fabric auth and add tests 2021-12-01 17:03:41 -05:00
Andrew Martinez ab4e649d61 adds router id and name to already connected error 2021-12-01 14:45:01 -05:00
Paul Lorenz 00957fe8e6 Implement router update/patch 2021-11-30 14:26:07 -05:00
Paul Lorenz 5a54c9b041 Add circuit router implementation 2021-11-30 14:05:23 -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 ee15d29be5 Add initial rest interfaces for links and circuits 2021-11-30 13:57:36 -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 52cfbbbe29 Add REST based management API 2021-11-30 13:57:35 -05:00
Paul Lorenz 390aef981b Merge pull request openziti/fabric#292 from openziti/fix-potential-deadlock
recieve handlers should never send as they may block forever if the u…
2021-11-30 13:40:54 -05:00
Paul Lorenz b9e87a1597 recieve handlers should never send as they may block forever if the underlying channel closes 2021-11-30 12:55:37 -05:00
Paul Lorenz 3a50999365 Add cache of links by router 2021-11-23 08:24:24 -05:00
Paul Lorenz 3968c268b9 Fix benchmark. Add some additional tuning 2021-11-22 17:35:12 -05:00
Paul Lorenz 1efd4ebb3d Fix routing benchmark 2021-11-22 15:01:25 -05:00
Paul Lorenz 51a4fe8ed9 Import route evaluation with more efficient data structure 2021-11-19 15:17:56 -05:00
Paul Lorenz 4847cf1453 Add routing perf test and fix link cost check 2021-11-19 15:08:29 -05:00
Paul Lorenz 6ba7264ff3 Do additional cert chain and verify links with controller 2021-11-12 15:36:05 -05:00
Paul Lorenz c5d2e481ae Add router ids to link metrics. Fixes openziti/fabric#275. Fix panic on router shutdown if router is stopped before ctrl channel is established 2021-11-10 12:45:54 -05:00
Andrew Martinez d305026980 exposes controller.Identity() to avoid re-parses 2021-10-19 09:38:14 -04:00