mirror of
https://github.com/shtorm-7/sing-box-extended.git
synced 2026-06-05 18:57:30 +03:00
Add Mieru inbound, refactor sudoku. Fixes
This commit is contained in:
@@ -31,10 +31,11 @@
|
||||
| `hysteria2` | [Hysteria2](./hysteria2/) | :material-close: |
|
||||
| `vless` | [VLESS](./vless/) | TCP |
|
||||
| `anytls` | [AnyTLS](./anytls/) | TCP |
|
||||
| `mieru` | [Mieru](./mieru/) | :material-close: |
|
||||
| `tun` | [Tun](./tun/) | :material-close: |
|
||||
| `redirect` | [Redirect](./redirect/) | :material-close: |
|
||||
| `tproxy` | [TProxy](./tproxy/) | :material-close: |
|
||||
|
||||
#### tag
|
||||
|
||||
The tag of the inbound.
|
||||
The tag of the inbound.
|
||||
|
||||
@@ -31,10 +31,11 @@
|
||||
| `hysteria2` | [Hysteria2](./hysteria2/) | :material-close: |
|
||||
| `vless` | [VLESS](./vless/) | TCP |
|
||||
| `anytls` | [AnyTLS](./anytls/) | TCP |
|
||||
| `mieru` | [Mieru](./mieru/) | :material-close: |
|
||||
| `tun` | [Tun](./tun/) | :material-close: |
|
||||
| `redirect` | [Redirect](./redirect/) | :material-close: |
|
||||
| `tproxy` | [TProxy](./tproxy/) | :material-close: |
|
||||
|
||||
#### tag
|
||||
|
||||
入站的标签。
|
||||
入站的标签。
|
||||
|
||||
49
docs/configuration/inbound/mieru.md
Normal file
49
docs/configuration/inbound/mieru.md
Normal file
@@ -0,0 +1,49 @@
|
||||
---
|
||||
icon: material/new-box
|
||||
---
|
||||
|
||||
### Structure
|
||||
|
||||
```json
|
||||
{
|
||||
"type": "mieru",
|
||||
"tag": "mieru-in",
|
||||
|
||||
... // Listen Fields
|
||||
|
||||
"transport": "TCP",
|
||||
"users": [
|
||||
{
|
||||
"name": "asdf",
|
||||
"password": "hjkl"
|
||||
}
|
||||
],
|
||||
"traffic_pattern": "GgQIARAK",
|
||||
}
|
||||
```
|
||||
|
||||
### Listen Fields
|
||||
|
||||
See [Listen Fields](/configuration/shared/listen/) for details.
|
||||
|
||||
### Fields
|
||||
|
||||
#### transport
|
||||
|
||||
==Required==
|
||||
|
||||
Transmission protocol. Allowed values are `TCP` and `UDP`.
|
||||
|
||||
#### users
|
||||
|
||||
==Required==
|
||||
|
||||
A list of mieru user name and password.
|
||||
|
||||
#### traffic_pattern
|
||||
|
||||
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.
|
||||
49
docs/configuration/inbound/mieru.zh.md
Normal file
49
docs/configuration/inbound/mieru.zh.md
Normal file
@@ -0,0 +1,49 @@
|
||||
---
|
||||
icon: material/new-box
|
||||
---
|
||||
|
||||
### 结构
|
||||
|
||||
```json
|
||||
{
|
||||
"type": "mieru",
|
||||
"tag": "mieru-in",
|
||||
|
||||
... // 监听字段
|
||||
|
||||
"transport": "TCP",
|
||||
"users": [
|
||||
{
|
||||
"name": "asdf",
|
||||
"password": "hjkl"
|
||||
}
|
||||
],
|
||||
"traffic_pattern": "GgQIARAK",
|
||||
}
|
||||
```
|
||||
|
||||
### 监听字段
|
||||
|
||||
参阅 [监听字段](/zh/configuration/shared/listen/)。
|
||||
|
||||
### 字段
|
||||
|
||||
#### transport
|
||||
|
||||
==必填==
|
||||
|
||||
通信协议。可设为 `TCP` 或 `UDP`。
|
||||
|
||||
#### users
|
||||
|
||||
==必填==
|
||||
|
||||
一组 mieru 用户名和密码。
|
||||
|
||||
#### traffic_pattern
|
||||
|
||||
一个 base64 字符串用于微调网络行为。
|
||||
|
||||
#### user_hint_is_mandatory
|
||||
|
||||
客户端若不发送用户提示,代理服务器将拒绝连接。
|
||||
Reference in New Issue
Block a user