Commit Graph

116 Commits

Author SHA1 Message Date
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 dd6b923812 Work on getting ziti-tunnel working with HA controllers 2024-04-12 13:48:34 -04:00
Paul Lorenz 31dc9a61ae Fix duration parsing for host configs. Fixes #1873 2024-03-25 19:41:45 -04:00
Paul Lorenz af1a4e6a4b Update for golang sdk changes 2024-03-14 10:35:18 -04: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
Shawn Carey e5ed982c26 just log error when dns server self-test fails (#1767) 2024-02-27 22:51:29 -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
r-caamano b1c4cc7b55 Modified new log entries in tproxy_linux.go to follow the existing log pattern in the StopIntercepting() method. 2024-02-01 17:24:30 +00:00
r-caamano 6012ed502b Candidate fix for issue 1440 wildcard dns not updating properly after modification or delete 2024-01-31 20:04:29 +00: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
Paul Lorenz 189809fcaf Don't terminate router on DNS failure. Fixes #1513 2023-11-17 14:41:50 -05:00
Paul Lorenz 1cd842a8e3 Fix ziti tunnel shutdown. Was deadlocking on shared mutex 2023-11-06 22:37:41 -05:00
Paul Lorenz f600b752d7 Add proxy support to host.v1/host.v2. Fixes #1397 2023-10-12 10:33:16 -04:00
Paul Lorenz 07da3cd513 Merge remote-tracking branch 'edge/main' into merge-edge
Updated package names
Merged golangci-lint configurations
2023-09-27 16:54:53 -04:00
Paul Lorenz 24c35808aa Sync host.v1 and host.v2. Add connectTimeout to host.v1. Fixes #1616 2023-09-27 09:41:11 -04:00
Paul Lorenz 7d6f4ef700 Reorganize code in preparation for merging to ziti repo, first pass. 2023-08-04 09:48:06 -04:00
Shawn Carey fcd14e4e99 Allow wildcard domains in intercept.v1 configurations (#1518)
validate intercept addresses with idn-hostname format
2023-06-08 13:58:15 -04:00
Paul Lorenz 56a8610e68 Fix mac and windows builds 2023-05-25 20:49:02 -04:00
Paul Lorenz cbdadb1b31 Support configurable UDP idle timeout and check interval for tproxy in edge router tunneler. Fixes #1503 2023-05-25 15:23:59 -04:00
Shawn Carey a980106220 use 'idn-hostname' string format in intercept.v1 and host.vX config types. (#1500) 2023-05-23 15:30:12 -04:00
Paul Lorenz f759cf9275 Use a single mutex for multiple clients, otherwise their intercepts can get tangled 2023-05-11 09:21:27 -04:00
Paul Lorenz ec994e54e6 Report correct local/remote addresses for intercepted UDP conns. Fixes #1471 2023-05-08 19:42:13 -04:00
Paul Lorenz a8cb0dd48f Fix ER/T service config handling 2023-05-05 11:45:32 -04:00
Andrew Martinez 48bc06ed35 fix tests 2023-04-26 23:12:31 -04:00
Andrew Martinez 08a6e549c8 fix lint error and pointer str references w/o types (i.e. %v) 2023-04-26 14:46:09 -04:00
Andrew Martinez 135e5a2149 fix lint errors 2023-04-26 14:13:54 -04:00
Andrew Martinez 95ae025ce9 updates golang sdk to v0.20.0 2023-04-26 13:55:51 -04:00
Shawn Carey 3890e83c8d remove iptables chains only when stopping interceptor (#1408) 2023-04-07 08:15:26 -04:00
Paul Lorenz a03b1941e2 Don't stop/start hosting on reconnect, take advantage of idempotent creates instead. Fixes #1336 2023-03-27 14:12:17 -04:00
Shawn Carey b02713d5dc add stubs for new tproxy function (#1294) 2023-01-12 10:10:30 -05:00
Shawn Carey 271e51fb1b support configurable tproxy diverters (#1291)
support configurable tproxy diverters
2023-01-11 12:48:03 -05:00
Paul Lorenz 6b6eed6041 Improve some tunneler log messages 2023-01-06 13:54:49 -05:00
Paul Lorenz 2509f9b575 update CODEOWNERS to sig-core and update MM notifications 2022-11-30 14:34:10 -05:00
Paul Lorenz 63c161224a Add linter and fix issues found by linter 2022-10-10 16:56:51 -04:00
Paul Lorenz ad8392cef4 Update deps 2022-10-10 16:56:50 -04:00
Paul Lorenz 3023c91614 Support dns flush with resolvectl. Fixes #1163. 2022-09-06 12:13:06 -04:00
Eugene K b9711fc30d fix panic on remote resolve connections 2022-07-14 15:46:29 -04:00
Paul Lorenz bae7e40b61 Update for foundation changes 2022-07-01 15:55:30 -04:00
Paul Lorenz 12df770d04 Update copyright 2022-06-30 17:45:08 -04:00
Paul Lorenz 91ea3816b8 Update for terminator terminology changes 2022-06-22 16:24:01 -04:00
Paul Lorenz 9c200097f8 Fix various races detected by the race detector 2022-06-21 15:11:50 -04:00
Paul Lorenz 596f67b718 Fix missing memory pool buffer returns. Fixes #1045 2022-06-08 10:29:18 -04:00
Paul Lorenz 366b60428d Tidy tunneler code a bit. Remove Start method. Have service contain related fabric provider 2022-06-03 15:01:00 -04:00
Andrew Martinez e74c76c44b fix tproxy for linux 2022-05-27 14:03:37 -04:00
Andrew Martinez 7381423974 use cmap generics, update fabric 2022-05-27 11:02:51 -04:00
Paul Lorenz 8d56c8d38f Fix panic if reconnect is called before tunnler is fully started 2022-05-09 11:05:47 -04:00
Paul Lorenz b755b40605 Restablish router/tunneler hosting when the ctrl ch reconnects 2022-05-02 17:20:30 -04:00
Paul Lorenz 76e207fe28 Add cost/precedence back to host configs. Fixes #931 2022-03-16 12:04:17 -04:00
Eugene K ae1ef93d95 normalize DNS message JSON 2022-03-10 08:44:46 -05:00