-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #79 from openziti/dev
Beta for t-sdk spoof.source.ip branch
- Loading branch information
Showing
9 changed files
with
161 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule ziti-tunnel-sdk-c
updated
18 files
+2 −1 | .gitignore | |
+9 −5 | include/ziti/netif_driver.h | |
+62 −13 | include/ziti/ziti_tunnel.h | |
+11 −1 | include/ziti/ziti_tunnel_cbs.h | |
+16 −2 | lib/CMakeLists.txt | |
+27 −77 | lib/intercept.c | |
+0 −33 | lib/intercept.h | |
+59 −0 | lib/route.c | |
+6 −6 | lib/tunnel_tcp.c | |
+5 −5 | lib/tunnel_udp.c | |
+407 −83 | lib/ziti_hosting.c | |
+157 −51 | lib/ziti_tunnel.c | |
+261 −3 | lib/ziti_tunnel_cbs.c | |
+11 −3 | lib/ziti_tunnel_priv.h | |
+2 −0 | programs/ziti-edge-tunnel/dnsmasq_manager.c | |
+12 −3 | programs/ziti-edge-tunnel/netif_driver/darwin/utun.c | |
+12 −3 | programs/ziti-edge-tunnel/netif_driver/linux/tun.c | |
+18 −39 | programs/ziti-edge-tunnel/ziti-edge-tunnel.c |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
/* | ||
Copyright 2021 NetFoundry, Inc. | ||
|
||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
You may obtain a copy of the License at | ||
|
||
https://www.apache.org/licenses/LICENSE-2.0 | ||
|
||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and | ||
limitations under the License. | ||
*/ | ||
import Foundation | ||
|
||
public class ZitiInterceptConfigV1 : Codable, ZitiConfig { | ||
static var configType = "intercept.v1" | ||
|
||
public class PortRange : Codable { | ||
let low:Int | ||
let high:Int | ||
} | ||
|
||
public let protocols:[String] | ||
public let addresses:[String] | ||
public let portRanges:[PortRange] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters