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
Andrew Martinez
90824085a1
fix refactoring of 'config' in strings
2021-10-18 15:39:36 -04:00
Andrew Martinez
c6b54e8606
updates to new foundation version
...
- updated identity module
- centralizes identity references
- removes old parsing logic
2021-10-18 15:25:07 -04:00
Paul Lorenz
79fe8c7ddb
Add terminator to service events
2021-10-06 11:25:51 -04:00
Paul Lorenz
7233d18463
Remove HA terminator strategy since it's an incomplete solution
2021-09-13 09:51:51 -04:00
Paul Lorenz
e3fe91a528
Remove unused map. Removed code could panic b/c of race condition
2021-09-09 10:28:20 -04:00
Paul Lorenz
58e159236d
Use string id instead of identity where we don't need certs
2021-09-03 14:10:28 -04:00
Paul Lorenz
70c10f0e15
Allow querying terminators by service.name and router.name
2021-08-18 14:55:19 -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
b6026b0024
Reduce duplicate links by allowing pending links a short window to be completed before we try again
2021-08-04 13:03:47 -04:00
Paul Lorenz
cb70e33fa0
Improve link logging. Add destination id to xlink
2021-07-30 10:18:45 -04:00
Paul Lorenz
c45e741bbd
Add controller health check ( #249 )
...
* Add controller health check and make controller and router health checks consistent
2021-06-22 14:01:45 -04:00
Paul Lorenz
375dfd03b4
Add configurable router health check
2021-06-17 12:32:16 -04:00
Michael Quigley
fa9da87419
Refactor ctrl_pb.Dial to support both LinkId and RouterId. ( #238 )
2021-05-14 14:35:12 -04:00
Andrew Martinez
ae85cbad0b
adds xweb share config validation points, time.ParseDuration
...
- split xweb/config.go into multiple files by type
- allow api factories to validate shared config
- use time.ParseDuration for duration config values in core xweb options
- add interface documentation for api factories
- merge http.request context values for xweb
2021-05-06 15:22:03 -04:00
Andrew Martinez
68c4d9a030
fixes xweb comments, fixes xweb startup
...
- fixes multi server startup would block on first server
- fixes comments, goland was complaining
- adds better output for what APIs are starting on what servers/bind
points
- adds IsHandled() demuxer
2021-05-05 14:11:24 -04:00
Paul Lorenz
0173a633c6
Add nill check on terminator lookup. Fix spelling mistake
2021-04-29 18:56:04 -04:00
Paul Lorenz
478d8c1e0b
Remove eXtensible Terminator Validator framework (xtv) as it's now unused.
...
terminator validation can be done in custom control channel handlers instead
2021-04-29 12:45:07 -04:00
Paul Lorenz
14c632c862
Add events for router online/offline
2021-04-22 11:27:10 -04:00
Andrew Martinez
deb46432e1
initial xweb implementation
...
- adds config structures
- adds server structures
- simplifies interfaces
- removed unused remnants
- refactor work
- adds doc
2021-04-14 13:19:39 -04:00
Andrew Martinez
4d9ea4e504
update cache instead of clearing
2021-04-08 16:00:42 -04:00
Andrew Martinez
b9b624a0a0
add ability to clear the cached state of a router from bbolt
...
Will be used for enrollment extension where the fingerprint has been
updated
2021-04-08 16:00:41 -04:00
Paul Lorenz
270fd077b1
Allow way to notify router of rename
2021-04-07 21:29:25 -04:00
Paul Lorenz
d0ceb31274
Change default metrics report interval to 1 minute
2021-03-31 18:48:57 -04:00
Paul Lorenz
1d6bec6a09
Expose IsSystem to the model level as a read-only property
2021-03-26 12:02:44 -04:00
Paul Lorenz
451ea9e58a
Merge pull request openziti/fabric#224 from openziti/all-access-to-service-events-registry
...
Allow access to the service events registry
2021-03-25 09:34:25 -04:00
Paul Lorenz
59dd03cdca
Allow access to the service events registry
2021-03-23 17:11:18 -04:00
Michael Quigley
36840eb20e
Merge branch 'main' into transwarp_2
2021-03-23 11:17:38 -04:00
Paul Lorenz
add3ae6f13
If accept fails, ch will be nil
2021-03-18 13:54:14 -04:00
Michael Quigley
c2881e9cd5
Merge branch 'main' into transwarp_2
2021-03-18 13:34:39 -04:00
Paul Lorenz
d2e54e766f
Fix circuit test and update foundation dep
2021-03-18 13:30:35 -04:00
Michael Quigley
920a6970e9
Merge branch 'main' into transwarp_2
2021-03-18 13:25:39 -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