Revert "refactor: 移除不再被使用的 TCPTunnelMode"

This reverts commit d1e6161558.
This commit is contained in:
Chenx Dust
2026-08-25 02:25:29 +08:00
parent 4ef59f5d7f
commit f433d0a34c
11 changed files with 22 additions and 28 deletions

View File

@@ -83,7 +83,7 @@ bool buildsCompleteCommandInCompatibleOrder()
profile.dns = {"10.0.0.1", false, "10.0.0.2", 60, true, "example.org=1.1.1.1"};
profile.proxy = {"127.0.0.1:1080", "127.0.0.1:1081", "ss://url", "http://direct",
true, "example.org"};
profile.tunnel = {true, true, true, true, "127.0.0.1:80/10.0.0.1:80",
profile.tunnel = {true, true, true, true, true, "127.0.0.1:80/10.0.0.1:80",
"127.0.0.1:53/10.0.0.1:53"};
profile.behavior = {30, true, true, "https://keepalive", "en0", true, true, true,
true};
@@ -121,6 +121,7 @@ bool buildsCompleteCommandInCompatibleOrder()
"-dns-hijack",
"-fake-ip",
"-add-route",
"-tcp-tunnel-mode",
"-debug-dump",
"-debug-pcap-file", "/tmp/debug capture.pcap",
"-debug-tls-log-file", "/tmp/debug capture.keys.log",