break!: выпил tcp-режим туннеля
убраны флаги -mode и -bond: остался только udp-релей для wireguard. удалены tcpfwd, tcpfwdserver, bondclient, bondserver, bondframe, kcptun, wire/relay; proxy/common переехал в udprelay/dial. BREAKING CHANGE: флаги -mode и -bond удалены; конфиги и ссылки freeturn:// с tcp-режимом больше не принимаются.
This commit is contained in:
1 parent
648c55415b
commit
74241de764
53 files changed
+105
-2547
No files matched your search
@@ -43,14 +43,6 @@ func ClientArgs(c *Client) []string {
|
||||
if c.TURN.TransportUDP != def.TURN.TransportUDP {
|
||||
add("-transport", TransportUDP)
|
||||
}
|
||||
switch c.Proxy.Mode {
|
||||
case ProxyModeTCPFwd:
|
||||
add("-mode", ModeTCP)
|
||||
case ProxyModeTCPFwdBond:
|
||||
add("-mode", ModeTCP)
|
||||
args = append(args, "-bond")
|
||||
case ProxyModeUDP:
|
||||
}
|
||||
if c.Obf.Enabled() {
|
||||
add("-obf-profile", string(c.Obf.Profile))
|
||||
add("-obf-key", hex.EncodeToString(c.Obf.Key))
|
||||
|
||||
Reference in new issue
Block a user