mirror of
https://github.com/shtorm-7/sing-box-extended.git
synced 2026-06-05 10:47:32 +03:00
50 lines
694 B
Markdown
50 lines
694 B
Markdown
---
|
|
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.
|