Implement core device tunnel proxy

This commit is contained in:
Jackson Coxson
2025-01-26 11:34:28 -07:00
parent 2d6d206ac9
commit f40150a181
5 changed files with 840 additions and 27 deletions

View File

@@ -27,6 +27,10 @@ name = "mounter"
path = "src/tools/mounter.rs"
required-features = ["sha2", "ureq"]
[[bin]]
name = "core_device_proxy_tun"
path = "src/tools/core_device_proxy_tun.rs"
[dependencies]
tokio = { version = "1.43", features = ["io-util", "macros", "time", "full"] }
tokio-openssl = { version = "0.6" }
@@ -41,10 +45,14 @@ indexmap = { version = "2.7", features = ["serde"] }
uuid = { version = "1.12", features = ["serde"] }
async-recursion = { version = "1.1" }
base64 = { version = "0.22" }
byteorder = { version = "1.5" }
serde_json = { version = "1" }
tokio-tun = { version = "0.13" }
tun-rs = { version = "1.5", features = ["async"] }
# Binary dependencies
sha2 = { version = "0.10", optional = true }
ureq = { version = "2.12", optional = true }
ureq = { version = "3", optional = true }
[features]
bin = ["tokio/full", "sha2", "ureq"]