Add Mieru inbound, refactor sudoku. Fixes

This commit is contained in:
Shtorm
2026-06-04 07:54:26 +03:00
parent 195a33379d
commit e363c2ff78
30 changed files with 947 additions and 342 deletions

View File

@@ -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.

View File

@@ -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
入站的标签。
入站的标签。

View 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.

View 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
客户端若不发送用户提示,代理服务器将拒绝连接。