mirror of
https://github.com/bolucat/Archive.git
synced 2025-09-26 20:21:35 +08:00
Update On Thu Aug 14 20:41:00 CEST 2025
This commit is contained in:
@@ -47,7 +47,7 @@ An example of client configuration is as follows.
|
||||
"multiplexing": {
|
||||
"level": "MULTIPLEXING_HIGH"
|
||||
},
|
||||
"handshakeMode": "HANDSHAKE_NO_WAIT"
|
||||
"handshakeMode": "HANDSHAKE_STANDARD"
|
||||
}
|
||||
],
|
||||
"activeProfile": "default",
|
||||
@@ -69,7 +69,7 @@ Please use a text editor to modify the following fields.
|
||||
5. Fill in `profiles` -> `servers` -> `portBindings` -> `port` with the TCP or UDP port number that mita is listening to. The port number must be the same as the one set in the proxy server. If you want to listen to a range of consecutive port numbers, you can also use the `portRange` property instead.
|
||||
6. [Optional] Specify a value between 1280 and 1400 for the `profiles` -> `mtu` property. The default value is 1400. This value must be the same as proxy server.
|
||||
7. [Optional] If you want to adjust the frequency of multiplexing, you can set a value for the `profiles` -> `multiplexing` -> `level` property. The values you can use here include `MULTIPLEXING_OFF`, `MULTIPLEXING_LOW`, `MULTIPLEXING_MIDDLE`, and `MULTIPLEXING_HIGH`. `MULTIPLEXING_OFF` will disable multiplexing. The default value is `MULTIPLEXING_LOW`.
|
||||
8. [Optional] If you want to enable 0-RTT handshake, you can set the value of `profiles` -> `handshakeMode` property to `HANDSHAKE_NO_WAIT`, otherwise set it to `HANDSHAKE_STANDARD`. The default value is `HANDSHAKE_STANDARD`.
|
||||
8. [Optional] If you want to enable 0-RTT handshake (experimental feature), you can set the value of `profiles` -> `handshakeMode` property to `HANDSHAKE_NO_WAIT`, otherwise set it to `HANDSHAKE_STANDARD`. The default value is `HANDSHAKE_STANDARD`.
|
||||
9. Please specify a value between 1025 and 65535 for the `rpcPort` property.
|
||||
10. Please specify a value between 1025 and 65535 for the `socks5Port` property. This port cannot be the same as `rpcPort`.
|
||||
11. [Optional] If the client needs to provide proxy services to other devices on the LAN, set the `socks5ListenLAN` property to `true`.
|
||||
|
@@ -47,7 +47,7 @@ mieru apply config <FILE>
|
||||
"multiplexing": {
|
||||
"level": "MULTIPLEXING_HIGH"
|
||||
},
|
||||
"handshakeMode": "HANDSHAKE_NO_WAIT"
|
||||
"handshakeMode": "HANDSHAKE_STANDARD"
|
||||
}
|
||||
],
|
||||
"activeProfile": "default",
|
||||
@@ -69,7 +69,7 @@ mieru apply config <FILE>
|
||||
5. 在 `profiles` -> `servers` -> `portBindings` -> `port` 中填写 mita 监听的 TCP 或 UDP 端口号。这个端口号必须与代理服务器中的设置相同。如果想要监听连续的端口号,也可以改为使用 `portRange` 属性。
|
||||
6. 【可选】请为 `profiles` -> `mtu` 属性中指定一个从 1280 到 1400 之间的值。默认值为 1400。这个值必须与代理服务器相同。
|
||||
7. 【可选】如果想要调整多路复用的频率,是更多地创建新连接,还是更多地重用旧连接,可以为 `profiles` -> `multiplexing` -> `level` 属性设定一个值。这里可以使用的值包括 `MULTIPLEXING_OFF`, `MULTIPLEXING_LOW`, `MULTIPLEXING_MIDDLE`, `MULTIPLEXING_HIGH`。其中 `MULTIPLEXING_OFF` 会关闭多路复用功能。默认值为 `MULTIPLEXING_LOW`。
|
||||
8. 【可选】如果想开启 0-RTT 握手,请将 `profiles` -> `handshakeMode` 属性的值设置为 `HANDSHAKE_NO_WAIT`,否则请设置为 `HANDSHAKE_STANDARD`。默认值为 `HANDSHAKE_STANDARD`。
|
||||
8. 【可选】如果想开启 0-RTT 握手(实验性功能),请将 `profiles` -> `handshakeMode` 属性的值设置为 `HANDSHAKE_NO_WAIT`,否则请设置为 `HANDSHAKE_STANDARD`。默认值为 `HANDSHAKE_STANDARD`。
|
||||
9. 请为 `rpcPort` 属性指定一个从 1025 到 65535 之间的数值。
|
||||
10. 请为 `socks5Port` 属性指定一个从 1025 到 65535 之间的数值。该端口不能与 `rpcPort` 相同。
|
||||
11. 【可选】如果客户端需要为局域网中的其他设备提供代理服务,请将 `socks5ListenLAN` 属性设置为 `true`。
|
||||
|
@@ -462,7 +462,7 @@ class ClientConfig:
|
||||
'ipAddress': '',
|
||||
'portBindings': [{}],
|
||||
}],
|
||||
'handshakeMode': 'HANDSHAKE_NO_WAIT'
|
||||
'handshakeMode': 'HANDSHAKE_STANDARD'
|
||||
}],
|
||||
'activeProfile': 'default',
|
||||
'rpcPort': 0,
|
||||
|
Reference in New Issue
Block a user