Andrew
9bd955127c
Merge pull request #866 from openziti/broker.async.bbolt.tx
...
move broker event handlers to go routines
2022-01-18 09:27:17 -05:00
Paul Lorenz
f1709586a2
Merge pull request #864 from openziti/cache-tunnel-sessions
...
Cache tunnel sessions in LRU cache to avoid creating extraneous sessions
2022-01-18 09:15:05 -05:00
Andrew Martinez
9b05d4e49b
move broker event handlers to go routines
2022-01-17 13:59:33 -05:00
Andrew Martinez
4be50ea143
adds zero start time check
2022-01-17 10:24:00 -05:00
Andrew Martinez
050b0b086e
moves metric endpoint logging lower in the stack
...
- endpoint url/path -> name remains the same
- start timing on request context before we start processing
- log metrics in IsAllowed which is called by all endpoint after routing
- logging before routing to a handler would log all probe attacks
2022-01-17 10:12:59 -05:00
Paul Lorenz
fd866e7f3d
Cache tunnel sessions in LRU cache to avoid creating extraneous sessions
2022-01-13 12:38:54 -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
9a42304511
Merge pull request #858 from openziti/add.router.re-enroll.logic
...
Add.router.reenroll.logic
2022-01-07 08:53:03 -05:00
Andrew
c8facce38f
Merge pull request #861 from openziti/add.metrics.for.all.endpoints
...
adds metrics for endpoints with keys of path[method]
2022-01-06 14:46:29 -05:00
Andrew Martinez
8b20f0278a
normalize URL ids for metric names
2022-01-06 14:42:31 -05:00
Andrew Martinez
65702f502a
swap from brackets to period seperators
2022-01-06 14:11:01 -05:00
Andrew Martinez
dfa0f7c6ab
adds metrics for endpoints with keys of path[method]
2022-01-06 14:02:36 -05:00
Paul Lorenz
7b1ee2893d
Add identity refresh meter
2022-01-06 13:45:18 -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
Andrew Martinez
cf20c2dfa8
adds api tests
2022-01-03 15:54:51 -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
Andrew Martinez
770c7bcd06
adds re-enrollment logic for edge-routers
2022-01-03 09:06:33 -05:00
Andrew Martinez
97773f5917
update log messages w/ router context
2021-12-20 09:20:10 -05:00
Andrew Martinez
37f5f88944
remove unused REST API
2021-12-20 09:19:14 -05:00
Andrew Martinez
dae084f61c
alters router/controller enrollment extension logic
...
- routers propertly wait on certs that are about to expire
- routers no longer send multiple extension requests
- routers now request cert verification
- routers now verify new certs before saving
- controller now supports verification requests
2021-12-20 09:19:10 -05:00
Paul Lorenz
0d66f75eb8
Add additional fields and make field names more consistent
2021-12-14 09:58:24 -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
31107eb4d4
Update for removing custom bbolt version with trace support
2021-12-11 00:34:40 -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
bfcb037783
Initial pass at fabric rest api working ( #838 )
...
* Update for fabric rest controller changes
2021-11-30 16:30:17 -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
f1af4df5d8
Merge pull request #837 from openziti/fix-panic
...
Fix panic caused by missing return on error
2021-11-17 10:34:23 -05:00
Paul Lorenz
66ed64d749
Fix panic caused by missing return on error
2021-11-17 10:22:56 -05:00
Paul Lorenz
6ba7264ff3
Do additional cert chain and verify links with controller
2021-11-12 15:36:05 -05:00