Commit Graph

10 Commits

Author SHA1 Message Date
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 63c161224a Add linter and fix issues found by linter 2022-10-10 16:56:51 -04:00
Paul Lorenz 12df770d04 Update copyright 2022-06-30 17:45:08 -04:00
Eugene K 3c73d18731 refactor 2021-10-01 15:51:42 -04:00
Paul Lorenz fe830a7f5c Don't remove ipt chains unless all services are removed. Don't use dns resolved address if it's a tunneler assigned addr. Fixes GH-712 2021-07-15 10:24:19 -04:00
Shawn Carey 2110aba5c1 host.v1 configuration type schema changes (#631)
- Rename host.v1 dialIntercepted* properties to forward*
- Add allowed* properties to whitelist destinations that are dialed via forward*
- Add allowedSourceAddresses, which serves as a whitelist for source IPs/CIDRs and informs the hosting tunneler of the local routes to establish when hosting a service
2021-04-13 07:48:47 -04:00
Shawn Carey b352ecbfae Support configurable ip range for unresolvable hostnames in client configurations (#339)
* use shared network IP range for services that are configured with unresolvable hostnames

* parameterize dns intercept IP range

* reuse utils.incIP

closes #339
2020-10-12 09:39:53 -04:00
Paul Lorenz 7d60e03b65 Remove copyright date from header 2020-03-19 13:47:42 -04:00
dovholuknf 3db81622cb didn't i do this once already? 2020-02-25 14:29:08 -05:00
Michael Quigley 58fdd03351 Initial migration from internal repositories. 2019-12-03 12:13:27 -05:00