Commit Graph

766 Commits

Author SHA1 Message Date
Michael Quigley cabc8a7bb8 Merge pull request #552 from openziti/latency_timeout
metrics.ProbeLatency Timeout Update
2021-02-25 10:32:57 -05:00
Michael Quigley 65364af113 go mod tidy 2021-02-25 10:32:41 -05:00
Michael Quigley 9f23537b16 Merge branch 'main' into latency_timeout 2021-02-25 09:29:44 -05:00
Paul Lorenz 053b54bd42 Merge pull request #550 from openziti/dependabot/go_modules/github.com/miekg/dns-1.1.39
Bump github.com/miekg/dns from 1.1.38 to 1.1.39
2021-02-25 08:02:38 -05:00
Michael Quigley bc33100591 Update fabric, sdk-golang, foundation dependencies for metrics.ProbeLatency timeout. 2021-02-24 22:27:54 -05:00
dependabot-preview[bot] c01941897e Bump github.com/miekg/dns from 1.1.38 to 1.1.39
Bumps [github.com/miekg/dns](https://github.com/miekg/dns) from 1.1.38 to 1.1.39.
- [Release notes](https://github.com/miekg/dns/releases)
- [Changelog](https://github.com/miekg/dns/blob/master/Makefile.release)
- [Commits](https://github.com/miekg/dns/compare/v1.1.38...v1.1.39)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-24 06:23:46 +00:00
Andrew b546669faf Merge pull request #547 from openziti/fix-validate-interval-calc
Fix validate interval calculation
2021-02-22 10:32:09 -05:00
Paul Lorenz 89974769a1 Fix validate interval calculation 2021-02-22 10:14:12 -05:00
Andrew 24679fe2c4 Merge pull request #545 from openziti/fix.sync.exiting.workers
fix exiting workers
2021-02-22 09:32:19 -05:00
Andrew Martinez b784577f36 add new error state for router sync, move defers to catch router info 2021-02-19 20:58:53 -05:00
Andrew Martinez 69bb67d237 fix exiting workers, panic recovery is unrelate but a good change 2021-02-19 20:14:24 -05:00
Andrew 1eb262c734 Merge pull request #544 from openziti/fix.er.connect.disconnect.panic
ignore duplicate connecting routers, do not dereference er hostnames
2021-02-19 11:31:22 -05:00
Andrew Martinez 4afc0bd0b6 fix dupe connection testing by looking at strat stat not network state 2021-02-19 11:18:09 -05:00
Andrew 7404db448e Merge pull request #543 from openziti/add.api.session.clearing.migration
add migration to remove api sessions/sessions on migration from 18->19
2021-02-19 10:26:27 -05:00
Andrew Martinez a51cf270f2 ignore duplicate connecting routers, do not dereference er hostnames
hostnames may be a nil pointer at times now due to the fact that edge
routers may be waiting to sync and may be "online" but edge hellos
have not been exchanged.
2021-02-19 10:19:26 -05:00
Andrew Martinez 5ec44c3d3e add migration to remove api sessions/sessions on migration from 18->19 2021-02-19 09:54:55 -05:00
Paul Lorenz 623635014a Merge pull request #533 from openziti/check-dial-bind-sessions-at-ctrl
Validate sessions on controller instead of edge router
2021-02-17 20:59:58 -05:00
Paul Lorenz 155bbd8217 Validate sessions on controller instead of edge router 2021-02-17 20:38:13 -05:00
Andrew 7625e18ee9 Merge pull request #539 from openziti/additional.posture.os.unit.tests
additional os posture checks tests
2021-02-17 13:48:01 -05:00
Andrew Martinez 707a5a7362 Merge branch 'main' into additional.posture.os.unit.tests 2021-02-17 13:11:04 -05:00
Andrew e361fd178d Merge pull request #540 from openziti/fix.api.create.during.sync
do not remove api sessions added after/during sync
2021-02-17 13:09:52 -05:00
Andrew Martinez 4b75b638da use send instead of send w/ tx 2021-02-17 13:02:49 -05:00
Andrew Martinez d2774ae41d fix lint errors 2021-02-17 12:55:58 -05:00
Andrew Martinez 919d7a3d6b add hearbeat invalid api token delete 2021-02-17 12:19:06 -05:00
Andrew Martinez 12ab2bbb34 do not remove api sessions added after/during sync 2021-02-17 10:54:07 -05:00
Andrew Martinez 7eb3699f9b additional os posture checks 2021-02-16 13:24:21 -05:00
Andrew 69326cbbed Merge pull request #530 from openziti/modular.api.session.sync
modular edge router sync
2021-02-15 20:18:07 -05:00
Paul Lorenz 7eccd2f34b Merge pull request #536 from openziti/dont-half-close-with-udp
Don't use half close with udp connections
2021-02-15 18:33:38 -05:00
Paul Lorenz 975a47bfad Don't use half close with udp connections 2021-02-15 18:32:46 -05:00
Andrew Martinez fdf9221f89 add explicit context, listener, dialer Close() calls 2021-02-15 16:13:23 -05:00
Andrew Martinez 74d4187f22 documentation, split shared options for instant sync, renames 2021-02-15 14:56:56 -05:00
ziti-ci 3c0df2688e Updating dependency github.com/openziti/sdk-golang@v0.15.14 2021-02-15 19:54:08 +00:00
Andrew Martinez f55751c77e fix worker count 2021-02-15 13:59:51 -05:00
Andrew Martinez d76fcbc168 merge stops in instant strat, add broker stop to shutdown 2021-02-15 13:39:07 -05:00
Andrew Martinez f061ba7c33 spelling/cleanup 2021-02-15 13:22:08 -05:00
Andrew Martinez ad03b24546 shutdown go routines, log messages
- shut down go routines for handlers on HandleClose
- fix log messages and add more states to sync tracking
- remove nil sync fail output
2021-02-15 13:22:07 -05:00
Andrew Martinez fdb2fb35ad rename routerTx to routerSender 2021-02-15 13:22:07 -05:00
Andrew Martinez 41884d6482 router log cleanup 2021-02-15 13:22:07 -05:00
Andrew Martinez a8f1b8b79a moves sync strat/state to headers 2021-02-15 13:22:07 -05:00
Andrew Martinez d07618c9d5 modular edge router sync
- edge router sync is now modular and can have different strategies
- plans to make this configurabe in the future with multiple strat
- legacy strategy is called "instant" and is the only option
- instant strat now supports control signaling and resync requests
- edge routers now do not remove connections till after a full sync
- added the ability for the controller to report the er sync status
- added er syn status to GET /edge-routers list and detail
- improved log output in sync logic
2021-02-15 13:22:07 -05:00
Paul Lorenz 9a2ef7ba76 Merge pull request #534 from openziti/tunneler-udp-conn-leak
Fix UDP connection leak in tunneler
2021-02-14 08:56:08 -05:00
Paul Lorenz 012c6f1be7 Fix UDP connection leak in tunneler 2021-02-14 08:45:45 -05:00
ziti-ci c9968513e9 Updating dependency github.com/openziti/fabric@v0.16.3 2021-02-11 22:08:03 +00:00
ziti-ci 85c06420c0 Updating dependency github.com/openziti/fabric@v0.16.2 2021-02-11 21:48:51 +00:00
Andrew ecc404ab8a Merge pull request #494 from openziti/remove.posture.timer
moves posture data to not time out
2021-02-11 14:12:12 -05:00
ziti-ci 605f565d4d Updating dependency github.com/openziti/fabric@v0.16.1 2021-02-11 14:02:26 +00:00
Andrew f17db9bbbd Merge pull request #526 from openziti/fix.dupe.router.start.offlining.orig
ignores dupe router startup
2021-02-11 08:30:50 -05:00
Andrew Martinez 6a2c82deca add timeout posture query property, -1 == no timeout
Provides a location for future configurable timeouts and allows
SDKs to detect whether no timeout/timeouts are supported.
2021-02-10 17:13:23 -05:00
Andrew Martinez 2360d44b05 moves posture data to not time out 2021-02-10 16:51:40 -05:00
ziti-ci 583586a04e Updating dependency github.com/openziti/fabric@v0.16.0 2021-02-10 17:21:03 +00:00