Commit Graph

597 Commits

Author SHA1 Message Date
Paul Lorenz 898e41ae2a Implement router data model changesets. Fixes #1966 2024-04-23 11:56:10 -04:00
Andrew Martinez 9635e201a6 removes redundant return 2024-04-22 15:10:27 -04:00
Andrew Martinez 3fb9ff1ea3 fixes #1964, fixes #1960 adds the ability to handle and process bearer token updates
- established connections can now send an update token message with the
  body of a new bearer token
- the new token's signer is verified from the router data model along
  with the claims (matching subject, api session id, etc.)
- cleans up token exchange claim handling in the controller
2024-04-22 14:48:33 -04:00
Paul Lorenz 32d743ff11 Update router data model with: add service policy type, flesh out identity. Fixes #1950 Fixes #1951 2024-04-17 14:57:20 -04:00
Paul Lorenz a0245e5cd3 Allow ER/T to intercept services w/out sessions when in HA mode. Fixes #1942 2024-04-16 15:11:00 -04:00
Paul Lorenz ac7c4848c5 Don't use EdgeSessionRemoved tracking for HA sessions. Fixes #1936 2024-04-12 13:48:34 -04:00
Paul Lorenz 8f4f9944f5 Add TLS handshake rate limiter. Fixes #1904 2024-04-09 17:25:35 -04:00
Paul Lorenz 3a12eee5ad Merge pull request #1901 from openziti/better-link-mgmt-backwards-compat
Improve link mgmt backwards compatibility. Fixes #1900
2024-04-09 13:24:55 -04:00
Paul Lorenz 103cde6d49 Fix SDK dial error when 'token is malformed'. Api session JWT wasn't being forward to controller. Fixes #1916 2024-04-08 22:42:25 -04:00
Paul Lorenz 499aa519dd Return circuit id to client dial responses and hosting dial requests. Fixes #1831 2024-04-08 11:41:45 -04:00
Paul Lorenz ad779ed118 Improve link mgmt backwards compatibility. Fixes #1900
* We're sending peer change messages to older routers that don't understand them.
* We should probably use the older controller link management code for routers without the link management stability fixes
* Includes a few minor cleanups
2024-04-04 19:07:24 -04:00
Paul Lorenz 0085e92ad4 Update HA smoketest for HA changes 2024-03-18 16:38:29 -04:00
Paul Lorenz af1a4e6a4b Update for golang sdk changes 2024-03-14 10:35:18 -04:00
Andrew Martinez 7ab233fc74 fix merge issues 2024-03-14 08:49:48 -04:00
Andrew Martinez 36ced919ae Merge branch 'main' into ha-staging 2024-03-14 08:38:57 -04:00
Paul Lorenz 1195aa2647 Rename metric which causes panic in pre-0.33 controllers. Fixes #1826 2024-03-13 18:09:40 -04:00
Paul Lorenz 4f7502b888 Fix panic on second api session sync failed notify in router. Fixes #1815 2024-03-12 16:36:22 -04:00
Paul Lorenz c64df3a7b3 Merge pull request #1788 from openziti/terminator-chaos
Terminator chaos
2024-03-12 15:31:59 -04:00
Paul Lorenz fab81e4cd4 Add terminator chaos testing and fix issues found. Fixes #1794 Fixes #1369 2024-03-12 10:31:36 -04:00
Andrew Martinez 281730bcab fix nil panic 2024-03-06 10:24:55 -05:00
Kenneth Bingham be3bd97967 consolidate redundant unix function defs 2024-03-05 14:26:23 -05:00
Kenneth Bingham 34351f3ed7 add freebsd function defs 2024-03-05 14:26:23 -05:00
Andrew Martinez e4207d9f9f lint fixes 2024-03-05 10:25:24 -05:00
Paul Lorenz 37b2fe5a0e Fix check for timeout error. Fixes #1791 2024-03-01 14:06:36 -05:00
Andrew Martinez 401de61bbc spelling errors 2024-02-29 10:06:22 -05:00
Andrew Martinez 09542c7728 consolidated ha changes 2024-02-29 09:27:56 -05:00
Shawn Carey 25a8fb2cca Optimize service add (#1727)
* don't check interface ips when getting ips from dns pool
* assign dns ip range to loopback instead of one-ip-at-a-time
* recycle unused dns ips
* replace $dst_hostname when calculating dial identity
* fall back to dummy resolver if server initialization fails.
2024-02-20 12:53:39 -05:00
Paul Lorenz f16b5d6711 Allow fixing stuck links. Fixes #1741 2024-02-09 17:19:59 -05:00
Paul Lorenz 744ae68bbd Fix controller crash. Fixes #1736 2024-02-08 21:55:48 -05:00
Paul Lorenz e438f89c1d Don't return response to listen until terminator is established 2024-02-08 21:55:48 -05:00
Paul Lorenz 3aace85a97 Refactor terminator state machine to be more like links state machine. Fixes #1733 Fixes #1734 2024-02-08 21:55:48 -05:00
Paul Lorenz 6c2088c5f5 Fix some hosting logging. Fixes #1726 2024-02-05 18:30:42 -05:00
Paul Lorenz 89cc496a0a Add startupTimeout for routers 2024-01-31 14:48:59 -05:00
Paul Lorenz 8423a8dd6a Fix link management race conditions found by chaos testing. Fixes #1709 2024-01-29 17:23:51 -05:00
Paul Lorenz c03c3c2851 Additional fixes and tweaks 2024-01-19 17:35:25 -05:00
Paul Lorenz c4abcae949 Link management fixes. Fixes #1692 Fixes #1693 2024-01-19 17:33:21 -05:00
Paul Lorenz 26c6263fa3 Fix terminator id race condition. Fixes #1685 2024-01-19 11:31:32 -05:00
Paul Lorenz 1bc150c774 Merge pull request #1670 from openziti/fix-single-threaded-link-accept
Make sure link accepts are not single threaded. Fixes #1669
2024-01-08 14:43:47 -05:00
Paul Lorenz b7bd2aa975 Fix xgress dialer config. Fixes #1673 2023-12-29 13:16:04 -05:00
Paul Lorenz df2ab68ad5 Make sure link accepts are not single threaded. Fixes #1669 2023-12-29 10:18:50 -05:00
Paul Lorenz c9f0cdbc52 Merge pull request #1655 from mjtrangoni/add-codespell
codespell: Add spelling check and fix all issues
2023-12-21 10:52:43 -05:00
ekoby a3598a081f Propagate connection marker (#1660)
* propagate ConnectionMarkerHeader to terminating side

* update ziti sdk dep

* update go.mod
2023-12-20 14:52:30 -05:00
Kenneth Bingham 13c55f483c Merge pull request #1529 from openziti/warn-mismatched-ports
clarify a log warning about mismatched router ports behind an LB
2023-12-20 11:42:50 -05:00
Mario Trangoni 126ee5d79c codespell: Add spelling check and fix all issues
Signed-off-by: Mario Trangoni <mjtrangoni@gmail.com>
2023-12-19 10:52:42 +01:00
Mario Trangoni a29b184265 apiSessionAdded.go: Fix typo found by codespell (#1652)
Signed-off-by: Mario Trangoni <mjtrangoni@gmail.com>
2023-12-18 14:28:20 -05:00
Paul Lorenz 36c67c2ab4 Fix issue with flapping links when ids are the same. Fixes #1645 2023-12-18 10:12:32 -05:00
Paul Lorenz 07b2ba519f Fix stall cause by ack arriving before payload is received by link send buffer. Fixes #1586 2023-12-14 12:38:26 -05:00
Paul Lorenz 128b274f08 Fix stall when checking acks after checking window size. Fixes #1583 2023-12-13 12:37:38 -05:00
Paul Lorenz 56cec8e459 Send bind success notifications to the SDK if supported. Fixes #1578 2023-12-12 16:15:49 -05:00
Paul Lorenz 9ddd1b941d Add service max idle time. Fixes #1496. Add decomission router support. Fixes #1402 2023-12-08 12:48:56 -05:00