Use smoltcp as a software TUN manager (broken)

This commit is contained in:
Jackson Coxson
2025-03-13 13:53:03 -06:00
parent fc9bdafe93
commit e8225b03bc
7 changed files with 680 additions and 67 deletions

View File

@@ -32,13 +32,14 @@ json = { version = "0.12", optional = true }
byteorder = { version = "1.5", optional = true }
reqwest = { version = "0.12", features = ["json"], optional = true }
smoltcp = { version = "0.12", optional = true }
pcap-file = { version = "2.0", optional = true }
sha2 = { version = "0.10", optional = true }
[dev-dependencies]
tokio = { version = "1.43", features = ["fs"] }
[features]
core_device_proxy = ["dep:serde_json", "dep:json", "dep:byteorder"]
debug_proxy = []
@@ -47,10 +48,11 @@ heartbeat = []
installation_proxy = []
misagent = []
mounter = ["dep:sha2"]
usbmuxd = ["tokio/net"]
tcp = ["tokio/net"]
tunnel_tcp_stack = ["dep:smoltcp", "tokio/sync", "dep:pcap-file"]
tss = ["dep:uuid", "dep:reqwest"]
tunneld = ["dep:serde_json", "dep:json", "dep:reqwest"]
usbmuxd = ["tokio/net"]
xpc = [
"tokio/sync",
"dep:indexmap",
@@ -70,6 +72,7 @@ full = [
"usbmuxd",
"xpc",
"tcp",
"tunnel_tcp_stack",
"tss",
"tunneld",
]