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

@@ -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": {

View 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"
}
}

View File

@@ -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
// }
}
]
}

View File

@@ -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",
}
}
}
]

View File

@@ -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": [