mirror of
https://github.com/EasyTier/EasyTier.git
synced 2026-05-07 10:14:35 +00:00
Add fake tcp tunnel (experimental) (#1673)
support faketcp to avoid tcp-over-tcp problem. linux/macos/windows are supported. better to be used in internet env, the maximum performance is majorly limited by windivert/raw socket.
This commit is contained in:
@@ -220,6 +220,10 @@ hmac = "0.12.1"
|
||||
sha2 = "0.10.8"
|
||||
shellexpand = "3.1.1"
|
||||
|
||||
# for fake tcp
|
||||
flume = "0.12"
|
||||
cfg-if = "1.0"
|
||||
|
||||
[target.'cfg(any(target_os = "linux", target_os = "macos", target_os = "windows", target_os = "freebsd"))'.dependencies]
|
||||
machine-uid = "0.5.3"
|
||||
|
||||
@@ -233,6 +237,9 @@ resolv-conf = "0.7.3"
|
||||
dbus = { version = "0.9.7", features = ["vendored"] }
|
||||
which = "7.0.3"
|
||||
|
||||
[target.'cfg(all(windows, any(target_arch = "x86_64", target_arch = "x86")))'.dependencies]
|
||||
windivert = { version = "0.6.0", features = ["static"] }
|
||||
|
||||
[target.'cfg(windows)'.dependencies]
|
||||
windows = { version = "0.52.0", features = [
|
||||
"Win32_Foundation",
|
||||
|
||||
Reference in New Issue
Block a user