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
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
Andrew Martinez
ab4e649d61
adds router id and name to already connected error
2021-12-01 14:45:01 -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
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
6ba7264ff3
Do additional cert chain and verify links with controller
2021-11-12 15:36:05 -05:00
Paul Lorenz
58e159236d
Use string id instead of identity where we don't need certs
2021-09-03 14:10:28 -04:00
ziti-ci
23a9da54e7
Allow injecting context into path creation/establishment operations
2021-08-06 16:34:57 -04:00
Paul Lorenz
21c261fb19
Rename session -> circuit
2021-08-04 13:17:39 -04:00
Paul Lorenz
bcd1c374e8
Rename circuit to path
2021-08-04 13:16:09 -04:00
Paul Lorenz
cb70e33fa0
Improve link logging. Add destination id to xlink
2021-07-30 10:18:45 -04:00
Paul Lorenz
375dfd03b4
Add configurable router health check
2021-06-17 12:32:16 -04:00
Paul Lorenz
add3ae6f13
If accept fails, ch will be nil
2021-03-18 13:54:14 -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
072eb3fc3e
Send unroute asynchronously. ( #204 )
2021-03-12 10:32:13 -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
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
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
765e7f30bb
Implement non-acting session confirmation receive hander, to prevent future errors with newer routers ( #173 , openziti/fabric#174 )
2021-02-08 14:08:35 -05:00
Michael Quigley
cd3e31df78
Support for peerData in parallel routing. ( #168 )
2021-02-08 11:21:42 -05:00
Michael Quigley
4ef6853fec
Tear down sessions for abandoned route result messages ( #168 )
2021-02-05 13:47:46 -05:00
Michael Quigley
b601068fee
More receive handler, network, route sender wiring. ( #168 )
2021-02-05 13:26:32 -05:00
Michael Quigley
2195476448
Skeleton for route result message handler.
2021-02-05 13:12:10 -05:00
Paul Lorenz
e8ff9b7799
Add latency and message metrics to router control channels
2021-02-02 16:28:12 -05:00
Andrew Martinez
a1df84e913
fixes openziti/fabric#133
...
- Adds version header to outgoing controller hellos and incomming router
hellos
2020-10-06 09:41:36 -04:00
Paul Lorenz
150f2a112a
Add support for addressable terminators
2020-09-25 11:01:58 -04:00
Paul Lorenz
549260d650
Persist terminator precedence. Fix link cost use/scaling. Fix link re… ( #125 )
...
* Persist terminator precedence. Fix link cost use/scaling. Fix link removal related panic. Fix service cache clearing on terminator change.
Fixes GH-112
Fixes GH-121
Fixes GH-122
Fixes GH-123
Fixes GH-124
2020-09-01 15:58:46 -04:00
Paul Lorenz
a9117f4426
Convert metrics, traces and session streams to new events framework. Fixes GH-106
2020-08-11 12:55:43 -04:00
Paul Lorenz
c7ae352255
Fix xgress start race condition. Fixes GH-117
2020-08-11 09:19:47 -04:00
Andrew M
37587d73c3
adds support for e2e via peer data for openziti/edge/issues#173
...
- add xt.PeerData type
- convert all peer data maps to xt.PeerData
- allow xgress dials to return session runtime peer data
2020-07-27 16:16:27 -04:00
Paul Lorenz
373e20d8d1
Allow routers with nil fingerprints. Allows multi-step enrollment. Fixes GH-97
2020-06-02 16:49:46 -04: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
Paul Lorenz
e9575bb717
Integrate Xt into smartrouting/circuit creation. Includes several Xt cleanups ( #87 )
...
Integrate Xt into smart routing
For Xt:
* weights -> costs
* drop preferred precedence
* Allow larger cost ranges
* Add failure costs and common cost visitor
2020-04-30 14:50:07 -04:00
Paul Lorenz
df0d35e576
Sync terminators when routers connect so invalid terminators can be r… ( #86 )
...
* Sync terminators when routers connect so invalid terminators can be removed
2020-04-27 15:56:54 -04:00
Michael Quigley
510b5205ac
Merge branch 'master' into p14_c1
2020-03-25 13:39:40 -04:00
ekoby
8c48ac871e
relocate metrics to ziti-foundation ( #63 )
...
metrics package is now in ziti-foundation
* update and tidy go.mod
* fix: use ziti-foundation/metrics
2020-03-24 18:37:28 -04:00
Michael Quigley
a3838ed857
Controller changes to support non 'transport.Address' addresses (string). Enough 'xlink_transwarp' to minimally establish a connection. ( #44 )
2020-03-24 16:00:36 -04:00
Michael Quigley
a09a608449
HelloRouterAdvertisementsHeader. ( #54 )
2020-03-24 11:10:01 -04:00
Michael Quigley
2902c4942b
Move the X... frameworks underneath controller/ or router/.
2020-03-20 13:57:59 -04:00
Paul Lorenz
c32144d668
Remove copyright date
2020-03-19 13:26:09 -04:00
Paul Lorenz
6fdd5bcda5
Add support for multiple endpoints to services and sync model abstrac… ( #53 )
...
* Add support for multiple terminators to services and sync model abstractions with edge
* Add Snapshot to db.Db
* Make API friendly errors
* Add association querying. Consolidate Entity* interfaces
2020-03-19 13:23:16 -04:00
ekoby
7f6fb5e5eb
initial support for passing crypto material ( #41 )
...
implement passing information between hosting and dialing endpoints (used for crypto key exchange)
2020-02-27 12:57:39 -05:00