mirror of
https://github.com/shtorm-7/sing-box-extended.git
synced 2026-10-09 07:40:11 +00:00
mieru: add mtu and handshake_mode options
This commit is contained in:
@@ -19,6 +19,7 @@ icon: material/new-box
|
||||
}
|
||||
],
|
||||
"traffic_pattern": "GgQIARAK",
|
||||
"mtu": 1400
|
||||
}
|
||||
```
|
||||
|
||||
@@ -47,3 +48,7 @@ A base64 string to fine tune network behavior.
|
||||
#### user_hint_is_mandatory
|
||||
|
||||
If proxy client doesn't sent user hint, proxy server will refuse the connection.
|
||||
|
||||
#### mtu
|
||||
|
||||
Maximum transmission unit of L2 payload. Only applies to UDP transport egress traffic.
|
||||
|
||||
@@ -19,6 +19,7 @@ icon: material/new-box
|
||||
}
|
||||
],
|
||||
"traffic_pattern": "GgQIARAK",
|
||||
"mtu": 1400
|
||||
}
|
||||
```
|
||||
|
||||
@@ -47,3 +48,7 @@ icon: material/new-box
|
||||
#### user_hint_is_mandatory
|
||||
|
||||
客户端若不发送用户提示,代理服务器将拒绝连接。
|
||||
|
||||
#### mtu
|
||||
|
||||
L2 载荷的最大传输单元。仅适用于 UDP 传输方式的出站流量。
|
||||
|
||||
@@ -20,6 +20,8 @@ icon: material/new-box
|
||||
"password": "hjkl",
|
||||
"multiplexing": "MULTIPLEXING_LOW",
|
||||
"traffic_pattern": "GgQIARAK",
|
||||
"mtu": 1400,
|
||||
"handshake_mode": "HANDSHAKE_STANDARD",
|
||||
|
||||
... // Dial Fields
|
||||
}
|
||||
@@ -71,6 +73,14 @@ Multiplexing level. Supported values are `MULTIPLEXING_OFF`, `MULTIPLEXING_LOW`,
|
||||
|
||||
A base64 string to fine tune network behavior.
|
||||
|
||||
#### mtu
|
||||
|
||||
Maximum transmission unit of L2 payload. Only applies to UDP transport egress traffic.
|
||||
|
||||
#### handshake_mode
|
||||
|
||||
Handshake mode when the client opens a connection. Allowed values are `HANDSHAKE_STANDARD` (1-RTT, wait for the proxy server to establish the connection to the destination before sending payload) and `HANDSHAKE_NO_WAIT` (0-RTT, send payload together with the connection to the proxy server).
|
||||
|
||||
### Dial Fields
|
||||
|
||||
See [Dial Fields](/configuration/shared/dial/) for details.
|
||||
|
||||
@@ -20,6 +20,8 @@ icon: material/new-box
|
||||
"password": "hjkl",
|
||||
"multiplexing": "MULTIPLEXING_LOW",
|
||||
"traffic_pattern": "GgQIARAK",
|
||||
"mtu": 1400,
|
||||
"handshake_mode": "HANDSHAKE_STANDARD",
|
||||
|
||||
... // 拨号字段
|
||||
}
|
||||
@@ -71,6 +73,14 @@ mieru 密码。
|
||||
|
||||
一个 base64 字符串用于微调网络行为。
|
||||
|
||||
#### mtu
|
||||
|
||||
L2 载荷的最大传输单元。仅适用于 UDP 传输方式的出站流量。
|
||||
|
||||
#### handshake_mode
|
||||
|
||||
客户端建立连接时的握手模式。可设为 `HANDSHAKE_STANDARD`(1-RTT,客户端等待代理服务器建立到目标地址的连接后再发送载荷)或 `HANDSHAKE_NO_WAIT`(0-RTT,客户端在连接代理服务器的同时发送载荷)。
|
||||
|
||||
### 拨号字段
|
||||
|
||||
参阅 [拨号字段](/zh/configuration/shared/dial/)。
|
||||
|
||||
Reference in New Issue
Block a user