Commit Graph

1594 Commits

Author SHA1 Message Date
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
Andrew Martinez 2c1a9dd82b ignores dupe router startup
A second edge router starting up could offline the original according to
the edge. This would cause issues w/ API Session and Session
distribution.
2021-02-10 10:58:50 -05:00
Andrew 4944c8b347 Merge pull request #521 from openziti/fix.orphaned.enrollments
fixes orphaned ottca enrollments
2021-02-09 14:08:52 -05:00
Andrew Martinez 5b5fe97961 fix ptr to string in error message 2021-02-09 14:01:20 -05:00
Andrew Martinez 9fab8e6ed0 fix formatting message
Some deps altered after a go test ./... and go mod tidy
2021-02-09 13:57:49 -05:00
Andrew Martinez 35fa25d5af use ast.BoolNodeTrue 2021-02-09 13:55:03 -05:00
Andrew Martinez 46166db9cc fixes orphaned ottca enrollments
- deletes ottca enrollment when CA is deleted
- adds API tests
- adds migration to remove currently orphaned ottca enrollments
- migration tested on a v15 database with orphaned ottca enrollments
2021-02-09 13:55:03 -05:00
dependabot-preview[bot] 2c8cd9c525 Bump github.com/miekg/dns from 1.1.35 to 1.1.38 (#500) 2021-02-09 18:10:17 +00:00
dependabot-preview[bot] d899563780 Bump github.com/mdlayher/netlink from 1.1.1 to 1.2.1 (#462) 2021-02-09 17:53:38 +00:00
Shawn Carey 2dea2f7d4a ziti-tunnel: allow inbound connections for intercepted addresses (#520)
* support `lanIf`
2021-02-09 11:09:44 -05:00
Andrew 7cab03a968 Merge pull request #523 from openziti/fix.unit.tests
fix missing apitests build tag
2021-02-09 09:18:33 -05:00
Andrew Martinez e645df39af fix missing apitests build tag 2021-02-09 09:10:42 -05:00
Shawn Carey a8b5a3e8d8 use previousService to get removed service config (#518) 2021-02-08 16:28:01 -05:00
ziti-ci 81b3ecfa73 Updating dependency github.com/openziti/fabric@v0.15.21 2021-02-07 00:28:09 +00:00
Andrew 730740552b Merge pull request #511 from openziti/fix.pc.os.patch
fixes os PATCH for posture checks
2021-02-05 15:28:07 -05:00
Andrew Martinez c23bf9dbcf fixes os PATCH for posture checks
PATCH requests were clearing OS fields as they were not respecting field
checker results.
2021-02-05 14:56:23 -05:00
Andrew 4ab891f505 Merge pull request #510 from openziti/add.identity.attr.patch.test
add test to check role attrs aren't lost if not provided during a PATCH
2021-02-05 13:27:37 -05:00
Andrew Martinez 28832a3526 add test to check role attrs aren't lost if not provided during a PATCH 2021-02-05 13:20:07 -05:00
ziti-ci 982c332dfe Updating dependency github.com/openziti/fabric@v0.15.20 2021-02-05 18:02:00 +00:00
Paul Lorenz 208036d29c Merge pull request #509 from openziti/fix-router-crash
Fix router crash caused by concurrent access to map
2021-02-05 12:20:43 -05:00
Paul Lorenz f61faf0d54 Fix router crash caused by concurrent access to map 2021-02-05 10:13:26 -05:00
Andrew 18513f7ee4 Merge pull request #504 from openziti/api.session.performance
moves hasApiSession lookup to api model and limit 1
2021-02-04 09:32:01 -05:00
Andrew 5b1101bb24 Merge pull request #505 from openziti/fix.484.edge.router.list
fixes #484 adds current identity edge router lookup
2021-02-04 09:28:10 -05:00