mirror of
https://github.com/shtorm-7/sing-box-extended.git
synced 2026-06-05 10:47:32 +03:00
Add Mieru inbound, refactor sudoku. Fixes
This commit is contained in:
@@ -27,14 +27,16 @@
|
||||
"tag": "mieru-out",
|
||||
"server": "example.com",
|
||||
"server_port": 27017,
|
||||
"server_ports": "27017-27019",
|
||||
"server_ports": [
|
||||
"27017-27019"
|
||||
],
|
||||
"transport": "TCP",
|
||||
"username": "username",
|
||||
"password": "password",
|
||||
// valid: MULTIPLEXING_DEFAULT / MULTIPLEXING_OFF / MULTIPLEXING_LOW
|
||||
// MULTIPLEXING_MIDDLE / MULTIPLEXING_HIGH
|
||||
"multiplexing": "MULTIPLEXING_LOW"
|
||||
// Dial Fields
|
||||
"multiplexing": "MULTIPLEXING_LOW",
|
||||
"traffic_pattern": "GgQIARAK"
|
||||
}
|
||||
],
|
||||
"route": {
|
||||
|
||||
29
examples/mieru/server.json
Normal file
29
examples/mieru/server.json
Normal file
@@ -0,0 +1,29 @@
|
||||
{
|
||||
"log": {
|
||||
"level": "error"
|
||||
},
|
||||
"inbounds": [
|
||||
{
|
||||
"type": "mieru",
|
||||
"tag": "mieru-in",
|
||||
"listen_port": 27017,
|
||||
"transport": "TCP",
|
||||
"users": [
|
||||
{
|
||||
"name": "username",
|
||||
"password": "password"
|
||||
}
|
||||
],
|
||||
"traffic_pattern": "GgQIARAK"
|
||||
}
|
||||
],
|
||||
"outbounds": [
|
||||
{
|
||||
"type": "direct",
|
||||
"tag": "direct"
|
||||
}
|
||||
],
|
||||
"route": {
|
||||
"final": "direct"
|
||||
}
|
||||
}
|
||||
@@ -12,6 +12,20 @@
|
||||
"server": "your-server.com",
|
||||
"server_port": 443,
|
||||
"key": "your-secret-key"
|
||||
// "aead_method": "chacha20-poly1305", // chacha20-poly1305 | aes-128-gcm | none
|
||||
// "table_type": "prefer_ascii", // prefer_ascii | prefer_entropy | up_ascii_down_entropy | up_entropy_down_ascii
|
||||
// "padding_min": 10, // 0-100
|
||||
// "padding_max": 30, // 0-100, >= padding_min
|
||||
// "enable_pure_downlink": true, // true | false
|
||||
// "custom_table": "xpxvvpvv", // 8 chars: 2x, 2p, 4v
|
||||
// "custom_tables": ["xpxvvpvv", "vxpvxvvp"],
|
||||
// "http_mask": {
|
||||
// "enabled": true, // true | false
|
||||
// "mode": "stream", // legacy | stream | poll | auto | ws
|
||||
// "host": "cdn.example.com", // optional, Host header / SNI override
|
||||
// "path_root": "secret", // optional, URL path prefix (single segment)
|
||||
// "multiplex": "auto" // off | auto | on
|
||||
// }
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -12,17 +12,23 @@
|
||||
"server": "your-server.com",
|
||||
"server_port": 443,
|
||||
"key": "your-secret-key",
|
||||
"tls": {
|
||||
"enabled": true,
|
||||
"fragment": true,
|
||||
"fragment_fallback_delay": "300ms"
|
||||
},
|
||||
// "aead_method": "chacha20-poly1305", // chacha20-poly1305 | aes-128-gcm | none
|
||||
// "table_type": "prefer_ascii", // prefer_ascii | prefer_entropy | up_ascii_down_entropy | up_entropy_down_ascii
|
||||
// "padding_min": 10, // 0-100
|
||||
// "padding_max": 30, // 0-100, >= padding_min
|
||||
// "enable_pure_downlink": true, // true | false
|
||||
// "custom_table": "xpxvvpvv", // 8 chars: 2x, 2p, 4v
|
||||
// "custom_tables": ["xpxvvpvv", "vxpvxvvp"],
|
||||
"http_mask": {
|
||||
"enabled": true,
|
||||
"mode": "stream",
|
||||
"host": "cdn.example.com",
|
||||
"path_root": "secret",
|
||||
"multiplex": "auto"
|
||||
"enabled": true, // true | false
|
||||
"mode": "stream", // legacy | stream | poll | auto | ws
|
||||
"host": "cdn.example.com", // optional, Host header / SNI override
|
||||
"path_root": "secret", // optional, URL path prefix (single segment)
|
||||
"multiplex": "auto", // off | auto | on
|
||||
"tls": { // https://sing-box.sagernet.org/configuration/shared/tls/#outbound
|
||||
"enabled": true,
|
||||
"server_name": "cdn.example.com",
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
|
||||
@@ -5,6 +5,18 @@
|
||||
"listen": "::",
|
||||
"listen_port": 443,
|
||||
"key": "your-secret-key"
|
||||
// "aead_method": "chacha20-poly1305", // chacha20-poly1305 | aes-128-gcm | none
|
||||
// "table_type": "prefer_ascii", // prefer_ascii | prefer_entropy | up_ascii_down_entropy | up_entropy_down_ascii
|
||||
// "padding_min": 10, // 0-100
|
||||
// "padding_max": 30, // 0-100, >= padding_min
|
||||
// "enable_pure_downlink": true, // true | false
|
||||
// "handshake_timeout": 5, // seconds
|
||||
// "custom_table": "xpxvvpvv", // 8 chars: 2x, 2p, 4v
|
||||
// "custom_tables": ["xpxvvpvv", "vxpvxvvp"],
|
||||
// "disable_http_mask": false, // true | false
|
||||
// "http_mask_mode": "legacy", // legacy | stream | poll | auto | ws
|
||||
// "path_root": "secret", // optional, URL path prefix (single segment)
|
||||
// "fallback": "127.0.0.1:8080" // optional, fallback address for rejected connections
|
||||
}
|
||||
],
|
||||
"outbounds": [
|
||||
|
||||
Reference in New Issue
Block a user